Train Issues

Stickface

L2: Junior Member
Feb 7, 2014
75
16
hey I'm working on a map with trains going through it, I've set the force damage on them to 1000 but if they're blocked they still don't deal damage they just stop.

Here are a couple screenshots for reference:

AieRoLb.png


ywelGpN.png


7H4zH5i.png


http://i.imgur.com/XTcOEEm.jpg

any help would be appreciated
 

Stickface

L2: Junior Member
Feb 7, 2014
75
16
You need to tie a trigger_hurt brush entity to the front of the train. For added train-ness, set the damage type to "freeze" for the train kill icon.

I have but in other parts of the train I can stop the train completely
 

MegapiemanPHD

Doctorate in Deliciousness
aa
Mar 31, 2012
1,937
1,280
I have but in other parts of the train I can stop the train completely

If you already have a trigger_hurt set to enough damage to kill, it maybe that the positioning of your trigger is off. path_tanktrain's can be a bit finicky on where the front and back is so your trigger could be backwards and set behind the train instead of infront of it. It's happened to me before. Also check your trigger_hurt and make sure the Clients flag is on.
 

chemelia

yndersn't
aa
May 11, 2014
406
619
I have but in other parts of the train I can stop the train completely

You could either make the trigger hurt the size of the whole train, or make the func_tracktrain cover the whole train model, so that you can't get caught on the little crevices on the side.
 

henke37

aa
Sep 23, 2011
2,075
515
Or just make the prop non solid.
 

Stickface

L2: Junior Member
Feb 7, 2014
75
16
Because you turned on the "passable" flag, which means stuff can pass through it. Also is there a reason you are using tanktrain instead of tracktrain?

first time making a train used the wiki tutorial, and thanks for the info everything works fine now!