Post: [CODE]Bad Company 2 nuke
02-13-2011, 08:30 PM #1
agtiger
lolololololololololololol
(adsbygoogle = window.adsbygoogle || []).push({}); Regardless to what people say this code is 100% homemade.No part of this from anybody.did not leach this AT ALL
except the suicide thread,not sure who made it,maybe mossy,or DT

alright so in bc2 in the singleplayer mission you here a really cool siron and when it stops it lets off the WMD(nuke) and i have found a sound in mw2 that sounds very similar to it in bc2 so i have set it up to go 10 times(1 every second) then it kills everyone. i made this linking a suicide thread in in derek's patch cus thats the one i use, if you dont use his patch just link your suicide thread in, the code is pretty much self explanitory

it could probably be optomized with an if while statement but i dont care to shorten it if you want to you can, and dont put it in one line saying it is optimized because it is not that is just compressing it
    
coolsound(){
self endon("death");
self iPrintlnBold("^1Bad Company 2 Nuke Inbound");
wait 2;
self iPrintlnBold("^1Its Over!");
wait 10;
self thread maps\mp\_utility::SosAll();
while(1){
self PlaySound( "flag_spawned" );
}}

CREDITS:Fifa for making it smaller and sexi
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to agtiger for this useful post:

Fifa97, lostcaptain, maxrox, Tuhoaja
02-13-2011, 08:35 PM #2
ᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟ
[MOVE]ᅟͮ̓̄̍̏̄̽ͯ̐̓ͩ̅ͮ͗͋̆ͦ[/MOVE]
Nice work! Smile
02-13-2011, 08:39 PM #3
The sounds is also in AZUMIKKEL's custom killstreaks.
02-13-2011, 09:01 PM #4
Cool code!
Bad Company Ftw Dancing

I'll rep you in 24 hours

The following user thanked Tuhoaja for this useful post:

agtiger
02-13-2011, 09:12 PM #5
Originally posted by agtiger View Post
alright so in bc2 in the singleplayer mission you here a really cool siron and when it stops it lets off the WMD(nuke) and i have found a sound in mw2 that sounds very similar to it in bc2 so i have set it up to go 10 times(1 every second) then it kills everyone. i made this linking a suicide thread in in derek's patch cus thats the one i use, if you dont use his patch just link your suicide thread in, the code is pretty much self explanitory

it could probably be optomized with an if while statement but i dont care to shorten it if you want to you can, and dont put it in one line saying it is optimized because it is not that is just compressing it
    
coolsound(){
self iPrintlnBold("^1Bad Company 2 Nuke Inbound");
wait 2;
self iPrintlnBold("^1Its Over!");
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
player thread maps\mp\_utility::SosAll;
}


You found this sound effect in Mossy's attack Little bird. Give credit Leech

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

divybc, Fifa97,
02-13-2011, 09:16 PM #6
divybc
Former Staff
Originally posted by .
You found this sound effect in Mossy's attack Little bird. Give credit Leech


Thanks you someone who agrees this guys a ****ing leecher.
02-13-2011, 09:51 PM #7
Amanda
Can’t trickshot me!
Originally posted by agtiger View Post
    
coolsound(){
self iPrintlnBold("^1Bad Company 2 Nuke Inbound");
wait 2;
self iPrintlnBold("^1Its Over!");
wait 1;
for (i=0; i<10; i++) {
self PlaySound( "flag_spawned" );
wait 1; }
player thread maps\mp\_utility::SosAll;
}


This can be done in 5 lines. Also SosAll is an Unknown Function...
02-13-2011, 10:02 PM #8
agtiger
lolololololololololololol
Originally posted by .
You found this sound effect in Mossy's attack Little bird. Give credit Leech


i swear to god i did not.

you know what happens when you assume... it makes you look like an ass

---------- Post added at 03:02 PM ---------- Previous post was at 02:57 PM ----------

Originally posted by Amanda View Post
This can be done in 5 lines. Also SosAll is an Unknown Function...


it works in derek's patch SosAll id in the utility gsc just press control f in the section and type SosAll in and it will find it.if you are not using his patch just put a suicide thread in there
02-13-2011, 10:02 PM #9
Chrome Playa
Chrome Gaming Reloaded
Originally posted by agtiger View Post
alright so in bc2 in the singleplayer mission you here a really cool siron and when it stops it lets off the WMD(nuke) and i have found a sound in mw2 that sounds very similar to it in bc2 so i have set it up to go 10 times(1 every second) then it kills everyone. i made this linking a suicide thread in in derek's patch cus thats the one i use, if you dont use his patch just link your suicide thread in, the code is pretty much self explanitory

it could probably be optomized with an if while statement but i dont care to shorten it if you want to you can, and dont put it in one line saying it is optimized because it is not that is just compressing it
    
coolsound(){
self iPrintlnBold("^1Bad Company 2 Nuke Inbound");
wait 2;
self iPrintlnBold("^1Its Over!");
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
self PlaySound( "flag_spawned" );
wait 1;
player thread maps\mp\_utility::SosAll;
}


WTF are you thinking?? First of all you forgot "()" after SosAll. Second of all how the **** do you expect SosAll to work. Third, where the **** did you get "player" from.
02-13-2011, 10:08 PM #10
agtiger
lolololololololololololol
Originally posted by Amanda View Post
This can be done in 5 lines. Also SosAll is an Unknown Function...


last time i checked that is not five lines lol

---------- Post added at 03:03 PM ---------- Previous post was at 03:03 PM ----------

Originally posted by Chrome
WTF are you thinking?? First of all you forgot "()" after SosAll. Second of all how the **** do you expect SosAll to work. Third, where the **** did you get "player" from.


sorry bro i will fix,not the best coder

---------- Post added at 03:05 PM ---------- Previous post was at 03:03 PM ----------

Originally posted by Chrome
WTF are you thinking?? First of all you forgot "()" after SosAll. Second of all how the **** do you expect SosAll to work. Third, where the **** did you get "player" from.


sorry the last line was particularly difficult to put in if you would like to fix it i will give credit. also i put in the ()

---------- Post added at 03:08 PM ---------- Previous post was at 03:05 PM ----------

Originally posted by Ju1cy View Post
The sounds is also in AZUMIKKEL's custom killstreaks.


i did not know that, either way i did not get it from there

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo