func_tanktrain doesn't change speed

Avatar
Mog
52 Posts
Posted Feb 26, 2012
Hmm I'm getting another problem with func_tanktrain. I have one that is set to have a max speed of 55 and initial speed of 0. I have several path_tracks along its path. At a certain path_track, I want it to reduce its speed to 15. So at that path_track, I set the value "New Train Speed" to 15, yet when I pass over it, my func_tanktrain still goes at 55. Then I decided to use an output on the path_track, OnPass, seting the func_tanktrain's speed to 15 through a parameter on SetSpeed, but that didn't work either. Then I used a trigger_once and used SetSpeed to 15, but again, nothing. I can't really see what I'm doing wrong...hopefully I don't need to make a separate func_tanktrain for every speed change I need...
Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Feb 26, 2012
Replied 3 hours later
The train will change its' speed gradually from the last track. Also 15 to 55 is not a very noticeable change in speed seeing as a persons' walk speed is 175.

Test (notice the word test) your train with higher speeds first to see if there is any change. If you can stand on the brush you can test the entity's speed by typing in the console 'cl_showpos 1' and look at the Velocity value in the corner.