GSC Black Ops 2 GSC Functions

TheNiceUb3r

Veteran
Messages
45
Reaction score
46
Points
793
call them useless all day I figured why not share since anyone can get them anyways I thought they was pretty cool lol

Here


// Dead Chat With Alive Team
Code:
DeadChatWithTeam()
{
if (self.DCWTTsf == 0)
    {
        self.DCWTTsf = 1;
        setmatchtalkflag( "DeadChatWithTeam", 1 );
        self iprintln("^2Dead Chat With Team ^5[On]");
    }
    else
    {
        self.DCWTTsf = 0;
          setmatchtalkflag( "DeadChatWithTeam", 0 );
        self iprintln("^2Dead Chat With Team ^5[Off]");
    }
}

// Dead Hear Living Team Mates
Code:
DeadHearTeamLiving()
{
if (self.DCWLPsf == 0)
    {
        self.DCWLPsf = 1;
        setmatchtalkflag( "DeadHearTeamLiving", 1 );
        self iprintln("^2Dead Chat With Living ^5[On]");
    }
    else
    {
        self.DCWLPsf = 0;
          setmatchtalkflag( "DeadHearTeamLiving", 0 );
        self iprintln("^2Dead Chat With Living ^5[Off]");
    }
}

// Dead Hear All Living
Code:
DeadHearAllLiving()
{
if (self.DCWLPsf == 0)
    {
        self.DCWLPsf = 1;
        setmatchtalkflag( "DeadHearAllLiving", 1 );
        self iprintln("^2Dead Hear All Living ^5[On]");
    }
    else
    {
        self.DCWLPsf = 0;
          setmatchtalkflag( "DeadHearAllLiving", 0 );
        self iprintln("^2Dead Hear All Living ^5[Off]");
    }
}

// Anti-Quit Can't See Leave Button
Code:
AntiQuitV3SOLO()
{
if (self.ASDMDFAF == 0)
    {
        self.ASDMDFAF = 1;
        self iprintln("^2Anti-Quit V3 ^5[ENABLED]");
        setmatchflag( "final_killcam", 1 );
    }
    else
    {
        self.ASDMDFAF = 0;
        self iprintln("^2Anti-Quit V3 ^5[DISABLED]");
        setmatchflag( "final_killcam", 0 );
    }
}

// Troll Soreboard (Can be turned into team and all clients function)
Code:
SetKills()
{
self.kills = RandomIntRange(1,1000000);
self.score = RandomIntRange(1,10000);
self.assists = RandomIntRange(1,1000000);
self.deaths = RandomIntRange(1,1000000);
self.plants = RandomIntRange(1,1000000);
self.defuses = RandomIntRange(1,1000000);
}

// Can't Pick Up The Bomb On SND
Code:
CantPickBombUpSND()
{
level.sdbomb maps/mp/gametypes/_gameobjects::allowcarry( "none" );
self iprintln("^5Player Can No Longer Pick The Bomb Up!");
}

// Makes The Bomb On SND Glitch Out And Show Both Bombs
Code:
BombTimerShit()
{
    setbombtimer( "A", 250 );
    setmatchflag( "bomb_timer_a", 250 );
    setbombtimer( "B", 250 );
    setmatchflag( "bomb_timer_b", 250 );
}

// Change Bouncing Betty Damage/Radius
Code:
BettyChangeDamage()
{
level.bettymindist = 999999999 * 999999999 * 999999999 * 999999999;
level.bettydamageradius = 999999999 * 999999999 * 999999999 * 999999999;
level.bettydamagemax = 100000;
level.bettydamagemin = 100000;
}

// Change Betty Hight
Code:
BettyChangeHeight()
{
level.bettyjumpheight = 500;
}

// Glitch the game up and make it none team based (Must be placed in init)
Code:
level.teambased = 0;
 

Liam

BU4
Messages
185
Reaction score
171
Points
818
you managed to spell Radius wrong when its right there in front of you :kappa:
 

TheNiceUb3r

Veteran
Messages
45
Reaction score
46
Points
793
you managed to spell Radius wrong when its right there in front of you :kappa:
Actually that was my PC auto correcting that, But why do you manage to have to say something to everything I post? Especially when I am trying to help out.
 

Saso

Insane-Known Member
Messages
6
Reaction score
0
Points
351
call them useless all day I figured why not share since anyone can get them anyways I thought they was pretty cool lol

Here


// Dead Chat With Alive Team
Code:
DeadChatWithTeam()
{
if (self.DCWTTsf == 0)
    {
        self.DCWTTsf = 1;
        setmatchtalkflag( "DeadChatWithTeam", 1 );
        self iprintln("^2Dead Chat With Team ^5[On]");
    }
    else
    {
        self.DCWTTsf = 0;
          setmatchtalkflag( "DeadChatWithTeam", 0 );
        self iprintln("^2Dead Chat With Team ^5[Off]");
    }
}

// Dead Hear Living Team Mates
Code:
DeadHearTeamLiving()
{
if (self.DCWLPsf == 0)
    {
        self.DCWLPsf = 1;
        setmatchtalkflag( "DeadHearTeamLiving", 1 );
        self iprintln("^2Dead Chat With Living ^5[On]");
    }
    else
    {
        self.DCWLPsf = 0;
          setmatchtalkflag( "DeadHearTeamLiving", 0 );
        self iprintln("^2Dead Chat With Living ^5[Off]");
    }
}

// Dead Hear All Living
Code:
DeadHearAllLiving()
{
if (self.DCWLPsf == 0)
    {
        self.DCWLPsf = 1;
        setmatchtalkflag( "DeadHearAllLiving", 1 );
        self iprintln("^2Dead Hear All Living ^5[On]");
    }
    else
    {
        self.DCWLPsf = 0;
          setmatchtalkflag( "DeadHearAllLiving", 0 );
        self iprintln("^2Dead Hear All Living ^5[Off]");
    }
}

// Anti-Quit Can't See Leave Button
Code:
AntiQuitV3SOLO()
{
if (self.ASDMDFAF == 0)
    {
        self.ASDMDFAF = 1;
        self iprintln("^2Anti-Quit V3 ^5[ENABLED]");
        setmatchflag( "final_killcam", 1 );
    }
    else
    {
        self.ASDMDFAF = 0;
        self iprintln("^2Anti-Quit V3 ^5[DISABLED]");
        setmatchflag( "final_killcam", 0 );
    }
}

// Troll Soreboard (Can be turned into team and all clients function)
Code:
SetKills()
{
self.kills = RandomIntRange(1,1000000);
self.score = RandomIntRange(1,10000);
self.assists = RandomIntRange(1,1000000);
self.deaths = RandomIntRange(1,1000000);
self.plants = RandomIntRange(1,1000000);
self.defuses = RandomIntRange(1,1000000);
}

// Can't Pick Up The Bomb On SND
Code:
CantPickBombUpSND()
{
level.sdbomb maps/mp/gametypes/_gameobjects::allowcarry( "none" );
self iprintln("^5Player Can No Longer Pick The Bomb Up!");
}

// Makes The Bomb On SND Glitch Out And Show Both Bombs
Code:
BombTimerShit()
{
    setbombtimer( "A", 250 );
    setmatchflag( "bomb_timer_a", 250 );
    setbombtimer( "B", 250 );
    setmatchflag( "bomb_timer_b", 250 );
}

// Change Bouncing Betty Damage/Radius
Code:
BettyChangeDamage()
{
level.bettymindist = 999999999 * 999999999 * 999999999 * 999999999;
level.bettydamageradius = 999999999 * 999999999 * 999999999 * 999999999;
level.bettydamagemax = 100000;
level.bettydamagemin = 100000;
}

// Change Betty Hight
Code:
BettyChangeHeight()
{
level.bettyjumpheight = 500;
}

// Glitch the game up and make it none team based (Must be placed in init)
Code:
level.teambased = 0;
i like some of these codes thank you
 

Unix

Known Member
Messages
33
Reaction score
11
Points
118
Very Nice man, unique and hell man... it's something new :smile: Well done
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
5,093
Reaction score
2,881
Points
1,103
@TheNiceUb3r Looks good, also I changed the title, if you do not like it change it to something else :smile: It's important that the title match to the content and the describe it. :peace:
 

TheNiceUb3r

Veteran
Messages
45
Reaction score
46
Points
793
@TheNiceUb3r Looks good, also I changed the title, if you do not like it change it to something else :grinning: It's important that the title match to the content and the describe it. :peace:
You play PS3 right? On the PS3 when someone tries to freeze you off host does it change there clantag and name or how does that work?
 
G

Gentle

Guest
Yes as is ours, Which means it changes it to something in the clantag etc, Which means you can freeze them if they try.
what I know of people mostly change their own name and whenever they kill someone or they die bam they off
 

TheNiceUb3r

Veteran
Messages
45
Reaction score
46
Points
793
what I know of people mostly change their own name and whenever they kill someone or they die bam they off
That is how it is on xbox but there is only one tool that can do it and I made a thing so if player.name = "NAME" name being what it changes it to then it will run the freeze function on them. Wasn't sure on PS3
 
G

Gentle

Guest
That is how it is on xbox but there is only one tool that can do it and I made a thing so if player.name = "NAME" name being what it changes it to then it will run the freeze function on them. Wasn't sure on PS3
Yeah its possible..
 

Jiro

Modder
Messages
223
Reaction score
71
Points
828
Here


// Floating Bodies
Code:
FloatingBodies()
{
    if (self.floatem == 0)
    {
        self.floatem = 1;
          setDvar("phys_gravity", "999");
        self iprintln("Floating Bodies: ^2ON");
    }
    else
    {
        self.floatem = 0;
        setDvar("phys_gravity", "-9999");
        self iprintln("Floating Bodies: ^1OFF");
    }
}

// Across Map Weapons
Code:
accrossweapons()
{
    if(self.accrossweapons==1)
    {
        self iprintln("Across Map Weapons ^2ON");
        setDvar("player_useRadius",999999999);
        self.accrossweapons=0;
    }
    else
    {
        self iprintln("Across Map Weapons ^1OFF");
        setDvar("player_useRadius",5);
        self.accrossweapons=1;
    }
}

// Ladder Jump
Code:
ladderjump()
{
    if(self.ladderjump==1)
    {
        self iprintln("Ladder Jump ^2ON");
        self iprintln("^5Jump off a ladder to see what happens!");
        setDvar("jump_ladderPushVel",1024);
        self.ladderjump=0;
    }
    else
    {
        self iprintln("Ladder Jump ^1OFF");
        setDvar("jump_ladderPushVel",128);
        self.ladderjump=1;
    }
}

// Menu Stealth
Code:
MenuStealthDvar()
{
    if (self.msdshit == 0)
    {
        self.msdshit = 1;
        setDvar("MenuStealth", "2");
        self iPrintln("Menu Stealth ^1OFF");
    }
    else
    {
        self.msdshit = 0;
        setDvar("MenuStealth", "1");
        self iprintln("Menu Stealth ^1ON");
    }
}
 

TheNiceUb3r

Veteran
Messages
45
Reaction score
46
Points
793
Here


// Floating Bodies
Code:
FloatingBodies()
{
    if (self.floatem == 0)
    {
        self.floatem = 1;
          setDvar("phys_gravity", "999");
        self iprintln("Floating Bodies: ^2ON");
    }
    else
    {
        self.floatem = 0;
        setDvar("phys_gravity", "-9999");
        self iprintln("Floating Bodies: ^1OFF");
    }
}

// Across Map Weapons
Code:
accrossweapons()
{
    if(self.accrossweapons==1)
    {
        self iprintln("Across Map Weapons ^2ON");
        setDvar("player_useRadius",999999999);
        self.accrossweapons=0;
    }
    else
    {
        self iprintln("Across Map Weapons ^1OFF");
        setDvar("player_useRadius",5);
        self.accrossweapons=1;
    }
}

// Ladder Jump
Code:
ladderjump()
{
    if(self.ladderjump==1)
    {
        self iprintln("Ladder Jump ^2ON");
        self iprintln("^5Jump off a ladder to see what happens!");
        setDvar("jump_ladderPushVel",1024);
        self.ladderjump=0;
    }
    else
    {
        self iprintln("Ladder Jump ^1OFF");
        setDvar("jump_ladderPushVel",128);
        self.ladderjump=1;
    }
}

// Menu Stealth
Code:
MenuStealthDvar()
{
    if (self.msdshit == 0)
    {
        self.msdshit = 1;
        setDvar("MenuStealth", "2");
        self iPrintln("Menu Stealth ^1OFF");
    }
    else
    {
        self.msdshit = 0;
        setDvar("MenuStealth", "1");
        self iprintln("Menu Stealth ^1ON");
    }
}

While I am not trying to be mean, The first 3 look as if a copy and paste from NGU, The last one won't even make your menu stealth lol that is a dvar but the dvar is doing and changing nothing as you have no if statement for the dvar, So that would not make the menu stealth at all
 

TheNiceUb3r

Veteran
Messages
45
Reaction score
46
Points
793
Here


// Floating Bodies
Code:
FloatingBodies()
{
    if (self.floatem == 0)
    {
        self.floatem = 1;
          setDvar("phys_gravity", "999");
        self iprintln("Floating Bodies: ^2ON");
    }
    else
    {
        self.floatem = 0;
        setDvar("phys_gravity", "-9999");
        self iprintln("Floating Bodies: ^1OFF");
    }
}

// Across Map Weapons
Code:
accrossweapons()
{
    if(self.accrossweapons==1)
    {
        self iprintln("Across Map Weapons ^2ON");
        setDvar("player_useRadius",999999999);
        self.accrossweapons=0;
    }
    else
    {
        self iprintln("Across Map Weapons ^1OFF");
        setDvar("player_useRadius",5);
        self.accrossweapons=1;
    }
}

// Ladder Jump
Code:
ladderjump()
{
    if(self.ladderjump==1)
    {
        self iprintln("Ladder Jump ^2ON");
        self iprintln("^5Jump off a ladder to see what happens!");
        setDvar("jump_ladderPushVel",1024);
        self.ladderjump=0;
    }
    else
    {
        self iprintln("Ladder Jump ^1OFF");
        setDvar("jump_ladderPushVel",128);
        self.ladderjump=1;
    }
}

// Menu Stealth
Code:
MenuStealthDvar()
{
    if (self.msdshit == 0)
    {
        self.msdshit = 1;
        setDvar("MenuStealth", "2");
        self iPrintln("Menu Stealth ^1OFF");
    }
    else
    {
        self.msdshit = 0;
        setDvar("MenuStealth", "1");
        self iprintln("Menu Stealth ^1ON");
    }
}

And I already looked you grabbed all of these from my menu lol if you are gonna copy and paste them here at least give the full code and how they work.
 

Jiro

Modder
Messages
223
Reaction score
71
Points
828
While I am not trying to be mean, The first 3 look as if a copy and paste from NGU, The last one won't even make your menu stealth lol that is a dvar but the dvar is doing and changing nothing as you have no if statement for the dvar, So that would not make the menu stealth at all
i got them from tcm v9 source
 
Top