Source SDK

Source SDK

ttv wynterbliss_dbd 2019년 11월 18일 오전 8시 30분
make a "train" in one direction and reset it and go again after random time
as title says I'd like some instructions if anyone could help I want it to move only linear not sure if I should use func_tanktrain for it or move_linear or something different please help!
< >
전체 댓글 8개 중 1~8개 표시 중
[B.n.B] AlcyToronto 2019년 11월 18일 오후 2시 16분 
You can use func_tracktrain, or func_movelinear, or func_door. Use a logic_timer to set the random time, connected by In/Out to the train.

https://developer.valvesoftware.com/wiki/Func_movelinear
https://developer.valvesoftware.com/wiki/Func_tracktrain
https://developer.valvesoftware.com/wiki/Logic_timer

Sincerely, if you need just a train going from A to B, I would use a func_door, setting properly the lip value, connected to the logic timer.

Matt 2019년 11월 18일 오후 7시 50분 
B.n.B AlcyToronto님이 먼저 게시:
Sincerely, if you need just a train going from A to B, I would use a func_door, setting properly the lip value, connected to the logic timer.
Just use a move_linear instead. You wouldn't have to do the tiny bit of math to work out how far you want the door to move.
ttv wynterbliss_dbd 2019년 11월 19일 오전 12시 27분 
okay thanks !
ttv wynterbliss_dbd 2019년 11월 19일 오전 1시 35분 
I dunno how to reset it so it moves only once now is there another way to set it back to its starting position other than "closing" it again as linear?
Infinite_Data 2019년 11월 20일 오전 7시 58분 
In my opinion, you should make it a func_tanktrain instead. Then you can set the "Teleport to this path_track" flag for the starting path_track and the train will "reset" itself instantly.
NWO SOLDIER 2019년 11월 20일 오전 9시 56분 
Here's a better guide that actually works in 2019.

https://www.youtube.com/watch?v=qG1MwM9wMiA

Trainstops are all done automatically.

Here is your typical advice from a Source SDK community user, if you want to keep using broken-
Valve/Steam/Source/Source SDK/Hammer/Multi-Tool/VisualCommunity2013/GameInfo.txt/Set VProject to/No that File/Invalid Game Error!...........
in 2019

https://www.youtube.com/watch?v=rEsOv6CBHaE

About as useful as a fish on a bicycle (since its a video from 2013) and as insightful as a 5 year old. But hey hoe sums up this redundant forum.
NWO SOLDIER 님이 마지막으로 수정; 2019년 11월 20일 오전 10시 11분
NWO SOLDIER 2019년 11월 23일 오전 4시 57분 
Wynterbliss님이 먼저 게시:
as title says I'd like some instructions if anyone could help I want it to move only linear not sure if I should use func_tanktrain for it or move_linear or something different please help!


Ok now I'm done venting, here is a Hammer/Source SDK tutorial that does exactly what you require.

https://www.youtube.com/watch?v=Gi7Ii6TpZv0

Yes I know its about an "elevator" (going vertically) BUT it uses the func_tracktrain option. I also used this to make a train travel horizontally making delayed stops before heading back into another direction.
NWO SOLDIER 님이 마지막으로 수정; 2019년 11월 23일 오전 4시 58분
BlazeTheCatMan 2022년 9월 19일 오후 9시 11분 
i am wanting a train thats random everytime it comes by with a random timer like besides the engine how do i add all the railcars and have it be random everytime it comes by so i do not have to prepare multiple ones!? :)
< >
전체 댓글 8개 중 1~8개 표시 중
페이지당 표시 개수: 1530 50

게시된 날짜: 2019년 11월 18일 오전 8시 30분
게시글: 8