Page 1 of 1

Remove VIP kill

Posted: May 18th, 2012, 11:07 pm
by Dr.Rico
Hey guys,

I've got a question..

On our server, we want to take away the ability for vip's to kill people. We oný want Admins to can do that...
Now my quest is: Where can I remove that, or can someone remove that for me?

I know some about scripting etc. so if I need to add something or remove something just tell me what and where.

Greetz and thanks already,
Rico

mod used: CJ 3.12b

Re: Remove VIP kill

Posted: May 18th, 2012, 11:35 pm
by ThaWalrus
I don't know much about CoD 4, but there is probably some kind of .gsc that has the mod in it...

At that script there is a function called finishPlayerDamage()
If there isn't, ignore the rest.

There are a couple of things there that probably enable the possibility to kill people, when someone has the right guid or something. You should remove that.

Maybe you can show me the finishPlayerDamage(), if it exists.

Re: Remove VIP kill

Posted: May 19th, 2012, 12:47 pm
by Dr.Rico
Well the point is, there is no script that I can edit (myself) in the new basic mod..

All there is in the mod folder is: mod.ff (don't know how to edit that), and addons.gsc placed in 'addons' in the z_cod4jumper.iwd.
And ofcourse the scripts I have placed into the z_cod4jumper.iwd in maps/mp/gametypes, but that will have nothing to do with the killing as far as I know :)

Re: Remove VIP kill

Posted: May 19th, 2012, 2:22 pm
by ThaWalrus
Then I can't help you, sorry ;).

Re: Remove VIP kill

Posted: May 19th, 2012, 2:33 pm
by Drofder2004
Unfortunately this cannot be done.

The function was made before VIP was introduced and it was forgotten when the change was made.
All damage caused from a VIP (and up) is registered a 999 damage shot. If I ever change anything mod wise then I will change this feature.

Re: Remove VIP kill

Posted: May 20th, 2012, 12:35 pm
by Dr.Rico
Alright, thx for the info!