View Full Version : Interactive Buddy scripts v2.0
Mr. Goodbar
11-12-2005, 09:19 AM
Some people reading may have read or noticed my post here: http://forums.xgenstudios.com/showthread.php?t=19554 , which is packed to the brim with interactive buddy scripts I've written over the months. Since the thread has gotten a bit cluttered with comments, requests, and corrections on errors in the scripts, I decided to make a new thread to compile all of them together, and to add a few I decided not to tell you guys about at the time. Have fun with IBuddy Script Collection v2.0!
If you would like to tweak my scripts for your own pleasure, I've made it easy for you to do just that. Near the top of each script is a line of twiddles (this thing~~~). By changing numbers above the line of twiddles, you change whatever the note said you would; whether that be the strength, speed, direction, or plain general insanity. Changing things other than these variables is done at your own risk.
Unless it says otherwise, all scripts are to be run every frame
To use a script, you need to buy the 'Scripting Engine' mode, which costs $400. Upon opening the scripting engine under the modes menu, there will be a text box to put scripts in, some buttons to save and run them, and a list of scripts you have saved. To use one of my scripts, open the scripting engine and paste the code in. You can then give it a name and save it. To use the script again, select it on your list and click 'load script'. If 'Run Every Frame' is checked, the actions displayed in the text box will happen constantly. If you click 'run once', the text box's actions happen only one time.
1:
chainHim-
this script prevents the buddy from moving a certain distance away from where he was when the script was activated. Make sure you click 'run once', or you might get a slow down.
x=150; length of 'chains';
~~~~~~~~~~;
resetForces();
addConstraint("body", getX("body"), getY("body"), x));
addConstraint("lArm", getX("lArm"), getY("lArm"), x));
addConstraint("rArm", getX("rArm"), getY("rArm"), x));
addConstraint("lLeg", getX("lLeg"), getY("lLeg"), x));
addConstraint("rLeg", getX("rLeg"), getY("rLeg"), x));
addConstraint("head", getX("head"), getY("head"), x));
2:
releasHim-
simply undoes chainHim oe electricChair, run only once
nothing to edit
~~~~~~~~~~;
resetForces();
3:
baseBallLopper-
gently tosses baseballs to him
delay=50; amount of time between tosses;
xv=150; horizontal speed of baseballs;
yv=35; vertical speed of baseballs;
~~~~~~~~~~;
i=i+1;
if(i%delay==0, destroy(z));
if(i%delay==0, assign(z, create("baseball", 0, 350, xv, yv*-1)));
4:
areYouHappy-
the buddy periodically says how happy he is from -100 to 100
delay=50;length of time between comments;
~~~~~~~~~~~~~~;
i=i+1;
if(equal(i%delay, 0), say("My happiness is
" + getEmotion(),100));
5:
noGrav-
decreases or increases gravity
verticalGrav=0; high number means high gravity
~~~~~~~~~~;
addBuddyVel(0, verticalGrav-1);
6:
flyWhenHappy-
makes the buddy lighter when he is happy, and heavier when he's sad
sensitivity=25; higher numbers make it more powerful
delay=50; amount of time between updates
~~~~~~~~~~~~;
i=i+1;
if(equal(i%delay, 0), say("My happiness is
" + getEmotion(),100));
addBuddyVel(0, 0-getEmotion()/sensitivity);
7:
posessedBuddy-
You have to see this one for yourself. There's no describing it.
insanity=100; the name says it all;
delay=25; speed of thrashing, low # means faster;
~~~~~~~~~~~~~~~~~~;
i=i+1;
say("DIE MORTALS! HAHAHAHAHAH!", 100);
if(equal(i%delay, 0), addBuddyVel(randomBet(-1*insanity, insanity), randomBet(-1*insanity, insanity)));
8:
cannon-
fires bowling balls at the buddy using explosions
strength=.5; size of explosion propelling the bowling ball
~~~~~~~~~~~~~~;
assign(yChange, (getYMouse()-getBuddyY())/20);
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("bowlball", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), explode(getXMouse()+xChange, getYMouse()+yChange, strength));
9:
blastOff-
makes the buddy, well, blast off. He gets shocked to wake him up on his way down, and water is used to put him out. make sure this is run every frame.
dont change this. all the numbers are finely tuned to work well
~~~~~~~~~;
if(firstRun(), create("fireball", getBuddyX(), getBuddyY(), 0, 0));
if(firstRun(), explode(getBuddyX(), 400, 1));
if(below(getBuddyY(), 200) && above(getBuddyY(), 0), water(getBuddyX(), 0, 0, 0, 100, .01, 4, 4, false));
if(below(getBuddyY(), 5) && above(getBuddyY(), 0), shock(getBuddyX(), getBuddyY());
10:
fireBomb-
hold down the mouse to make a BIG fireball. This will probably slow down your computer a bit.
nothing to change here either
~~~~~~~~~~~~~~~~;
if(getMouseDown(), create("molotov", getXMouse(), getYMouse(), 0, 0));
11:
hydroCannon-
its the cannon script, but in water form :p
strength=50; water's pushing power;
spread=10;rate that water expands at;
size=10;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), water(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
12:
igniteAndDrench-
switches between setting the buddy on fire, and putting him out.
delay=30;amount of time between soaking and kindling
~~~~~~~~~~~~~~~~~~~~~~~;
r=r+1;
if(t%4==0, water(0, 0, getBuddyX()/20+8, getBuddyY()/20, 100, 0, 10, 1, false));
if(t%4==2, create("fireball", getBuddyX(), getBuddyY(), 0, 0));
if(t%4==2, assign(t, t+1));
if(r%delay==0, assign(t, t+1));
13:
rainyDay-
makes it rain. The rain doesnt really do much, making enough of it put out fires or anything made it not look like rain. Still pretty neat though.
strength=10; water's pushing power;
spread=.3;rate that drops expand at;
size=3;size of drops;
~~~~~~~~~~~~~~~~~~;
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
14:
electricChair-
VERY fun script. Makes a chair out of bowling balls, sticks the buddy in it, and electrocutes him. Over and over and over. And over. You can undo it with releaseHim.
dont edit me
~~~~~~~~~~~~~~~~~~~~~~~~~;
if(firstRun(), resetForces());
if(firstRun(), setBuddyPos(287, 100));
if(firstRun(), assign(a, create("bowlball", 275, 375, 0, 0)));
if(firstRun(), assign(b, create("bowlball", 275, 360, 0, 0)));
if(firstRun(), assign(c, create("bowlball", 330, 375, 0, 0)));
if(firstRun(), assign(d, create("bowlball", 330, 360, 0, 0)));
if(firstRun(), assign(e, create("bowlball", 330, 345, 0, 0)));
if(firstRun(), assign(f, create("bowlball", 275, 345, 0, 0)));
if(firstRun(), addConstraint(a, getX(a), getY(a), 0));
if(firstRun(), addConstraint(b, getX(b), getY(b), 0));
if(firstRun(), addConstraint(c, getX(c), getY(c), 0));
if(firstRun(), addConstraint(d, getX(d), getY(d), 0));
if(firstRun(), addConstraint(e, getX(e), getY(e), 0));
if(firstRun(), addConstraint(f, getX(f), getY(f), 0));
if(firstRun(), setBuddyPos(287, 360));
if(firstRun(), addConstraint("lArm", 275, 355, 0));
if(firstRun(), addConstraint("rArm", 330, 355, 0));
if(firstRun(), addConstraint("body", 300, 360, 0));
shock(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
15:
ghostBall-
What do you get when you take a deceased spirit and stick it in a floating bowling ball? This thing. It floats around the screen randomly. It sinks to the bottom over time due to gravity. I tried to compensate, but it still slightly favors the bottom of the screen.
if(firstRun(), assign(spirit, create("bowlball", 100, 100, 0, 0)));
resetForces();
addSpring(spirit, getX(spirit)+randomBet(-10,10), getY(spirit)+randomBet(-11.63,5), 0.3);
16:
sadistGhostBall
What do you get when you take the spirit of a deceased sadist and stick it in a bowling ball? An evil little bugger that seems to hate your buddy as much as it used to hate bowling pins.
if(firstRun(), assign(spirit, create("bowlball", 200, 100, 0, 0)));
resetForces();
addSpring(spirit, getX(spirit)+randomBet(-15,15)+(getX(spirit)-getX("head"))/-100, getY(spirit)+randomBet(-17.85,15)+(getY(spirit)-getY("head"))/-100, 0.5);
17:
meteors
bowling balls fall from the sky, and explode in blasts of fiery doom when they hit the ground. Very cool, especially if you turn on the realistic pyrotechnics mode. I dont reccommend editing this script.
t=t+1;
if(t%80==0, assign(a, create("bowlball", randomBet(1, 549), 100, 0, 800));
xPos=getX(a);
yPos=getY(a);
fire(xPos, yPos-10, 0, 0, 10, 1);
if(yPos>300, destroy(a));
if(yPos>350, explode(xPos, yPos, 1));
if(yPos>350, create("molotov", xPos, yPos, 0, 0));
18:
launchingFountain
This is a powerful stream of water. If you place things in the middle of it, they will usually get pushed off screen or stuck at the top. Sometimes you'll need a friendly explosive to break this cycle and bring the buddy back down.
water(275, 399, 0, -30, 200, .5, 2, 5, false);
19:
standTall
This is pretty simple, but also very amusing. When the buddy is awake and standing, run this every frame. it will become impossible (as far as I know) to do anything that will make him not land on his feet. Its kinda like a cat-buddy mutant. Creepy.
setBuddyRot(0);
20:
lowInertia
Another simple little one. The buddy's inertia is a little low. He gets moved by bullets, impacts, explosions, etc way less than normal, as well as not being able to be tipped over. Kinda fun to see if you can knock him off his feet.
setBuddyVel(0,0);
setBuddyRot(0);
21:
RPGs
This was something I felt like doing for a while but just now got around to. Flings a grenade across the screen. The grenade detonates if it comes within a certain distance of the buddy.
i=i+1;
if(i%250==0, assign(z, create("grenade", 0, 350, 2000, 10*-1)));
if(abs(getX(z)-getBuddyX())<50&&abs(getY(z)-getBuddyY())<50, explode(getX(z), getY(z), 1));
if(abs(getX(z)-getBuddyX())<50&&abs(getY(z)-getBuddyY())<50, destroy(z));
Reasonable requests are always welcome (I CANNOT make new weapons/skins/modes etc.), as are scripts of your own. But please do not post example scripts, or edited/combined versions of my scripts of the example scripts. That's bordering plagerism. Please note that all of these are complete originals by me, and therefore are subject to some extent by copyright protection. You may reproduce and distribute or whatever any of these, but plese give credit where credit is due. I assume this would be how the other authors that posted here would feel.
Woolfenstien
11-12-2005, 09:40 AM
Awesome^Awesome^Me.
Mr. Goodbar
11-12-2005, 02:59 PM
but anything to the 0th power is only 1 :(
awesome^awesome^0=1
dont hurt meh
chrisgreathouse
11-13-2005, 06:52 AM
Those scripts are awsome! Thanks for providing them! :)
Blastedt
11-13-2005, 02:22 PM
can you change the blast off script so it looks like hes being fired out of a cannon? make a cannone of bowling balls, with him on top
yea thanks, top quality script's ^_^
Blastedt
11-18-2005, 03:13 PM
to kill him put the grav to 99999999 or something. not really.. dead though. try with blood on
CRAP do not put it on 99999999, it lags horrible and makes a square inch of solid blood appear
Woolfenstien
11-19-2005, 02:01 AM
but anything to the 0th power is only 1 :(
awesome^awesome^0=1
dont hurt meh1/1, then.
:P
bendeta2349
11-19-2005, 02:57 AM
woah they r xelant!!!!!!!!!!! got any more?
chrisgreathouse
11-19-2005, 07:10 PM
BTW, the hydrocannon thing stays locked-on to the buddy.
Now I am going to kill the teletubby!!!! Muahahahahahahahah!!!!!!!!!
Mr. Goodbar
11-21-2005, 02:32 PM
the hydroCannon and cannon scripts are meant to aim at the buddy by themselves. I'm far too lazy to put in the aiming method of the other hoses/guns.
Mr. Goodbar
11-30-2005, 02:58 PM
I've added two new scripts, rinyDay and electricChair. Have fun with them :)
Boom Stick
12-03-2005, 01:11 PM
Could you make a script witch makes a fountain of base balls or bowling balls?
Ziddeh
12-04-2005, 06:40 AM
I love posessed buddy >.<
And maybe a baseball bat could be added, incorporate it with some baseballs and you've got a buddy with a ball in his brain.
Nick69pd
12-04-2005, 01:35 PM
Hey, Mr.Goodbar, could you check this out? I am a completly new to this javascript and need your help. I'm trying to make a pyrocannon (yes, it's just like your hydrocannon but with fire) but it won't work. Obviously because I don't know one freakin' thing about this, but can you tell me what I should add/change/get rid of? I thought it would be simple but it's as hard as heck. Well, hello newb world.
strength=50; flame's pushing power;
spread=10;rate that flame expands at;
size=10;size of flame;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), flame(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
Nothing happens (as expected) when I click run every frame.
Mr. Goodbar
12-05-2005, 02:34 PM
I think you should take a look at a C++ tutorial if you want to really get the hang of this. Once you have a grasp of C++ past writing your own functions, the scripting engine here should come as second nature.
I recommend using this tutorial (http://www.cprogramming.com/tutorial/lesson1.html) and this compiler (http://www.bloodshed.net/devcpp.html).
Nick69pd
12-06-2005, 06:14 AM
Thx, and how do you do the blue this thing with a link? I know how to do a link but not in different letters like this or link.
i have problems with number 8shooting cannon balls at buddy.when i do it the screen turns white and it laggs everything is swirling and after a while the screen is back visible but there is still ,a white glow for 1 minute.
EDIT: this is a good way to get money
Nick69pd
12-09-2005, 05:47 PM
Thx, and how do you do the blue this thing with a link? I know how to do a link but not in different letters like this or link.
Never mind, I found out.
Grunteh
12-09-2005, 07:03 PM
They havent been workin for meh.
SecretCal
12-29-2005, 02:14 PM
Hmmm... Soon I'll be posting some scripts... I just need to get the scripting engine access...
Okay, here's FreeRadio. It... uh... gives you a free radio.
if(firstRun(), create("radio", getBuddyX(), getBuddyY(), 0, 0));
You don't need to buy the radio to do this, but if you don't, the only way to stop it is to press refresh.
Irritated_Buddy: Your buddy yells at you whenever you click.
if(getMouseDown() && bnot(oMouse),
say("Stop Clicking! I hate clicks!",100)+
This one is interesting.
pi_onClick: The title says enough.
if(getMouseDown() && bnot(oMouse),
say(pi(),100)+
Not funny.
AutomaticPie: Similar to the last one.
if(firstRun(),
say(pi(),100)+
Angry At Self: This make the buddy drop to the floor, roll around, and bonk his head.
addBuddyRot(sign(getXV("head"))*200)
Ouch!
This is called InvisibleLightning. It makes a zap sound as your buddy says "ZAP!"
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
say("ZAP!",100);
That's all I have for now!
Grunteh
12-29-2005, 08:30 PM
Thanks, I guess..
SecretCal
12-30-2005, 10:39 AM
You're welcome...
Here are more scripts:
Crime: Shows a message saying that torturing your buddy is against the law.
if(firstRun(),
flashMessage("You know... hurting grey guys is a crime.", 973)+
say("It's true.",900);
Fire-Fountain: similar to fountain only not good to your buddy.
t=t+1;
if(t%2,fire(sin(t*.075)*125+275,cos(t*.052)*100+20 0,0,0,140,.075,2,2,false),0)
Shooting star: makes a ball of electricity fly around. If it touches your buddy, then ZAP!
t=t+1;
if(t%2,shock(sin(t*.075)*125+275,cos(t*.052)*100+2 00,0,0,140,.075,2,2,false),0)
FreeOrb: similar to free radio, but...
t=t+1;
if(bnot(t%4),create("orb",50+random()*10,getBuddyY()+random()*20-10,50,-3-getBuddyX()*.01),0)
Loud Noise: You'll find out...
t=t+1;
if(t%2,explode(sin(t*.075)*125+275,cos(t*.052)*100 +200,0,0,140,.075,2,2,false),0)
I guarentee you, I will bring more...
Oh, here's another one:
xx=100;
if(firstRun(),
loop(4,
assign(bb,addSpring(create("bowlball",xx,200,0,0),xx,200,75))+
assign(xx,xx+25)+
noAutoDelete(bb)
),
0)
I'ts painful.
SecretCal
12-30-2005, 01:20 PM
I promised more scripts: here they are.
GhostlyGunner: Makes Bullets Appear out of no where.\
t=t+1;
if(t%2,bullet(sin(t*.075)*125+275,cos(t*.052)*100+ 200,0,0,140,.075,2,2,false),0)
BaseSnake: Makes a stream of baseballs attack your buddy when you hold down the mouse, making him ecstatic.
if(getMouseDown(), create("baseball", getBuddyX(), getBuddyY(), 0, 0));
Radio-on-a-Rope: Makes A Radio Appear, Hanging in the Air.
xx=100;
if(firstRun(),
loop(4,
assign(bb,addConstraint(create("radio",xx,200,0,0),xx,200,75))+
assign(xx,xx+25)+
noAutoDelete(bb)
),
0)
Explosive, Electric, Water: Weird Effect when your buddy hits a wall. This is likely to make your game freeze, so prepare to press "refresh".
gx = getBuddyX();
test = gx>510||gx<40;
if(test,explode(gx+random()-.5,getBuddyY(),.15),0)+
if(test,shock(gx+random()-.5,getBuddyY(),.15),0)+
if(test,water(gx+random()-.5,getBuddyY(),.15),0);
Deranged-manaUser-guess: Funny version of ex-manaUser-guess.
if(firstRun(),
assign(MaxGuess, 13)+
assign(Answer, 0)+
assign(Min, 1)+
assign(Max, 100)+
assign(Mode, 0)+
assign(Guess, 0)+
assign(GuessNum, 0)+
assign(Prize, 0)+
assign(Click, 0)+
assign(Bomb, 0)+
assign(Timer, 0)
,0);
"Modes: 0=Start 1=Guess 2=WaitAns 3=Right 4=Wrong 5=WaitHint";
Answer = "X";
if(getMouseDown(),
if(Click==0,
if(getYMouse()>=91&&getYMouse()<=107,
if(getXMouse()>=62&&getXMouse()<=97,
assign(Answer, "YEP, UH-HUH. YEAH! You got it right, brotha!")
,0)+
if(getXMouse()>=150&&getXMouse()<=180,
assign(Answer, "NO! You stink! Hee-hee-hee-hee-hee-hee-hee-hee-hee-hee-hee-hee-hee!")
,0)
,0)
,0)+
assign(Click, 1)
,
assign(Click, 0)
);
if (Mode == 0,
flashMessage("Click mouse when ready.
Tip: Use Hand->None.", 1)+
say("Let's play a round of a game, lad. You think of a numba startin' at 1 n' endin' at 100, and I get "+MaxGuess+" guesses.", 1)+
if(getMouseDown(),
assign(Mode,1)
,0)
,0);
if (Mode == 1,
assign(GuessNum, GuessNum+1)+
assign(Guess, round(randomBet(Min, Max+1)-0.5))+
assign(Timer,30)+
assign(Mode,2)+
if(GuessNum==MaxGuess,
playSound("shock",200)+
explode(getBuddyX(),getBuddyY())
,0)
,0);
if (Mode == 2,
say("Are you thinking of "+Guess+"?", 1)+
if (Timer == 0,
flashMessage("Is Guess #"+GuessNum+" Right, Dude/Dudette?
[YEAH] [NOPE]", 1)+
if (Answer=="YEAH",
say("
Yay! I won! I won! In your face!", 60)+
assign(Mode, -1)
,0)+
if (Answer=="NOPE",
assign(Mode, 4)
,0)
,
assign(Timer, Timer-1)
)
,0);
if (Mode == 4,
assign(Answer, "X")+
assign(Timer,30)+
assign(Mode, 5)+
assign(Prize, round(randomBet(1, 4+1)-0.5))+
if(Min>=Max,
say("You Stupid Liar! It HAS to be "+Guess+".", 60)+
assign(Prize, -1)+
assign(Mode, -1)
,0)+
if(GuessNum == MaxGuess-1,
assign(Bomb, create("molotov", getBuddyX(), 50, 0, 5))
assign(Prize, -1)+
assign(Timer,30)
,0)+
if(GuessNum == MaxGuess,
create("fireball", getBuddyX(), getBuddyY(), 0, 0)+
explode(getX(Bomb), getY(Bomb), 1.8)+
destroy(Bomb)+
assign(Prize, -1)+
assign(Mode,-1)+
flashMessage("
YOU WIN! DARN!", 60)
,0)+
if(Prize == 1||Prize == 2,
playSound("shock",200)+
explode(getBuddyX(),getBuddyY()-30)
,0)+
if(Prize == 3,
create("grenade", getBuddyX(), 50, 0, 5)
,0)+
if(Prize == 4,
loop(10,
water(getBuddyX()+randomBet(-15,15), randomBet(1,120), 0, 15, 30, 0.5, 2, 12, 0)+
shock(getBuddyX()+randomBet(-15,15), randomBet(1,140), 0, 15, 30, 0.2, 4, 12, 0)
)
,0)
,0);
if (Mode == 5,
say("Is it HIGHER than "+Guess+"?", 1)+
if (Timer == 0,
flashMessage("Well, is it? Is it higher than "+Guess+"?
[YEP] [NAH]", 1)+
if (Answer=="YEP",
assign(Min, Guess+1)+
assign(Mode, 1)
,0)+
if (Answer=="NAH",
assign(Max, Guess-1)+
assign(Mode, 1)
,0)
,
assign(Timer, Timer-1)
)
,0);
Whew! I'm taking a break.
Nick69pd
01-13-2006, 03:08 PM
DAMN! That was my first post in a while. I haven't been on xgen in a while.
please dont bump old threads!!
Nick69pd
01-17-2006, 04:40 PM
This isn't old. It's been 14 days!
Stickluber
01-21-2006, 08:32 AM
a problem with the electric chair
when I throw something @ the buddy, it's on fire!
Stickluber
01-21-2006, 08:33 AM
a problem with the electric chair
when I throw something @ the buddy, it's on fire!
SecretCal
01-21-2006, 01:50 PM
This should fix Stickluber's "problem."
if(firstRun(), resetForces());
if(firstRun(), setBuddyPos(287, 100));
if(firstRun(), assign(a, create("bowlball", 275, 375, 0, 0)));
if(firstRun(), assign(b, create("bowlball", 275, 360, 0, 0)));
if(firstRun(), assign(c, create("bowlball", 330, 375, 0, 0)));
if(firstRun(), assign(d, create("bowlball", 330, 360, 0, 0)));
if(firstRun(), assign(e, create("bowlball", 330, 345, 0, 0)));
if(firstRun(), assign(f, create("bowlball", 275, 345, 0, 0)));
if(firstRun(), addConstraint(a, getX(a), getY(a), 0));
if(firstRun(), addConstraint(b, getX(b), getY(b), 0));
if(firstRun(), addConstraint(c, getX(c), getY(c), 0));
if(firstRun(), addConstraint(d, getX(d), getY(d), 0));
if(firstRun(), addConstraint(e, getX(e), getY(e), 0));
if(firstRun(), addConstraint(f, getX(f), getY(f), 0));
if(firstRun(), setBuddyPos(287, 360));
if(firstRun(), addConstraint("lArm", 275, 355, 0));
if(firstRun(), addConstraint("rArm", 330, 355, 0));
if(firstRun(), addConstraint("body", 300, 360, 0));
shock(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
water(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
Blixinator
02-17-2006, 01:25 PM
I am bumping this because it is a great thread. It could use some more contributions too, I may then compile them into one topic.
Grunteh
02-18-2006, 08:08 AM
MC007!
Your back!
Mr. Goodbar
02-18-2006, 07:36 PM
Since interest seems to be pickin up again, I'll throw two more scripts out there. Check the bottom of the first post for ghostBall and sadistGhostBall.
pseudo-jesus
02-20-2006, 04:14 PM
*posted like 2 years ago when I was dumb :D*
I-B-Kicks-butt
02-26-2006, 02:52 PM
Can you make a script that shoots missles out of the wall at the buddy?
I-B-Kicks-butt
02-26-2006, 02:57 PM
and also could you make a script that makes the buddy explode no matter where you click?
XxR2STEALERxX
02-27-2006, 06:11 PM
Can i post my scripts? if so...
Automatic Mine Maker
if(getMouseDown(), create("mine", getBuddyX(), getBuddyY(), 10, 10));
if(getMouseDown(), create("mine", getBuddyX(), getBuddyY(), 10, 10));
if(getMouseDown(), create("mine", getBuddyX(), getBuddyY(), 10, 10));
Automatic Grenade Maker
if(getMouseDown(), create("grenade", getBuddyX(), getBuddyY(), 10, 10));
if(getMouseDown(), create("grenade", getBuddyX(), getBuddyY(), 10, 10));
if(getMouseDown(), create("grenade", getBuddyX(), getBuddyY(), 10, 10));
Automatic Fireball Maker
if(getMouseDown(), create("fireball", getBuddyX(), getBuddyY(), 10, 10));
if(getMouseDown(), create("fireball", getBuddyX(), getBuddyY(), 10, 10));
if(getMouseDown(), create("fireball", getBuddyX(), getBuddyY(), 10, 10));
And so forth replace if(getMouseDown(), create("fireball", getBuddyX(), getBuddyY(), 10, 10)); WHen it says fireball change it into anything you like...
Nice code, one problem, too simple.
XxR2STEALERxX
02-28-2006, 07:45 AM
Yeah....I was working on a script when you you click molotovs go falling toward your buddy...
Guybrush Threepwood
03-02-2006, 11:39 AM
This is probably a stupid question. But how do you use the action scripts?
EDIT
Don't answer this
Nick69pd
03-03-2006, 03:14 PM
Since I feel uncomfortable anywhere else and am extremley stupid, what are codes used for?
STICK.FU.MASTER.
03-03-2006, 03:26 PM
isn't there a seperate section just for codes/cheats?
Blastedt
03-04-2006, 07:39 PM
FIRST script DELETED for horribleness
NEW SCRIPT
t=t+1;
if(firstRun(), resetForces());
if(t%2,fire(sin(t*.075)*125+275,cos(t*.052)*100+20 0,0,0,140,.075,2,2,false),0);
if(t%2,water(sin(t*.075)*125+275,cos(t*.052)*100+2 00,0,0,140,.075,2,2,false),0);
if(t%2,bullet(sin(t*.075)*125+275,cos(t*.052)*100+ 200,0,0,140,.075,2,2,false),0);
say("OWIE! Do you expect me to run in that! Oh, I must sit in it! *calls 911*", 300));
if(firstRun(), setBuddyPos(275, 350));
if(firstRun(), addConstraint("body", 275, 350, 10));
if(firstRun(), addConstraint("head", 275, 300, 0));
if(firstRun(), addConstraint("rArm", 325, 325, 0));
if(firstRun(), addConstraint("lArm", 225, 325, 0));
if(firstRun(), addConstraint("rLeg", 325, 390, 0));
if(firstRun(), addConstraint("lLeg", 225, 390, 0));
if(firstRun(), flashMessage("Put your hands over your head! You're under arrest!! Tip: Use Hand=>None (not a must)", 1000));
if(getMouseDown(), shock(getBuddyX(), getBuddyY());
if(getMouseDown(), playSound("shock", 300))
This one has been checked 1000000 times. DOnt use balls, plz.
The under arrest thing is he's supposed to call 911, but gets knocked out too fast. Click anywhere to shock him, even with somthing like missiles equipped.
This wakes him up. Note that dont use the teletubby with this, the teletubbys body can rotate and is truly disturbing when chained, the bullets make its body constantly rotate.
I need help debugging my second ever script: a swinging lightbulb
assign(o,create("orb",275,140,-4,0));
assign(a,create("bowlball",150,125,0,0));
assign(b,create("bowlball",150,150,0,0));
assign(c,create("bowlball",150,175,0,0));
assign(d,create("bowlball",150,100,0,0));
assign(e,create("bowlball",150,75,0,0));
assign(f,create("bowlball",400,175,0,0));
assign(g,create("bowlball",400,150,0,0));
assign(h,create("bowlball",400,125,0,0));
assign(i,create("bowlball",400,100,0,0));
assign(j,create("bowlball",400,75,0,0));
assign(k,create("bowlball",175,100,0,0));
assign(l,create("bowlball",200,100,0,0));
assign(m,create("bowlball",375,100,0,0));
assign(n,create("bowlball",350,100,0,0));
addConstraint(m,375,100,2);
addConstraint(n,350,100,2);
addConstraint(k,175,100,2);
addConstraint(l,200,100,2);
addConstraint(o,275,0,175);
addConstraint(a,150,125,2);
addConstraint(b,150,150,2);
addConstraint(c,150,175,2);
addConstraint(d,150,100,2);
addConstraint(e,150,75,2);
addConstraint(f,400,175,2);
addConstraint(g,400,150,2);
addConstraint(h,400,125,2);
addConstraint(i,400,100,2);
addConstraint(j,400,75,2);
SecretCal
03-12-2006, 03:30 AM
Oh, and here's "ignition!"
t=t+1;
if(bnot(t%4),create("fireball",50+random()*10,5+random()*20-10,50,-3-4*.01),0)
hey if you want money do this it gives you 1000 cash
space, up, space, up, left, right, left, right
killing spree!
03-12-2006, 01:47 PM
meh it actually works thx, and wheres the tutorial for this machine again lol i want to help with the scripts.
I-B-Kicks-butt
03-12-2006, 05:57 PM
here is a bullet script:
t=t+1;
if(t%2, bullet(getBuddyX(),getBuddyY()-300,0,0,2800,0,1600,1600,false),0)
file://C:\Documents and Settings\kendall\My Documents\new bitmap image.bmp (file:///C:/Documents%20and%20Settings/kendall/My%20Documents/new%20bitmap%20image.bmp)
this is wha thappens with that same script and blood and gore turned on. in order to view it, you need to download it.
the_V_Dude
03-14-2006, 01:02 PM
the tutorial is the first scripts in the script engines.
Blastedt
03-17-2006, 12:58 PM
The scripts can actually be pulled off without learning that fancy math. Im 11 years old and i wrote those script by myself
unknown333
03-18-2006, 10:26 PM
I updated bad mouse.
YAY! My first almost script!
Now, a message says "That's an evil mouse!"
and buddy says "YEAH IT IS! GET IT AWAY! GET IT AWAY!!!"
Now I made a basic talkin' script.
Ha! Easy. Now for the REALLY HARD stuff. Am I ready? What if I get scared?
WAAAAAAAH!
No, but seriously, where is the link to da script learnin' thing?
unknown333
03-18-2006, 11:18 PM
336, to solve your problem, try using a lower number for Strength=
Using like 50 will make a white screen and getyou a TON of money. But, otherwise use a LOW number like .5 or 1.
unknown333
03-19-2006, 12:12 AM
Okay, how do you make 2 things drop at once with a script? It's hard. I am trying to drop a fireball and an infant, but despite my script, only the fireball and object you select under "items" will drop.
The closest I got was tweeking to a molotov, and selecting Infants. So I drop the infant and a molotov, BOOM. I just wanted it to be made easier.
*Puts on thinkin' cap* I just need some juice to get meh brain thinkin'! *squeezes lemon intojuice to power ThinkingCap* Ahh... YAY! Complete! Here's the script for FLAMING INFANTS!
assign(yChange, (getYMouse()-getBuddyY())/20);
if(getMouseDown(), create("molotov", getXMouse(), getYMouse(), 0, 0));
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("infant", getXMouse(), getYMouse(), 1, 1));
Oh, and you might wanna hold it down a sec, instead of a simple click. YAYS for me on completing a script excluding my simple talking script!
EDIT- Sorry about the double post. Forgot.
EDIT 2- Never mind :(
Infants was just selected the whole time. At hand=> none, it just drops a molotov :( No more yays :(
XxR2STEALERxX
03-19-2006, 12:03 PM
Try changing infant into baby
Blastedt
03-28-2006, 06:53 PM
For anyone wanting to learn, a)forget the help scripts ever existed
b)Read every script you can to learn
c) ONly use helps as debugtation
(anyone gonna help debug me lightbulb, btw?._.)
Ownby321
03-29-2006, 01:36 PM
Cool scripts.
SecretCal
03-30-2006, 09:53 AM
Hey... did anyone here check out my thread: here (http://forums.xgenstudios.com/showthread.php?t=39815)?
Mr. Goodbar
05-28-2006, 08:45 AM
It's been a REALLY long time since I booted p iBuddy. Anyway, I figure I'll put up a couple scripts I figured the world wasnt ready for yet (which means I was too lazy to debug them). I probably should have made a new topic, but I'm in a hurry right now, so I'll edit the first post to include them now.
the ones I added are:
meteors
rocketFountain
standTall
Blastedt
05-29-2006, 05:37 PM
Im actively collecting any *good* ibuddy scripts I see and putting them here (http://z3.invisionfree.com/Halo_RPG_by_Blastedt/index.php?showtopic=19). Even guests can reply, so you can post, and if you see one of yours, and I put "";Author Unknown, just PM me here (or on site). A lot are from this thread!
fale ninja
06-25-2006, 10:40 PM
Spontanious Combustion
^^
if(getMouseDown(), fire(getBuddyX(), getBuddyY(), (getXMouse()-getBuddyX())/-15, (getBuddyX()-getBuddyY())/-15-10, 50, 5, 5, false));
stickplaya98
06-26-2006, 10:41 AM
hey guys your confusing me!
yoPhilly528
07-02-2006, 05:12 PM
Reasonable requests are always welcome
i have a reasonable request. in the meteor script how about you make it go faster after a while
brianbrian25
07-02-2006, 06:24 PM
Yea, but who would want that?
yoPhilly528
07-02-2006, 06:26 PM
i would obviosly because i posted it
Minish
07-26-2006, 05:13 PM
Here are my codes, use them if you wish.
-Extremely simple rain code
t=t+1;
if(t%2,water(sin(t*.400)*125+275,cos(t*.100)*100+2 00,0,0,140,.075,2,2,false),0)
t=t+1;
if(t%2,water(sin(t*.270)*180+240,cos(t*.40)*150+30 0,0,0,200,.048,3,9,false),0)
t=t+1;
if(t%2,water(sin(t*.190)*285+185,cos(t*.70)*200+10 0,0,0,210,.089,4,3,false),0)
t=t+1;
if(t%2,water(sin(t*.280)*300+50,cos(t*.200)*150+30 0,0,0,159,.0140,2,5,false),0)
t=t+1;
if(t%2,water(sin(t*.318)*240+80,cos(t*.89)*240+20, 0,0,110,.050,1,8,false),0)
t=t+1;
if(t%2,water(sin(t*.572)*367+29,cos(t*.60)*20+280, 0,0,372,.028,9,6,false),0)
t=t+1;
if(t%2,water(sin(t*.300)*200+178,cos(t*.100)*374+2 30,0,0,147,.070,3,5,false),0)
-Simple Edit of the preveious code, this time with fire
t=t+1;
if(t%2,fire(sin(t*.400)*125+275,cos(t*.100)*100+20 0,0,0,140,.075,2,2,false),0)
t=t+1;
if(t%2,fire(sin(t*.270)*180+240,cos(t*.40)*150+300 ,0,0,200,.048,3,9,false),0)
t=t+1;
if(t%2,fire(sin(t*.190)*285+185,cos(t*.70)*200+100 ,0,0,210,.089,4,3,false),0)
t=t+1;
if(t%2,fire(sin(t*.280)*300+50,cos(t*.200)*150+300 ,0,0,159,.0140,2,5,false),0)
t=t+1;
if(t%2,fire(sin(t*.318)*240+80,cos(t*.89)*240+20,0 ,0,110,.050,1,8,false),0)
t=t+1;
if(t%2,fire(sin(t*.572)*367+29,cos(t*.60)*20+280,0 ,0,372,.028,9,6,false),0)
t=t+1;
if(t%2,fire(sin(t*.300)*200+178,cos(t*.100)*374+23 0,0,0,147,.070,3,5,false),0)
-75. Desert Eagle
assign(yChange, (getYMouse()-getBuddyY())/20);
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("bouncyball", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), explode(getXMouse()+xChange, getYMouse()+yChange, .30));
-Grenade Launcher
assign(yChange, (getYMouse()-getBuddyY())/20);
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("grenade", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), explode(getXMouse()+xChange, getYMouse()+yChange, .37));
Enjoy my codes
Blastedt
07-31-2006, 07:12 PM
Here are my codes, use them if you wish.
-Extremely simple rain code
Quote:
t=t+1;
if(t%2,water(sin(t*.400)*125+275,cos(t*.100)*100+2 00,0,0,140,.075,2,2,false),0)
t=t+1;
if(t%2,water(sin(t*.270)*180+240,cos(t*.40)*150+30 0,0,0,200,.048,3,9,false),0)
t=t+1;
if(t%2,water(sin(t*.190)*285+185,cos(t*.70)*200+10 0,0,0,210,.089,4,3,false),0)
t=t+1;
if(t%2,water(sin(t*.280)*300+50,cos(t*.200)*150+30 0,0,0,159,.0140,2,5,false),0)
t=t+1;
if(t%2,water(sin(t*.318)*240+80,cos(t*.89)*240+20, 0,0,110,.050,1,8,false),0)
t=t+1;
if(t%2,water(sin(t*.572)*367+29,cos(t*.60)*20+280, 0,0,372,.028,9,6,false),0)
t=t+1;
if(t%2,water(sin(t*.300)*200+178,cos(t*.100)*374+2 30,0,0,147,.070,3,5,false),0)
SHOULD BE
t=t+1;
if(t%2,water(sin(t*.400)*125+275,cos(t*.100)*100+2 00,0,0,140,.075,2,2,false),0);
if(t%2,water(sin(t*.270)*180+240,cos(t*.40)*150+30 0,0,0,200,.048,3,9,false),0);
if(t%2,water(sin(t*.190)*285+185,cos(t*.70)*200+10 0,0,0,210,.089,4,3,false),0);
if(t%2,water(sin(t*.280)*300+50,cos(t*.200)*150+30 0,0,0,159,.0140,2,5,false),0);
if(t%2,water(sin(t*.318)*240+80,cos(t*.89)*240+20, 0,0,110,.050,1,8,false),0);
if(t%2,water(sin(t*.572)*367+29,cos(t*.60)*20+280, 0,0,372,.028,9,6,false),0);
if(t%2,water(sin(t*.300)*200+178,cos(t*.100)*374+2 30,0,0,147,.070,3,5,false),0);
Same thing with the fire
necromastr
08-04-2006, 03:05 PM
lol, i love doing stuff to the teletuby (epsaicaly using the possed thing with him >:)) but the main reason for this post is i'm actually posting a script here, who would've guessed: addbowlballvel(0,-1); yes, you guessed it, it's a modified version of the no gravity script, but for an unknown reason it creates a constraint like the ones on the buddy but it also acts like elastic, pulling the ball back to it's orginal poisition. It does a lot for a small script, and since i don't know the language i was wondering if someone could tell me why it does that?
Blastedt
08-04-2006, 06:30 PM
Welcome to Xgen. Read the rules, read your dictionaries, and everything should be all right.
Just me looking at that script...I think it shouldn't do ANYTHING. Terms mixed...Probably a glitch.
"Bowlball" has to be a variable that is set by going
assign(bowlball, (create(bowlball, X, Y, Xv, Yv)));
addbowlballVel(0,-1);
That will create a bowlball at your location specified and make it fly err...i forgot which direction the second negative goes...:P
Makes it fly.
321crash!!
09-05-2006, 10:51 AM
hey if you listen to the radio music its a song from the matrix triledgy lol:cool:
321crash!!
09-05-2006, 01:04 PM
this is a script i call
buddy is a daddy(its funny)
if(getMouseDown(), create("baby", getBuddyX(), getBuddyY(), 0, 0));
321crash!!
09-05-2006, 01:14 PM
one more script
replace place type here with what you want your buddy to say
t=t+1;
if(bnot(t%50),say("place type here",100),0
Blastedt
09-05-2006, 02:38 PM
Why not instead just type
if(firstRun()), say("[type]",100)
Lots simpler. Please dont triple post.
a.k.abillyk12
09-05-2006, 05:10 PM
i dont get how u use these things ?!
!War Hero!
09-05-2006, 05:19 PM
hey! were the hell do you play v2? i played v1.1 or sumthin like that but not v2!
where is v2?
a.k.abillyk12
09-05-2006, 05:24 PM
i think thats ibuddy v1.2
Blixinator
09-05-2006, 05:25 PM
It's the scripts thread V2.0.
There is no IB 2.0.
!War Hero!
09-05-2006, 05:31 PM
oh
Blastedt
09-06-2006, 01:54 PM
To learn, screw the help scripts over except for quick references, and learn from other's scripts and mistakes. Study them... this is how I learned...
Jimbimanim II
09-08-2006, 04:25 PM
I edited the meteors script to make this splodin' babies script:
if(getMouseDown() && bnot(oMouse),
assign(a, create("baby", getXMouse(), getYMouse(), 0, 100));
xPos=getX(a);
yPos=getY(a);
if(yPos>300, destroy(a));
if(yPos>350, explode(xPos, yPos, 1));
oMouse = getMouseDown()Its really funny. Dont do it too much in a short space of time, it really lags.
brianbrian25
09-08-2006, 08:29 PM
Does that mean we can redo the scripts and make him blow up and make it all bloody?
Jimbimanim II
09-09-2006, 02:54 AM
I made a really cool script. It creates a fireball halfway up the screen that follows your buddy left and right... I'm not that good at explaining, just try it out.
MAKE SURE RUN EVERY FRAME IS CHECKED!
create("fireball", getBuddyX(), 200, 0, 0));
[EDIT]
this next one makes buddy spin around in mid-air while being shocked.
if(firstRun(), addConstraint("body", 287, 100, 1));
playSound("shock",100)+
shock(getBuddyX(), getBuddyY());
addBuddyRot(sign(getXV("body"))*200)
[EDIT2]
very simple code...
teather buddy
addConstraint("body", 287, 100, 200));
[EDIT3]
restrain buddy as if he'd chained up againsed a wall.
if(firstRun, resetForces();
if(firstRun, addConstraint("lArm", 130, 100, 1);
if(firstRun, addConstraint("rArm", 200, 100, 1);
if(firstRun, addConstraint("lLeg", 130, 200, 1);
if(firstRun, addConstraint("rLeg", 200, 200, 1);
if(firstRun, addConstraint("body", 165, 150, 1);
if(firstRun, addConstraint("head", 165, 110, 1);
if(getMouseDown(), say("HELP!", 100);
Jimbimanim II
09-09-2006, 02:06 PM
-sorry for double post, but i think i've edited the above post enough-
slightly tweaked my "splodin babies" script.
if(getMouseDown() && bnot(oMouse),
assign(a, create("baby", getXMouse(), getYMouse(), 0, 100));
xPos=getX(a);
yPos=getY(a);
if(yPos>getBuddyY(), destroy(a));
if(yPos>getBuddyY(), explode(xPos, yPos, 1));
oMouse = getMouseDown()
[EDIT]
Hang buddy -
resetForces();
addConstraint("head", 275, -100, 300);
doomboy24
10-16-2006, 04:39 PM
if you come back i really need a thing that gives sonic skins like blue hands and feet then the spikey head and body for sonic kinda thing if its possible plz email me the script and post it here
30Flames3
11-19-2006, 09:57 AM
i love the scripts
waggles v2
11-19-2006, 10:52 PM
Nice scripts. 30flames3, your sig is FAR TOO BIG.
30Flames3
11-22-2006, 11:58 PM
uh yeah...um well....your sig is to small:D .....................
someone make more fun scripts please:rolleyes:
demonsnake8
11-29-2006, 01:05 AM
if(getMouseDown() && bnot(oMouse),
assign(a, create("radio", getXMouse(), getYMouse(), 0, 100));
xPos=getX(a);
yPos=getY(a);
if(yPos>300, destroy(a));
if(yPos>350, explode(xPos, yPos, 1));
oMouse = getMouseDown()
its a exploding radio but becauseits special it wont be deleted and keeps on exploding lol
lazyguy
12-01-2006, 02:23 PM
Does anyone know what the name is for fire? I want to make a flaming hand code.
lopfot
12-17-2006, 10:05 AM
These are awesome codes. Any idea on how to make a circle of grenades around him?
I have managed to make my first code.
if(getMouseDown(), create("molotov", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), create("molotov", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), shock(getXMouse(), getYMouse()));
It creates a small explosion upon clicking. Hey, it may suck, but it's a start. Change the second "molotov" to baby for burning babies.
Mr. Goodbar
12-28-2006, 12:09 PM
once again, a sticky that compiles all these threads would be nice.
lazyguy
12-28-2006, 01:00 PM
Suicide babie:
if(getMouseDown(), create("mine", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), create("grenade", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), create("baby", getXMouse(), getYMouse(), 0, 0));
could some one make some fire mines(mines that create a firie explosion)
lazyguy
12-29-2006, 01:30 PM
How about:
on("mine" delete), create("molotov"), 0, 0;
DO NOT do this if you have Flash Flayer 9, I did and it messed up the game.
Ryan200666
12-29-2006, 05:59 PM
Auto grenade launcher
delay=300; amount of time between tosses;
xv=400; horizontal speed of baseballs;
yv=60; vertical speed of baseballs;
~~~~~~~~~~;
i=i+1;
if(i%delay==0, destroy(z));
if(i%delay==0, assign(z, create("grenade", 0, 350, xv, yv*-1)));
do not use this with a crummy computer
Blastedt
12-29-2006, 06:03 PM
Does anyone know what the name is for fire? I want to make a flaming hand code.
I already did that.
fire(getXMouse(), getYMouse(), 1.4, 2, 5, .5);
fire(getXMouse(), getYMouse(), 1.4, 2, 5, .5);
water(getXMouse(), getYMouse(), 1.4, 2, 10, 35, 1, 2, disappearOnContact);
if(firstRun(), say("That flaming water looks horrible! To start, move that sharp pointer thingy you have over me!", 1000));
lazyguy
12-30-2006, 05:45 AM
What is the instance name of the rubber balls?
Ryan200666
01-02-2007, 06:23 PM
i think he is faking copy right
even if he had copyrighted it your kinda wastin your time no one even cares about the copy right theyll do it anyway they want
lazyguy
01-03-2007, 04:51 AM
What? Are you in the right thread?
Ryan200666
01-03-2007, 03:19 PM
no this guy says he copyrighted the scripts here
lopfot
02-04-2007, 11:24 AM
assign(yChange, (getYMouse()-getBuddyY())/20);
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("baby", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), explode(getXMouse()+xChange, getYMouse()+yChange, strength=.25));
if(firstRun(), addConstraint("lArm", 275, 355, 0));
if(firstRun(), addConstraint("rArm", 330, 355, 0));
if(firstRun(), addConstraint("body", 300, 360, 0));
Set your physics to max items 5-10.
Ryan200666
02-04-2007, 02:00 PM
aw sweet baby gun he so cute when hes being shot.
lopfot
02-09-2007, 08:57 AM
Yes. Yes he is. Could anyone tell me how to set up a code in which one thing happens and then another?
Ryan200666
02-09-2007, 01:54 PM
nope
lopfot
02-10-2007, 10:08 AM
Ok, darn. There goes my Apocalypse code.
saynightnight
02-10-2007, 11:31 AM
Anyone got the code for the alien invasion?
Ryan200666
02-10-2007, 05:14 PM
Anyone got the code for the alien invasion?
im working on one and it will be in scripts 3.0
Mr. Goodbar
04-06-2007, 01:14 PM
how long has it been since I added some scripts? Too long.
I added a really dumb inertia script and a kinda decently fun rocket propelled grenade one.
have fun with 'em.
PS:
I don't know where the 1.0, 2.0, etc. system came from. My original scripts post was "Interactive Buddy Scripts." I rewrote most of them completely in a new thread, so I decided to name it "Interactive Buddy Scripts v2.0." You guys can make new threads about scripts without putting a number on them like I did ;)
lazyguy
04-06-2007, 01:50 PM
Scripts 2.0 is not dead, so don't make 3.0
bouncerboy
04-08-2007, 06:44 AM
nice script it really help me torture my buddy muhahaha;) (secret!!)
Ultma Master
04-17-2007, 08:11 PM
this code makes impossible for your buddy to stay on fire. pretty cool swirling water at the top of the screen also
strength=3; water's pushing power;
spread=.99;rate that drops expand at;
size=99;size of drops;
~~~~~~~~~~~~~~~~~~;
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
jacks187
04-27-2007, 03:36 PM
strength=100; lightnig fist pushing power;
spread=20;rate that lightning expands at;
size=50;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
unknown333
05-15-2007, 05:34 PM
Ok, this is driving me crazy! I haven't been on in so long and don't remeber anything about scripts. I don't even know what i meant by "bad mouse" script. I'm gonna die from forgetfullness! AHHHH!!!!!
(sorry for doing this on a semi-old thread)
Ryan200666
05-17-2007, 01:32 PM
Its a very old thread. You need to buy scripting engine access from modes.
lazyguy
05-17-2007, 02:27 PM
It is not an old thread. It is on the front page of the 'featured games' topic. Yoyu are only calling it old as an excuse to hype up your own thread(s).
Way to go, Mr.Natas.
Mr. Goodbar
05-26-2007, 10:27 AM
I woke up today thinking about how much fun it is to write scripts for IBuddy. And then I thought about how fun it wouldn't be to finish my biology take-home final. I may get to writing a few new ones if I get some inspiration, so keep an eye out for new ones during the long weekend!
Also, I'd like to thank everyone who keeps using this thread and keeping it alove over all this time. I'm having a hard time believing just how long ago I started this thread, and it's still going even when I only log on once or twice every couple of months. When I posted my first scripts thread, the only discussion about scripts was "how do I make them?!?!?!?!", and now seeing them all over the place makes me very very happy.
lazyguy
05-27-2007, 01:19 PM
Heh. Wouldn't it be funny if you got those extra biology points for writing a thesis on what would happen to your iBuddy when you do all these things to it...
DO IT.
bx227
09-15-2007, 06:27 AM
Heres a thing for 150k or more.:P
x=10; length of 'chains';
~~~~~~~~~~;
resetForces();
addConstraint("body", getX("body"), getY("body"), x));
addConstraint("lArm", getX("lArm"), getY("lArm"), x));
addConstraint("rArm", getX("rArm"), getY("rArm"), x));
addConstraint("lLeg", getX("lLeg"), getY("lLeg"), x));
addConstraint("rLeg", getX("rLeg"), getY("rLeg"), x));
addConstraint("head", getX("head"), getY("head"), x));
strength=50000; size of explosion propelling the bowling ball
~~~~~~~~~~~~~~;
assign(yChange, (getYMouse()-getBuddyY())/20);
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("bowlball", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), explode(getXMouse()+xChange, getYMouse()+yChange, strength));
whosdr
09-22-2007, 08:11 AM
try this
first make a radio then put this in
setBuddyRot();
nothing will move and you cant do nothing except the radio. it works normaly and you cna hear it.
aimdragon
09-29-2007, 07:13 AM
just copy an past the following script =):
t=t+1;
if(bnot(t%50),say("Your text here, last part here.",100),0)
Destroy
09-29-2007, 10:43 AM
well you earn some of my respect but make more then 21 ok dude?
Destroy
10-01-2007, 01:20 PM
Hey i made a script to
Fire And Water fountain: what the name says
water(275, 399, 0, -30, 200, .5, 2, 5, false);
fire(275, 399, 10, -30, 200, .5, 2, 5, false)
Destroy
10-01-2007, 01:28 PM
this ones fun to he he he and he wont move
Shock walls- read title
gx = getBuddyX();
test = gx>510||gx<40;
if(test,shock(gx+random()-.5,getBuddyY(),.15),0)
never use this one your body will be stuck in the wall and nothing can touch him
trap in wall no escape- duh name :(
gx = getBuddyX();
test = gx>510||gx<40;
if(test,water(gx+random()-.5,getBuddyY(),.15),0)
Destroy
10-01-2007, 01:31 PM
this sets your money to nan but turn down the sound alout you may not be able to hit your body but the money amount stays the same next time you open the game and forever more (A)
NAN MONEY
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,explode(getXMouse()+sin(n/t*10+rr)*15,n/t*400)+assign(n,n+1)
,0);
oMouse = getMouseDown()
Destroy
10-01-2007, 01:36 PM
lighting + fire and water fountain = fun
lighting and the 2
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*10+rr)*15,n/t*400)+assign(n,n+1)
,0);
oMouse = getMouseDown()
water(275, 399, 0, -30, 200, .5, 2, 5, false);
fire(275, 399, 0, -30, 200, .5, 2, 5, flase)
Destroy
10-01-2007, 01:37 PM
same as the ex baseball but now bowling balls
bowling ball launcher
t=t+1;
if(bnot(t%4),create("bowlball",50+random()*10,getBuddyY()+random()*20-10,50,-3-getBuddyX()*.01),0)
Destroy
10-01-2007, 01:55 PM
throwball but with molotov
if(
firstRun()
,
resetVariables()+
assign(bb, create("molotov",50,50,0,0))+
noAutoDelete(bb)+
assign(doVels, false)
,
0);
if(
Destroy
10-01-2007, 02:03 PM
rooms of doom water style i am working on shock style to
t=t+1;
if(t%2,water(20,200,0,0,5,1),0)
t=t+1;
if(t%2,water(45,200,0,0,5,1),0)
t=t+1;
if(t%2,water(60,200,0,0,5,1),0)
t=t+1;
if(t%2,water(85,200,0,0,5,1),0)
t=t+1;
if(t%2,water(100,200,0,0,5,1),0)
t=t+1;
if(t%2,water(125,200,0,0,5,1),0)
t=t+1;
if(t%2,water(150,200,0,0,5,1),0)
t=t+1;
if(t%2,water(175,200,0,0,5,1),0)
t=t+1;
if(t%2,water(200,200,0,0,5,1),0)
t=t+1;
if(t%2,water(225,200,0,0,5,1),0)
t=t+1;
if(t%2,water(250,200,0,0,5,1),0)
t=t+1;
if(t%2,water(250,225,0,0,5,1),0)
t=t+1;
if(t%2,water(250,250,0,0,5,1),0)
t=t+1;
if(t%2,water(250,275,0,0,5,1),0)
t=t+1;
if(t%2,water(250,300,0,0,5,1),0)
t=t+1;
if(t%2,water(250,325,0,0,5,1),0)
t=t+1;
if(t%2,water(250,350,0,0,5,1),0)
t=t+1;
if(t%2,water(250,375,0,0,5,1),0)
t=t+1;
if(t%2,water(250,340,0,0,5,1),0)
t=t+1;
if(t%2,water(275,200,0,0,5,1),0)
t=t+1;
if(t%2,water(300,200,0,0,5,1),0)
t=t+1;
if(t%2,water(325,200,0,0,5,1),0)
t=t+1;
if(t%2,water(350,200,0,0,5,1),0)
t=t+1;
if(t%2,water(375,200,0,0,5,1),0)
t=t+1;
if(t%2,water(400,200,0,0,5,1),0)
t=t+1;
if(t%2,water(425,200,0,0,5,1),0)
t=t+1;
if(t%2,water(450,200,0,0,5,1),0)
t=t+1;
if(t%2,water(475,200,0,0,5,1),0)
t=t+1;
if(t%2,water(500,200,0,0,5,1),0)
t=t+1;
if(t%2,water(525,200,0,0,5,1),0)
t=t+1;
if(t%2,water(550,200,0,0,5,1),0)
t=t+1;
if(t%2,water(575,200,0,0,5,1),0)
t=t+1;
Destroy
10-01-2007, 02:06 PM
fountain that follows your man but of fire XD
t=t+1;
if(t%2, fire(getBuddyX(),getBuddyY()-300,0,0,2800,0,1600,1600,false),0)
Destroy
10-01-2007, 02:08 PM
Got it off someone but upgrade he spins like atoms now so dont puke from getting dizzy :D
addBuddyRot(100);
Destroy
10-01-2007, 02:12 PM
The worlds fastest spped mabey faster then light and this one can make you puke on seconds so its fun for me and you :D :)
addBuddyRot(9999999999999999);
Destroy
10-01-2007, 02:22 PM
now his head in the wall lol
x=150; length of 'chains';
~~~~~~~~~~;
resetForces();
addConstraint("body", getX("body"), getY("body"), x));
addConstraint("lArm", getX("lArm"), getY("lArm"), x));
addConstraint("rArm", getX("rArm"), getY("rArm"), x));
addConstraint("lLeg", getX("lLeg"), getY("lLeg"), x));
addConstraint("rLeg", getX("rLeg"), getY("rLeg"), x));
addConstraint("head", getX("head"), getY("head"), x));
addConstraint("head",getX ("bowlball"create ("bowlball") getY("bowlball"), x));
Destroy
10-01-2007, 02:48 PM
o and with the fist click on the buddy anywhere and you will grab him now you can throw him or (i think this is better) without letting go slam him aginst a wall :D :D:D:D:D lol
Destroy
10-01-2007, 02:50 PM
o and with max spin its much more funny and with chains to
Destroy
10-01-2007, 02:53 PM
using this electric chair you can beat him up when hes getting the hell chocked out of him (hope he dosent poop his pants or wet himself)lol :O
dont edit me
~~~~~~~~~~~~~~~~~~~~~~~~~;
if(firstRun(), resetForces());
if(firstRun(), setBuddyPos(287, 100));
if(firstRun(), assign(a, create("bowlball", 275, 375, 0, 0)));
if(firstRun(), assign(b, create("bowlball", 275, 360, 0, 0)));
if(firstRun(), assign(c, create("bowlball", 330, 375, 0, 0)));
if(firstRun(), assign(d, create("bowlball", 330, 360, 0, 0)));
if(firstRun(), assign(e, create("bowlball", 330, 345, 0, 0)));
if(firstRun(), assign(f, create("bowlball", 275, 345, 0, 0)));
if(firstRun(), addConstraint(a, getX(a), getY(a), 0));
if(firstRun(), addConstraint(b, getX(b), getY(b), 0));
if(firstRun(), addConstraint(c, getX(c), getY(c), 0));
if(firstRun(), addConstraint(d, getX(d), getY(d), 0));
if(firstRun(), addConstraint(e, getX(e), getY(e), 0));
if(firstRun(), addConstraint(f, getX(f), getY(f), 0));
if(firstRun(), setBuddyPos(287, 360));
if(firstRun(), addConstraint("lArm", 275, 355, 0));
if(firstRun(), addConstraint("rArm", 330, 355, 0));
if(firstRun(), addConstraint("body", 300, 360, 0));
shock(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
AdventZX
10-08-2007, 02:28 PM
Someone make this script so buddy can rotate please ( he is standing in midair right now :P)
resetForces();
addConstraint("lLeg", 275, -100, 300);
I need him to rotate upside-down, like he's hanging from leg.
Molotov Flinger
assign(yChange, (getYMouse()-getBuddyY())/20);
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("molotov", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), explode(getXMouse()+xChange, getYMouse()+yChange, .30));
Personally I dunno how to make scripts I just edit.
This was lightning fist now if you hold the mouse button fireworks appear:
strength=100; lightnig fist pushing power;
spread=20;rate that lightning expands at;
size=50;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
Awesome I know.
Try this:
Water 'splosion:
strength=100; lightnig fist pushing power;
spread=20;rate that lightning expands at;
size=50;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), water(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), water(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), water(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), water(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
Turn on blood and gore and your comp gets choppy but the screen has flakes of red everywhere.
Btw, what is the name for the flail? Mwahahahaha...
Destroy
10-11-2007, 06:34 PM
hey thats just like one of the ones i posted
Destroy
10-11-2007, 06:40 PM
if you need a script tell me by pming me ill try and get it to work
cloud784
10-13-2007, 07:53 AM
I woke up today thinking about how much fun it is to write scripts for IBuddy. And then I thought about how fun it wouldn't be to finish my biology take-home final. I may get to writing a few new ones if I get some inspiration, so keep an eye out for new ones during the long weekend!
Also, I'd like to thank everyone who keeps using this thread and keeping it alove over all this time. I'm having a hard time believing just how long ago I started this thread, and it's still going even when I only log on once or twice every couple of months. When I posted my first scripts thread, the only discussion about scripts was "how do I make them?!?!?!?!", and now seeing them all over the place makes me very very happy.
Yay well heres one (note: this is sort of a new wepon) a gernade or mine launcher han when it explodes bullets come out!
Kjohn
10-13-2007, 10:44 PM
@Destroy: Its called the ####ing edit button!
kingdragonreaper
10-20-2007, 12:10 PM
i changed up some of the scripts you posted here they are
evill baby
if(firstRun(), assign(spirit, create("baby", 200, 100, 0, 0)));
resetForces();
addSpring(spirit, getX(spirit)+randomBet(-15,15)+(getX(spirit)-getX("head"))/-100, getY(spirit)+randomBet(-17.85,15)+(getY(spirit)-getY("head"))/-100, 0.5);
baby meteor
t=t+1;
if(t%80==0, assign(a, create("baby", randomBet(1, 549), 100, 0, 800));
xPos=getX(a);
yPos=getY(a);
fire(xPos, yPos-10, 0, 0, 10, 1);
if(yPos>300, destroy(a));
if(yPos>350, explode(xPos, yPos, 1));
if(yPos>350, create("molotov", xPos, yPos, 0, 0));
new at this just practicing
Destroy
10-21-2007, 03:44 PM
Suicide Body
resetForces();
addConstraint("head", 275, -100, 200);
addBuddyRot(0);
working on one that lets his head stay one but try to put stuff inbetreen his neck and head o and the edit thing that i was contacted about maybe in a different thread i dont know how to turn it off so dont hrt me about it man
Destroy
10-21-2007, 03:49 PM
Stretch
resetForces();
addConstraint("head", 275, -100, 200);
addConstraint("body", 275, 555, 200);
head in air rest on ground what do you know what ever you do to one happens to the other
Destroy
10-21-2007, 03:59 PM
resetForces();
addConstraint("head", 275, -100, 200);
addConstraint("body", 275, 3000, 200);
turn blood gore off sound way down and use this to get a buddy with only a head
Destroy
10-21-2007, 04:19 PM
water(275, 399, 0, -30, 200, .5, 2, 5, false);
water(275, 399, 10, -30, 200, .5, 2, 5, false);
water(275, 399, 20, -30, 200, .5, 2, 5, false);
water(275, 399, -10, -30, 200, .5, 2, 5, false);
water(275, 399, -20, -30, 200, .5, 2, 5, false);
water(275, 399, 30, -30, 200, .5, 2, 5, false);
fountain 6 ways water
same as top but water and fire and shock soon
water(275, 399, 0, -30, 200, .5, 2, 5, false);
water(275, 399, 10, -30, 200, .5, 2, 5, false);
water(275, 399, 20, -30, 200, .5, 2, 5, false);
water(275, 399, -10, -30, 200, .5, 2, 5, false);
water(275, 399, -20, -30, 200, .5, 2, 5, false);
water(275, 399, 30, -30, 200, .5, 2, 5, false);
fire(275, 399, 0, -30, 200, .5, 2, 5, false);
fire(275, 399, 10, -30, 200, .5, 2, 5, false);
fire(275, 399, 20, -30, 200, .5, 2, 5, false);
fire(275, 399, -10, -30, 200, .5, 2, 5, false);
fire(275, 399, -20, -30, 200, .5, 2, 5, false);
fire(275, 399, 30, -30, 200, .5, 2, 5, false);
WARNING: Causes lag and non stop catching on fire
water(275, 399, 0, -30, 200, .5, 2, 5, false);
water(275, 399, 10, -30, 200, .5, 2, 5, false);
water(275, 399, 20, -30, 200, .5, 2, 5, false);
water(275, 399, -10, -30, 200, .5, 2, 5, false);
water(275, 399, -20, -30, 200, .5, 2, 5, false);
water(275, 399, 30, -30, 200, .5, 2, 5, false);
fire(275, 399, 0, -30, 200, .5, 2, 5, false);
fire(275, 399, 10, -30, 200, .5, 2, 5, false);
fire(275, 399, 20, -30, 200, .5, 2, 5, false);
fire(275, 399, -10, -30, 200, .5, 2, 5, false);
fire(275, 399, -20, -30, 200, .5, 2, 5, false);
fire(275, 399, 30, -30, 200, .5, 2, 5, false);
shock(275, 399, 0, -30, 200, .5, 2, 5, false);
shock(275, 399, 10, -30, 200, .5, 2, 5, false);
shock(275, 399, 20, -30, 200, .5, 2, 5, false);
shock(275, 399, -10, -30, 200, .5, 2, 5, false);
shock(275, 399, -20, -30, 200, .5, 2, 5, false);
shock(275, 399, 30, -30, 200, .5, 2, 5, false);
shoc is useless with others on and no mods this is not a spam fourm i just am making lots of scripts
kickyourshass
11-28-2007, 03:04 PM
this shoots fire balls around the screen until they hit your buddy
i=i+1;
if(equal(i%100, 0), destroy(z));
if(equal(i%100, 0), assign(z, create("fireball", 0, 350, 150, -35)));
colt180
11-29-2007, 02:48 PM
t=t+1;
if(1,shock(sin(t*8.10)*125+275,cos(t*8.10)*100+200 ,0,0,140,.075,2,2,false),0)
if(2,shock(sin(t*7.20)*125+275,cos(t*7.20)*100+200 ,0,0,140,.075,2,2,false),0)
if(3,shock(sin(t*6.30)*125+275,cos(t*6.30)*100+200 ,0,0,140,.075,2,2,false),0)
if(4,shock(sin(t*5.40)*125+275,cos(t*5.40)*100+200 ,0,0,140,.075,2,2,false),0)
if(5,shock(sin(t*4.50)*125+275,cos(t*4.50)*100+200 ,0,0,140,.075,2,2,false),0)
if(6,shock(sin(t*3.60)*125+275,cos(t*3.60)*100+200 ,0,0,140,.075,2,2,false),0)
if(7,shock(sin(t*2.70)*125+275,cos(t*2.70)*100+200 ,0,0,140,.075,2,2,false),0)
if(8,shock(sin(t*1.80)*125+275,cos(t*1.80)*100+200 ,0,0,140,.075,2,2,false),0);
if(getMouseDown(),if(1,shock(sin(t*11)*125+275,cos (t*8.10)*100+200,0,0,140,.075,2,2,false),0)
if(2,shock(sin(t*7.20)*125+275,cos(t*2)*100+200,0, 0,140,.075,2,2,false),0)
if(3,shock(sin(t*6.30)*125+275,cos(t*3)*100+200,0, 0,140,.075,2,2,false),0)
if(4,shock(sin(t*5.40)*125+275,cos(t*4)*100+200,0, 0,140,.075,2,2,false),0)
if(5,shock(sin(t*4.50)*125+275,cos(t*5)*100+200,0, 0,140,.075,2,2,false),0)
if(6,shock(sin(t*3.60)*125+275,cos(t*6)*100+200,0, 0,140,.075,2,2,false),0)
if(7,shock(sin(t*2.70)*125+275,cos(t*7)*100+200,0, 0,140,.075,2,2,false),0)
if(8,shock(sin(t*1.80)*125+275,cos(t*8)*100+200,0, 0,140,.075,2,2,false),0);)
run in all frames and click to make something cool happen
try putting a gravity vortex in the center:D :D :D :D lol
colt180
11-29-2007, 03:23 PM
t=t+1;
if(10,water(sin(t*.75)*125+275,cos(t*1.00)*100+200 ,0,0,140,.075,3,2,false),0)
if(5,water(sin(t*.80)*125+275,cos(t*.90)*100+200,0 ,0,140,.075,3,2,false),0)
if(10,shock(sin(t*.5)*125+275,cos(t*.25)*100+200,0 ,0,140,.075,1,2,false),0)
if(5,shock(sin(t*.10)*125+275,cos(t*.15)*100+200,0 ,0,140,.075,2,2,false),0)
if(10,shock(sin(t*.15)*125+275,cos(t*.25)*100+200, 0,0,140,.075,3,2,false),0)
if(5,shock(sin(t*.20)*125+275,cos(t*.15)*100+200,0 ,0,140,.075,3,2,false),0)
if(5,shock(sin(t*.40)*125+275,cos(t*.40)*100+200,0 ,0,140,.075,3,2,false),0)
if(10,shock(sin(t*.45)*125+275,cos(t*.75)*100+200, 0,0,140,.075,1,2,false),0)
if(5,shock(sin(t*.50)*125+275,cos(t*.65)*100+200,0 ,0,140,.075,2,2,false),0)
if(10,shock(sin(t*.55)*125+275,cos(t*.75)*100+200, 0,0,140,.075,3,2,false),0)
if(5,shock(sin(t*.60)*125+275,cos(t*.65)*100+200,0 ,0,140,.075,3,2,false),0)
if(10,shock(sin(t*.65)*125+275,cos(t*1.00)*100+200 ,0,0,140,.075,1,2,false),0)
if(5,shock(sin(t*.70)*125+275,cos(t*.90)*100+200,0 ,0,140,.075,2,2,false),0)
if(10,shock(sin(t*.75)*125+275,cos(t*1.00)*100+200 ,0,0,140,.075,3,2,false),0)
if(5,shock(sin(t*.80)*125+275,cos(t*.90)*100+200,0 ,0,140,.075,3,2,false),0)
run with all frames on.
very awesome. makes lightning field and water falls from it!:D :D :D
colt180
12-04-2007, 01:33 PM
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*100+rr)*15,n/t*400)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*200+rr)*15,n/t*300)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*300+rr)*15,n/t*200)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*100+rr)*15,n/t*400)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*200+rr)*15,n/t*300)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*300+rr)*15,n/t*200)+assign(n,n+1)
,0);
oMouse = getMouseDown();
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*100+rr)*15,n/t*400)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*200+rr)*15,n/t*300)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*300+rr)*15,n/t*200)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*100+rr)*15,n/t*400)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*200+rr)*15,n/t*300)+assign(n,n+1)
,0);
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*300+rr)*15,n/t*200)+assign(n,n+1)
,0);
oMouse = getMouseDown();
if(getMouseDown(),explode(getBuddyX(),getBuddyY(), assign(run,"notyet"))
it makes a small splash of water but i can't find the problem in the script!:confused: :confused: :confused: :confused: :confused:
Theflamescripter
12-04-2007, 06:40 PM
fire(getBuddyX(), 400, 0, -10, 10, 5, 3, 10, false);
gll50
01-01-2008, 03:53 PM
I have an edited one!
--------------------------------------------------------------------------
resetForces();
addConstraint("head", 275, -100, 200);
addConstraint("body", 275, 99999, 200);
--------------------------------------------------------------------------
*tip: Only use this if u have a very good computer or u will freeze interactive buddy and u have to reset it...*
gll50
01-01-2008, 03:54 PM
here is one!
--------------------------------------------------------------------------
resetForces();
addConstraint("head", 275, -100, 200);
addConstraint("body", 275, 9999, 200);
gll50
01-01-2008, 03:55 PM
Sorry about double... triple posting...
cloud784
01-01-2008, 05:28 PM
Well Mr Goodbar never worked on my requestd script but w/e i have a better One :o:o:o:o:o:o:o:o:o:o:o:o:o:o:o. Well in some cases he may stay in place but he may not but it still works :D. Here we go:
Death ray: name speaks for self? Well basicly bullets fall in a "Ray" Ok
bullet(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);
bullet(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);
bullet(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);
bullet(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)bullet(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);
bullet(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);
bullet(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);
bullet(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)bullet(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);
bullet(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);
bullet(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);
bullet(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)bullet(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);
bullet(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);
bullet(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);
bullet(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)bullet(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);
bullet(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);
bullet(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);
bullet(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)bullet(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);
bullet(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);
bullet(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);
bullet(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)bullet(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);
bullet(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);
bullet(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);
bullet(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)bullet(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);
bullet(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);
bullet(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);
bullet(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)
x=150; length of 'chains';
addConstraint("body", getX("body"), getY("body"), x));
addConstraint("lArm", getX("lArm"), getY("lArm"), x));
addConstraint("rArm", getX("rArm"), getY("rArm"), x));
addConstraint("lLeg", getX("lLeg"), getY("lLeg"), x));
addConstraint("rLeg", getX("rLeg"), getY("rLeg"), x));
addConstraint("head", getX("head"), getY("head"), x));Ok well if you WANT him to move just remove the bottom part. Sorry mrgoodbar for using your constraint \= But it's worth it for a good script..
EDIT: umm here another bullet script i made better than last one and less lagg
t=t+1;
if(t%2,bullet(20,200,200,140,100),0);
t=t+1;
if(t%2,bullet(45,200,200,140,100),0);
t=t+1;
if(t%2,bullet(60,200,200,140,100),0);
t=t+1;
if(t%2,bullet(85,200,200,140,100),0);
t=t+1;
if(t%2,bullet(110,200,200,140,100),0);
t=t+1;
if(t%2,bullet(135,200,200,140,100),0);
t=t+1;
if(t%2,bullet(160,200,200,140,100),0);
t=t+1;
if(t%2,bullet(185,200,200,140,100),0);
supensaa
01-14-2008, 09:55 PM
(file:///C:/Documents%20and%20Settings/Owner/My%20Documents/My%20Pictures/checks.bmp)
rip an' script
02-17-2008, 12:08 AM
here is one i made out of these parts
i=i+1;
say("Don't tase me bro!", 100);
if(equal(i%17, 0), addBuddyVel(randomBet(-1*100, 100), randomBet(-1*100, 100)));
shock(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
waggles v2
02-17-2008, 03:34 AM
The bullet script is fantastic
Woo 1400th post!
adapuff
02-17-2008, 04:14 AM
Wow, this thread has turned to a garbage dump filled with countless double posts and a 13uple post. Way to go, Destroy. You've REALLY done it now.
*sigh* I hope this thread gets better/dies..
urban gaurd
02-17-2008, 08:26 PM
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,1000)+
loop(t,shock(getXMouse()+sin(n/t*100+rr)*200,n/t*400)+assign(n,n+1)
,0);
oMouse = getMouseDown()
USE THIS SCRIPT, IT LAGS AT FIRST BUT IS AWSOME!
I CALL IT THE ZEUS CANNON:D
jermz60
02-17-2008, 10:58 PM
how about a machine gun rpg?
or a gernade that on explosion, shoots out bullets like a spiker gernade?
completely different but:
i have this:
lightningClick:
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*10+rr)*15,n/t*400)+assign(n,n+1)
,0);
oMouse = getMouseDown()
and this
rain:
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
can we combine the 2 and make the lightning come down randomly instead of clicking?
(props to Shock Value for lighting)
(props to Mr. Goodbar for rain)
brianbrian25
02-18-2008, 05:48 PM
I need to try some of these.
urban gaurd
02-22-2008, 02:25 PM
Lighting meteors
To use this script, you must have physics on 10 items, and high accuracy.
xPos=getX(a);
yPos=getY(a);
shock(xPos, yPos-10, 0, 0, 10, 1);
if(yPos>400, destroy(a));
if(yPos>400, explode(xPos, yPos, .5));
if(yPos>300, create("bowlball", xPos, yPos, 0, 0));
verticalGrav=0; high number means high gravity
~~~~~~~~~~;
addBuddyVel(0, verticalGrav-1);
The above script is a combo of scripts created by Mr.Goodbar
:D
YoureANubcake
02-22-2008, 10:01 PM
Those be fun codes.
MessiahComplex
02-24-2008, 10:37 PM
Is there a way to make the buddy say more than one thing, like the other skins?
TheServer
02-25-2008, 01:29 PM
I like the codes
killersqid
02-26-2008, 03:31 PM
try this on for size it makes babies appear everywhere and on my computer has very little lag
assign(yChange, (getYMouse()-getBuddyY())/20);
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("baby", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(),explosion(getXMouse()+xChange, getYMouse()+yChange, strength=.25));
I call this apocalypse it rains fire and water
t=t+1;
if(t%2,water(sin(t*.075)*125+275,cos(t*.052)*100+2 00,0,0,140,.075,2,2,false),0)
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
fire(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
baby gun and thats all i can say about it
assign(yChange, (getYMouse()-getBuddyY())/20);
assign(xChange, (getXMouse()-getBuddyX())/20);
if(getMouseDown(), create("baby", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), explode(getXMouse()+xChange, getYMouse()+yChange, strength=.25));
shockwalls
gx = getBuddyX();
test = gx>510||gx<40;
if(test,shock(gx+random()-.5,getBuddyY(),.15),0)
exploding walls
gx = getBuddyX();
test = gx>510||gx<40;
if(test,explode(gx+random()-.5,getBuddyY(),.15),0)
snowy1
03-05-2008, 06:20 PM
i tried for a explosion first try it made sound and gives unlimited money!!!!!!! just refresh the page after u do it
explode(1.0power) very short
u can buy anything u ever wanted you'll thank me big time.:o
snowy1
03-05-2008, 06:49 PM
i dont get the saying thing plz tell me
morerunes
03-06-2008, 10:33 AM
Tri-Force Buddy: Makes buddy spin really fast and gravity won't effect him. Make sure to have it run every frame.
Tri-Force Buddy:
addBuddyVel (0, -1.001);
setBuddyRot(getBuddyRot()+2);
Buddy goes insane: slaps his head on the floor repeatedly
setBuddyRot(getBuddyRot()+45);
addBuddyVel(0, 90);
same as last time, but float this time.
setBuddyRot(getBuddyRot()+randomBet(-2,2));
setBuddyVel(randomBet(-2,2), randomBet(-40,38));
Floating head, spinning body
resetForces();
(addConstraint("head",260,200,5));
addBuddyVel(0,4);
setBuddyRot(getBuddyRot()+1);
Buddy's body parts teleport to random spots, looks like his body parts were ripped off XD
resetForces();
(addConstraint("head",randomBet(1,500),randomBet(1,800),1));
(addConstraint("body",randomBet(1,500),randomBet(1,800),1));
(addConstraint("rArm",randomBet(1,500),randomBet(1,800),1));
(addConstraint("lArm",randomBet(1,500),randomBet(1,800),1));
(addConstraint("lLeg",randomBet(1,500),randomBet(1,800),1));
(addConstraint("rLeg",randomBet(1,500),randomBet(1,800),1));
Buddy... I can't really explain it...
resetForces();
addConstraint("rLeg",100,100,50);
addConstraint("lLeg",400,100,50);
addConstraint("rArm",100,300,50);
addConstraint("lArm",400,300,50);
addConstraint("head",250,200,50);
addConstraint("body",250,200,50);
addBuddyRot(3);
Ball Drop Buddy: Head goes down slowly then up slowly constantly
if(firstRun(), h = 40);
if(h >= getBuddyY()-55, y = -2);
if(h == 40, y = 2);
h = h+y;
resetForces();
addConstraint("head",getBuddyX(),h,1);
addBuddyVel(0,1);
Head Cursor: Head follows your cursor.
resetForces();
addConstraint("head",getXMouse(),getYMouse(),1);
addBuddyVel(0,1);
geranium_minimum
03-27-2008, 05:40 AM
setBuddyPos(250,250)
addBuddyRot(15)
->Causes buddy to spin. While he's spinning, I can somehow control his body's movement by the stun gun. When I move it up on the part where the head, arms and feet are, the body moves in the opposite direction. When I'm not using the stun gun, the body moves down until it hits the floor. Doesn't lag on me. I don't know if it works, or it doesn't lag on your computers, so I'm not sure.
laserus armagedon
03-28-2008, 09:05 PM
This is every possible fire hazard, looks cool, tones of cash and makes buddy sad quickly, make sure it runs every frame with realistic pyrotechnics
Copy and Paste this
fire(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
new info from a new user
:cheezy:
tnum=floor(random()*8);
randomexpo=floor(random()*4);
if(tnum==1,if(randomexpo==1,create("mine",random()*500,0,0,0),if(randomexpo==2,create("grenade",random()*500,0,0,0),create("molotov",random()*500,0,0,0))),0);
gx = getBuddyX();
test = gx>510||gx<40;
if(test,explode(gx+random()-.5,getBuddyY(),.15),0)
tnum=floor(random()*10);
if(tnum==9,create("molotov",random()*500,500,0,0), 0);
fire(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
create("fireball",getBuddyX()+(random()-0.5)*130,getBuddyY()+(random()-0.5)*130,(random()-0.5)*30,(random()-0.5)*30;
create("fireball",250,200,0,0)
create("fireball",200,200,0,0)
create("fireball",100,200,0,0)
create("fireball",20,200,0,0,)
create("fireball",300,200,0,0)
create("fireball",400,200,0,0)
create("fireball",500,200,0,0)
i=i+1;
if(equal(i%25, 0), addBuddyVel(randomBet(-100, 100), randomBet(-100, 100)));
~~~~~~~~~~~~~~~~;
if(getMouseDown(), create("molotov", getXMouse(), getYMouse(), 0, 0));
~~~~~~~~~~~~~~~~~~~~~~~~~;
if(firstRun(), resetForces());
if(firstRun(), setBuddyPos(287, 100));
if(firstRun(), assign(a, create("bowlball", 275, 375, 0, 0)));
if(firstRun(), assign(b, create("bowlball", 275, 360, 0, 0)));
if(firstRun(), assign(c, create("bowlball", 330, 375, 0, 0)));
if(firstRun(), assign(d, create("bowlball", 330, 360, 0, 0)));
if(firstRun(), assign(e, create("bowlball", 330, 345, 0, 0)));
if(firstRun(), assign(f, create("bowlball", 275, 345, 0, 0)));
if(firstRun(), addConstraint(a, getX(a), getY(a), 0));
if(firstRun(), addConstraint(b, getX(b), getY(b), 0));
if(firstRun(), addConstraint(c, getX(c), getY(c), 0));
if(firstRun(), addConstraint(d, getX(d), getY(d), 0));
if(firstRun(), addConstraint(e, getX(e), getY(e), 0));
if(firstRun(), addConstraint(f, getX(f), getY(f), 0));
if(firstRun(), setBuddyPos(287, 360));
if(firstRun(), addConstraint("lArm", 275, 355, 0));
if(firstRun(), addConstraint("rArm", 330, 355, 0));
if(firstRun(), addConstraint("body", 300, 360, 0));
shock(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
dudeguy98
04-09-2008, 06:29 AM
Can someone tell me how to work this thing? Or where to help me w/ them? Also, could they make a baseball with fire on it.
sares
04-09-2008, 07:43 AM
how about a script that makes him spin around?
sares
04-09-2008, 08:12 AM
How about:
on("mine" delete), create("molotov"), 0, 0;
DO NOT do this if you have Flash Flayer 9, I did and it messed up the game.
he's right. I have flash 9 too and it freezes up the game
sares
04-09-2008, 08:15 AM
could sum1 make a code that sets your buudys happiness to a certain lvl. I want to make my buddy happy again after the "Armogedan 666 ultimate kill script" by laserus armagedon.
ixifire
04-18-2008, 04:31 PM
Babys on a string code. (edited from radio on a string code)
xx=100;
if(firstRun(),
loop(4,
assign(bb,addConstraint(create("radio",xx,200,0,0) ,xx,200,75))+
assign(xx,xx+25)+
noAutoDelete(bb)
),
0)
Yipe
guitarhero504
04-21-2008, 01:11 PM
:confused: :confused: I went on interactive buddy and I had this money ammount : Nan.Nan . Any clue what that means? I bought every weapon and It waws still the same. :o
p.s. I used explode at mouse and the whole screen went white . With the realistic pyrotechnics ( sp?) on it looked like this : but amazingly there was no lag . ( Sorry for huge pic )http://www.trex2003.de/gallerie/photos/explosion.jpg
lazyguy
04-22-2008, 02:42 PM
Babys on a string code. (edited from radio on a string code)
xx=100;
if(firstRun(),
loop(4,
assign(bb,addConstraint(create("radio",xx,200,0,0) ,xx,200,75))+
assign(xx,xx+25)+
noAutoDelete(bb)
),
0)
Yipe
That's the same code.
palokingftw
05-03-2008, 08:20 PM
Hey, Mr.Goodbar, could you check this out? I am a completly new to this javascript and need your help. I'm trying to make a pyrocannon (yes, it's just like your hydrocannon but with fire) but it won't work. Obviously because I don't know one freakin' thing about this, but can you tell me what I should add/change/get rid of? I thought it would be simple but it's as hard as heck. Well, hello newb world.
strength=50; flame's pushing power;
spread=10;rate that flame expands at;
size=10;size of flame;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), flame(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
Nothing happens (as expected) when I click run every frame.
--------------------------------------------
i found one try this(i already changed size spread and stuff
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength=50, spread=10, size=20, false));
fastfuriousfinch
05-07-2008, 05:41 AM
strength=50; fire's pushing power;
spread=10;rate that fire expands at;
size=10;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
this might slow down the game but it's a good way to make money
Veggieman96
05-19-2008, 07:25 PM
*RANDOM BABIES*
t=t+1;
if(bnot(t%4),create("baby",50+random()
*10,getBuddyY()+random()*20-10,50,-3-getBuddyX()*.01),0)
-----------------------------------------------------------------
*FLAMIN BABIES*
t=t+1;
if(bnot(t%4),create
("baby",50+random()*10,getBuddyY()+random
()*20-10,50,-3-getBuddyX()*.01),0)
t=t+1;
if(bnot(t%4),create("fireball",50+random()*10,getBuddyY
()+random()*20-10,50,-3-getBuddyX()*.01),0)
-----------------------------------------------------------------
*SPINNING BUDDY*
addBuddyRot(sign(getXV("body"))*200)
-----------------------------------------------------------------
*BIGGER BOOM*
t=t+1;
if(bnot(t%4),explode(50+random()*10,50+random(),1. 2)
-----------------------------------------------------------------
`veggieman's SCRIPTS
If You Have Script Requests Email me at veggieman96@yahoo.com:)
Mason
05-19-2008, 11:37 PM
Why'd you bump this? Read the rules.
smilyguy
05-20-2008, 05:19 AM
Again, cool pics of a big daddy.
He bumped this?
Mason
05-20-2008, 07:51 PM
Again, cool pics of a big daddy.
He bumped this?
Yes. They're supposed to read the date of the post.
Blastedt
05-21-2008, 04:18 PM
This thread is ####ing years old. They're never going to stop bumping it. Live with it.
WolfyPoisony
05-30-2008, 04:01 PM
Put run every frame and run. Money just gets higher and higher.
addBuddyVel((3400-getBuddyX())*.99999999999999999999999999,(9999-getBuddyY())*.075)
JoelKevin
07-04-2008, 11:26 PM
Me and a friend made what we call "The apocalypse code" which uses several codes to create an ultimate attack.
The Apocalypse Code is posted below.
t=t+1;
if(t%2, bullet(getBuddyX(),getBuddyY()-300,0,0,2800,0,1600,1600,false),0)
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), create("fireball", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), create("mine", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), create("grenade", getXMouse(), getYMouse(), 0, 0));
t=t+1;
if(t%2, bullet(getBuddyX(),getBuddyY()-300,0,0,2800,0,1600,1600,false),0)
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), create("fireball", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), create("mine", getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), create("grenade", getXMouse(), getYMouse(), 0, 0));
i=i+1;
if(i%250==0, assign(z, create("grenade", 0, 350, 2000, 10*-1)));
if(abs(getX(z)-getBuddyX())<50&&abs(getY(z)-getBuddyY())<50, explode(getX(z), getY(z), 1));
if(abs(getX(z)-getBuddyX())<50&&abs(getY(z)-getBuddyY())<50, destroy(z));
t=t+1;
if(t%2,fire(sin(t*.075)*125+275,cos(t*.052)*100+20 0,0,0,140,.075,2,2,false),0)
if(getMouseDown() && bnot(oMouse),
say("Im gonna #### all over your lap",100)+
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*10+rr)*15,n/t*400)+assign(n,n+1)
,0);
oMouse = getMouseDown()
fire(275, 399, 0, -30, 200, .5, 2, 5, flase)
dont edit me
~~~~~~~~~~~~~~~~~~~~~~~~~;
if(firstRun(), resetForces());
if(firstRun(), setBuddyPos(287, 100));
if(firstRun(), assign(a, create("bowlball", 275, 375, 0, 0)));
if(firstRun(), assign(b, create("bowlball", 275, 360, 0, 0)));
if(firstRun(), assign(c, create("bowlball", 330, 375, 0, 0)));
if(firstRun(), assign(d, create("bowlball", 330, 360, 0, 0)));
if(firstRun(), assign(e, create("bowlball", 330, 345, 0, 0)));
if(firstRun(), assign(f, create("bowlball", 275, 345, 0, 0)));
if(firstRun(), addConstraint(a, getX(a), getY(a), 0));
if(firstRun(), addConstraint(b, getX(b), getY(b), 0));
if(firstRun(), addConstraint(c, getX(c), getY(c), 0));
if(firstRun(), addConstraint(d, getX(d), getY(d), 0));
if(firstRun(), addConstraint(e, getX(e), getY(e), 0));
if(firstRun(), addConstraint(f, getX(f), getY(f), 0));
if(firstRun(), setBuddyPos(287, 360));
if(firstRun(), addConstraint("lArm", 275, 355, 0));
if(firstRun(), addConstraint("rArm", 330, 355, 0));
if(firstRun(), addConstraint("body", 300, 360, 0));
shock(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*10+rr)*15,n/t*400)+assign(n,n+1)
,0);
oMouse = getMouseDown()
Have fun! Also, this code will make you VERY RICH if you need money.
buddy_is_evil
07-15-2008, 01:28 PM
Death from above
t=t+1;
if(t%2,bullet(sin(t*.400)*125+275,cos(t*.100)*100+ 2 00,0,0,140,.075,2,2,false),0);
if(t%2,shock(sin(t*.270)*180+240,cos(t*.40)*150+30 0,0,0,200,.048,3,9,false),0);
if(t%2,shock(sin(t*.190)*285+185,cos(t*.70)*200+10 0,0,0,210,.089,4,3,false),0);
if(t%2,shock(sin(t*.280)*300+50,cos(t*.200)*150+30 0,0,0,159,.0140,2,5,false),0);
if(t%2,fire(sin(t*.318)*240+80,cos(t*.89)*240+20, 0,0,110,.050,1,8,false),0);
if(t%2,fire(sin(t*.572)*367+29,cos(t*.60)*20+280, 0,0,372,.028,9,6,false),0);
if(t%2,fire(sin(t*.300)*200+178,cos(t*.100)*374+2 30,0,0,147,.070,3,5,false),0);
buddy_is_evil
07-15-2008, 01:30 PM
activate blood and gore on this one
strength=9000; bullet's pushing power;
spread=9000;rate that bullet expands at;
size=9000;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), bullet(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
radamein
10-12-2008, 05:45 PM
i have a somewhat resonable request make it so that in this code
if(firstRun(), addConstraint("body", 275, 350, 10));
if(firstRun(), addConstraint("head", 275, 300, 0));
if(firstRun(), addConstraint("rArm", 325, 325, 0));
if(firstRun(), addConstraint("lArm", 225, 325, 0));
if(firstRun(), addConstraint("rLeg", 325, 390, 0));
if(firstRun(), addConstraint("lLeg", 225, 390, 0));
there are lines so that it looks kinda like he was in a dugon or in saw 3 the classroom trap
latri
10-13-2008, 11:17 AM
try this one i call it crazy spin
addBuddyRot(52)
Chives101
11-02-2008, 09:09 AM
move the buddy all the way over to the left of the screen
i=i+1;
if(equal(i%1, 0), destroy(z));
if(equal(i%1, 0), assign(z, create("baseball", 0, 350, 87, -3)));
Fast money
is there a script where it will knock out buddy with a bowling ball then zap him awake?
Jdudly
11-08-2008, 08:30 AM
i think that you have some good scripts but have a look at this one:D
f(firstRun(), explode(getBuddyX(), 400, 5000));
Chomp46
11-20-2008, 09:27 PM
yea i think i have gotten just the right numbers to make the most efficient baseball toss you can make. the rearranged nubers come out to...
delay=5; amount of time between tosses;
xv=60; horizontal speed of baseballs;
yv=15; vertical speed of baseballs;
~~~~~~~~~~;
i=i+1;
if(i%delay==0, destroy(z));
if(i%delay==0, assign(z, create("baseball", 0, 350, xv, yv*-1)));
xTAxJOKERx
12-23-2008, 05:06 PM
Is your "buddy" just getting in the way? Well put this in the scripting engine:
y=0;
x=-5;
addBuddyVel(0, -5);
I call it, "Nuesence Be-Gone".
xTAxJOKERx
12-23-2008, 05:07 PM
P.S. (sorry for double-posting) Make sure open ceiling is off.
And run it every frame.
xTAxJOKERx
12-23-2008, 05:12 PM
yea i think i have gotten just the right numbers to make the most efficient baseball toss you can make. The rearranged nubers come out to...
Delay=5; amount of time between tosses;
xv=60; horizontal speed of baseballs;
yv=15; vertical speed of baseballs;
~~~~~~~~~~;
i=i+1;
if(i%delay==0, destroy(z));
if(i%delay==0, assign(z, create("baseball", 0, 350, xv, yv*-1)));
man!! Thanks so much!!! That is so useful!!!:d:d:d
xTAxJOKERx
12-23-2008, 05:14 PM
yea i think i have gotten just the right numbers to make the most efficient baseball toss you can make. the rearranged nubers come out to...
delay=5; amount of time between tosses;
xv=60; horizontal speed of baseballs;
yv=15; vertical speed of baseballs;
~~~~~~~~~~;
i=i+1;
if(i%delay==0, destroy(z));
if(i%delay==0, assign(z, create("baseball", 0, 350, xv, yv*-1)));
For creating the most upset buddy of all, change baseball to grenade! or molotov.:)
xTAxJOKERx
12-23-2008, 05:16 PM
Wait, he still is happy w/ genades.
Try taking off the destroy feature.
xTAxJOKERx
12-23-2008, 06:02 PM
how about a machine gun rpg?
or a gernade that on explosion, shoots out bullets like a spiker gernade?
completely different but:
i have this:
lightningClick:
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n/t*10+rr)*15,n/t*400)+assign(n,n+1)
,0);
oMouse = getMouseDown()
and this
rain:
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
water(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
can we combine the 2 and make the lightning come down randomly instead of clicking?
(props to Shock Value for lighting)
(props to Mr. Goodbar for rain)
For making a storm of bullets from the sky:
bullet(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
bullet(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
bullet(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
bullet(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
bullet(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
Also, for what I like to call "Fire Storm":
fire(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
fire(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
fire(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
fire(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
fire(round(randomBet(10, 540)), 10, 0, 60, 10, 3, 3, false);
Have Fun!
P.S.(sorry for all the posts)
PjIndustries
02-03-2009, 04:20 PM
if(getMouseDown() && bnot(oMouse),
explode( getXMouse(),getYMouse(),20.0)
oMouse = getMouseDown()
This is a nuke script. it gives u a LOT of money every time you click. I have gotten up 20 $10,000 with it. U can change the power of the 20.0 to whatever u want NOTE: 1.0 is a normal explosion)
PjIndustries
02-03-2009, 04:23 PM
i think that you have some good scripts but have a look at this one:D
f(firstRun(), explode(getBuddyX(), 400, 5000));
Sorry, I didn't see this when I posted my nuke script
MasterJoseph
02-09-2009, 08:24 PM
separated codes with -----------
strength=50; water's pushing power;
spread=10;rate that water expands at;
size=10;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false))
-----------------------------------------------------------------
strength=50; water's pushing power;
spread=10;rate that water expands at;
size=10;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
-------------------------------------------------------------------------------------
strength=50; water's pushing power;
spread=10;rate that water expands at;
size=10;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), explode(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
Pimpio
02-09-2009, 11:31 PM
Oo nice.
maxxgarris3
02-21-2009, 03:32 PM
hears one hang your buddy
addBuddyVel((295-getBuddyX())*.095,(200-getBuddyY())*.075)
if(firstRun(), resetForces());
if(firstRun(), setBuddyPos(287, 100));
if(firstRun(), setBuddyPos(287, 360));
if(firstRun(), addConstraint("head", 300, 100, 0));
if(firstRun(), addConstraint("rArm", 300, -10, 0));
if(firstRun(), addConstraint("lArm", 300, -10, 0));
x=100; length of 'chains';
~~~~~~~~~~;
addConstraint("head", getX("head"), gety("lArm"), x));
maxxgarris3
02-21-2009, 04:22 PM
Go into scripting engine then go into ex-throwableball. Go to wher it says assign(bb, create("bowlball",50,50,0,0))+ replace create with explode. hit run every frame. it should freeze your buddy. refresh page. When it comes back you should have unlimited money.
The_Pro
02-21-2009, 06:08 PM
question:how do i use them anyway?
Maxxgarris3,dont double post
maxxgarris3
02-21-2009, 10:54 PM
go into Scripting Engine Access and enter it run every frame.
Govenator
02-26-2009, 01:19 AM
These are awesome!
Maxrules94
02-26-2009, 06:31 AM
Cheats, wow. >_>
harlanxd
03-02-2009, 01:35 PM
i know how to mix them all up so they all go at once, ive got fountain, drench, electric chair and im gonna put insane thing in!!!:D
maxxgarris3
03-07-2009, 04:52 PM
sweat name maxrules94
hears a good scripting engen script.
if(firstRun(), addConstraint("head", 999999999, 999999, 0));
Ronsu14
03-14-2009, 04:24 AM
my best script is Fire Tornado.:D
strength=99; fire's pushing power;
spread=10;rate that fire expands at;
size=1;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
Kiefja
03-30-2009, 01:03 AM
This may seem stupid, But I want to create some Interactive Buddy stories with the scripts. (NOTE: This is NOT a actual script, just a Idea for a script. Also, Blood and Gore would be on.) It's Impossible, But still....
Box=Text in upper-right hand corner
Bubble= Buddy's Text Bubble
SETTING: D-Day
Pvt. S. Walker, Paratrooper, American
D-DAY
(Buddy falls out of open Celing, Quickly takes cover behind a baby. The nazis in front of him are shooting at him, but arent hitting him.)
Bubble: Those Nazis are gonna Vaporize us!
(Throws Molotov coketail to left of screen)
(Buddy gets shot in foot with Pistol By Nazi)
Bubble:****, that hurt! Let's Blow their heads off!
(Throws Grenade to left of screen, shooting stops)
Bubble: Now thats more like it!
To Be Continued...
Yes, it is a stupid idea...But it would be sooo awesome.
Just a thought.
By the way, i here about all these quick make easy $ cheats. but just out of curiousity, how much $ do u have?
fattychef
04-03-2009, 12:42 PM
:)Buddy Constantly gets exploded where ever he is:D:D:o
gx = getBuddyX();
test = gx>1||gx<40;
if(test,explode(gx+random()-.5,getBuddyY(),.1),0)
fattychef
04-03-2009, 12:44 PM
Super Explode:)
gx = getBuddyX();
test = gx>1||gx<40;
if(test,explode(gx+random()-.5,getBuddyY(),.1),0)
ichiguy3704
04-06-2009, 09:27 AM
heres the script:
if(getMouseDown() && bnot (oMouse),
water(getXMouse() ,getYMouse() ,getXMouse()Velocity ,getYMouse()Velocity ,5 ,500 ,500 ,500,dissapearOnContact)
make sure to run every frame.
ichiguy3704
04-06-2009, 09:31 AM
here's a fire cannon script, kinda like fire tornado:
if(getMouseDown() && bnot (oMouse),
fire(getXMouse() ,getYMouse() ,getXMouse()Velocity ,getYMouse()Velocity ,5 ,50.0 ,dissapearOnContact)
anywhere you click, a huge fire thing hits..... after u use this, use hydro cannon
SnoKone
04-10-2009, 03:27 PM
Mega nuke:
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), explode(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
ERROR 404
04-10-2009, 10:54 PM
^^ That was gay all it did was a white screen get a life go die you suck at making scripts and I hope Nicole KICKS YOUR ASS.
Have a nice day! ;)
SnoKone
04-18-2009, 04:09 PM
dude she got over it... i apologized and now we are cool. i still try to maintain a "30 ft distance" policy just in case.
Doomsdave
04-21-2009, 11:16 AM
i have also made a script... its quite funny. i call it 'dont touch the floor' her is the code:
delay=3; amount of time between tosses;
xv=10000; horizontal speed of baseballs;
yv=1; vertical speed of baseballs;
~~~~~~~~~~;
i=i+1;
if(i%delay==0, destroy(z));
if(i%delay==0, assign(z, create("bouncyball", 0, 350, xv, yv*-1)));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enjoy! :D
Doomsdave
04-21-2009, 11:39 AM
Also try bowling ball havoc:
delay=4; amount of time between tosses;
xv=10000; horizontal speed of baseballs;
yv=1; vertical speed of baseballs;
~~~~~~~~~~;
i=i+1;
if(i%delay==0, destroy(z));
if(i%delay==0, assign(z, create("bowlball", 0, 350, xv, yv*-1)));
buddy123
04-22-2009, 10:27 AM
this will make stuff rain down and u can change wat comes down by changing the bowlball into babys or something have fun
tnum=floor(random()*8);
if(tnum==1,create("bowlball",random()*500,0,0,0),0);
buddy123
04-22-2009, 10:33 AM
if(getMouseDown(),
bullet(getXMouse(),getYMouse(),-getXMouse()/10+25,0,20,))
hahahahahehehehehehe it sends a stream of bullets that just bounce around till they hit ur buddy u have to try and when u do hold down the mouse
buddy123
04-22-2009, 01:05 PM
I promised more scripts: here they are.
GhostlyGunner: Makes Bullets Appear out of no where.\
t=t+1;
if(t%2,bullet(sin(t*.075)*125+275,cos(t*.052)*100+ 200,0,0,140,.075,2,2,false),0)
BaseSnake: Makes a stream of baseballs attack your buddy when you hold down the mouse, making him ecstatic.
if(getMouseDown(), create("baseball", getBuddyX(), getBuddyY(), 0, 0));
Radio-on-a-Rope: Makes A Radio Appear, Hanging in the Air.
xx=100;
if(firstRun(),
loop(4,
assign(bb,addConstraint(create("radio",xx,200,0,0),xx,200,75))+
assign(xx,xx+25)+
noAutoDelete(bb)
),
0)
Explosive, Electric, Water: Weird Effect when your buddy hits a wall. This is likely to make your game freeze, so prepare to press "refresh".
gx = getBuddyX();
test = gx>510||gx<40;
if(test,explode(gx+random()-.5,getBuddyY(),.15),0)+
if(test,shock(gx+random()-.5,getBuddyY(),.15),0)+
if(test,water(gx+random()-.5,getBuddyY(),.15),0);
Deranged-manaUser-guess: Funny version of ex-manaUser-guess.
if(firstRun(),
assign(MaxGuess, 13)+
assign(Answer, 0)+
assign(Min, 1)+
assign(Max, 100)+
assign(Mode, 0)+
assign(Guess, 0)+
assign(GuessNum, 0)+
assign(Prize, 0)+
assign(Click, 0)+
assign(Bomb, 0)+
assign(Timer, 0)
,0);
"Modes: 0=Start 1=Guess 2=WaitAns 3=Right 4=Wrong 5=WaitHint";
Answer = "X";
if(getMouseDown(),
if(Click==0,
if(getYMouse()>=91&&getYMouse()<=107,
if(getXMouse()>=62&&getXMouse()<=97,
assign(Answer, "YEP, UH-HUH. YEAH! You got it right, brotha!")
,0)+
if(getXMouse()>=150&&getXMouse()<=180,
assign(Answer, "NO! You stink! Hee-hee-hee-hee-hee-hee-hee-hee-hee-hee-hee-hee-hee!")
,0)
,0)
,0)+
assign(Click, 1)
,
assign(Click, 0)
);
if (Mode == 0,
flashMessage("Click mouse when ready.
Tip: Use Hand->None.", 1)+
say("Let's play a round of a game, lad. You think of a numba startin' at 1 n' endin' at 100, and I get "+MaxGuess+" guesses.", 1)+
if(getMouseDown(),
assign(Mode,1)
,0)
,0);
if (Mode == 1,
assign(GuessNum, GuessNum+1)+
assign(Guess, round(randomBet(Min, Max+1)-0.5))+
assign(Timer,30)+
assign(Mode,2)+
if(GuessNum==MaxGuess,
playSound("shock",200)+
explode(getBuddyX(),getBuddyY())
,0)
,0);
if (Mode == 2,
say("Are you thinking of "+Guess+"?", 1)+
if (Timer == 0,
flashMessage("Is Guess #"+GuessNum+" Right, Dude/Dudette?
[YEAH] [NOPE]", 1)+
if (Answer=="YEAH",
say("
Yay! I won! I won! In your face!", 60)+
assign(Mode, -1)
,0)+
if (Answer=="NOPE",
assign(Mode, 4)
,0)
,
assign(Timer, Timer-1)
)
,0);
if (Mode == 4,
assign(Answer, "X")+
assign(Timer,30)+
assign(Mode, 5)+
assign(Prize, round(randomBet(1, 4+1)-0.5))+
if(Min>=Max,
say("You Stupid Liar! It HAS to be "+Guess+".", 60)+
assign(Prize, -1)+
assign(Mode, -1)
,0)+
if(GuessNum == MaxGuess-1,
assign(Bomb, create("molotov", getBuddyX(), 50, 0, 5))
assign(Prize, -1)+
assign(Timer,30)
,0)+
if(GuessNum == MaxGuess,
create("fireball", getBuddyX(), getBuddyY(), 0, 0)+
explode(getX(Bomb), getY(Bomb), 1.8)+
destroy(Bomb)+
assign(Prize, -1)+
assign(Mode,-1)+
flashMessage("
YOU WIN! DARN!", 60)
,0)+
if(Prize == 1||Prize == 2,
playSound("shock",200)+
explode(getBuddyX(),getBuddyY()-30)
,0)+
if(Prize == 3,
create("grenade", getBuddyX(), 50, 0, 5)
,0)+
if(Prize == 4,
loop(10,
water(getBuddyX()+randomBet(-15,15), randomBet(1,120), 0, 15, 30, 0.5, 2, 12, 0)+
shock(getBuddyX()+randomBet(-15,15), randomBet(1,140), 0, 15, 30, 0.2, 4, 12, 0)
)
,0)
,0);
if (Mode == 5,
say("Is it HIGHER than "+Guess+"?", 1)+
if (Timer == 0,
flashMessage("Well, is it? Is it higher than "+Guess+"?
[YEP] [NAH]", 1)+
if (Answer=="YEP",
assign(Min, Guess+1)+
assign(Mode, 1)
,0)+
if (Answer=="NAH",
assign(Max, Guess-1)+
assign(Mode, 1)
,0)
,
assign(Timer, Timer-1)
)
,0);
Whew! I'm taking a break.
dude ur just changing already made scripts
Pedro5
05-31-2009, 02:08 PM
To get a baby gun you use this script on interactive buddy
firerate=5;
velocity=100;
projectile="baby";
angle=atan((getBuddyX() - getXMouse())/(getBuddyY() - getYMouse()));
velx=velocity*sin(angle);
vely=velocity*cos(angle);
if(getMouseDown(),if(equal(t%(firerate-1),0),
assign(t,t+1)+create(projectile,getXMouse(),getYMo use(),velx,vely),
assign(t,t+1)),
assign(t,0));
interactivebuddychild
06-04-2009, 12:21 AM
water(400, 400,400, 400, 400, 400,400, 400, true);
use that ong i walk away for like 30 secs and i had like 30,000 dollars and it looks realy cool what it does try itt ur self
k1d.ranged
06-04-2009, 07:17 AM
wow this is pretty cool thanks guys.
baboo00
06-05-2009, 02:11 PM
If you use firebomb with a gravity vortex thing, you get massive money. I left clicked then while still holding down left mouse, clicked the right mouse and minimized the game. While I wrote THIS COMMENT, I gained *checking* $10,000. Very nice job with this stuff btw love it. :D
hacker
06-10-2009, 12:34 PM
strength=10; fire's pushing power;
spread=.3;rate that drops expand at;
size=3;size of drops;
~~~~~~~~~~~~~~~~~~;
fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
Based off of rainy day.
laimis350
06-13-2009, 12:58 AM
Here are my favourite scripts I have made:
-----------------------------------------------------------------------------------------------------------------------------------
i=i+1;
if((i%1==0 && getMouseDown()==1),explode(getBuddyX(),getBuddyY() +40,0.15));
if((i%1==0 && getMouseDown()==1),say("Wow! A real life spaceship!",50));
-----------------------------------------------------------------------------------------------------------------------------------
When you hold the mouse down, buddy flies into the air propelled by lots of little explosions.
He also screams:"WOW! A real life spaceship!"
It looks very good with realistic pyrotechnics on.
Also, rocket juggling; an improved version of the above. He flies up using the rocket, then stays at a
certain altitude while catching baseballs.
--------------------------------------------------------------------------------------------------------------
a=a+1;
if((a%5==0 && getBuddyY()>100),explode(getBuddyX(),getBuddyY()+50,0.18));
setBuddyRot(0);
if((a%30==0),destroy(ball));
if((a%30==0),assign(ball,create("baseball",0,getBuddyY(),50,-20)));
if((getEmotion()>98),say("I am as happy as a buddy can be!",20));
--------------------------------------------------------------------------------------------------------
He'll tell you when he is really happy, as sometimes if he isnt happy enough he refuses to catch the balls.
JackAss1001
06-13-2009, 05:35 PM
this is my script (Its a fire that can't hurt buddy and reallistick looking)
strength=50; fire's pushing power;
spread=10;rate that fire expands at;
size=10;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
Chers heaps, JackAss1001
Wagga01
07-01-2009, 02:30 PM
Exploding meteor infants lol
t=t+1;
if(t%80==0, assign(a, create("baby", randomBet(1, 549), 100, 0, 800));
xPos=getX(a);
yPos=getY(a);
fire(xPos, yPos-10, 0, 0, 10, 1);
if(yPos>300, destroy(a));
if(yPos>350, explode(xPos, yPos, 1));
if(yPos>350, create("molotov", xPos, yPos, 0, 0));Ultimate fire, takes up hole screen , no lag lol
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, 50, 50, 50));
xPos=getX(a);
yPos=getY(a);
fire(xPos, yPos-10, 0, 0, 10, 1);
if(yPos>300, destroy(a));
if(yPos>350, explode(xPos, yPos, 1));
if(yPos>350, create("molotov", xPos, yPos, 0, 0));[/quote]
Better ultimate fire
f(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, 150, 50, 50));
xPos=getX(a);
yPos=getY(a);
fire(xPos, yPos-10, 0, 0, 10, 1);
if(getMouseDown(), destroy(a));
if(getMouseDown(), explode getXMouse(), getYMouse(), 0, 0));
if(getMouseDown(), create("molotov", getXMouse(), getYMouse(), 0, 0));
Quadruple shock from mouse
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()/-15-10
if(getMouseDown(), shock (getXMouse(), getYMouse(), (getXMouse()/-15-10
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()/-15-10
if(getMouseDown(), shock (getXMouse(), getYMouse(), (getXMouse()/-15-10lol blaaah
t=t+1;
if(getMouseDown(), assign(a, create("fireball", randomBet(1, 549), 100, 0, 800));
xPos=getX(a);
yPos=getY(a);
fire(xPos, yPos-10, 0, 0, 10, 1);
water(xPos, yPos-10, 0, 0, 10, 1);
if(yPos>300, destroy(a));
if(yPos>350, explode(xPos, yPos, 1));
if(yPos>350, explode(xPos, yPos, 1));
if(yPos>350, explode(xPos, yPos, 1));
InteractiveBuddyAddict
07-08-2009, 03:29 PM
Storm-
if(getMouseDown() && bnot(oMouse),
playSound("shock",100)+
assign(rr,random()*100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()+sin(n /t*10+rr)* 15,n/t*400)+assign(n,n+1)
,0);
oMouse = getMouseDown()(275, 399, 0, -30, 200, .5, 2, 5, false);
t=t+1;
if(t%2,fire(sin(t*.0075)*125+ 275,cos(t* 0)*1 00+300,0,-40,40,5,20,50,false) ,0)
t=t+1;
if(t%2,water(sin(t*.0075)*125+ 275,cos(t* 0)*1 00+300,0,-40,40,5,20,50,false) ,0)
navyboy1998
07-08-2009, 06:05 PM
This is a nuke script. it gives u a LOT of money every time you click. I have gotten up 20 $10,000 with it. U can change the power of the 20.0 to whatever u want NOTE: 1.0 is a normal explosion)
set "20.0" to "5000.0" it turns the screen magenta.
navyboy1998
07-08-2009, 06:08 PM
10,000 makes it green.
navyboy1998
07-08-2009, 06:10 PM
0 just makes noise. sorry about the triple post.
drips
07-18-2009, 02:53 PM
Hey, um, I would understand if you couldn't do any of these, but can you please try on some?
A flaming tornado
A normal tornado
water flying out his shoes to make him float around the screen????????
Please try. :confused:
drips
07-18-2009, 02:56 PM
Sorry about the double post... nevermind about the tornados i found them :D but can you make the jet boots?
Natraps 711
07-20-2009, 02:14 AM
----Flaming Fist Of Fury----
Well i got bored and cause i don't know JavaScript i copied codes and put --them together--
strength=5; fire pushing power;
spread=1;rate that fire expands at;
size=1;size of stream;
~~~~~~~~~~~~~~~~~~;
if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
Btw get the fist out and hold left click
http://img136.imageshack.us/img136/1479/lollqr.png (http://img136.imageshack.us/i/lollqr.png/)
I think he should be dead
Gapmeister
07-21-2009, 11:01 AM
I have found a way to defeat gravity with the ghost ball! When the ball gets close to the ground, an explosion directly under it blows it back up pretty high.
Regular Ghost:
strength=.23
~~~~~~~~~~~~~~~~~~~~~~~~~;
if(firstRun(), assign(spirit, create("bowlball", 100, 100, 0, 0)));
resetForces();
addSpring(spirit, getX(spirit)+randomBet(-10,10), getY(spirit)+randomBet(-11.63,5), 0.3);
if(getY(spirit)>370,explode(getX(spirit), getY(spirit)+5, strength));
Sadistic Ghost:
strength=.23
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~;
if(firstRun(), assign(spirit, create("bowlball", 200, 100, 0, 0)));
resetForces();
addSpring(spirit, getX(spirit)+randomBet(-15,15)+(getX(spirit)-getX("head"))/-100, getY(spirit)+randomBet(-17.85,15)+(getY(spirit)-getY("head"))/-100, 0.5);
if(getY(spirit)>370,explode(getX(spirit), getY(spirit)+5, strength));
jntcoolman
07-22-2009, 09:46 AM
can someone create a script to chain you buddy on the legs and arms and with it a code to unchain him or make him a lava buddy or make his happiness go to the max of happy for me?
TehButter
08-06-2009, 09:51 PM
How did you all learn how to script? is there a link you could give me or something to the effect?
chaterbox0
08-09-2009, 12:25 PM
they took out the instructions on how to use it or i cant find them and i dont remember them so can somone help me out here
ultrasonic09
08-30-2009, 05:23 AM
heres the explodewall script but it shocks him instead has no sound.
gx = getBuddyX();
test = gx>510||gx<40;
if(test,shock(gx+random()-.5,getBuddyY(),.15),0)
ultrasonic09
08-30-2009, 05:35 AM
i dont no how to script i guessed the shock one lucky i quess:)
MURD3R.MATT
08-30-2009, 11:17 PM
i have a funny screen shot :p but it wont let me post it here so pm me and i have a funny script lol i cant post here on the forums so just private mssage me for it
ultrasonic09
09-01-2009, 10:25 AM
shoots fire from left side of screen:p
t=t+1;
if(bnot(t%4),create("fireball",50+random()*1,getBuddyY()+random()*20-10,50,-3-getBuddyX()*.01),0)
homie G-dwg
09-04-2009, 07:39 PM
yo guys. Mr. Goodbar, i have a request, could you make a shotgun that shoots baseballs, bowling balls, etc, and then tell us what to change, if we want to change what it shoots
Aizengon
09-06-2009, 06:03 AM
Fun game once i got just enough money for some firehose and some fireballs i love how he gets on fire.:D
jeg,eier.
10-05-2009, 07:29 PM
I think it a waste of time.
vBulletin® v3.7.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.