TrainSpawner [AddonRails] 3.0
4 596
80
4 596
80
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 (https://de.gta5-mods.com/tools/openiv)
ScriptHook (https://de.gta5-mods.com/tools/script-hook-v)
Optional Mods:
Railroad Engineer to drive the train (https://de.gta5-mods.com/scripts/railroad-engineer)
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 automatically spawned.
Read the README file since this is a bit complicated :)
As an example you can look at how the cablecar is added:
https://www.gta5-mods.com/vehicles/libertycity-cablecar
How to create a train track:
Using this mod you can easily create a custom train track.
https://www.gta5-mods.com/scripts/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.
Changelog:
V1.0: Initial Release
V2.0: Added support for Addon-Train models, multiple train-configs per key and improved stability
V3.0: Support for GTA Patch 1.57, removed logging in release to improve performance
Special Thanks to:
dexyfex (CodeWalker)
OpenIV Team (OpenIV)
Thanks for downloading, hope you enjoy it.
If you find any bug please write a comment about it :)
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 (https://de.gta5-mods.com/tools/openiv)
ScriptHook (https://de.gta5-mods.com/tools/script-hook-v)
Optional Mods:
Railroad Engineer to drive the train (https://de.gta5-mods.com/scripts/railroad-engineer)
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 automatically spawned.
Read the README file since this is a bit complicated :)
As an example you can look at how the cablecar is added:
https://www.gta5-mods.com/vehicles/libertycity-cablecar
How to create a train track:
Using this mod you can easily create a custom train track.
https://www.gta5-mods.com/scripts/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.
Changelog:
V1.0: Initial Release
V2.0: Added support for Addon-Train models, multiple train-configs per key and improved stability
V3.0: Support for GTA Patch 1.57, removed logging in release to improve performance
Special Thanks to:
dexyfex (CodeWalker)
OpenIV Team (OpenIV)
Thanks for downloading, hope you enjoy it.
If you find any bug please write a comment about it :)
Первая загрузка: 22 июля 2020
Последнее обновление: 17 октября 2021
Последнее скачивание: вчера
67 комментариев
More mods by kd3533:
- Дорога
- Menyoo
5.0
2 418
34
1.1 (for the new remastered DLC)
By kd3533
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 (https://de.gta5-mods.com/tools/openiv)
ScriptHook (https://de.gta5-mods.com/tools/script-hook-v)
Optional Mods:
Railroad Engineer to drive the train (https://de.gta5-mods.com/scripts/railroad-engineer)
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 automatically spawned.
Read the README file since this is a bit complicated :)
As an example you can look at how the cablecar is added:
https://www.gta5-mods.com/vehicles/libertycity-cablecar
How to create a train track:
Using this mod you can easily create a custom train track.
https://www.gta5-mods.com/scripts/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.
Changelog:
V1.0: Initial Release
V2.0: Added support for Addon-Train models, multiple train-configs per key and improved stability
V3.0: Support for GTA Patch 1.57, removed logging in release to improve performance
Special Thanks to:
dexyfex (CodeWalker)
OpenIV Team (OpenIV)
Thanks for downloading, hope you enjoy it.
If you find any bug please write a comment about it :)
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 (https://de.gta5-mods.com/tools/openiv)
ScriptHook (https://de.gta5-mods.com/tools/script-hook-v)
Optional Mods:
Railroad Engineer to drive the train (https://de.gta5-mods.com/scripts/railroad-engineer)
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 automatically spawned.
Read the README file since this is a bit complicated :)
As an example you can look at how the cablecar is added:
https://www.gta5-mods.com/vehicles/libertycity-cablecar
How to create a train track:
Using this mod you can easily create a custom train track.
https://www.gta5-mods.com/scripts/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.
Changelog:
V1.0: Initial Release
V2.0: Added support for Addon-Train models, multiple train-configs per key and improved stability
V3.0: Support for GTA Patch 1.57, removed logging in release to improve performance
Special Thanks to:
dexyfex (CodeWalker)
OpenIV Team (OpenIV)
Thanks for downloading, hope you enjoy it.
If you find any bug please write a comment about it :)
Первая загрузка: 22 июля 2020
Последнее обновление: 17 октября 2021
Последнее скачивание: вчера
@Dante69K No it is :)
*Now it is :D
@kd3533 Download man appreciated.
Great mod, especially when used with Liberty City Remix but I have noticed that the trains only spawn when using one of the default SP characters. Is there any way you could make it so we could use it with ped charters or the freemode characters, would love to use this mod with my MTA EUP uniforms I been working on. Thx
@arago1 Great Question, but I don't know. I use the coordinates of the player as input to my train spawner. So all my calculations are based on the player position. Are the characters you talk about not registered like a normal player? What mods do you use to get these characters?
@kd3533 Currently I am using TrainerV to change my player model. I am able to spawn as many trains as I like as Trevor but once I change from him to say the bus driver ped I can no longer spawn the train and they no longer spawn automatically anymore. :(
@kd3533 Sometimes the spawner stops working....As recently I noticed it was working yesterday when I played...but today it stopped working...Can u explain the reason behind it??? and what are the other requirements for this mod to work I mean except openiv and scripthook ..other Windows software from Microsoft? because when It had happen earlier..i installed all req. softwares of Microsoft which are required for Main GTA 5..but i don't remember the name of those softwares...pls let me know...
@kd3533 I also want to know is the spawner compatible with gta 5 redox mod and reshade...because this time it stopped working after I installed these...plz give an idea how to fix it? Its not loading now..Even tried complete reinstallation of game..still its not spawning the trains..
@arago1 Okay I will look into this when I find the time.
@devdd960 You just need OpenIV and ScriptHook no other software. I don't know why it would stop working, maybe it is incompatible with another mod you installed. But I never had that happen to me. I don't have GTA 5 Redux installed but reshade which does not cause any problems for me. Does the spawing with keys work or is only the auto-spawner broken?
@kd3533 I completely reinstalled the game..and again tried to run it. on different versions of the game.. I think earlier it was working partially as if I am right if its working then whenever the player will be near the railway tracks the train will automatically come right..this was happening earlier in v1.57 ..but spawning through keys was not working...To fix it I again ran the installation setup but didn't uninstall the game completely just overwritten the game files but this time It completely stopped working the train was not even spawning when the player is near the tracks...So third time I did a complete reinstall of the game by completely deleting all files...but still this time also it didn't work neither the trains were spawning through keys(manually) nor automatically if the player is near the tracks...But I see in asiloader.log file it said the asi was loaded..but I think it was not active in the game...same issue is with the track recorder mod...I even tried to run it with scripts and mods folder disabled but then also it was not working...
@kd3533 this issue happens most of the time..it works for sometime after that it stops working...
By the way is there any other alternative to make new tracks and spawn trains there like.. through menyoo trainer or something...I hope this spawner starts working automatically again..
@kd3533 Ok I got it working again and I think I am facing the same issue as @arago1 said the character issue..I also keep playing mission with other characters..so this time I saved the game in official way with one of the main characters of the game..And then it started working... and also in this version when I try to spawn metro train instead of metro only loco of freight train is spawned..metro doesn't spawn..
trains not appearing after pressing x or t
Does it work on the latest version of fivem?
Doesn't work. It can't spawn any train or metro. I had this installed a while ago, and it worked, but now, it doesn't work anymore.
i followed the instructions but it still only spawns trains on the original in-game rails. please fix.
1. spawned trains/trams return to the normal train track after going around the new track once. please make that an option or remove it completely.
2. when I'm typing it still spawns trains/trams
no matter which key i press only freight train pawns, metro never spawns
Where do I find a tainsXYZ.dat file?