Re: cs weapons modification -
06-11-2005
Inorder to create gas grenades I will need a proper damage system.
Just faking the deaths/damage is horribly unreliable and can cause a lot of problems down the road.
I have a few ideas on how to inflict damage but quite a bit are insane...
- Try some other entities to inflict damage
- Try and reverse engineer CS's CBaseEntity class ( probably impossible )
I still have to re-install Visual C++ so I can try out some things.
But any other damage ideas are welcome as I'm just guessing here...
[Added]
Totally unrelated to realistic damage but I may have something for gas grenades...
If you want the grenades to do only temporary damage I have a way to do it right now.
Basically, I make the engine think the player is underwater and out of air - that way the lack of oxygen damage is done but the player recovers once out of the affected area.
It's a pretty big hack and oh crap you might not be able to fire some weapons around it...
I just thought about that now while I'm typing this, damn...
Last edited by Lazy; 06-11-2005 at 06:26..
|