武装突袭3

武装突袭3

134 个评价
Advanced Train Simulator (ATS) Dev Build
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod
文件大小
发表于
更新日期
222.194 MB
2017 年 12 月 29 日 下午 2:51
2018 年 6 月 2 日 上午 9:19
6 项改动说明 ( 查看 )

订阅以下载
Advanced Train Simulator (ATS) Dev Build

在 duda 的 1 个合集中
Advanced Arma Pack
9 件物品
描述
Dev build of ATS ( http://psteamcommunity.yuanyoumao.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; };
};
};
热门讨论 查看全部(1)
0
5 月 7 日 下午 4:17
question about trains in multiplayer
[СО] DrakonNindroid
48 条留言
Daniel 4 月 2 日 下午 7:39 
can you help ??? thanks
Daniel 4 月 2 日 下午 7:39 
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 3 月 16 日 下午 1:00 
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3444980347
keriya08 2 月 14 日 上午 11:35 
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 2 月 11 日 上午 3:14 
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 2024 年 2 月 24 日 下午 6:00 
Is this still being worked on?
grahame 2024 年 1 月 26 日 下午 4:42 
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 2023 年 8 月 5 日 下午 9:48 
sad to see that the mod is dead
HCHermit 2023 年 7 月 8 日 上午 9:17 
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 2023 年 5 月 29 日 下午 7:33 
https://youtu.be/J7Kjd9xDp6U need only possibility to transportation cargo