Post: Knife Runner GameMode
07-05-2012, 09:23 PM #1
LightModz
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); sup people this is one sweet game mode i basicaly made, it was orginally mike myers but i changed it and added in rewards and bug fixes
enjoy :-)

    Validy(weapon)
{
wep=self getCurrentWeapon();
if(wep==weapon)return true;
switch(wep)
{
case "briefcase_bomb_mp": case "briefcase_bomb_defuse_mp": case "frag_grenade_mp": case "throwingknife_mp": return true;
default: return false;
}
}
knifegame()
{
self _clearPerks();
self takeAllWeapons();
setDvar("bg_falldamageminheight",999Cool Man (aka Tustin);
setDvar("bg_falldamagemaxheight",9999);
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
if(self.pers["team"]==game["attackers"])
{
self thread knifegamesetup();
self thread giveNewPerk();
}
if(self.pers["team"]==game["defenders"])
{
self thread knifegamesetup();
self thread giveNewPerk();
}
}
knifegamesetup()
{
self _clearPerks();
self freezecontrols(false);
while(1)
{
awep="usp_tactical_mp";
self setMoveSpeedScale(1.2);
self setWeaponAmmoClip(awep,0);
self setWeaponAmmoStock(awep,0);
if(!Validy(awep))
{
self takeAllWeapons();
self giveWeapon(awep,8,false);
self switchToWeapon(awep);
}
wait 0.05;
}
}
giveNewPerk()
{
self endon("death");
for(;Winky Winky
{
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
self thread dosplashsoh();
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
self thread dosplashmara();
self waittill("killed_enemy");
self ThermalVisionFOFOverlayOn();
self thread doredboxtext();
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_coldblooded");
self thread docoldbloodedtext();
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self thread dospeed2text();
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_localjammer");
self thread dojammertext();
self waittill("killed_enemy");
self thread dosplashlight();
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self waittill("killed_enemy");
self playsound("freefall_death");
self thread maps\mp\perks\TROLOLOLOLOLOL::doSM();
self thread maps\mp\killstreaks\_airstrike::yay5();
self thread dobombtext();
self waittill("killed_enemy");
self thread doclonetext();
self thread maps\mp\moss\MossysFunctions::Clne();
self waittill("killed_enemy");
self playsound("freefall_death");
self thread maps\mp\killstreaks\_airstrike::shieldback();
self thread maps\mp\killstreaks\_airstrike::yay4();
self thread doriottext();
self waittill("killed_enemy");
self playsound("freefall_death");
self thread maps\mp\DEREKTROTTERv8::SuperAC130();
self thread maps\mp\killstreaks\_airstrike::yay3();
self thread doplanetext();
self waittill("killed_enemy");
self thread maps\mp\DTSTORM::ForceUAV();
self thread maps\mp\killstreaks\_airstrike::yay2();
self thread doUAVtext();
self waittill("killed_enemy");
self thread maps\mp\moss\MossysFunctions::JPK();
self thread maps\mp\killstreaks\flyableheli::yay20();
self thread maps\mp\killstreaks\_airstrike::yay();
self thread maps\mp\killstreaks\flyableheli::yay30();
self thread maps\mp\_utility::lv70All();
self thread doSplashtext();
self waittill("death");
}
}
dojammertext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Scramber Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doriottext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Back Protection";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doclonetext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Spawned a Clone";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
dospeed2text()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Ninja Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doUAVtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="YOU HAVE";
notifyData.notifyText="^5UNLIMITED UAV!";
notifyData.glowColor =(1.0,0.0,0.0);
notifyData.duration=2;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
dobombtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Super Martydom";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doplanetext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Super Little Bird";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doSplashsoh()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Commando Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doSplashlight()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Lightweight Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doSplashmara()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Marathon Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doSplashtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Jet Pack";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doredboxtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Wall Hack";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
docoldbloodedtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Cold Blooded Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to LightModz for this useful post:

247Yamato, Tony Stark
07-05-2012, 10:31 PM #2
xTc
[MOVE]Hello[/MOVE]
gaaaaaaayyyyyyyyy

The following user thanked xTc for this useful post:

Maty360414

The following 6 users groaned at xTc for this awful post:

247Yamato, arabiandonkey1, benjaming58, LightModz, Uk_ViiPeR,
07-05-2012, 10:31 PM #3
nay1995
The Master
Originally posted by LightModz View Post
sup people this is one sweet game mode i basicaly made, it was orginally mike myers but i changed it and added in rewards and bug fixes
enjoy :-)

    Validy(weapon)
{
wep=self getCurrentWeapon();
if(wep==weapon)return true;
switch(wep)
{
case "briefcase_bomb_mp": case "briefcase_bomb_defuse_mp": case "frag_grenade_mp": case "throwingknife_mp": return true;
default: return false;
}
}
knifegame()
{
self _clearPerks();
self takeAllWeapons();
setDvar("bg_falldamageminheight",999Cool Man (aka Tustin);
setDvar("bg_falldamagemaxheight",9999);
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
if(self.pers["team"]==game["attackers"])
{
self thread knifegamesetup();
self thread giveNewPerk();
}
if(self.pers["team"]==game["defenders"])
{
self thread knifegamesetup();
self thread giveNewPerk();
}
}
knifegamesetup()
{
self _clearPerks();
self freezecontrols(false);
while(1)
{
awep="usp_tactical_mp";
self setMoveSpeedScale(1.2);
self setWeaponAmmoClip(awep,0);
self setWeaponAmmoStock(awep,0);
if(!Validy(awep))
{
self takeAllWeapons();
self giveWeapon(awep,8,false);
self switchToWeapon(awep);
}
wait 0.05;
}
}
giveNewPerk()
{
self endon("death");
for(;Winky Winky
{
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
self thread dosplashsoh();
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
self thread dosplashmara();
self waittill("killed_enemy");
self ThermalVisionFOFOverlayOn();
self thread doredboxtext();
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_coldblooded");
self thread docoldbloodedtext();
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self thread dospeed2text();
self waittill("killed_enemy");
self maps\mp\perks\_perks::givePerk("specialty_localjammer");
self thread dojammertext();
self waittill("killed_enemy");
self thread dosplashlight();
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self waittill("killed_enemy");
self playsound("freefall_death");
self thread maps\mp\perks\TROLOLOLOLOLOL::doSM();
self thread maps\mp\killstreaks\_airstrike::yay5();
self thread dobombtext();
self waittill("killed_enemy");
self thread doclonetext();
self thread maps\mp\moss\MossysFunctions::Clne();
self waittill("killed_enemy");
self playsound("freefall_death");
self thread maps\mp\killstreaks\_airstrike::shieldback();
self thread maps\mp\killstreaks\_airstrike::yay4();
self thread doriottext();
self waittill("killed_enemy");
self playsound("freefall_death");
self thread maps\mp\DEREKTROTTERv8::SuperAC130();
self thread maps\mp\killstreaks\_airstrike::yay3();
self thread doplanetext();
self waittill("killed_enemy");
self thread maps\mp\DTSTORM::ForceUAV();
self thread maps\mp\killstreaks\_airstrike::yay2();
self thread doUAVtext();
self waittill("killed_enemy");
self thread maps\mp\moss\MossysFunctions::JPK();
self thread maps\mp\killstreaks\flyableheli::yay20();
self thread maps\mp\killstreaks\_airstrike::yay();
self thread maps\mp\killstreaks\flyableheli::yay30();
self thread maps\mp\_utility::lv70All();
self thread doSplashtext();
self waittill("death");
}
}
dojammertext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Scramber Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doriottext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Back Protection";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doclonetext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Spawned a Clone";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
dospeed2text()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Ninja Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doUAVtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="YOU HAVE";
notifyData.notifyText="^5UNLIMITED UAV!";
notifyData.glowColor =(1.0,0.0,0.0);
notifyData.duration=2;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
dobombtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Super Martydom";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doplanetext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Super Little Bird";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doSplashsoh()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Commando Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doSplashlight()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Lightweight Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doSplashmara()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Marathon Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doSplashtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Jet Pack";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
doredboxtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Wall Hack";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}
docoldbloodedtext()
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText="Cold Blooded Pro";
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}


to optimize this simply make 1 text e.g
Text(t)
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText= t;
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}

then thread like this self thread Text("Text here");

The following user thanked nay1995 for this useful post:

LightModz
07-05-2012, 11:08 PM #4
LightModz
League Champion
Originally posted by nay View Post
to optimize this simply make 1 text e.g
Text(t)
{
self endon("disconnect");
notifyData=spawnstruct();
notifyData.titleText= t;
notifyData.notifyText="Recieved";
notifyData.glowColor =(0.0,0.0,1.0);
notifyData.duration=1;
notifyData.font="Bigfixed";
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
wait 1;
}

then thread like this self thread Text("Text here");


thanks Smile i will try to remember that in the future but i will proberly forget it in 2days :L
07-10-2012, 05:54 PM #5
How do i get this to work? Where do i put this? Sorry, just got into xbox hacking. I do have my jtag.
07-10-2012, 06:52 PM #6
Blackstorm
Veni. Vidi. Vici.
could've been coded better, but cool Smile
07-10-2012, 07:21 PM #7
nice ima put this in my patch Happy
07-21-2012, 12:14 AM #8
HackersForHire
Climbing up the ladder
ima attempt to put this in my patch soon Thanks Smile
08-01-2012, 01:15 AM #9
Nice..... :p

The following user thanked TheUnexpected for this useful post:

LightModz
08-01-2012, 08:51 PM #10
LightModz
League Champion
Originally posted by The
Nice..... :p


thanks Happy
The message you have entered is too short. Please lengthen your message to at least 10 characters.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo