Page 1 of 1

weapon modding

Posted: August 12th, 2010, 11:36 am
by waywaaaard
I have a question there is a really cool defrag cod2 mod server out there. Though it has a serverside mod and it seems that the maker aren't willing to release the files. Though I have what I need but how can I do a script command when I shoot with a weapon. Is there anything related in a gsc? So e.g. I shoot I want to give the player more health or do some bullettraceing?

Well I should add without touching the functions in the codjumper.gsc just in my map gscs

Re: weapon modding

Posted: August 12th, 2010, 12:42 pm
by waywaaaard
shot0004.jpg

Re: weapon modding

Posted: August 12th, 2010, 8:46 pm
by Drofder2004
Could you not use "AttackButtonPressed()"?

Re: weapon modding

Posted: August 12th, 2010, 8:55 pm
by waywaaaard
yeah I have that. Though now I have another problem. How the fuck can I remove the red screen that you get and the red arrow that shows from where you've been hit. I tried to don't draw the updatedamagefeedback in _damagefeedback though it appears that it just doesnt work to override that file. Nothing happens for me.

watch video:

http://www.xfire.com/video/33481f/