IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules Attention:

The Mod Showroom is only for posting previews/downloads of completed or near finished mods.
All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials

  Reply to this topicStart new topicStart Poll

 Railway Sounds

 Remove the silence at Railroads
 
Link2012  
Posted: Monday, Sep 17 2012, 03:46
Quote Post


Wut?
Group Icon
Group: Members
Joined: Jan 30, 2011

ba.gif

XXXXX




Railway Sounds
by LINK/2012


This CLEO modification add sounds in the railways of SA. Source code included.

What exactly changes?

Here's a list of additions\changes:
  • Trains will horn when there's a obstacle in the way (Peds or Vehicles)
  • Trains will horn when coming to a station or exiting the station
  • Trains will horn when near to a crossing
  • Train crossings now emit sounds
  • Trains crossings are a bit smart now
  • You can use the train horn, like any other vehicle
Here's a funny (or not) video that I did that shows SOME of the additions:
Those yellow messages are debug text, you will not have this on your game


Download


Credits:
Script by LINK/2012
Thanks for Junior_Djjr for ripping the horn and crossing alert sounds smile.gif

This post has been edited by Link2012 on Monday, Sep 17 2012, 03:49
PMMSN
  Top
 

 
H3NR1QU3  
Posted: Monday, Sep 17 2012, 04:34
Quote Post


Soldier
Group Icon
Group: Members
Joined: Apr 28, 2008

ba.gif

XXXXX



It's a small, but nice addition. I liked it. Good job. icon14.gif
PMMSN
  Top
 

 
Junior_Djjr  
Posted: Monday, Sep 17 2012, 06:20
Quote Post


CLEO/SCM-MAP-TXD
Group Icon
Group: Members
Joined: Dec 16, 2011

ba.gif

XXXXX



QUOTE (H3NR1QU3 @ Monday, Sep 17 2012, 04:34)
It's a small, but nice addition. I liked it. Good job. icon14.gif

looking out the complexity of the script, this is nothing "small"
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Monday, Sep 17 2012, 14:49
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




Just wow.
Users WebsitePMMSNXbox Live
  Top
 

 
SideStunt  
Posted: Monday, Sep 17 2012, 14:52
Quote Post


Modz :D
Group Icon
Group: Members
Joined: Jun 10, 2011

uk.gif

XXXXX



Damn this is awesome!Thanks for making that Shifty41s_beerhatsmilie2.gif a cookie for the maker....and Mr.Stratum cookie.gif
btw does it work on SAMP?
PMMSN
  Top
 

 
SilentPL  
Posted: Monday, Sep 17 2012, 15:05
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




QUOTE (SideStunt @ Monday, Sep 17 2012, 16:52)
btw does it work on SAMP?

Unlikely. It's most probably going to be unsynced. However, trains driven by the other players MAY horn.


Offtopic:
The bad side of this mod is that I'm planning to release a simple, 95% scmy (no ASM nor memory hacking) remake of my own mod soon, and it might just look like done by a noob, compared to THAT complex CLEOs tounge.gif

This post has been edited by SilentPL on Monday, Sep 17 2012, 15:07
Users WebsitePMMSNXbox Live
  Top
 

 
Link2012  
Posted: Monday, Sep 17 2012, 15:28
Quote Post


Wut?
Group Icon
Group: Members
Joined: Jan 30, 2011

ba.gif

XXXXX



Thanks for replying guys smile.gif

PMMSN
  Top
 

 
Deji  
Posted: Monday, Sep 17 2012, 20:29
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



That's some damn nice SCR usage there smile.gif
Users WebsitePM
  Top
 

 
Recevr999  
Posted: Tuesday, Sep 18 2012, 10:20
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 7, 2012

nz.gif

XXXXX



I love it, awesome job cool.gif
PM
  Top
 

 
ThirteenAG  
Posted: Tuesday, Sep 18 2012, 12:40
Quote Post


Hustler
Group Icon
Group: Members
Joined: Dec 29, 2008

ru.gif

XXXXX



QUOTE
You need Deji's Scr Keywords To Compile That Script.

Huh, rebuilding scripts for cleo 3 gets a little bit trickier biggrin.gif
Nice work anyway! cookie.gif
PMMSNXbox LivePlayStation Network
  Top
 

 
ALMOST610  
Posted: Tuesday, Sep 18 2012, 13:09
Quote Post



Group Icon
Group: Members
Joined: Jan 30, 2009

au.gif

Member Award




Awesome work, a really long overdue mod. Someone needed to make something like this years ago.
Users WebsitePM
  Top
 

 
Link2012  
Posted: Tuesday, Sep 18 2012, 14:56
Quote Post


Wut?
Group Icon
Group: Members
Joined: Jan 30, 2011

ba.gif

XXXXX



Really good to see that people liked! When I showed the progress to a friend he just said "useless mod" dontgetit.gif

QUOTE
QUOTE
You need Deji's Scr Keywords To Compile That Script.

Huh, rebuilding scripts for cleo 3 gets a little bit trickier

That's the minor problem, Really hard to port since I used 3D Audiostreans that were added in CLEO4 with bass library biggrin.gif
PMMSN
  Top
 

 
Michael-Knight1  
Posted: Tuesday, Sep 18 2012, 15:33
Quote Post


Never Give UP
Group Icon
Group: Members
Joined: Jul 8, 2012

gr.gif

XXXXX



nice work icon14.gif

P.S : The Hud did you used in the video is by your own ? where can i download it notify.gif
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Tuesday, Sep 18 2012, 16:07
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




QUOTE (Michael-Knight1 @ Sep 18 2012, 15:33)
P.S : The Hud did you used in the video is by your own ? where can i download it  notify.gif


The HUD is stock here dozingoff.gif

QUOTE (Link2012 @ Sep 18 2012, 14:56)
That's the minor problem, Really hard to port since I used 3D Audiostreans that were added in CLEO4 with bass library  biggrin.gif


Using bass.dll by explicictly calling the functions from CLEO3 script could be possible, but IMO not worth it. 3D audiostreams are one of the only reasons to make CLEO4-only scripts (text draws with custom, dynamic texts being the 2nd reason).

Users WebsitePMMSNXbox Live
  Top
 

 
Link2012  
Posted: Tuesday, Sep 18 2012, 16:25
Quote Post


Wut?
Group Icon
Group: Members
Joined: Jan 30, 2011

ba.gif

XXXXX



QUOTE
P.S : The Hud did you used in the video is by your own ? where can i download it notify.gif

You can download it from the original game tounge.gif

QUOTE
Using bass.dll by explicictly calling the functions from CLEO3 script could be possible, but IMO not worth it.

I thought in this when I replied ThirteenAG, but there's a little (or great) problem with this, memory would be leaked when there's a stream working and the player loads a new game, since the scripts has no control over when the current game is "exiting" (No hooks please biggrin.gif ). Fortunately CLEO4 has that control and free all audio-streams, allocated memory, dynamic GXT's, etc, when the current game "exits".

PMMSN
  Top
 

 
ThirteenAG  
Posted: Tuesday, Sep 18 2012, 16:57
Quote Post


Hustler
Group Icon
Group: Members
Joined: Dec 29, 2008

ru.gif

XXXXX



QUOTE (Link2012 @ Tuesday, Sep 18 2012, 14:56)
That's the minor problem, Really hard to port since I used 3D Audiostreans that were added in CLEO4 with bass library biggrin.gif

Not a problem for me, since i'm using San Andreas Audio Player plugin, made by someone from gtamaps.net. Plugin is old, but working with cleo 3. Why i'm using cleo3? Many of scripts i have(and that is over a hundred), don't work with cleo4 properly, and i just don't want to delete them. I think cleo3 plugin with cleo4 opcodes will be best solution for this, but none exist. smile.gif
Back on topic: this script works for San Fierro tram too?
PMMSNXbox LivePlayStation Network
  Top
 

 
Link2012  
Posted: Tuesday, Sep 18 2012, 17:02
Quote Post


Wut?
Group Icon
Group: Members
Joined: Jan 30, 2011

ba.gif

XXXXX



QUOTE
Back on topic: this script works for San Fierro tram too?

Nope

CODE
           IF AND
               NOT IS_CAR_MODEL TrainHandle #TRAM
               NOT HAS_TRAIN_DERAILED TrainHandle            
           THEN
PMMSN
  Top
 

 
Link2012  
Posted: Tuesday, Oct 2 2012, 16:33
Quote Post


Wut?
Group Icon
Group: Members
Joined: Jan 30, 2011

ba.gif

XXXXX



Let me share something that I saw reading a SA BETA mod:
http://youtu.be/Fh3AB7LHhE0

At 0:03, the train honk! Just video editing or more one of R* cuts?
So, I did a SA Beta remake mod? tounge.gif
PMMSN
  Top
 

 
Michael-Knight1  
Posted: Tuesday, Oct 2 2012, 17:16
Quote Post


Never Give UP
Group Icon
Group: Members
Joined: Jul 8, 2012

gr.gif

XXXXX



@Link2012 did you make the sound for Tram whatsthat.gif
Users WebsitePM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG