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-14-2011, 09:48 PM #29
TRBZA
Vault dweller
Originally posted by agtiger View Post
reported
The message you have entered is too short. Please lengthen your message to at least 10 characters.


Reported LAWL. There was no use of inappropriate language nor anything else that can receive an infraction /facepalm. All i did was state the facts, moron.

The following user thanked TRBZA for this useful post:

Fifa97
02-14-2011, 10:19 PM #30
agtiger
lolololololololololololol
Originally posted by IIxAaRoN
Reported LAWL. There was no use of inappropriate language nor anything else that can receive an infraction /facepalm. All i did was state the facts, moron.


troling,useless posts,spamming,being a jerk overall
02-14-2011, 11:09 PM #31
Default Avatar
Gizmo
Guest
Originally posted by .
Not much by the look of it..


I lol'd IRL =D

And to OP, you have got a couple of Iprintlnbolds and wait functions, thats about it...
02-15-2011, 08:15 PM #32
It won't work unless you post the SoSAll function.
02-15-2011, 08:47 PM #33
Fifa97
Maggbot timeout!
Originally posted by agtiger View Post
last time i checked that is not five lines lol

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



sorry bro i will fix,not the best coder

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



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 ----------



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


it can be done in about 5 lines and put up the sosall thread to stop unknown functions

---------- Post added at 08:47 PM ---------- Previous post was at 08:41 PM ----------

    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" );
}}

here ya go. try this Happy daft vader has taught me well:p

The following user thanked Fifa97 for this useful post:

agtiger
02-15-2011, 10:37 PM #34
Keep it on topic and nice here please.
02-15-2011, 10:37 PM #35
agtiger
lolololololololololololol
Originally posted by Fifa97 View Post
it can be done in about 5 lines and put up the sosall thread to stop unknown functions

---------- Post added at 08:47 PM ---------- Previous post was at 08:41 PM ----------

    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" );
}}

here ya go. try this Happy daft vader has taught me well:p


thanks bro i would +rep but it wont let me plus my thank power is probably higher :p
02-15-2011, 10:41 PM #36
Kif
Kush Friendly
looks interesting.... ill see what i can do with it..
first... off to test it Smile
02-15-2011, 11:10 PM #37
TheWraith--
Gym leader
ill Try this later...

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo