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, 05:17 PM #20
EliteMossy
TheDigitalBoard.com
Originally posted by Homer
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 ----------



Thats exactly whats its supposed to do, try it if you're last alive in SnD online Smile


I borrowed your idea slightly on the pet littlebird, but just wait untill i upload the video showing the results. It fly's the same path as a attack helicopter/pavelow and everything is 100% automated. It does have a few twists to it Happy
12-22-2010, 05:21 PM #21
Originally posted by EliteMossy View Post
I borrowed your idea slightly on the pet littlebird, but just wait untill i upload the video showing the results. It fly's the same path as a attack helicopter/pavelow and everything is 100% automated. It does have a few twists to it Happy


Yeah, I saw the codes for that from the helicopters.gsc but just wanted mine to follow me around and attack people so I stopped there. I will have a look next time your on ps3 at the same time as me ..
12-22-2010, 05:22 PM #22
EliteMossy
TheDigitalBoard.com
I am uploading the video at the moment of it on PC (how i test stuff).
12-22-2010, 05:27 PM #23
Originally posted by EliteMossy View Post
I am uploading the video at the moment of it on PC (how i test stuff).


so what does yours do? follow you around or are you just calling in a little bird that acts like a Pavelow?
I know I could wait for the video but I have low patience thresholds Smile
12-22-2010, 05:35 PM #24
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by Homer
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 ----------



Thats exactly whats its supposed to do, try it if you're last alive in SnD online Smile


oka so it worked Smile but if i done it in SnD i wiill die :/ lol
12-22-2010, 05:35 PM #25
EliteMossy
TheDigitalBoard.com
Originally posted by Homer
so what does yours do? follow you around or are you just calling in a little bird that acts like a Pavelow?
I know I could wait for the video but I have low patience thresholds Smile


It does a bit more than that, but it does fly around like the pavelow Winky Winky
12-22-2010, 05:39 PM #26
Originally posted by iJokaa View Post
oka so it worked Smile but if i done it in SnD i wiill die :/ lol


change the setOrigin to a postive number like 10. And remove self suicide(). Then you will just move somewhere else but won't die. I wanted the effect to be blowing your head off and just leaving the headless corpse, thats why it does what it does.. Smile
12-22-2010, 05:42 PM #27
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by Homer
change the setOrigin to a postive number like 10. And remove self suicide(). Then you will just move somewhere else but won't die. I wanted the effect to be blowing your head off and just leaving the headless corpse, thats why it does what it does.. Smile


LOL . i did do that but i set it to 100 not 10 and it sent me well far lol
12-22-2010, 05:45 PM #28
Originally posted by EliteMossy View Post
It does a bit more than that, but it does fly around like the pavelow Winky Winky


Ok, I'll check back later for the video then ..

oh, and thanks for explaining the unknown variable :beer:

---------- Post added at 05:45 PM ---------- Previous post was at 05:43 PM ----------

Originally posted by iJokaa View Post
LOL . i did do that but i set it to 100 not 10 and it sent me well far lol


The last number is for height above ground 100 is quite high..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo