weapon modding

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

weapon modding

Post by waywaaaard » August 12th, 2010, 11:36 am

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
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: weapon modding

Post by waywaaaard » August 12th, 2010, 12:42 pm

shot0004.jpg
You do not have the required permissions to view the files attached to this post.
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: weapon modding

Post by Drofder2004 » August 12th, 2010, 8:46 pm

Could you not use "AttackButtonPressed()"?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
waywaaaard
Core Staff
Core Staff
Posts: 2214
Joined: February 6th, 2006, 3:18 pm
Location: Germany/Bayern

Re: weapon modding

Post by waywaaaard » August 12th, 2010, 8:55 pm

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/
THAT HANDS WERE NOT TRACED!
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality :roll:

Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests