Remove VIP kill

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

Moderator: Core Staff

Post Reply
Dr.Rico
CJ Wannabe
CJ Wannabe
Posts: 15
Joined: December 11th, 2011, 1:17 pm
Gamertag: -
PSN ID: -
Location: The Netherlands

Remove VIP kill

Post by Dr.Rico » May 18th, 2012, 11:07 pm

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

ThaWalrus

Re: Remove VIP kill

Post by ThaWalrus » May 18th, 2012, 11:35 pm

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.

Dr.Rico
CJ Wannabe
CJ Wannabe
Posts: 15
Joined: December 11th, 2011, 1:17 pm
Gamertag: -
PSN ID: -
Location: The Netherlands

Re: Remove VIP kill

Post by Dr.Rico » May 19th, 2012, 12:47 pm

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 :)

ThaWalrus

Re: Remove VIP kill

Post by ThaWalrus » May 19th, 2012, 2:22 pm

Then I can't help you, sorry ;).

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

Re: Remove VIP kill

Post by Drofder2004 » May 19th, 2012, 2:33 pm

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.
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

Dr.Rico
CJ Wannabe
CJ Wannabe
Posts: 15
Joined: December 11th, 2011, 1:17 pm
Gamertag: -
PSN ID: -
Location: The Netherlands

Re: Remove VIP kill

Post by Dr.Rico » May 20th, 2012, 12:35 pm

Alright, thx for the info!

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests