Problem with text (again)
Author | Topic: Problem with text (again) |
---|---|
Apprentice
Member # 4296
|
written Saturday, July 24 2004 10:06
Profile
Something does not work. I have made booktext, but when I start the scenario, the error is something like this: Unknown command in line 120. What does thet mean? -------------------- I, Grah-Hoth, will rule both in Avernum and on the surface. Posts: 30 | Registered: Friday, April 23 2004 07:00 |
Warrior
Member # 2838
|
written Saturday, July 24 2004 10:15
Profile
Well, I think that message_dialog has two parameters, you should leave the second one as "" if you are not going to add a second string. In addition you are forgetting the quotes (") at the end of the last two states. Hope that helps. -------------------- …../|,-‘`¯¯`\(o)_\,----,,,_……… …( `\(o),,_/` ¯ : o : :: o`-, … I'm under your bed. Posts: 118 | Registered: Wednesday, April 2 2003 08:00 |
Apprentice
Member # 4296
|
written Saturday, July 24 2004 10:23
Profile
quote:I do not understand. Where does the message_dialog have two parameters, and where do I forget the quotes? Please tell me the locations of these things you have mentioned. -------------------- I, Grah-Hoth, will rule both in Avernum and on the surface. Posts: 30 | Registered: Friday, April 23 2004 07:00 |
Warrior
Member # 2838
|
written Saturday, July 24 2004 10:37
Profile
message_dialog has the following structure: message_dialog(char text1,char text2) so I think your code should be like this: -------------------- …../|,-‘`¯¯`\(o)_\,----,,,_……… …( `\(o),,_/` ¯ : o : :: o`-, … I'm under your bed. Posts: 118 | Registered: Wednesday, April 2 2003 08:00 |
Off With Their Heads
Member # 4045
|
written Saturday, July 24 2004 10:44
Profile
Homepage
Er, and now states 13 and 14 have extra quotes. They should look like this: Oh yes, and you need breaks after every state, as I've written in for these two states. -------------------- 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 |
Apprentice
Member # 4296
|
written Sunday, July 25 2004 02:04
Profile
Thanks, it has worked out now, that little piece,but now I have the rest of the text. [ Thursday, August 12, 2004 11:35: Message edited by: Grah-Hoth ] -------------------- I, Grah-Hoth, will rule both in Avernum and on the surface. Posts: 30 | Registered: Friday, April 23 2004 07:00 |
Infiltrator
Member # 4637
|
written Sunday, July 25 2004 02:16
Profile
Homepage
quote:Strange... I thought only nodes that have "code=" in them needed a break; command... -------------------- Visit the Blades of Avernum Center and the Beta Testing Center -------------- "Beware lest anyone cheat you through philosophy and empty deceit, according to the tradition of men, according to the basic principles of the world, and not according to Christ." Colossians 2:6-9 Posts: 483 | Registered: Tuesday, June 29 2004 07:00 |
Agent
Member # 2820
|
written Sunday, July 25 2004 07:09
Profile
Every state is code, Overwhelming. You only need to use the code = thing inside of data files that allow scripting, which would currently only be dialogue ones. -------------------- Thuryl: I mean, most of us don't go around consuming our own bodily fluids, no matter how delicious they are. ==== Alorael: War and violence would end if we all had each other's babies! ==== Drakefyre: Those are hideous mangos. Posts: 1415 | Registered: Thursday, March 27 2003 08:00 |
Apprentice
Member # 4296
|
written Monday, July 26 2004 07:25
Profile
Umm.............I still have problems with the text . Help?? Please? Somebody? -------------------- I, Grah-Hoth, will rule both in Avernum and on the surface. Posts: 30 | Registered: Friday, April 23 2004 07:00 |
Off With Their Heads
Member # 4045
|
written Monday, July 26 2004 10:07
Profile
Homepage
What specifically is the error message that you're getting, when do you get it, etc? And those poems won't actually show up with the line breaks and all, I'm assuming. I think you have to do poetry completely differently, using add_dialog_str. EDIT: Okay, you're abusing quotations marks, for one. If you want quotes to show up within your message_dialog, use the _ character, not the " character. And message_dialog always requires the second set of quotes, regardless of whether there's anything in them or not, just as before. [ Monday, July 26, 2004 10:10: Message edited by: Kelandon ] -------------------- 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 |
Apprentice
Member # 4296
|
written Tuesday, July 27 2004 09:08
Profile
the error is demonin error: Overlong or unending string in line 145. Thats the error. -------------------- I, Grah-Hoth, will rule both in Avernum and on the surface. Posts: 30 | Registered: Friday, April 23 2004 07:00 |
Off With Their Heads
Member # 4045
|
written Tuesday, July 27 2004 09:26
Profile
Homepage
Which line is 145? This error means that BoA is reading one of your strings as containing more than 254 characters (or 256 if you include the quotation marks). It can also show up if you forget an end quote, because it thinks that the string keeps going until it runs into the opening quote for the next string. -------------------- 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 |