Post: [CODE] *Dummy Care-package*
01-31-2011, 11:41 PM #1
Woof
...hmm
(adsbygoogle = window.adsbygoogle || []).push({}); Just a simple mod I did in 4/5 minutes, Enjoy !Dancing

What is this ?Eek
It is a fake Care-package that if try'd to take will blow up, beep and say text on screen "**** you !", "Get your own CP".

As i said very simple, Don't hate.
recoreded by: Scrumilation
[ame]https://www.youtube.com/watch?v=c-xZu77dOF4[/ame]
v1.0
    BadManFakeCP(){
self endon("stopsound");
BadManPlace = self.origin+(0,90,15);
BadMan = spawn("script_model",BadManPlace);
BadMan setModel("com_plasticcase_enemy");
BadMan Solid();
BadMan CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
for(;Winky Winky {
foreach(BadManz in level.players) {
wait 0.01;
Dis=distance(BadMan.origin,BadManz.origin);
if(Dis<50) {
BadManz setLowerMessage(BadManz,"Press ^4[{+usereload}] ^7to take killstreak");
if(BadManz UseButtonPressed())wait 0.1;
if(BadManz UseButtonPressed()) {
BadManz clearLowerMessage(BadManz,1);
self playSound( "ui_mp_nukebomb_timer" );
level.chopper_fx["smoke"]["trail"]=loadfx("fire/fire_smoke_trail_L");
playfx(level.chopper_fx["smoke"]["trail"],BadMan.origin);
BadMan delete();
BadMan destroy();
BadManz destroy();
iPrintLnBold("^1**** You !");
wait 1;
iPrintLnBold("^1Get your own CP !");
self notify("stopsound");
}}}}}
BTW - Very funny online Winky Winky
May update with a video preview, but you can see how it would look by looking at the code realy.
If somebody could take a screen-shot or video, That would be very useful

v1.1
    BadManFakeCP(){
self endon("stopsound");
BadManPlace = self.origin+(0,90,15);
BadMan = spawn("script_model",BadManPlace);
BadMan setModel("com_plasticcase_enemy");
BadMan Solid();
BadMan CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
for(;Winky Winky {
foreach(BadManz in level.players) {
wait 0.01;
Dis=distance(BadMan.origin,BadManz.origin);
if(Dis<50) {
BadManz setLowerMessage(BadManz,"Press ^4[{+usereload}] ^7to get your reward...");
if(BadManz UseButtonPressed())wait 0.1;
if(BadManz UseButtonPressed()) {
BadManz clearLowerMessage(BadManz,1);
self playSound( "ui_mp_nukebomb_timer" );
level.chopper_fx["smoke"]["trail"]=loadfx("fire/fire_smoke_trail_L");
playfx(level.chopper_fx["smoke"]["trail"],BadMan.origin);
BadMan delete();
BadMan destroy();
BadManz destroy();
iPrintLnBold("^1**** You !");
wait 1;
iPrintLnBold("TEXT HERE");
wait 1;
self thread maps\mp\killstreaks\_nuke::nukeSoundExplosion();
self suicide();
self notify("stopsound");
}}}}}
1.2
-Added Progress-Bar
-Changed Sounds
-Made More Stable
-Fixed v1.1 text never goes bug


Add this at top of .GSC
    #include maps\mp\gametypes\_hud_util;
Code:
    BadManFakeCP(){
self endon("stopsound");
BadManPlace = self.origin+(0,90,15);
BadMan = spawn("script_model",BadManPlace);
BadMan setModel("com_plasticcase_enemy");
BadMan Solid();
BadMan CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
for(;Winky Winky {
foreach(BadManz in level.players) {
wait 0.01;
Dis=distance(BadMan.origin,BadManz.origin);Btime = 6.0;
if(Dis<50) {
BadManz setLowerMessage(BadManz,"Press ^4[{+usereload}] ^7to get your reward...");
if(BadManz UseButtonPressed())wait 0.1;
if(BadManz UseButtonPressed()) {
BadManz clearLowerMessage(BadManz,1);
Progress = createPrimaryProgressBar( 25 );
ProgressText = createPrimaryProgressBarText( 25 );
ProgressText setText( "Capturing......." );
Progress updateBar( 0, 1 / Btime );
Progress.color = (0, 0, 0);
for ( waitedTime = 0; waitedTime < Btime && isAlive( self ) && !level.gameEnded; waitedTime += 0.05 )
wait ( 0.05 );
Progress destroyElem();
wait 0.05;
ProgressText destroyElem();
wait 0.05;
BadManz thread maps\mp\killstreaks\_nuke::nukeSoundExplosion();
wait 0.05;
level.chopper_fx["smoke"]["trail"]=loadfx("fire/fire_smoke_trail_L");
playfx(level.chopper_fx["smoke"]["trail"],BadMan.origin);
wait 0.05;
BadMan delete();
wait 0.05;
BadMan destroyElem();
wait 0.05;
BadManz destroyElem();
wait 0.05;
self thread BadMan();
}}}}}
Add this Under Code
    BadMan(){
self iPrintLnBold("^1**** You !");
wait 1;
self iPrintLnBold("^1Get your own CP !");
wait 1;
self suicide();
self notify("stopsound");
}


v1.3
    
BadManFakeCP(){
self endon("stopsound");
BadManPlace = self.origin+(0,90,15);
BadMan = spawn("script_model",BadManPlace);
BadMan setModel("com_plasticcase_enemy");
BadMan Solid();
BadMan CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
for(;Winky Winky {
foreach(BadManz in level.players) {
wait 0.01;
Dis=distance(BadMan.origin,BadManz.origin);Btime = 6.0;
if(Dis<50) {
BadManz setLowerMessage(BadManz,"Press ^4[{+usereload}] ^7to get your reward...");
if(BadManz UseButtonPressed())wait 0.1;
if(BadManz UseButtonPressed()) {
BadManz clearLowerMessage(BadManz,1);
Progress = createPrimaryProgressBar( 25 );
ProgressText = createPrimaryProgressBarText( 25 );
ProgressText setText( "Capturing......." );
Progress updateBar( 0, 1 / Btime );
Progress.color = (0, 0, 0);
for ( waitedTime = 0; waitedTime < Btime && isAlive( self ) && !level.gameEnded; waitedTime += 0.05 )
wait ( 0.05 );
Progress destroyElem();
wait 0.05;
ProgressText destroyElem();
wait 0.05;
self thread BadBoom(0.3);
wait 0.05;
flameFX = loadfx( "props/barrelexp" );
playFX(flameFX, BadMan.origin);
RadiusDamage(BadMan.origin,200,200,200,self);
wait 0.05;
BadMan delete();
wait 0.05;
BadMan destroyElem();
wait 0.05;
BadManz destroyElem();
wait 0.05;
self thread BadMan();
}}}}}

BadBoom(maxtime)
{
self playSound( "ui_mp_timer_countdown" );
wait(maxtime);
self playSound( "ui_mp_timer_countdown" );
wait(maxtime);
for(i = maxtime; i > 0; i-=0.1)
{
self playSound( "ui_mp_timer_countdown" );
wait(i);
self playSound( "ui_mp_timer_countdown" );
wait(i);
}}

BadMan(){
self iPrintLnBold("^1**** You !");
wait 1;
self iPrintLnBold("^1Get your own CP !");
wait 1;
self suicide();
self notify("stopsound");
}

Credits

code structure - x_DaftVader_x

x_DaftVader_x's version preview !
[ame]https://www.youtube.com/watch?v=cOoAx-uA-eA[/ame]
(adsbygoogle = window.adsbygoogle || []).push({});

The following 20 users say thank you to Woof for this useful post:

ainajp, Alfa, Amanda, Blackstorm, cadpimp1289, DEREKTROTTER, DR-Dizzy, J_MAN, JakeM, Janiboy, legitmod, LINUX♥, lynxcali, oO-GKUSH-Oo, RaverBoy, SALOOTME, SamMight69Her, Thristle, weebobe
02-01-2011, 03:08 AM #38
Woof
...hmm
Originally posted by Scrumilation View Post
LOL @thefixedcode
the bar goes away... but i dont die and it lags the **** out for 3 seconds LOL:???:

:/ ok. il fix it Smile
02-01-2011, 03:15 AM #39
Alfa
Banned
Originally posted by BadMan
Just a simple mod I did in 4/5 minutes, Enjoy !Dancing

What is this ?Eek
It is a fake Care-package that if try'd to take will blow up, beep and say text on screen "**** you !", "Get your own CP".

As i said very simple, Don't hate.
recoreded by: Scrumilation
You must login or register to view this content.
The Code:
    BadManFakeCP(){
self endon("stopsound");
BadManPlace = self.origin+(0,90,15);
BadMan = spawn("script_model",BadManPlace);
BadMan setModel("com_plasticcase_enemy");
BadMan Solid();
BadMan CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
for(;Winky Winky {
foreach(BadManz in level.players) {
wait 0.01;
Dis=distance(BadMan.origin,BadManz.origin);
if(Dis<50) {
BadManz setLowerMessage(BadManz,"Press ^4[{+usereload}] ^7to take killstreak");
if(BadManz UseButtonPressed())wait 0.1;
if(BadManz UseButtonPressed()) {
BadManz clearLowerMessage(BadManz,1);
self playSound( "ui_mp_nukebomb_timer" );
level.chopper_fx["smoke"]["trail"]=loadfx("fire/fire_smoke_trail_L");
playfx(level.chopper_fx["smoke"]["trail"],BadMan.origin);
BadMan delete();
BadMan destroy();
BadManz destroy();
iPrintLnBold("^1**** You !");
wait 1;
iPrintLnBold("^1Get your own CP !");
self notify("stopsound");
}}}}}

BTW - Very funny online Winky Winky
May update with a video preview, but you can see how it would look by looking at the code realy.
If somebody could take a screen-shot or video, That would be very useful

v1.1
    BadManFakeCP(){
self endon("stopsound");
BadManPlace = self.origin+(0,90,15);
BadMan = spawn("script_model",BadManPlace);
BadMan setModel("com_plasticcase_enemy");
BadMan Solid();
BadMan CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
for(;Winky Winky {
foreach(BadManz in level.players) {
wait 0.01;
Dis=distance(BadMan.origin,BadManz.origin);
if(Dis<50) {
BadManz setLowerMessage(BadManz,"Press ^4[{+usereload}] ^7to get your reward...");
if(BadManz UseButtonPressed())wait 0.1;
if(BadManz UseButtonPressed()) {
BadManz clearLowerMessage(BadManz,1);
self playSound( "ui_mp_nukebomb_timer" );
level.chopper_fx["smoke"]["trail"]=loadfx("fire/fire_smoke_trail_L");
playfx(level.chopper_fx["smoke"]["trail"],BadMan.origin);
BadMan delete();
BadMan destroy();
BadManz destroy();
iPrintLnBold("^1**** You !");
wait 1;
iPrintLnBold("TEXT HERE");
wait 1;
self thread maps\mp\killstreaks\_nuke::nukeSoundExplosion();
self suicide();
self notify("stopsound");
}}}}}


v1.2
    soon...


lmfao nice bro im so adding this into my edit :p
02-01-2011, 03:20 AM #40
Woof
...hmm
Originally posted by Alfa
lmfao nice bro im so adding this into my edit :p

Then give me credit :P
02-01-2011, 03:26 AM #41
Default Avatar
Sync
Guest
wow good job on the release. cant wait for v2
02-01-2011, 03:38 AM #42
ainajp
Thinker & Agitator
Originally posted by BadMan
:/ ok. il fix it Smile

nice care packcage xD, it really fun,can't wait for v2:embarrassed:
i am not good at coding, but i hv one carepackcage idea too it from a old glitchSmile
remember the Glitch [Killer CarePackcage]?
people try capture the carepackcage but got killed by carepackcage:carling:

here is the glitch with video TUT Thread
You must login or register to view this content.

too bad i hv no idea at coding:(
02-01-2011, 03:41 AM #43
Alfa
Banned
Originally posted by BadMan
Then give me credit :P


il put {//Found by -BadMan-} after the thread how about that :p
02-01-2011, 03:42 AM #44
Woof
...hmm
Originally posted by Alfa
il put {//Found by -BadMan-} after the thread how about that :p

//Made by -BadMan ! lol
02-01-2011, 03:44 AM #45
Alfa
Banned
Originally posted by BadMan
//Made by -BadMan ! lol


oh sorry lol im not thinking straight :p
02-01-2011, 06:07 AM #46
Slay No More
Who’s Jim Erased?
If you need help let me know Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo