Post: [CODE]Blow Your Own Head Off!!
12-22-2010, 12:27 AM #1
(adsbygoogle = window.adsbygoogle || []).push({});
Just something small that I made.

It basically, blows your own head off and leaves a headless corpse behind !!


You just need to call in the first function Bomberman() and that calls in the second function for you.

Smile


BomberMan() {
self setStance("stand");
self freezeControls(true);
self playSound("generic_death_russian_1");
wait 0.5;
self playSound("generic_death_russian_2");
wait 0.5;
level.chopper_fx["explode"]["medium"] = loadfx("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], self getTagOrigin("j_head"));
self playSound(level.heli_sound[self.team]["crash"]);
self thread HeadlessMan();
wait 0.2;
self SetOrigin(self.origin + (1000, 1000, -100));
wait 0.1;
self suicide();
}

HeadlessMan() {
self endon("death");
sentry = spawn("script_model", self.origin + (0, 0, 0));
sentry setModel(self.model);
}

(adsbygoogle = window.adsbygoogle || []).push({});

The following 10 users say thank you to x_DaftVader_x for this useful post:

|ManiaC|, Awayze, Blackstorm, Fifa97, Geeqoh, ImTrippinHoes, Kakashii, mw2alltheway, OuTCazT, Solid Snake
12-22-2010, 01:15 PM #11
Dreamcather
Call me Eddie Winky Winky
Originally posted by Homer
Just something small that I made.

It basically, blows your own head off and leaves a headless corpse behind !!


You just need to call in the first function Bomberman() and that calls in the second function for you.

Smile


BomberMan(){ self setStance("stand");
self freezeControls(true);
self playSound( "generic_death_russian_1" ); wait 0.5;
self playSound( "generic_death_russian_2" );
wait 0.5;level.chopper_fx["explode"]["medium"] = loadfx("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"],self getTagOrigin( "j_head" ) );
self playSound( level.heli_sound[self.team]["crash"] );self thread HeadlessMan();wait 0.2;
self SetOrigin(self.origin+(1000,1000,-100));wait 0.1;self suicide();}

HeadlessMan(){self endon("death");sentry = spawn("script_model", self.origin+(0,0,0)); sentry setModel(self.model); }
[/LEFT]


Doh! Nice Thread Homer!Smile
12-22-2010, 01:28 PM #12
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by Homer
Just something small that I made.

It basically, blows your own head off and leaves a headless corpse behind !!


ive have used this in my patch and it worked. but when you use it , is it ment to kill you? cause thats what happens to me. it kills me and leaves a headless corpse behind
12-22-2010, 02:04 PM #13
CHAOZ
Banned
Derek I can post a list of them if you want
12-22-2010, 02:28 PM #14
TheJaRniBoi
Why So Serious?
lol this code is wicked i would use it but no 3.41 ps3 lol anyway good work, also i would rep but i am all out
12-22-2010, 02:44 PM #15
DEREKTROTTER
You're Goddamn Right
Originally posted by RUFFINGUY View Post
Derek I can post a list of them if you want


i dont want the list thats posted on se7ensins, half of those dont work

i need ones that work with self playSound();
12-22-2010, 05:02 PM #16
Pr3ttyroyswag
Bounty hunter
Should Make It Just Run Forward like a Chicken with no Head
12-22-2010, 05:14 PM #17
Originally posted by DEREKTROTTER View Post
top coding, where did u find those sound names though? im trying to get more working sound fx


They are all dotted around the gsc files in a clean patch, like events, killstreaks, ac130 etc...

---------- Post added at 05:14 PM ---------- Previous post was at 05:12 PM ----------

Originally posted by iJokaa View Post
ive have used this in my patch and it worked. but when you use it , is it ment to kill you? cause thats what happens to me. it kills me and leaves a headless corpse behind


Thats exactly whats its supposed to do, try it if you're last alive in SnD online Smile
12-22-2010, 05:15 PM #18
Nice one again Vader!
Now I understand why this game is K-18.... jk
12-22-2010, 05:17 PM #19
Originally posted by CODGlitcha View Post
lol this code is wicked i would use it but no 3.41 ps3 lol anyway good work, also i would rep but i am all out


It should work on pc as well !

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo