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:29 AM #11
DEREKTROTTER
You're Goddamn Right
Originally posted by jonnyman69 View Post
when his v2 comes out you should put it in your patch Smile


may do that, i still have room

added gamemodes - AvP, Bagman + Dodgeball :420:
02-01-2011, 12:32 AM #12
Woof
...hmm
Originally posted by DEREKTROTTER View Post
may do that, i still have room

added gamemodes - AvP, Bagman + Dodgeball :420:

maybe we should team up Winky Winky
i heard your good at editing patches.
so il make the mods and you add them lol Dancing
02-01-2011, 12:35 AM #13
jonnyman69
Nate Haskall
Originally posted by DEREKTROTTER View Post
may do that, i still have room

added gamemodes - AvP, Bagman + Dodgeball :420:


Noice noice, I think it would be a good addition, also some type of new bunker would be nice on a different map then terminal. Just saying Smile lol
02-01-2011, 12:36 AM #14
Woof
...hmm
Originally posted by jonnyman69 View Post
Noice noice, I think it would be a good addition, also some type of new bunker would be nice on a different map then terminal. Just saying Smile lol

That can be done Winky Winky
02-01-2011, 12:40 AM #15
jonnyman69
Nate Haskall
Originally posted by BadMan
That can be done Winky Winky


Yeah I've seen Tuts on here about it but I'm not good at editing patches =p if you and Derek made a patch that had those 2 things in it that would be sweet =)
02-01-2011, 12:41 AM #16
Woof
...hmm
Originally posted by jonnyman69 View Post
Yeah I've seen Tuts on here about it but I'm not good at editing patches =p if you and Derek made a patch that had those 2 things in it that would be sweet =)

ive already made a terminal bunker,look in my other threads.
i may do another map.
02-01-2011, 12:42 AM #17
jonnyman69
Nate Haskall
Originally posted by BadMan
ive already made a terminal bunker,look in my other threads.
i may do another map.


I'd love it if you did =) I need to learn how to edit and stuff
02-01-2011, 12:44 AM #18
Woof
...hmm
Originally posted by jonnyman69 View Post
I'd love it if you did =) I need to learn how to edit and stuff

Just follow me and i will be posting all my creations.
02-01-2011, 12:44 AM #19
DMoney750
ERROR ON THE INTERNETZ!!!
Originally posted by BadMan
ive already made a terminal bunker,look in my other threads.
i may do another map.


hey just asking when you make a bunker it says you can put the code of the walls anywhere im not sure i understand where u would put it in the .ff viewer

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo