I'm starting to get headaches

Izotope

Sourcerer
aa
May 13, 2013
698
764
So yeah, I'm lost at my map.
Been looking for articles to my problem this week and haven't found a solution.

My problem is: I have a func_tracktrain, moving on two path_track entities, controlled by W and S using an game_ui entity.
W gives the input StartForward, and S gives StartBackward.
Forward works, while Backward doesn't.

And I've spent a week figuring out why it's not working, and I'm still lost.
I think I'm getting worse at hammer
 

Snowbat

L4: Comfortable Member
Apr 23, 2013
165
74
I don't know if you've read the Valve Developer WIki on tracktrains or not but I'll just post this info I found on it to be sure that's not the problem:

Backward movement

Due to coding errors or engine limitations, the Reverse and StartBackward may not function correctly if the "New Train Speed" property in the involved path_track entities is set to 0. The train may fail to reverse, jamming in place or moving in the wrong direction. To solve this issue, some or all of the path_tracks must have their "New Train Speed" variable set to a nonzero value.
 

Izotope

Sourcerer
aa
May 13, 2013
698
764
I don't know if you've read the Valve Developer WIki on tracktrains or not but I'll just post this info I found on it to be sure that's not the problem:

I actually haven't seen this one :eek:

That was what I needed, even though it worked before in other maps when I was using StartBackward.
Oh, Source, you so crazy

Much obliged