The New 'Baddy Scripters' Guide'
NewBaddy.zip (download this to go with the guide)
Last Updated 8-30-2K v1.4
By: Ace2896






X. Purpose
This FAQ was inspired by Bruges' original Baddy Scripting FAQ (the exact name of which escapes me right now), and I guarantee that well over 50% of it was taken from (with permission from Bruges of course), adapted from, or something I learned from his FAQ.  Thanks for originally writing it Bruges.  But, that was done late in version 1.1, and is, understandably, outdated.  For now, this FAQ will teach how to make baddy's using the showcharacter command, and manipulating their sprites.  I may tell how to make other types of NPCs at a later date.  Also, this is a sort of add on to my Newbie Scripter's Bible (Geshtar suggested I do something specific like this =), so I'll refer to that file (that's why this is in .html, so I can link you up easily), and I'll assume you have read that (or attempted to anyway) before reading this.  Any time I say something is explained in section whatever, I'm referring to a section of the scripter's bible that you should read if you need more information.


1. Version Information
v1.4 I went through and updated ALL the scripts that I have changed.  These scripts include: "bouncing script", "sprite" scripts, thief scripts, and a few others.  Also, all the files in the downloads sections have been updated to illustrate these changes.
v1.3 I organized the whole thing, and added the downloads section, as well as bold-faced all major section titles.  Now I just need to update the actual code on the pages to match my more up-to-date (better, shorter) scripts.
v1.2 I finally got around to trying to find new stuff to add, but I spent the whole day working on one new baddy.  Problem is, I haven't commented that baddy... yet... so the only new thing I added today was section 6.3  That includes the "Spinning Death" thing that happens when players die.  I'm going to split this doc up into multiple files like I did with the Newbie Scripter's Bible.  Once I do that, expect it to be a lot more organized, which means I'll *hopefully* update it more often.
v1.1 I added all the following scripts: catcher/thrower, thief, zelda thief.  I also uploaded (finally!) the file: newbaddy.zip, information about it is in section 2.  And the things to come section has been updated.
v1.0.1 Real small update.  Not even an update really.  I just want to point out a few things:  1.) These NPCs work great offline, and will work online.  But, if put online I can almost guarantee there will be glitches in the script.  So if you plan on putting your baddies online, either know how to fix the glitches that may occur, or wait until I add the online stuff.  2.) I keep mentioning the level "newbaddy.graal"... it seems that I forgot to upload that file, as well as make links to it troughout the FAQ.  But it's on my other computer which is why I'm not doing a full update to this file right now.  3.) Check out the things to come section.  I added some stuff.
v1.0 I realized I was using 9.0 and 8.0 as the version numbers... those have been changed to .9 and .8.  I also finished the table on contents and linked up its stuff.  I also decided the version information stuff should be near the top so you can see if anything new was added since you last looked.  Expect more stuff / types of baddies to be added soon.
v0.9  There were some slight typos and that sort in some of my scripts, those have been fixed.  Also, all the horseman stuff was added.  First public release.  I decided that the archer script works just fine even though it uses sleep, so that won't be added.  Now all I need to do is make a table of contents, and link stuff up (as well as possibly make more references to the scripter's bible), and it'll be v1.0.  Read the info on v.8 to see what else I'm planning.
v0.8  Just about done.  I plan on adding how to make it lay random items, and to make a horseman type baddy, as well as show the archer script without the sleep command.  Problem is I'm about to pass out I'm so tired... so I'll finish this later.
Possible additions (after v1.0 of this thing): how to make a thief (2 different ways), online compatibility, 1.3.6 = better A.I., 1.3.7 = More possibilities for baddies.