TrainSpawner [AddonRails]

GTA 5 Mods |

TrainSpawner [AddonRails]

Short Description:
This mod spawns trains on key press or automatically. It also allows you to spawn trains on rails that are normally not used like the ones in North Yankton or on DLC maps.

Description:
This mod serves two purposes.
The first one being to spawn trains of the freight and metro variety. Either triggered by pressing a key or automatically in two minute intervals.
The trains spawned with a key press are spawned at the nearest train track to your current player position. The auto spawned trains spawn somewhere in the distance, a bit like the normal trains of GTA V.
The second purpose is that this mod can spawn trains on ALL rails. This means freight trains on the metro tracks or metro trains on freight tracks. It can even spawn trains on mission tracks like the ones in North Yankton or around the San Chianski gravel pit. Even more interesting, with this mod you can install train tracks as addons. This way you will never need to replace a train track in the traintracks.xml you can just simply add new ones. This is especially interesting for map mod makers who can now add working trains to their maps without replacing the train lines in Los Santos.

Features:
– Spawn Freight Trains by pressing T
– Spawn Metro Trains by pressing X
– Auto Spawn Trains on any rails
– Addon rails where trains auto spawn
– Configurable via ini file

Usage:
The T-Key is used for spawning the freight trains.
The X-Key is used to spawn the metro trains. The trains are spawned at the nearest railtrack to your current player position.

Options:
The following settings can be changed in the “TrainSpawner.ini”:
The key to spawn the freight: Default is T (0x54)
The key to spawn the metro: Default is X (0x58)

Requirements:
OpenIV
ScriptHook

Optional Mods:
Railroad Engineer to drive the train

Installation(basic):
This only installs the functionality to spawn trains on key press.
Extract / copy the “TrainSpawner.asi” and “TrainSpawner.ini” to your GTA V folder.

Installing Addon Tracks:
Tracks where the trains are auto spawned.
Download a train track (a tainsXYZ.dat file). Open OpenIV and navigate to your “mods” folder. There go to “/common.rpf/data/levels/gta5”. Now rename your “trainsXYZ.dat” file to something not already present in the “/gta5” directory. E.g. per default there is a “trains1.dat”, “trains2.dat”, … , “trains12.dat” so you could e.g. rename your “trainsXYZ.dat” file to “trains13.dat”. Now copy the renamed file into this (the “/gta5”) directory.
Next edit the “traintracks.xml” and copy one of the “train_tracks” and paste it at the end of the file before the tag. E.g.

The “filename” must end with the name of your .dat file, in this case “trains13.dat”
The rest of the parameters are not really relevant for this mod, just leave them like they are.
Now copy the “addonRails” folder from the downloaded archive into your main GTA V directory.
The last step is to also copy your “trainsXYZ.dat” file into one of the subfolders of “addonRail”.
Copying into the “metro” folder will automatically spawn a metro on this track while the “freight” folder means the script spawns a freight train.

How to create a train track:
Using this mod you can easily create a custom train track.
Track Recorder

Known Issues:
Script crashes if you spawn more than about 70 trains at once.
Tracks under 10 nodes are not supported by the way my script calculates where to spawn the train.

Thanks for downloading, hope you enjoy it.
If you find any bug please write a comment about it 🙂


Credits: kd3533, Special Thanks to: dexyfex (CodeWalker) OpenIV Team (OpenIV)
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)
Loading...

This content was uploaded by website visitors. If you notice any mistake, please let us know.


Grand Theft Auto 5 is a great game and mods make it even better. The game is still relevant and one of the best games playable right now due to its unmatched physics and open-world experience. Even though GTA Online is there, most people prefer to enjoy the mysteries and the experience in the singleplayer mode. However, it can also get a bit repetitive. GTA 5 Mods help you overcome the boringness to add more content into the game and customize it according to your will. Grand Theft Auto 5 Mods bring various enjoyable elements into the game like new game modes, vehicles, weapons, and characters. The modding community has made mods diverse and you can choose from thousands of mods to fit into the game. For instance, a GTA 5 TrainSpawner [AddonRails] Mod can bring your dream vehicle into the game, letting you enjoy it even more. One by one, you can customize the entire collection of GTA 5 vehicles giving it a more lifelike experience with real cars from real manufacturers. Gun mods can bring you the feel and combat experiences of other games, allowing you to wield a lightsaber from Star Wars, the famous dubstep gun from Saints Row, Thor’s hammer, or even the latest collection of cyber-ware and weapons from the most hyped games. Similarly, one visual enhancing Grand Theft Auto 5 TrainSpawner [AddonRails] Mod can bring the missing colors of beautiful sunsets and gloomy evenings the game is missing. You can finally enjoy a true Los Angeles experience thanks to plenty of visual enhancing mods the community has come up with. So when are you going to cruise down the streets of Los Santos enjoying the breathtaking views in the latest Cybertruck?



Useful Information:
- How to install Grand Theft Auto 5 Mods
- Grand Theft Auto 5 System Requirements
- Grand Theft Auto 5 News

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *