• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 19, 2024, 05:04:45 am

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


Event Errors, Dialogue skips and premature ending

Started by CodySpie, January 18, 2014, 04:24:19 pm

CodySpie

Hey Hacktics folks,

This is the event I've been having trouble with for about a week now, I chopped it down and simplified it, took out all of the battle conditions and it still has a wicked whacky starting Camera in the Intro. But that's beside the point.

My problem occurs when going through the conversation in the first contact meeting between Olan, Ramza and Alma where a section of the Dialogue is skipped, it resumes for one line 2 messages ahead of where it's supposed to be and then the event ends with several lines of text still waiting to be played. As Elric suggested I'm using a clean ISO, ATTACK.OUT and TEST.EVT file.

The Code below is the event I currently have running, Messages 06~07 and Messages 09~12 are being skipped.

Offset(x00004000)
{63}(rC9)
Camera(+00560,-00048,+00560,+00341,+03584,+00000,+04096,+00001)
Camera(+00560,-00048,+00560,+00341,+03584,+00000,+04096,+00128)
{4D}(r78)
Camera(+00560,-00048,+00560,+00341,-03584,+00000,+04096,+00128)
UnitAnim(x00,x00,x02,x00,x00)

DisplayMessage(x10,x11,x0001,x03,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

UnitAnim(x01,x00,x02,x00,x00)

DisplayMessage(x10,x11,x0002,x01,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x11,x0003,x03,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

RotateUnit(x03,x00,x09,x00,x00,000)

UnitAnim(x01,x00,x02,x00,x00)

DisplayMessage(x10,x11,x0004,x01,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

UnitAnim(x01,x00,x02,x00,x00)

DisplayMessage(x10,x11,x0005,x03,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x11,x0006,x01,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

UnitAnim(x00,x00,x02,x00,x00)

DisplayMessage(x10,x11,x0007,x03,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x11,x0008,x01,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x92,x0009,x03,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x91,x000A,x02,x00,x00,+00000,+00014,+00010,x01)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x92,x000B,x03,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x91,x000C,x01,x00,x00,+00000,+00014,-00010,x11)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x92,x000D,x81,x00,x00,+00000,+00000,+00000,x01)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x91,x000E,x01,x00,x00,+00000,+00014,-00010,x11)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x91,x000F,x03,x00,x00,+00000,+00014,-00010,x11)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x91,x0010,x01,x00,x00,+00000,+00014,-00010,x11)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x91,x0011,x03,x00,x00,+00000,+00014,-00010,x11)
WaitForInstruction(x01,x00)

DisplayMessage(x10,x91,x0012,x85,x00,x00,+00000,+00014,-00010,x11)
WaitForInstruction(x01,x00)

Wait(00200)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
{font:08}Olan{br}
{font:00}He's late...{br}
Why am I not surprised?{end}

//Message x02
{font:08}Familiar Voice{br}
{font:00}Have I kept you waiting long?{end}

//Message x03
{font:08}Olan{br}
{font:00}!?{br}
{br}Is he here?
{end}

//Message x04
{font:08}Familiar Voice{br}
{font:00}Long time no see, Olan.
{end}

//Message x05
{font:08}Olan{br}
{font:00}You're supposed to be dead, {Ramza}.{end}

//Message x06
{font:08}{Ramza}{br}
{font:00}Last I heard, you met the same fate as myself.{br}
{br}
A conspirator against the church is to be executed, right?{br}
{br}
You're looking well for a dead man.{end}

//Message x07
{font:08}Olan{br}
{font:00}Your friend staged my death.{br}
{br}His way of a Pseudo apology for his schemes I suppose.{end}

//Message x08
{font:08}{Ramza}{br}
{font:00}Friend?{end}

//Message x09
{font:08}Olan{br}
{font:00}Folks around Ivalice have taken to calling him "The Common King".{br}
{br}
You know him as Delita.{end}

//Message x0A
{font:08}Alma{br}
{font:00}Delita... "The Common King?""{br}
Oh, I remember!{br}
{br}
How is it having a commoner ruling over Ivalice?{end}

//Message x0B
{font:08}Olan{br}
{font:00}We have much to discuss...{br}
{br} 
Not here though, we need to go somewhere safe.{br}
Somewhere more concealed...{br}
{br} I know just the place.{end}

//Message x0C
{font:08}{Ramza}{br}
{font:00}Lead the way, Olan. Come Alma, it's time to...{end}

//Message x0D
{font:08}Thief{br}
{font:00}Hold it right there!{br}
{br}
Empty your pockets or face god!{end}

//Message x0E
{font:08}{Ramza}{br}
{font:00}Damn it!{br}
{br}Olan, they've seen my face. We can't let them live!{end}

//Message x0F
{font:08}Olan{br}
{font:00}What!?{br}
{br}
These people have no idea who you are!
We don't need to kill them{end}

//Message x10
{font:08}{Ramza}{br}
{font:00}If our description gets out to the public, there will be more{br}
trouble than we can contain.{br}
{br} These thugs can not leave here!{end}

//Message x11
{font:08}Olan{br}
{font:00}... Time has not been kind to you.{end}

//Message x12
{font:08}Bandit{br}
{font:00}"Enough! If you won't cooperate,{br}
we'll pick your coin from your corpses.{br}
{br}
Charge!"{end}


I've been tinkering with it since I posted my first event thread and think it's time to formally ask to have my butt saved!

Take care, all.
Cody
  • Modding version: PSX

3lric

The issue is that your lines are waaay to long. The dialogue box cannot support this, so it skips the dialogue,
Look at some vanilla dialogue short shorten and/or add {br} accordingly.
  • Modding version: PSX

Jumza

Quote from: Elric on January 18, 2014, 04:36:29 pm
The issue is that your lines are waaay to long.


I believe the max is 49 characters, but I'm sure some vary in size so as a general rule try and keep each line less than or equal to 40.
  • Modding version: PSX
Nyzer: Alma teleports out of her own possessed body.
Raijinili: Remember that you're telling a modding community that the game they love could use some fixing.

CodySpie

Quote from: Elric on January 18, 2014, 04:36:29 pm
The issue is that your lines are waaay to long. The dialogue box cannot support this, so it skips the dialogue,
Look at some vanilla dialogue short shorten and/or add {br} accordingly.


That seems to have done the trick, thank you very much Elric! :)

I'm hoping to have this put together soon, battle and all! As soon as I learn how to create battles, still haven't gotten that far yet. Haha
  • Modding version: PSX