New Town Scripts
Author | Topic: New Town Scripts |
---|---|
Warrior
Member # 4599
|
written Sunday, March 5 2006 05:18
Profile
I'm trying to play around again with the editor, and see if I can't at least set up a simple dungeon and town. But I am having a problem (actually a few), with the scripting. My first question is: Is the editor itself suppossed to create a dialogue script when you place a character with it's memory cell set to 3? Or am I supposed to make one from scratch? I followed Jeff's editor help file and (unless I missed something), it doesn't really say. -------------------- "Yeah-- you're right. You christians are far too persecuted nowadays. I mean it. We really should stop feeding you to the lions." --TM "Ancient Blessings" My unfinished (and likely to remain that way) BoA scenario. Posts: 135 | Registered: Tuesday, June 22 2004 07:00 |
Shaper
Member # 3442
|
written Sunday, March 5 2006 06:17
Profile
Homepage
You have to make them yourself. The script needs to be in this format: (name of town script)dlg.txt For example, in my scenario, there is a town called Fort Bluebird. The townscript is: FortBlubeird.txt So the dialogue script is called: FortBluebirddlg.txt I presume you know how to format the scripts? -------------------- And when you want to Live How do you start? Where do you go? Who do you need to know? Posts: 2864 | Registered: Monday, September 8 2003 07:00 |
Off With Their Heads
Member # 4045
|
written Sunday, March 5 2006 07:07
Profile
Homepage
If you don't know how to format it, copy a dialogue script out of VoDT and delete all but one of the nodes (leaving the other things in place, like the begindialogscript or whatever it is). Then use that node as a guide to your format. -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Warrior
Member # 4599
|
written Sunday, March 5 2006 08:18
Profile
Thank you both. I'll see if I can do it now. EDIT: 100 posts...and I think I've been here two or three years. [ Sunday, March 05, 2006 08:20: Message edited by: Commodore Redmark ] -------------------- "Yeah-- you're right. You christians are far too persecuted nowadays. I mean it. We really should stop feeding you to the lions." --TM "Ancient Blessings" My unfinished (and likely to remain that way) BoA scenario. Posts: 135 | Registered: Tuesday, June 22 2004 07:00 |
Warrior
Member # 4599
|
written Sunday, March 5 2006 09:46
Profile
I believe this warrants a post of its own. Following the help file Jeff included to get people familiar with the editor, I created a dungeon called "Icky Dungeon". I included a character that I intend to talk with the party, but as luck would have it, my dialog scripts are not working right. Or maybe I just stink at scripting. As I enter "Icky Dungeon", I get hit with this: ERROR: Tried to call a non-existant town script state. ickydlg Error: No body declared.. And if memory serves: Error: Tried to call a non-existant creature script state. I don't really know what I'm doing wrong, I copied another town and dialog script so I could use it myself, and put down what information I beleive I needed into the blanks. icky.txt I really did not change it after I copied it, I did not think I had to. ickydlg.txt Some dialog text was removed to keep my post size down, but all the important stuff is there. -------------------- "Yeah-- you're right. You christians are far too persecuted nowadays. I mean it. We really should stop feeding you to the lions." --TM "Ancient Blessings" My unfinished (and likely to remain that way) BoA scenario. Posts: 135 | Registered: Tuesday, June 22 2004 07:00 |
Master
Member # 5977
|
written Sunday, March 5 2006 10:09
Profile
Homepage
the twonscript error you mentioned (tried to call a nonexisting town script state), is given when the game tries to acces a certain state but can't find it. this doesn't mean that something is wrong with the script, but with the scenario .bas file. It means that a special rectangle has the wrong number declared to run a specific state in a townscript. So, if you have a special rectangle calling for state 34, but you don't have one, it will display that error. the error "no body declared" means that you forgot the line "body;" in your script. it should read: -------------------- Play and rate my scenarios: Where the rivers meet View my upcoming scenario: The Nephil Search: Escape. Give us your drek! Posts: 3029 | Registered: Saturday, June 18 2005 07:00 |
Warrior
Member # 4599
|
written Sunday, March 5 2006 10:35
Profile
EDIT: I managed to fix the the body problem as well as the town script error, but I still can't figure out what's wrong with the creature script. If it is referring to the basicnpc.txt, I have not tampered with it. [ Sunday, March 05, 2006 12:38: Message edited by: Commodore Ashby ] -------------------- "Yeah-- you're right. You christians are far too persecuted nowadays. I mean it. We really should stop feeding you to the lions." --TM "Ancient Blessings" My unfinished (and likely to remain that way) BoA scenario. Posts: 135 | Registered: Tuesday, June 22 2004 07:00 |
Shaper
Member # 3442
|
written Monday, March 6 2006 03:49
Profile
Homepage
Make sure that in your creatures editing box, the script defined is basicnpc, or even better, leave it blank. Then make sure that basicnpc.txt is in your scenario folder. Otherwise, it does it say which state it can't run? -------------------- And when you want to Live How do you start? Where do you go? Who do you need to know? Posts: 2864 | Registered: Monday, September 8 2003 07:00 |
Warrior
Member # 4599
|
written Tuesday, March 7 2006 02:37
Profile
quote:I figured it out. I had the creature using a creature script I did not have (I had forgotten to put it in there). That seems to have fixed my problems with this, so now I'm off to continue my tinkering. Thank you Nikki xx. -------------------- "Yeah-- you're right. You christians are far too persecuted nowadays. I mean it. We really should stop feeding you to the lions." --TM "Ancient Blessings" My unfinished (and likely to remain that way) BoA scenario. Posts: 135 | Registered: Tuesday, June 22 2004 07:00 |