PDA

View Full Version : destruction model



N1k
11th December 2012, 14:47
How did you do so that the model was destroyed?
I know that there is a script, but still need to model the rebound of my bullets
How make a model that ricochet of my bullets?
I have model, but the bullet passed through the model

Pls help me

P.S.
Sorry for my bad english :p

kung foo man
11th December 2012, 14:52
Spawn 32 trigger_hurt's in map and link them to the models.

That doesn't work in stockmaps, so you can detect entities with bullettrace()... i guess IzNoGod did it that way.

For my old zombots I've hacked in a callback_playerdamage for xmodels (worked by just setting the alive-flag to 1 in memory).

3 Ways, choose yours.

N1k
11th December 2012, 15:11
the third option

N1k
11th December 2012, 15:16
How you do the third option

kung foo man
11th December 2012, 15:18
I'm not hosting servers yet with that option, so take 1 or 2.

N1k
20th December 2012, 15:13
How you made trigger on model + some examples(script) pls