I've been throwing together a few custom NPCs for BukkakeRO which will hopefully work this time
Rather than fannying around MSNing Grimmie all the time I might just post them in this thread (not sure the tabs will survive though).
If anyone else fancies a go I can stick a quick tutorial up though (the one Grimmie posted a link to is very good but not 100% comprehensive, and you have to register, and the author isn't a native English speaker).
On reflection, now I'm home with my scripts, screw putting them all on here. Reading some of the scripts I'm planning on doing would probably give away too many clues. I will, however, post a few pointers in case anyone else feels creative.
I've made a template based on a test NPC I made. This one demonstrates how to create conversations with choices with NPCs:
-------
Header:
-------
prontera.gat,261,219,4<TAB>script<TAB>Mrs Pantu<TAB>711,{
--------------------------------------------------------------------------------------
^ ^ ^ ^ ^ ^ ^ ^ ^ ^
a a a b f f c f d e
a: Mapname and coordinates. Type /where in game to discover both for current location.
b: Facing direction. 1=NW 2=w 3=SW 4=S 5=SE 6=E 7=NE 8=N.
c: NPC name
d: NPC sprite. Go to http://kalen.s79.xrea.com/npc/npce.shtml for list.
e: Opens script
f: Tab (Don't type <TAB>)
--------------------------------------------------------------------------------------
---------------
Basic Dialogue:
---------------
//This piece of script has the NPC say something to the character over the course of two dialogue boxes.
mes "[Mrs Pantu]"; //Name at the top of the dialogue box
mes "Inu Pantu has lost his pet Poring."; //Text within dialogue box
next; //Next button
mes "[Mrs Pantu]"; //Name at the top of the dialogue box
mes "He's very upset."; //text within dialogue box
close; //Close button
} //Closes script
-------------------
Dialogue with menu:
-------------------
//This piece of script adds menu options to the basic dialogue script.
mes "[Mrs Pantu]";
mes "Inu Pantu has lost his pet Poring.";
next;
mes "[Mrs Pantu]";
mes "He's very upset.";
next;
mes "[Mrs Pantu]"; //Name at the top of the dialogue box
mes "Have you seen it?"; //Text within dialogue box
menu "Yes",yes,"No",no; //Menu options: "Option 1 identifier",option 1 text,etc
close; //Close button
Yes: //Option 1 identifier
mes "Mrs Pantu"; /name at top of dialogue box
mes "Oh, please tell Mr Pantu where if you see him."; /Text within dialogue box
close; /Close button
No: //Option 2 identifier
mes "[Mrs Pantu]"; //Name at top of dialogue box
mes "*Sigh* Poor Mr Pantu."; //Text within dialogue box
close; //Close button
} //Closes script
Written a short (still took 3 hours), low-level NPC quest for an old bloke soon to appear in Pr0ntera near inner south gate. Compiled with no errors so hopefully once I've poked Grimmie into putting it in we'll have a nice little adventure to go on.
Still not working. Deary me.
In other news, the scriptreload command does work, I tried it out when moving FatherJack's
NPC around. She's standing next to Mrs Pants, looking like she's miming a hula-hoop.