Arma 3
126 ratings
Advanced Train Simulator (ATS) Dev Build
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
File Size
Posted
Updated
222.194 MB
Dec 29, 2017 @ 2:51pm
Jun 2, 2018 @ 9:19am
6 Change Notes ( view )

Subscribe to download
Advanced Train Simulator (ATS) Dev Build

In 1 collection by duda
Advanced Arma Pack
9 items
Description
Dev build of ATS ( http://steamcommunity.com/sharedfiles/filedetails/?id=891938535 )

New features (beyond current ATS release):

- Train collisions
- Improved train attachments
- Louder train sounds
- CUP track support (aka works on Chernarus!)

Note: New features have not been fully tested in MP or SP

Some scripts you can try using with this version:

1. Create a train via script and give it some speed (place this in the init field of any train engine object placed on the map):

this call {
_train = [_this] call ATRAIN_fnc_createTrain;
for "_i" from 0 to 5 do
{
[_train, "ATS_Trains_AE_Wagon"] call ATRAIN_fnc_attachTrainCar;
};
_train setVariable ["ATRAIN_Remote_Cruise_Control_Enabled", true, true];
_train setVariable ["ATRAIN_Local_Velocity", 12];
_train setVariable ["ATRAIN_Remote_Velocity", 12, true];
};

2. Derail the train (assumes the name of the editor-placed engine is TRAIN)

[[TRAIN] call ATRAIN_fnc_getTrain] call ATRAIN_fnc_derailTrain

3. Control who can get in the train:

[{some code that returns true or false. _this select 0 is the player},"You need a license to drive this train"] call ATRAIN_fnc_setTrainDriveCondition;
[{some code that returns true or false _this select 0 is the player},"You need a license to ride this train"] call ATRAIN_fnc_setTrainRideCondition;


New CfgRemoteExec Rules:

class CfgRemoteExec
{
class Functions
{
class ATRAIN_fnc_requestATSInstall { allowedTargets=2; };
class ATRAIN_fnc_updateTrackMap { allowedTargets=2; };
class ATRAIN_fnc_registerTrain { allowedTargets=2; };
class ATRAIN_fnc_registerTrainCar { allowedTargets=2; };
class ATRAIN_fnc_hideTrainObjectGlobal { allowedTargets=2; };
class ATRAIN_fnc_hidePlayerObjectGlobal { allowedTargets=2; };
};
};
Popular Discussions View All (1)
0
May 7 @ 4:17pm
question about trains in multiplayer
[СО] DrakonNindroid
48 Comments
Zombie Killer Apr 2 @ 7:39pm 
can you help ??? thanks
Zombie Killer Apr 2 @ 7:39pm 
so as i tested with this code,,[tank1, carriageName, [0,0.5,0]] call ATRAIN_fnc_attachToTrainCar; as then drive the train the tank1 becomes a wreck
Dive Mar 16 @ 1:00pm 
Hello everyone! I'm not the original author of the mod but I made an unofficial compatibility patch that makes it possible to use trains on more modern maps like Livonia/Sumava/Chernarus2020. You can find the patch here https://steamcommunity.com/sharedfiles/filedetails/?id=3444980347
keriya08 Feb 14 @ 11:35am 
Hello, I wanted to ask a question. The trains in Chernarus don't work, they don't move at all, but you can get on them. I tried to do a lot of things, but they still don't work. Can anyone tell me what this might be connected with?
Sirion Feb 11 @ 3:14am 
Hey Grahame, I've seen your video about the trains on Chernarus 2020. I've been wanting to drive trains there since ATS's release but gave up due to not having the time nor knowledge to do the work myself.

I've sent you a friend request. Are you able to share your edit of ATS?
Shadow Feb 24, 2024 @ 6:00pm 
Is this still being worked on?
grahame Jan 26, 2024 @ 4:42pm 
Hi Duda, what's up mate? Pretty much finished work on integrating Enoch rail lines. Would love to contribute the changes (based on this dev version), just need to finish up checking on a couple of pathing errors specific to Chernarus 2020... https://www.youtube.com/watch?v=EJT8sMiAOcM
TunTeb Aug 5, 2023 @ 9:48pm 
sad to see that the mod is dead
HCHermit Jul 8, 2023 @ 9:17am 
GREAT Mod shame it seems to have died out. But still manage to make a nazi train to attack for a vid https://youtu.be/Psv0_Iuly6g
[EC] HAWK May 29, 2023 @ 7:33pm 
https://youtu.be/J7Kjd9xDp6U need only possibility to transportation cargo