Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Railway Sounds


Link2012
 Share

Recommended Posts

 

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

Edited by Link2012
Link to comment
Share on other sites

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"

Link to comment
Share on other sites

Just wow.

Link to comment
Share on other sites

 

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

Edited by SilentPL
Link to comment
Share on other sites

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

 

 

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

Link to comment
Share on other sites

 

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

 

 

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).

 

 

Link to comment
Share on other sites

 

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

 

 

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".

 

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

 

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

Nope

 

 

            IF AND               NOT IS_CAR_MODEL TrainHandle #TRAM               NOT HAS_TRAIN_DERAILED TrainHandle                       THEN

 

Link to comment
Share on other sites

  • 2 weeks later...

Let me share something that I saw reading a SA BETA mod:

 

 

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

Link to comment
Share on other sites

  • 6 years later...

i found a bug in the cleo railway sounds the game crashes if we drive or walk from the bridge to train station take a look to the picture is an exelente mod maybe you can fix it.

___________________________________

UPDATE 2020

i found the problem, Windows have a feature, data execution prevention it Will close the game some times while using this mod and others, you can disable manually from the control panel or use _noDep.asi from mixmods.com.br 

I crated a pack of fixes called: GtaSa megafix v1.3.

include all fixes for gtasa 

https://www.mediafire.com/folder/60wpptp3s8xi3/GtaSa Soluciones

 

 

https://lh3.googleusercontent.com/UfzvM03IVL0_ggHf-uFuIykC71cuggdmert22mV7ho7yAK9AYKZaAsZRBMX5T_NLDyzDat2zKNEZILExxMyGN6Ogy6ahODksiAKT9BCPAHq6i9i_CbUeOS5W6txrfO0RKUFTNUGWQfsJWtuS8LOZm1lths0wJ3-L-ybJdTZxeBW5USnxWWWR6fnFe8rg87tetj6TBv3SrWqpBSaWrA9cCLBsOq7dmeCjMd8YI6PJYoTkhFgEhGfNGleOsL8J9lXusHfeukXUQqk9CW-EUXHdxgFTMjOuB6SvWHcy3d05LAlChmUuoyi-jT5MafmzRmoiHDKwZIp3K2gnErvevNAQXX2vRhqGNlBoc-C5Pb21GRBAlOtuE-vfnTzpi0ozSTB2ckHX1C5fFjbc08JmiefDmgKjI6GTTgTh_d_5s166w4JTelYSd6xTHEDYVky7oj-7NqAxtdOSU96o-apsLciKKr-Lh7mnHzM2FNBMoZehULU7TeDaCe1tA5CcxpXMhO-9PrcH4J7bGuVb3-wkQglJMRmNqXSs52xTclr86WpP59oRbgeUG7ascfF9rRDcYDPlYA-3teCjuic6UgNMolm7rWCTpKwENxTyQsbdrYdCGV5yMR9pEyLNbpTJ9_G1D2MgW68uxCiJUlrCvSTDZC4VVGTaBM9Lb0JPJcIZgpKDNL2El-8VRr26VhdgRCPUScK9M2N-nqYKzq-Pi0yNDA=w701-h526-no

Edited by erickesau
Update problem fixed with nodep.asi
Link to comment
Share on other sites

13 hours ago, kkjj said:

Isn't it's a very big url?

yes is too big i dont know why? is stored in my google pictures

Link to comment
Share on other sites

  • 2 years later...
CarlJohnson92
On 10/2/2012 at 1:33 PM, Link2012 said:

Let me share something that I saw reading a SA BETA mod.

 

On 10/2/2012 at 1:33 PM, Link2012 said:

At 0:03, the train honk! Just video editing or more one of R* cuts?

So, I did a SA Beta remake mod?

 

This is just audio in editing the video as genetics.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.