Fledgling Fyora BAZ Posted September 14, 2017 Share Posted September 14, 2017 For the life of me, I can not add anything to the script "z0avadondlg.txt". I've added stuff to the scripts for z1 through zWhatever. (like the 5 character hack). Is there some sort of block on the "z0avadondlg.txt" script? I can edit exsisting text/rewards, but I can not add any new lines to it. Example: Polus. I'm at the point Polus only has 3 responses: 1. Where are you from? 2. What do you do here? 3. How can you help me? I want to add another line so it shows up like this: 4. Do you buy anything? Which has question/text and leads to a new state, the new state will list: 1. Bags of meal. 2. Ale. 3. Wine. 4. 'return/done' response I know and got the code to remove the items from my inventory and gives me reward in gold. I tested it and working in "z3goldcragdlg.txt" I tested, and added just a simple single line, with: state = 600; nextstate = -1; condition = 1; question = "Test."; text1 = "_Test?_"; And it still does not show up. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Lilith Posted September 14, 2017 Share Posted September 14, 2017 Are you in Avadon while you're doing these edits? Your savefile saves its own copy of the script for the current area, so script edits won't register until you leave the area and return. Quote Link to comment Share on other sites More sharing options...
Fledgling Fyora BAZ Posted September 14, 2017 Author Share Posted September 14, 2017 4 hours ago, Lilith said: Are you in Avadon while you're doing these edits? Your savefile saves its own copy of the script for the current area, so script edits won't register until you leave the area and return. Well, I went to goldcrag, saved, and exited. Then loaded that save while in goldcrag, then saved and exited again. I then did edits, and when I go to talk to any npc in avadon, nothing happens when I click on the npc. Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Quiconque Posted September 14, 2017 Share Posted September 14, 2017 What message appears in the console? That sounds like you have a syntax error in your script -- could be something as small as a missing semicolon or random extra character. It might even be a stray keystroke that ended up in a completely different part of the script. Quote Link to comment Share on other sites More sharing options...
Fledgling Fyora BAZ Posted September 15, 2017 Author Share Posted September 15, 2017 Console states this: "z0avadondlg.txt script failure: Too many strings in line 13521" "z0avadondlg.txt Drror: Tried to process invalid dialogue script.." I added the most basic script in middle or at the end, still not working. Would someone mind taking time to make and share a working Polus (or TINKER DUMAN) section of the z0avadondlg.txt script with extra lines of conversation? (with at least one root conversation [question/test] that leads to a one new state?) Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Quiconque Posted September 17, 2017 Share Posted September 17, 2017 Yep, that's definitely a syntax error in your script. I think a simpler solution would be for you to paste whatever you added to your broken version here. Then we can go through it and find the error. If you added things in multiple places, just find the section near line 13521. (Sometimes the game doesn't count lines exactly the same way a text editor does, but it should be close enough to distinguish middle vs end of the file.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.