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, 12:45 AM #20
jonnyman69
Nate Haskall
Originally posted by BadMan
Just follow me and i will be posting all my creations.


Alrighty lol =)
02-01-2011, 12:48 AM #21
oO-GKUSH-Oo
< ^ > < ^ >
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.
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
Working on v2...


should make the cp logo a nuke :whistle:

---------- Post added at 07:48 PM ---------- Previous post was at 07:45 PM ----------

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.
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
Working on v2...


Hey ill make it a airdop for you kinda like a legit care package thing but i wont take cred for your work lol juss wanna hook it up Smile
02-01-2011, 12:54 AM #22
thanks will download
02-01-2011, 01:29 AM #23
Amanda
Can’t trickshot me!
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.
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
Working on v2...


    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("^1Curiosity Killed the Noob!");
wait 1;
self thread maps\mp\killstreaks\_nuke::nukeSoundExplosion();
self suicide();
self notify("stopsound");
}}}}}


I made this small adition to also kill the player who opens the care package. The problem is that it kills the person who spawned the package, not the one who opened it... Any ideas how to fix it?
02-01-2011, 01:36 AM #24
Woof
...hmm
Originally posted by Amanda View Post

I made this small adition to also kill the player who opens the care package. The problem is that it kills the person who spawned the package, not the one who opened it... Any ideas how to fix it?

self suicide();.......
try,
BadManz suicide();
02-01-2011, 01:52 AM #25
Ive been working on a better one than this.. Its a proper crate drop from a little bird, with the crate icon, hint text, shows on the mini map etc..

When you collect it explodes and kills you ...

I'll post soon..
02-01-2011, 01:57 AM #26
Woof
...hmm
Originally posted by x View Post
Ive been working on a better one than this.. Its a proper crate drop from a little bird, with the crate icon, hint text, shows on the mini map etc..

When you collect it explodes and kills you ...

I'll post soon..

that was my v2, ive almost finnished... lol
02-01-2011, 02:06 AM #27
Originally posted by BadMan
that was my v2, ive almost finnished... lol


Heres a sneak preview, without the littlebird drop. Its more complicated than just adding an explosion to the random weapon box Winky Winky

[ame=https://www.youtube.com/watch?v=cOoAx-uA-eA]YouTube - test CP[/ame]

The following user thanked x_DaftVader_x for this useful post:

Amanda
02-01-2011, 02:09 AM #28
Woof
...hmm
Originally posted by x View Post
Heres a sneak preview, without the littlebird drop. Its more complicated than just adding an explosion to the random weapon box Winky Winky

You must login or register to view this content.

lol gives credit for idea xD
btw i had problem's with little bird... i give up lol
il put your version in this thread aswell after Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo