moving train collision kills Created 18 years ago2006-03-23 04:02:10 UTC by gulaki gulaki

Created 18 years ago2006-03-23 04:02:10 UTC by gulaki gulaki

Posted 18 years ago2006-03-23 04:02:10 UTC Post #170375
i need serios help with this. there is this track train that goes round on a circular track. its damage property hurts only if player blocks its path between something. otherwise it just takes the player with him. i need the train to crush the player if the player gets hit by the train in its track. somebody please suggest something please. :zonked:
Posted 18 years ago2006-03-23 04:49:40 UTC Post #170380
You can't use Spirit, perchance?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2006-03-23 05:39:50 UTC Post #170391
i downloaded spirit mod and the fgd but i dont really know what to do after that. please help a bit futher with some advice. also my map is for counter strike: condition zero.

please help :zonked:
Posted 18 years ago2006-03-23 06:10:11 UTC Post #170393
Well you should have said that in the first place. If you're mapping for CZ, then why did you download Spirit?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2006-03-23 07:05:13 UTC Post #170398
i thought it would work but then i reinstalled cs for it. can i do it for cs anyway?
Posted 18 years ago2006-03-23 09:36:15 UTC Post #170403
It's for Hl1 only...
Posted 18 years ago2006-03-23 23:30:34 UTC Post #170590
i mean the train hurts when player is infront of it. can i do it in any other way?
Posted 18 years ago2006-03-24 01:18:45 UTC Post #170596
Someone made an example map about rotating objects hurting the player when the player is in its path. Although it uses a func_rotating, the same method should work for a train.

The example map is here: http://www.twhl.co.za/mapvault_map.php?id=1042
Posted 18 years ago2006-03-28 17:41:35 UTC Post #171365
I'm not sure exactly what you want, but you can acomplish this without Spirit.

There are many different ways to accomplish what I think you want...

First of all, are you using a func_train or func_tracktrain?

You can make certain stoppers out of regular brushes along the track. Make sure the player has to jump to get over them. Because of this, the train will pin the player against these and the options embedded into the train will stop it and cause a hurt to the player. You can change the exact total ammount of hurt you want, and using more advanced options you can actually specify how often you want the hurt to progress.

You probably don't want this effect, but it is a resonable way to accomplish this.

Second, you could place a large trigger_hurt along the path of the train, and place certain trigger points that correspond to the precise path_corner that the train is at. This way you can use a multisource so that if the player is at a specific trigger, and the train is at a specific position, the trigger_hurt will be in effect.

I'm not sure if that is what you want, as it would take a lot if work to accomplish this, though it is very possible.

Or, if the train is in a perfect circular path, just use a func_rotating.
You must be logged in to post a response.