Jump to content


Alpha Testing Problems

boat set_height

  • Please log in to reply
11 replies to this topic
Callie Callie

SuperCalliefragilisticexpialidocious

  • Member
    • Member ID: 4,904
  • 4,168 posts
  • LocationNevada, USA

Posted 24 September 2014 - 03:08 PM #1 Alpha Testing Problems

I've run into a few problems while alpha testing my small scenario.  I've spent several hours trying to fix them, but to no avail.  Thanks for looking this over!

1. Ellipses… For some reason, the game turns many ellipses into either a "É" or a "A"; however, they work fine in one town, but not others.  I am using both AScript and TextEdit for my scripts.  I've tried simply retyping the ellipses, but that doesn't fix the problem.  I don't want to remove them, because the ellipses are important to one of the main character's dialog.

2. Boats:  I have a boat the party can use in the main town, but I can't physically exit the town.  I've tried resizing the outdoor town limits so that the borders are further into the water, but that doesn't solve the problem.  I've also tried using a state that uses the call change_outdoor_location but that does nothing.  This prevents the party from physically reaching some parts of the scenario.

3. I have a puzzle in which flipping levers changes the terrain height of certain tiles.  The party cannot finish the scenario without finishing this puzzle.  It partially worked at first, but there were several infinite loops and unmatched parenthesis that Alint did not catch and I had to fix.  Once I fixed the issues, the levers no longer did anything.  I've made sure that the states match up; here is the script:


Spoiler

"I'm so glad you mentioned [goat heads] were weeds. I had never heard of them before, and thought maybe Excalibur lived in an area strewn with the heads of slaughtered goats. : p " - Tyranicus
Restless Souls - My first BoA scenario

sylae sylae

Wisebottom

  • Global Moderator
    • Member ID: 5,482
  • 3,336 posts
  • LocationPortland, Oregon, United States

Posted 24 September 2014 - 03:21 PM #2 Alpha Testing Problems

The ellipses issue is due to your text editor turning three periods '...' into U+2026 '…', a special glyph which represents an ellipsis as one character. The reason it appears malformed is because BoA and your text editor aren't using the same character set. OSX uses UTF-8 iirc, so your text editor should by default as well. BoA, on the other hand, almost certainly does not.

The solution is to just disable this 'helpful' feature provided by your text editor (or possibly by your OS?

Also, just to play on the safe side, make sure your text editor is saving files as UTF-8 without a BOM (this may also be called ANSI as UTF-8).

nikki. nikki.

Humany-Wumany

  • Global Moderator
    • Member ID: 2,313
  • 7,449 posts

Posted 24 September 2014 - 03:33 PM #3 Alpha Testing Problems

I know I already told you, Excalibur, but I'll stick it here too in case other people miss it. After getting your lever to do what it wants, you need to use the call end(); to kill the script. Otherwise, once you've set the sdf, the script will just continue and undo all the changes it just made. :p

Callie Callie

SuperCalliefragilisticexpialidocious

  • Member
    • Member ID: 4,904
  • 4,168 posts
  • LocationNevada, USA

Posted 24 September 2014 - 03:43 PM #4 Alpha Testing Problems

Thank you!  The ellipses work now and so does the puzzle!
"I'm so glad you mentioned [goat heads] were weeds. I had never heard of them before, and thought maybe Excalibur lived in an area strewn with the heads of slaughtered goats. : p " - Tyranicus
Restless Souls - My first BoA scenario

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 24 September 2014 - 05:58 PM #5 Alpha Testing Problems

"but I can't physically exit the town"
Town entrances/exits can be tricky. Here, in the direction(s)you are exiting, make sure you have a gap of two squares between the town boundary and the edge of the map.

Callie Callie

SuperCalliefragilisticexpialidocious

  • Member
    • Member ID: 4,904
  • 4,168 posts
  • LocationNevada, USA

Posted 24 September 2014 - 09:16 PM #6 Alpha Testing Problems

View PostIshad Nha, on 24 September 2014 - 05:58 PM, said:

"but I can't physically exit the town"
Town entrances/exits can be tricky. Here, in the direction(s)you are exiting, make sure you have a gap of two squares between the town boundary and the edge of the map.
Oh wow, that fixed it.  Thanks!
"I'm so glad you mentioned [goat heads] were weeds. I had never heard of them before, and thought maybe Excalibur lived in an area strewn with the heads of slaughtered goats. : p " - Tyranicus
Restless Souls - My first BoA scenario

Callie Callie

SuperCalliefragilisticexpialidocious

  • Member
    • Member ID: 4,904
  • 4,168 posts
  • LocationNevada, USA

Posted 25 September 2014 - 10:40 AM #7 Alpha Testing Problems

I've run into another problem: I can't get the call set_attitude to work properly.  Creature 1300 is initially neutral, but dialog choices make it hostile.  I have the dialog call a state in the town script; I know it's doing this because the rest of the state is working.  I've tried using the make_town_hostile call to no avail.  Here is the code:

Spoiler
(On another note, the set_char_dialogue_pic call isn't working for this creature)

Edit: I've figured out how to force the attitude change by using the call in the corresponding creature script.
"I'm so glad you mentioned [goat heads] were weeds. I had never heard of them before, and thought maybe Excalibur lived in an area strewn with the heads of slaughtered goats. : p " - Tyranicus
Restless Souls - My first BoA scenario

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 26 September 2014 - 12:48 AM #8 Alpha Testing Problems

"set_attitude(1300,10);"
I figure the first number is meant to be between 4 and 119:

void set_attitude(short which_char_or_group,short which_attitude)  - Sets the attitude of the character/group:
    3 - friendly to party
    4 - neutral
    10 - hostile A
    11 - hostile B
    
which_char - Many calls expect to be given a value for which_char. This expects the number of a character, which will be from 0 to 119.  (Note that you are not entering the character’s Character ID or the personality. To find the number of a character, in the editor, select the character and look at the number in the first description line.)  If you use such a call in a creature script, if you enter a value of -1 for which_char, the function will act on the creature whose script is running. In such a case, you can also enter ME for which_char. This does the same thing.

which_char_or_group - When a call expects a value for which_char_or_group, it wants the number of a character or group. This is exactly like which_char, except for one difference: the call can also act on every member of a group. If you want to have the call act on group x, give which_char_or_group a value of 1000 + x. (And remember that group 0 is always the party.)

Callie Callie

SuperCalliefragilisticexpialidocious

  • Member
    • Member ID: 4,904
  • 4,168 posts
  • LocationNevada, USA

Posted 26 September 2014 - 11:28 AM #9 Alpha Testing Problems

That does the trick.  I knew that some calls excepted the number of a character, but not that one.  Thanks!
"I'm so glad you mentioned [goat heads] were weeds. I had never heard of them before, and thought maybe Excalibur lived in an area strewn with the heads of slaughtered goats. : p " - Tyranicus
Restless Souls - My first BoA scenario

Callie Callie

SuperCalliefragilisticexpialidocious

  • Member
    • Member ID: 4,904
  • 4,168 posts
  • LocationNevada, USA

Posted 28 September 2014 - 04:25 PM #10 Alpha Testing Problems

New issue: I thought this was an issue with my copy of BoA, but my beta testers are having the same problem.  I have two towns in which BoA puts the party on the wrong side of the map.  i.e. One town has the west entrance on the west side, and the north, south, and east entrances on the east side.  When the party enters the town, it will end up on the west side, regardless of the direction it entered from (The party can only physically enter from the east and west).
"I'm so glad you mentioned [goat heads] were weeds. I had never heard of them before, and thought maybe Excalibur lived in an area strewn with the heads of slaughtered goats. : p " - Tyranicus
Restless Souls - My first BoA scenario

nikki. nikki.

Humany-Wumany

  • Global Moderator
    • Member ID: 2,313
  • 7,449 posts

Posted 28 September 2014 - 04:43 PM #11 Alpha Testing Problems

I had some trouble with this in Discord (though I was doing something slightly different). Make sure there's enough space around the town entry point for a party of 4/6(?) characters.  

I guess it could also be something to do with the way BoA decides which direction you enter town from from the outdoors? Might be worth looking at Chapter 1.7 of your docs.

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 28 September 2014 - 08:35 PM #12 Alpha Testing Problems

This was a problem in A Large Rebellion as I recall. It could come from issues with impassable terrain inside the town, near the town entry points. There could be a problem with impassable terrain in the outdoors, near the town entrance. Alternately the size/shape of the town entrance rectangle could be a problem.





Also tagged with one or more of these keywords: boat, set_height

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users