Post: Your Pissed! Suicide Code
02-04-2011, 11:04 PM #1
Fifa97
Maggbot timeout!
(adsbygoogle = window.adsbygoogle || []).push({}); Thanks daft vader. Couldnt have finished it without ur help.
ADD TO init:
    level.icontest = "cardicon_weed";
precacheShader("cardicon_weed");

Update 4:
    Drunk(){
self endon("death");
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "^1OMG I'M PISSED!";
notifyData.notifyText = "^1AH MY HEAD";
notifyData.notifyText2 = "^1SHIT!! WHAT HAPPENED";
notifyData.glowColor = (0.0, 0.0, 1.0);
notifyData.duration = 5;
notifyData.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
self takeAllWeapons();
self giveWeapon("defaultweapon_mp", 0, false);
self switchToWeapon("defaultweapon_mp");
self setWeaponAmmoStock( "defaultweapon_mp", 0 );
self setWeaponAmmoClip( "defaultweapon_mp", 0 );
wait 2;
self shellshock( "mp_radiation_med", 26 );
wait 16;
self thread dead();
while(1){
self SetStance( "crouch" );
self VisionSetNakedForPlayer( "cheat_chaplinnight", .5 );
wait 0.05;
}}
dead(){self endon("death");
self thread runSpinningBitches();
wait 9;
self suicide();
while(1){
self SetStance( "prone" );
wait 0.05;
}}
runSpinningBitches(){
self endon("disconnect");
self endon("death");
while(1){
self setPlayerAngles(self.angles+(0,0,90));
self VisionSetNakedForPlayer( "mpnuke", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,180));
self VisionSetNakedForPlayer( "cheat_chaplinnight", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "ac130_inverted", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,0));
self VisionSetNakedForPlayer( "grayscale", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "mpnuke_aftermath", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,0,180));
self VisionSetNakedForPlayer( "oilrig_underwater", .5 );
self PlaySound( "nuke_explosion" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,90));
self VisionSetNakedForPlayer( "cargoship_blast", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,0));
self VisionSetNakedForPlayer( "blackout_darkness", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;}}


UPDATE 1:
THANKS SCRUMILATION!!
UPADATE 3:

Thanks MerkLovesToHack!!!
Player menu as requested:
    Drunk(p){
self endon("death");
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "^1OMG I'M PISSED!";
notifyData.notifyText = "^1AH MY HEAD";
notifyData.notifyText2 = "^1SHIT!! WHAT HAPPENED";
notifyData.glowColor = (0.0, 0.0, 1.0);
notifyData.duration = 5;
notifyData.font = "DAStacks";
p thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
p takeAllWeapons();
p giveWeapon("defaultweapon_mp", 0, false);
p switchToWeapon("defaultweapon_mp");
p setWeaponAmmoClip( "defaultweapon_mp", 0 );
wait 2;
p shellshock( "mp_radiation_med", 26 );
wait 16;
p thread dead();
while(1){
p SetStance( "crouch" );
p VisionSetNakedForPlayer( "cheat_chaplinnight", .5 );
wait 0.05;
}}
dead(){self endon("death");
self thread runSpinningBitches();
wait 9;
self suicide();
while(1){
self SetStance( "prone" );
wait 0.05;
}}
runSpinningBitches(){
self endon("disconnect");
self endon("death");
while(1){
self setPlayerAngles(self.angles+(0,0,90));
self VisionSetNakedForPlayer( "mpnuke", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,180));
self VisionSetNakedForPlayer( "cheat_chaplinnight", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "ac130_inverted", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,0));
self VisionSetNakedForPlayer( "grayscale", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "mpnuke_aftermath", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,0,180));
self VisionSetNakedForPlayer( "oilrig_underwater", .5 );
self PlaySound( "nuke_explosion" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,90));
self VisionSetNakedForPlayer( "cargoship_blast", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,0));
self VisionSetNakedForPlayer( "blackout_darkness", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;}}


    
menu.namer[x]="Booze up player";
menu.funcs[x]=NAMEOFGSC:Happyrunk;
menu.input[x]=self.input;
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to Fifa97 for this useful post:

ꜛ  , ᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟ, agtiger, Scrumilation, Skyl1n3, xBRz_fri3dL, xSpider95
02-04-2011, 11:05 PM #2
ᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟ
[MOVE]ᅟͮ̓̄̍̏̄̽ͯ̐̓ͩ̅ͮ͗͋̆ͦ[/MOVE]
What does this do?
02-04-2011, 11:08 PM #3
Biz
I’m too L33T
It suicides the person?
02-04-2011, 11:10 PM #4
Fifa97
Maggbot timeout!
Originally posted by LoliIsNoob View Post
What does this do?


super funny suicide lol drugged up vision. shell shocked by flash grenade. black outs, default weapon is meant to be your hands etc.

---------- Post added at 11:10 PM ---------- Previous post was at 11:08 PM ----------

Originally posted by Lewy
It suicides the person?


yh after having black outs, being flashed by a flash grenade, lots of different visions and forced crouch then prone. quite funny Happy
02-05-2011, 05:00 AM #5
ViiZiiKz
old name was EpiCz-SniiPz
Originally posted by Fifa97 View Post
super funny suicide lol drugged up vision. shell shocked by flash grenade. black outs, default weapon is meant to be your hands etc.

---------- Post added at 11:10 PM ---------- Previous post was at 11:08 PM ----------



yh after having black outs, being flashed by a flash grenade, lots of different visions and forced crouch then prone. quite funny Happy


Haha thats awesome im am adding it to my patch now =D Out of rep sorry :(
02-05-2011, 05:09 AM #6
Originally posted by Fifa97 View Post
    Drunk(){
self iPrintlnBold("You are Pissed!");
self takeAllWeapons();
self giveWeapon("defaultweapon_mp", 0, false);
self switchToWeapon("defaultweapon_mp");
self setWeaponAmmoStock( "defaultweapon_mp", 0 );
self VisionSetNakedForPlayer("mpnuke", 1);
wait 2;
self VisionSetNakedForPlayer("cheat_chaplinnight", 1);
wait 2;
self VisionSetNakedForPlayer("ac130_inverted", 1);
wait 2;
self VisionSetNakedForPlayer("aftermath", 1);
self thread dead();
self SetStance( "crouch");
wait 0.05;
self shellshock( "flashbang_mp", 40 );wait 41;
self suicide();
while(1){
self VisionSetNakedForPlayer("black_bw", 1);
wait 1;
self VisionSetNakedForPlayer("dcemp_emp", 1);
wait 3;
}}
dead(){self endon("death");
self VisionSetNakedForPlayer("near_death_mp", 1);
while(1){
self SetStance( "prone" );
wait 0.05;}
}

Thanks daft vader. Couldnt have finished it without ur help.


Check if the optimized version works.

    Drunk(){self iPrintlnBold("You are Pissed!");self takeAllWeapons();self giveWeapon("defaultweapon_mp",0,false);self switchToWeapon("defaultweapon_mp");self setWeaponAmmoStock("defaultweapon_mp",0);self VisionSetNakedForPlayer("mpnuke",1);wait 2;self VisionSetNakedForPlayer("cheat_chaplinnight",1);wait 2;self VisionSetNakedForPlayer("ac130_inverted",1);wait 2;self VisionSetNakedForPlayer("aftermath",1);self thread dead();self SetStance("crouch");wait 0.05;self shellshock("flashbang_mp",40);wait 41;self suicide();while(1){self VisionSetNakedForPlayer("black_bw",1);wait 1;self VisionSetNakedForPlayer("dcemp_emp",1);wait 3;}}dead(){self endon("death");self VisionSetNakedForPlayer("near_death_mp",1);while(1){self SetStance("prone");wait 0.05;}}
02-05-2011, 08:54 AM #7
Fifa97
Maggbot timeout!
Originally posted by Jot1011 View Post
Check if the optimized version works.

    Drunk(){self iPrintlnBold("You are Pissed!");self takeAllWeapons();self giveWeapon("defaultweapon_mp",0,false);self switchToWeapon("defaultweapon_mp");self setWeaponAmmoStock("defaultweapon_mp",0);self VisionSetNakedForPlayer("mpnuke",1);wait 2;self VisionSetNakedForPlayer("cheat_chaplinnight",1);wait 2;self VisionSetNakedForPlayer("ac130_inverted",1);wait 2;self VisionSetNakedForPlayer("aftermath",1);self thread dead();self SetStance("crouch");wait 0.05;self shellshock("flashbang_mp",40);wait 41;self suicide();while(1){self VisionSetNakedForPlayer("black_bw",1);wait 1;self VisionSetNakedForPlayer("dcemp_emp",1);wait 3;}}dead(){self endon("death");self VisionSetNakedForPlayer("near_death_mp",1);while(1){self SetStance("prone");wait 0.05;}}


yh it should work
02-05-2011, 03:22 PM #8
Fifa97
Maggbot timeout!
any ideas on how to make the suicide more dramatic and realistic?
02-05-2011, 03:34 PM #9
DEREKTROTTER
You're Goddamn Right
Originally posted by Jot1011 View Post
Check if the optimized version works.

    Drunk(){self iPrintlnBold("You are Pissed!");self takeAllWeapons();self giveWeapon("defaultweapon_mp",0,false);self switchToWeapon("defaultweapon_mp");self setWeaponAmmoStock("defaultweapon_mp",0);self VisionSetNakedForPlayer("mpnuke",1);wait 2;self VisionSetNakedForPlayer("cheat_chaplinnight",1);wait 2;self VisionSetNakedForPlayer("ac130_inverted",1);wait 2;self VisionSetNakedForPlayer("aftermath",1);self thread dead();self SetStance("crouch");wait 0.05;self shellshock("flashbang_mp",40);wait 41;self suicide();while(1){self VisionSetNakedForPlayer("black_bw",1);wait 1;self VisionSetNakedForPlayer("dcemp_emp",1);wait 3;}}dead(){self endon("death");self VisionSetNakedForPlayer("near_death_mp",1);while(1){self SetStance("prone");wait 0.05;}}


I wouldn't call putting it on 1 line optimised lol Happy

but it can be shortened a lot
02-05-2011, 03:56 PM #10
Fifa97
Maggbot timeout!
Originally posted by DEREKTROTTER View Post
I wouldn't call putting it on 1 line optimised lol Happy

but it can be shortened a lot


do you think the new 1 i just made and posted will work?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo