![]() |
Re: cs weapons modification
Actually, I am interested in getting the proper damage functions working since it would work properly every time.
But thats for a later project... |
Re: cs weapons modification
Hi Lazy...
Any more thoughts on Gas Grenades? Or is that all linked to the damage system? Not a nag, just a quick question out of interest :) Cheers for now |
Re: cs weapons modification
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... |
Re: cs weapons modification
The temporary damage thing could be quite cool. In the AMX version of the Gas Grenade plugin they have incorporated a gas mask icon for when you are damaged. Maybe it's a similar thing.
Hopefully the answer will come to you in a blinding flash :) Here that post again for AMX. Seems it has sounds for "gasps" and uses an icon... http://djeyl.net/forum/index.php?showtopic=22220&st=180 Cheers for now |
Re: cs weapons modification
I'll try another idea I had tonight and see what happens, hopefully I can figure something out.
|
Re: cs weapons modification
Well, it would be pretty cool if it can be coded in...
Then all you have to work out is how to put in the camera, radio, molotov, LAW, zipline, syringe... 9_9 Cheers for now |
Re: cs weapons modification
Oddly enough all of those are possible...
Still no reliable way of causing damage though. |
Re: cs weapons modification
Heh... You could always make it that using the camera not only triggers a map event, but takes a screenshot too :)
Cheers for now |
All times are GMT +2. The time now is 21:42. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.