DAZZLE'S UPGRADE PACK

If you haven't already done so, upgrade your game by downloading Dazzle's all-in-one upgrade pack. It comes with everything you need for today's servers. Does your blue bar freeze when joining servers? Do you lag in games? Do you get an annoying siren in Phobik's Servers? This is what you need. CLICK HERE TO DOWNLOAD.

Anybody got an Anti-Tker script?

Modding questions, answers, help.....

Moderators: Warfare, Moderator, Admin

Mr Phobik
Site Mechanic
Site Mechanic
Posts: 283
Joined: Wed Apr 30, 2008 2:35 pm
Location: Toronto, CANADA

Anybody got an Anti-Tker script?

Post by Mr Phobik »

Anybody got an Anti Team killer script?...I know about Ishbuu Bot's script..But the link in the modding resource doesnt work.


Thanks. :)
Image
DJ Wings
Need Major Repair
Need Major Repair
Posts: 895
Joined: Thu Dec 28, 2006 9:01 am
Location: Places... Places.

Re: Anybody got an Anti-Tker script?

Post by DJ Wings »

The tank2.cs file can be hacked to make a TKer's score go down for a TK. I don't know why it doesn't...
Find where it says

Code: Select all

         // this is a score...
Below it, change the appropriate lines to this:

Code: Select all

         if ($Game::TeamGame)

         {

            if (%killer.client.team.getId() != %client.team.getId())

            {

               %killer.incScore(1,1);

            }

            else

            {

               // Team killer: REALLY lose a point.
               %killer.incScore(-1,-1);

            }

         }
Later, it should say:

Code: Select all

            // team killer, lose point
Change the numbers in the incScore() function below it from (-1, -1) to (0, 0). That makes it so the killed tank doesn't lose any points.
Never really gone, never really part of the game.

Who is online

Users browsing this forum: ClaudeBot [Bot] and 20 guests