Func_train damage Created 18 years ago2005-12-26 10:43:08 UTC by inventrex inventrex

Created 18 years ago2005-12-26 10:43:08 UTC by inventrex inventrex

Posted 18 years ago2005-12-26 10:43:08 UTC Post #154597
Hello, I am having a problem described here (Except that I'm making a train): clicky

Whenever someone steps on my train, the player will be dealt damage and the train will not move... There is enough space, I set up a set of path_corners for the func_train.

Any help will be deeply appreciated, thanks.
Posted 18 years ago2005-12-26 11:05:38 UTC Post #154599
I had that problem when my func_train didn't have an origin! Create a brush in the trains middle textured with origin. And tie it with the train to an entity. :)
Posted 18 years ago2005-12-26 21:53:56 UTC Post #154688
Thanks for your reply.

I thought func_trains do not need origin... they align themselves over the path_corners? I added the origin and the damage still occurs...

Any help?
Posted 18 years ago2005-12-27 05:19:37 UTC Post #154716
Make sure that the origin brush is properly grouped with the platform itself. just being inside it doesnt mean it's grouped. The actual method for assuring this veries from editor to editor. I use GTK and for me to fix that, I would recreate the platform with the origin brush inside it and with all brushes selected (including origin brush) reassign the whole group together as a func_train. A pro HAMMER user needs to chime in and describe the process differences for HAMMER.
The thought is the same though. I'd think that even though you put the origin brush in there, it sounds like its not actually grouped to the platform itself.

feel free to correct me as necessary.
Posted 18 years ago2005-12-27 05:21:59 UTC Post #154717
Hello, I placed an ORIGIN brush there and re-added it together with my moving train platform as a func_train.

FYI, my func_train is a freight machine moving horizontally not vertically. Hope it helps, thanks.

EDIT: The damage occurs only when someone is on the moving train or blocking it, and the damage dealt is 2 per second. I'm mapping for CS, and will be able provide the RMF (using custom textures and sky) if you need it. Thanks.
Posted 18 years ago2005-12-27 06:18:47 UTC Post #154722
I think there may be too many possible causes for that problem for me to fix for you without seeing the actual file. Unfortunately, I use GTKr instead of hammer so I can't open .rmf files. Someone else here Hint* Hint* should be able to help you better than I at this point.
Posted 18 years ago2005-12-27 06:24:46 UTC Post #154723
Maybe I can export the map as *.MAP...

EDIT: .MAP file here
Posted 18 years ago2005-12-27 15:58:17 UTC Post #154859
Hello
I have take a look on your train setup, and it works perfect in HL, you have set "Damage on crush" to 0 and when you get jammed between the platform and the barrels the train stops and/or the train push you way from the barrels.
And when I set the "Damage on crush" from value 1 to 100 you take damage.
So I think the problem is specific for CS and when it is two players involved.??
Do you use Zoner?s tools? if not do that.
Tlax
Posted 18 years ago2005-12-27 22:39:15 UTC Post #154909
Thanks for your reply.

Only 1 player (me) is involved, and yes I use ZHLT 3.2.1. The wierd thing is that the escalator example map in the Map Vault works with no damage dealt to players...

I might try to rebuild another func_train, with a simpler design.
Posted 18 years ago2005-12-27 23:38:14 UTC Post #154913
Guys, I have solved it! Moving entites screw up in CS if a player crouches. It happens in vehicles, trains, tracktrains so on... So I've made my freight mover higher so the player can stand, and it now works!

Thanks for all your reply!
You must be logged in to post a response.