![]() |
NPC Baddies...
Hiyas!
Before I say anything, I'll just say, I SUCK AT SCRIPTING!!!! ok.. Now I was trying to make a baddie that would move around randomly, and between directional switces, it would pause 1 second, then it would pick a random direction, or it would just stay still for another second again. All I get out of this script is a bunch of MESSED UP LOOKIN' movement that makes my baddie look like it took some crack cocaine right after running around firepole for at LEAST 7 years straight. I also would like if someone could tell me how to make it so that when the baddie wasn't walking, it would change to idle.gani. If you are thinking of just re-creating the script(because my work SUCKS), please make it long and drawn out so that us newbie scripters can understand what the script is doing. - thanks --- //Script made by Jerom //Isawk@scriptin' if (created && playerenters) { dontblock; drawoverplayer; timeout = 0.05; this.speed = 0.09; setarray move,4; } if (timeout && this.stop==0){ this.mmode = random(0,50); timeout = 0.05; } if (this.mmode<=10 && timeout){ move[3] = 1; this.stop = 1;} if (move[3]==1 && timeout){ x+=this.speed; move[4] = random(0,50); this.stop = 1;} if (this.mmode>10 && this.mmode<20 && timeout) { move[2] = 1;} if (move[2]==1 && timeout){ y+=this.speed; move[4] = random(0,50); this.stop = 1;} if (this.mmode>20 && this.mmode<30 && timeout){ move[1] = 1;} if (move[1]==1 && timeout){ x-=this.speed; move[4] = random(0,50); this.stop = 1;} if (this.mmode>30 && this.mmode<=40 && timeout) { move[0] = 1; } if (move[0]==1 && timeout){ y-=this.speed; move[4] = random(0,50);} if (move[4]<=10) { move[0] = 0; move[1] = 0; move[2] = 0; move[3] = 0; this.stop = 0; this.mmode = random(0,50);} if (this.mmode>40 && this.mmode<50) { sleep 1; timeout = 0.05;} |
well to make him stop
if (move == 0){setgani idle.gani} i think i'm not sure though and i don't know the new commands and it's been a year since i've scripted something but i'm almost positive thats right but i'm bored and downloading so i'm trying to help out =) |
:eek: :eek: :eek: :eek: :)
NPC Code: |
mmmmkay, now IcePick, why in the heCK did you post an entire different baddie script and not say anything about it?
|
Quote:
|
WAY TO GO ICE PICK!
now I don't script baddies much I more script NPC weapons and such, so I won't help for I fear I might steer you wrong, I read every manual I can find on NPC scripting, so if you know of any than please tell me I enjoy it. |
Way to go Ice Pick? :(
That is the Mace Baddy made my Ace long ago, it could be found on his NPC baddy programming page. I really hope Ice Pickle din't try to take the credit for it... |
I think XDaKreepX made that.
Hmmm... It it just me or is Ice Pick the new Antago? |
Quote:
|
Quote:
IcePick made a post which meant nothing other than he was posting a script...no explanation, no words other than just the script...which meant no HELP, nor guidance toward helping newbie scripters. I would also like to add that IcePick was so stupid, that he forgot to change the image coords for the NW bunny when he took credit for it and nammed it something else...He didn't change the name of the variables or anything, just changed the image names. In this situation, NewWorld should locate IcePick's home, travel to his home, slaughter all of whats left of his so called family, then hang IcePick in the town square for everyone to see what a stupid person he is for stealing a NewWorld script. Oh, and it would be cool if we could burn his house down on Delteria right before we send 5 teams of nukers onto Delteria to get rid of that POSER of a server, once and for all. "When the hare and the turtle met after the race, the rabbit was kidnapped by IcePick and placed in a swimming event, which later the rabbit drowned because rabbits do not belong in water. Meanwhile the turtle left to go cash in his first place prize winnings on two hookers from Classic." |
IcePick has lately been trying to show off his super npc scripting skills by copying other ppl's npc scripts. soon he will start posting bomy script and say he made it but hes gonna use his l337 find and replace skills to change all words in the script that say "bomy" to "gomy"
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 01:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.