Post: [Code] **Exploding CarePackage (Pro Version !)**
02-01-2011, 02:32 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ..........
(adsbygoogle = window.adsbygoogle || []).push({});

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

Woof, A_Shifter99, ainajp, Alfa, Amanda, Blackstorm, cadpimp1289, Chrome Playa, CleanMODSHD, Correy, d7w7z, danielsarpa, DEREKTROTTER, dogyplop, DR-Dizzy, Dreamcather, FourzerotwoFAILS, FrozN, Ghost1990, Hx1, iJokaa, jkry_2_1_, kmax102, legitmod, louisthemaster, manster, maxrox, RaverBoy, SALOOTME, Scrumilation, silsil, Skyl1n3, TheJaRniBoi, ViiZiiKz
02-01-2011, 05:05 PM #20
FrozN
Look up my Patch Edits :P
Originally posted by x View Post
I ve released a couple of versions of my patch but the latest version is a bit of a mess due to all the testing ive been doing :(

I use the beautifier before i post just to keep all the code nazis quiet Winky Winky


I thought most beautifiers **** up the codes so they doesnt work? Happy
Or maybe because i beautified a whole gsc`? :whistle:
02-01-2011, 05:09 PM #21
Originally posted by Scrumilation View Post
can u make it more realistic? like if i stop pressing f it stops too? cuz than it would b e 100% realistic Smile if its not possible , ok its awesome how it is Smile


Its possible, you have to use the holdthink() function, but I couldnt be arsed .. :carling:

---------- Post added at 05:09 PM ---------- Previous post was at 05:06 PM ----------

Originally posted by Chrome
I like this explosion:

    x_DaftVader_x(lb){/*created by x_DaftVader_x*/
self endon("boom");



x_DaftVader_x attach("weapon_c4_mp", "j_shouldertwist_le", false);
wait 4;
x_DaftVader_x thread kaboom();
wait 0.1; }
} else {} } } }
endvader(xDaftVaderx){wait 60;self notify("boom");xDaftVaderx setWaypoint( false, false, false );xDaftVaderx delete();}

DaftDrop() {/*Created By x_DaftVader_x*/
self endon("death");
self endon("disconnect");
streakName="airdrop";
team = self.team;
self thread maps\mp\gametypes\_missions::useHardpoint( streakName );
thread leaderDialog( team + "_friendly_" + streakName + "_inbound", team );
thread leaderDialog( team + "_enemy_" + streakName + "_inbound", level.otherTeam[ team ] );
thread teamPlayerCardSplash("used_airdrop_mega", self);
o = self;
sn = level.heli_start_nodes[randomInt(level.heli_start_nodes.size)];
hO = sn.origin;
hA = sn.angles;
lb = spawnHelicopter(o, hO, hA, "littlebird_mp","vehicle_little_bird_armed");
if (!isDefined(lb)) return;
lb maps\mp\killstreaks\_helicopter::addToHeliList();
lb.zOffset = (0, 0, lb getTagOrigin("tag_origin")[2] - lb getTagOrigin("tag_ground")[2]);
lb.team = o.team;
lb.attacker = undefined;
lb.lifeId = 0;
lb.currentstate = "ok";
lN = level.heli_loop_nodes[randomInt(level.heli_loop_nodes.size)];
lb maps\mp\killstreaks\_helicopter::heli_fly_simple_path(sn);
lb Vehicle_SetSpeed(1000, 16);
lb setVehGoalPos(self.origin + (351, 0, 800), 1);
wait 5;
self thread x_DaftVader_x(lb);
lb thread lbleve(2);
}

lbleve(T) {
self endon("death");
self endon("helicopter_done");
maps\mp\gametypes\_hostmigration::waitLongDurationWithHostMigrationPause(T);
self thread lbleave();
}
lbleave() {
self notify("leaving");
lN = level.heli_leave_nodes[randomInt(level.heli_leave_nodes.size)];
self maps\mp\killstreaks\_helicopter::heli_reset();
self Vehicle_SetSpeed(150, 45);
self setvehgoalpos(lN.origin, 1);
self waittillmatch("goal");
self notify("death");
wait .05;
self delete();
}
kaboom()
{
MagicBullet( "ac130_105mm_mp", self.origin +(0, 0, 1), self.origin, self );
}


Why would a carepackage attach a C4 to your shoulder though ? I wanted a realistic CP that exploded :confused:
02-01-2011, 05:10 PM #22
Chrome Playa
Chrome Gaming Reloaded
Originally posted by x View Post
Its possible, you have to use the holdthink() function, but I couldnt be arsed .. :carling:

---------- Post added at 05:09 PM ---------- Previous post was at 05:06 PM ----------



Why would a carepackage attach a C4 to your shoulder though ? I wanted a realistic CP that exploded :confused:


True, I was just doing that to scare the person.
02-01-2011, 05:11 PM #23
Originally posted by x View Post
Its possible, you have to use the holdthink() function, but I couldnt be arsed .. :carling:

---------- Post added at 05:09 PM ---------- Previous post was at 05:06 PM ----------



Why would a carepackage attach a C4 to your shoulder though ? I wanted a realistic CP that exploded :confused:


so its possible but hard , and its good how it is and u dont really want to make ths update ? :black:
02-01-2011, 05:13 PM #24
FrozN
Look up my Patch Edits :P
Originally posted by x View Post
The one I use is pretty good but it split a line in two with this one and caused an error...


Its not prettprinter btww, thats not very good.

Its called online java script beautifier something... I cant remember, I have it book marked..


You must login or register to view this content.
Google FTW? :420:
Just to waste another minute of your time, can i ask if i can use this on an entire .gsc? :whistle:
02-01-2011, 05:13 PM #25
Originally posted by FrozN View Post
I thought most beautifiers **** up the codes so they doesnt work? Happy
Or maybe because i beautified a whole gsc`? :whistle:


The one I use is pretty good but it split a line in two with this one and caused an error...


Its not prettprinter btww, thats not very good.

Its called online java script beautifier something... I cant remember, I have it book marked..

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

Originally posted by Scrumilation View Post
so its possible but hard , and its good how it is and u dont really want to make ths update ? :black:


Im not sure its worth it if the game is getting hotfixed...

Might be time to call it a day ..
02-01-2011, 05:14 PM #26
Originally posted by FrozN View Post
You must login or register to view this content.
Google FTW? :420:
Just to waste another minute of your time, can i ask if i can use this on an entire .gsc? :whistle:


I do when I edit my main ps3 patch Winky Winky

The following user thanked x_DaftVader_x for this useful post:

FrozN
02-01-2011, 05:15 PM #27
FrozN
Look up my Patch Edits :P
Originally posted by x View Post
I do when I edit my main ps3 patch Winky Winky


Thanks man.
02-01-2011, 05:16 PM #28
Originally posted by x View Post
The one I use is pretty good but it split a line in two with this one and caused an error...


Its not prettprinter btww, thats not very good.

Its called online java script beautifier something... I cant remember, I have it book marked..

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



Im not sure its worth it if the game is getting hotfixed...

Might be time to call it a day ..

hotfixed? nooooooooooooo :FU::FU:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo