Problems with train rotation Created 10 years ago2014-05-12 08:54:39 UTC by Loulimi Loulimi

Created 10 years ago2014-05-12 08:54:39 UTC by Loulimi Loulimi

Posted 10 years ago2014-05-12 08:55:04 UTC Post #319378
Hello all
I have currently a problem I didn't manage to solve.
I created a train, but when he appears he is rotated in the y axe.
I already tried to rotate the train in Hammer but it make the thing worse.
The main problem is that even if I can create the train so he is in the right position, I can't find the aaatrigger traincontrol.

Do you know how to fix this problem?
The rmf: https://onedrive.live.com/redir?resid=A52162CFA2ECDDBB!15603&authkey=!AMAOV7qzB7UaSOs&ithint=file%2c.rmf

Thanks
Posted 10 years ago2014-05-12 09:05:50 UTC Post #319379
I'm in work so I can't check the RMF, but there are a few things that might be the culprit.

First, always build your train so that it is facing 0 degrees (east, in top view). It will teleport to its first stop target on mapload, so you can have it set to change its orientation based on the direction of the path_track it's following in the entity properties, rather than rotating it in Hammer.

Second, trains require an Origin brush. They will not behave properly without one.

Third, trains should have UserControl as a flag option without needing a separate trigger entity.

Hope that helps!
Archie ArchieGoodbye Moonmen
Posted 10 years ago2014-05-12 13:05:53 UTC Post #319380
Archie's tips are good, except one: tracktrains should be built to face west (180) in the top view, not east. :)
Posted 10 years ago2014-05-12 14:02:28 UTC Post #319381
Archie is right, they are supposed to face east in the top view, but do whatever works for you ;)
Captain Terror Captain Terrorwhen a man loves a woman
Posted 10 years ago2014-05-14 16:18:54 UTC Post #319426
Thanks for you replies everyone, but I have some questions.
Urby, do you talk about the func_tracktrain properties or the path_track properties?

"Third, trains should have UserControl as a flag option without needing a separate trigger entity. "
But, I have "NoUserControl" as a flag if I remind good. And I learned that I would must create a aaatriger "func_traincontrols" to make the train controlable.
You must be logged in to post a response.