• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 19, 2024, 09:03:50 pm

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!


Black screen on new event...Not 1st camera command

Started by CONMAN, September 21, 2012, 06:45:01 pm

CONMAN

Hey all, I haven't posted in a while largely because I have been stuck with an event change that has been driving me nuts...

I have been trying to change: EVT_038_026 Interrogation (the scene following the dorter battle) and have run into a snag.  By using the AttackOUT gui and EVSP I have managed to reach upto the Teta kidnapping scene... so I have "some" exp at this....(I haven't messed with the world map, or Event conditionals and have only used the Attack, EVSP, Patcher... the basics)

Rather than place this scene at the broken down wood building, I am having a different scene at the Beoulve residence (the Balbanes death bed map).  I successfully changed orbone chapel to hospital slums, the opening battle to thieves fort and Balbanes death to broken down wood building... so I had done this before....
Sadly on my multiple play throughs to fix my MANY mistakes, I keep hitting a wall at this scene. (Yes, I remade several scenes and played through noting mistakes to try and cut down on replaying the exact same scene over and over.) 

Music plays.....and the black screen never lifts...  I figured I had screwed up the opening camera... but after a few attempts...nothing.
Fuck it- I say!  I put back the original Scene into the compiler and reinsert my TEST file (I started over from scratch a couple of times on other scenes).... nada...

I figured I had 2 potential places to find where I screwed up- on the ATTACKOUT gui; or if not on the event in question, maybe the prior scene.

I created a seperate folder which contained a copy of the ATTACKOUT.editor and a fresh Attackout file from a clean version.  I compared and changed my edited copy to make sure the NEXTSCENE, and TEXT numbers matched up.  I went back and forth trying see if the two unknowns should be set to zero, or leave them like as 09, and 01 respectfully.  nada

I double checked in EVSP my changed file, the original file and the preceding scene that I had changed:
EVT_035_023 Dorter Trade City1. I never edited EVT_036_024 Dorter Trade City1 (Victory), or EVT_037_025 Interrogation (Setup) because that seemed pointless.
  I specifically looked for this information:
{3E}(r02000000FFFFFF3C00)
WaitForInstruction(x0C,x00)
ZERO(x006E)
ADD(x006E,x0006)
ZERO(x01C1)
ADD(x01C1,x0001)
ZERO(x0270)
ADD(x0270,x0001)
ZERO(x03D7)
ADD(x03D7,x0001)
ZERO(x03F1)
ADD(x03F1,x0001)
EventEnd()

I knew better than to ever adjust this info, (which I don't really understand) but believe is neccessary to let the game know that this scene is completed...so move to the next scene number.     

So, I am at a crossroads with this now.  Either I have once again overlooked something that should be obvious,  or I may have to learn to use another tool to fix this sucker (and while typing this considered that I might need Delita's and or Algus's unit id's in my party to proceed).

Any ideas guys?  I've exhausted what i know to and other than the possibity I just noted, have no clue how to proceed from here... :(
  • Modding version: PSX

3lric

You said you are using the Hospital Slums map for this correct? That is a no-no lol, that map is all screwy and only really "works" for events, and even that isn't easy to work with.
  • Modding version: PSX

RavenOfRazgriz

If it's not an error with the map itself, you really should post your full event code and images of relevant ATTACK.OUT GUI and Conditional entries.  It's hard to say where your issue is without being able to look at the code itself.

CONMAN

Here it is.  Also, refresh my memory- I can change an event and then load a save from shortly before it right?  I won't have a problem by having a save right before Dorter and playing it and then veiwing my changed event following?

I tried to change back to the original scene in EVSP... and nothing, but here is the one I was trying to implement:

Offset(x0004C000)
//Remove the previous line if you wish not to override the offset in CONFIG.INI.



UnitPresent(x02,x00,x01)
UnitAnim(x01,x00,x1A,x00,x00)
WaitForInstruction(x0B,x00)


{63}(rC9)
Camera(+00504,+00032,+00392,+00302,+04608,+00000,+04096,+00001)
{4D}(r78)
DarkScreen(x00,x01,012,064,x00,004)
WaitForInstruction(x36,x00)
ShowMapTitle(+003,+003,+004)

RemoveDarkScreen()
WaitForInstruction(x36,x00)
Wait(00100)

Sound(x0067)

UnitAnim(x01,x00,x36,x00,x00)
DisplayMessage(x10,x11,x0001,x01,x00,x00,+00000,+00000,+00000,x03)
Camera(+00392,-00188,+00392,+00302,+01536,+00000,+04096,+00100)
WaitForInstruction(x04,x00)
Draw(x02,x00)

FaceUnit(x02,x00,x01,x00,x00,x0C,x00)
WaitFaceUnit()

DisplayMessage(x10,x11,x0002,x01,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0003,x02,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0004,x01,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0005,x02,x00,x00,+00000,+00000,+00000,x03)

WalkTo(x01,x00,005,003,x00,x00,+008,x01)
WaitWalk(x01,x00)
WalkTo(x01,x00,003,002,x00,x00,+008,x01)
WaitWalk(x01,x00)
UnitAnim(x01,x00,x29,x00,x00)
WaitForInstruction(x0B,x00)
UnitAnim(x01,x00,x29,x00,x00)
WaitForInstruction(x16,x00)
Wait(00200)
DisplayMessage(x10,x11,x0006,x01,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0007,x02,x00,x00,+00000,+00000,+00000,x03)
UnitAnim(x01,x00,x02,x00,x00)
WaitForInstruction(x0B,x00)
DisplayMessage(x10,x11,x0008,x01,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0009,x02,x00,x00,+00000,+00000,+00000,x03)
Wait(00100)
Sound(x00A7)
Wait(00300)
DisplayMessage(x10,x11,x000A,x01,x00,x00,+00000,+00000,+00000,x03)


{60}(r005A)
Wait(00030)
{3E}(r02000000FFFFFF3C00)
WaitForInstruction(x0C,x00)
ZERO(x006E)
ADD(x006E,x0006)
ZERO(x01C1)
ADD(x01C1,x0001)
ZERO(x0270)
ADD(x0270,x0001)
ZERO(x03D7)
ADD(x03D7,x0001)
ZERO(x03F1)
ADD(x03F1,x0001)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
{font:08}Alma{br}
{font:00}!What was that sound?{end}

//Message x02
{font:08}Alma{br}
{font:00}Oh, It's you dream husband!{br}
..........I didn't think that{br}
I had even fallen asleep.{end}

//Message x03
{font:08}Magnus{br}
{font:00}Do you dream of me, or{br}
do did you think I was imaginary?{end}

//Message x04
{font:08}Alma{br}
{font:00}I didn't think you were{br}
real....I mean I've seen you fly.{end}

//Message x05
{font:08}Magnus{br}
{font:00}No, I'm real.  There are{br}
many things in this world that{br}
seem impossible until you've{br}
witnessed them.{end}

//Message x06
{font:08}Alma{br}
{font:00}I don't understand. I{br}
feel like I know you, but I have{br}
only seen you in this place and {br}
this time of day.  I thought you{br}
were some kind of dream.{br}
You just seemed...magical and{br}
out of place.{end}

//Message x07
{font:08}Magnus{br}
{font:00}Without understanding,{br}
many things seem magical.  Fine{br}
art, technology... they seem unreal{br}
to the uninitiated.{end}

//Message x08
{font:08}Alma{br}
{font:00}I'm so confused. I'm {br}
excited and dizzy at the{br}
same time!  I think I love you{br}
but maybe I love my dreams.{end}

//Message x09
{font:08}Magnus{br}
{font:00}I am real, but I know {br}
your dreams as well.  I have a{br}
gift for you.  With it, we can{br}
weave your dreams into reality.{end}

//Message x0A
{font:08}Alma{br}
{font:00}Wait, if you're real then{br}
we really did.......................{end}

  • Modding version: PSX

3lric

Ah i see, bad camera

try this

Offset(x0004C000)

UnitPresent(x02,x00,x01)
UnitAnim(x01,x00,x1A,x00,x00)

ShowMapTitle(+000,+000,+001)

{63}(rC9)
Camera(+00504,+00032,+00392,+00302,+04608,+00000,+04096,+00001)
Camera(+00504,+00032,+00392,+00302,+04608,+00000,+04096,+00128)
{4D}(r78)
Camera(+00504,+00032,+00392,+00302,+04608,+00000,+04096,+00128)
WaitForInstruction(x04,x00)

Sound(x0067)

UnitAnim(x01,x00,x36,x00,x00)
DisplayMessage(x10,x11,x0001,x01,x00,x00,+00000,+00000,+00000,x03)
Camera(+00392,-00188,+00392,+00302,+01536,+00000,+04096,+00100)
WaitForInstruction(x04,x00)
Draw(x02,x00)

FaceUnit(x02,x00,x01,x00,x00,x0C,x00)
WaitFaceUnit()

DisplayMessage(x10,x11,x0002,x01,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0003,x02,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0004,x01,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0005,x02,x00,x00,+00000,+00000,+00000,x03)

WalkTo(x01,x00,005,003,x00,x00,+008,x01)
WaitWalk(x01,x00)
WalkTo(x01,x00,003,002,x00,x00,+008,x01)
WaitWalk(x01,x00)
UnitAnim(x01,x00,x29,x00,x00)
WaitForInstruction(x0B,x00)
UnitAnim(x01,x00,x29,x00,x00)
WaitForInstruction(x16,x00)
Wait(00200)
DisplayMessage(x10,x11,x0006,x01,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0007,x02,x00,x00,+00000,+00000,+00000,x03)
UnitAnim(x01,x00,x02,x00,x00)
WaitForInstruction(x0B,x00)
DisplayMessage(x10,x11,x0008,x01,x00,x00,+00000,+00000,+00000,x03)
DisplayMessage(x10,x11,x0009,x02,x00,x00,+00000,+00000,+00000,x03)
Wait(00100)
Sound(x00A7)
Wait(00300)
DisplayMessage(x10,x11,x000A,x01,x00,x00,+00000,+00000,+00000,x03)


{60}(r005A)
Wait(00030)
{3E}(r02000000FFFFFF3C00)
WaitForInstruction(x0C,x00)
ZERO(x006E)
ADD(x006E,x0006)
ZERO(x01C1)
ADD(x01C1,x0001)
ZERO(x0270)
ADD(x0270,x0001)
ZERO(x03D7)
ADD(x03D7,x0001)
ZERO(x03F1)
ADD(x03F1,x0001)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
{font:08}Alma{br}
{font:00}!What was that sound?{end}

//Message x02
{font:08}Alma{br}
{font:00}Oh, It's you dream husband!{br}
..........I didn't think that{br}
I had even fallen asleep.{end}

//Message x03
{font:08}Magnus{br}
{font:00}Do you dream of me, or{br}
do did you think I was imaginary?{end}

//Message x04
{font:08}Alma{br}
{font:00}I didn't think you were{br}
real....I mean I've seen you fly.{end}

//Message x05
{font:08}Magnus{br}
{font:00}No, I'm real.  There are{br}
many things in this world that{br}
seem impossible until you've{br}
witnessed them.{end}

//Message x06
{font:08}Alma{br}
{font:00}I don't understand. I{br}
feel like I know you, but I have{br}
only seen you in this place and {br}
this time of day.  I thought you{br}
were some kind of dream.{br}
You just seemed...magical and{br}
out of place.{end}

//Message x07
{font:08}Magnus{br}
{font:00}Without understanding,{br}
many things seem magical.  Fine{br}
art, technology... they seem unreal{br}
to the uninitiated.{end}

//Message x08
{font:08}Alma{br}
{font:00}I'm so confused. I'm {br}
excited and dizzy at the{br}
same time!  I think I love you{br}
but maybe I love my dreams.{end}

//Message x09
{font:08}Magnus{br}
{font:00}I am real, but I know {br}
your dreams as well.  I have a{br}
gift for you.  With it, we can{br}
weave your dreams into reality.{end}

//Message x0A
{font:08}Alma{br}
{font:00}Wait, if you're real then{br}
we really did.......................{end}


I made a few other minor fixes/changes as well to help make it look a bit better, but before anything else, see if this works for you

and yes, you can make a save state all the way up to the screen that says loading right before your event, but once the event starts dont save state,
otherwise you wont see the changes unless you do the savestate hacking that Xif does. If you don't then you will need to replay from the beginning of the
event, which is what i do. (Frame skip FTW)
  • Modding version: PSX

CONMAN

Thank you so much Elric!  i don't know why I thought i could get away with using that camera :oops:  I feel totally reinvigorated about learning event editing! :mrgreen:
  • Modding version: PSX

3lric

Sorry I didn't see this earlier and I've very happy to hear it, I look forward to seeing some events from you!
  • Modding version: PSX

CONMAN

October 04, 2012, 03:46:40 pm #7 Last Edit: October 04, 2012, 08:26:58 pm by Elric
Ugh, I hate to ask another question so quick..... but... I was going to change the scene in which delita/ramza/algus retrieve elmdor from weigraff into a battle scene.

I'm pretty sure I had seen this question answered before, but couldn't find it. :?  I am pretty sure that I need to change some code in the attackout file (not using the interface, but xml worksheet or straight up hex changing).

All my dialogue plays out, but the battle conditions and such don't pop-up.  The scene simply finishes and goes to the world map.

(ignore the miluda name/designation- it's just filler for now :cool:.)

Offset(x00056000)
//Remove the previous line if you wish not to override the offset in CONFIG.INI.


WalkTo(x85,x00,0004,010,x00,x00,+008,x01)
WaitWalk(x85,x00)


Wait(00001)
Wait(00001)
{63}(rC9)
Camera(+00672,+00000,+00240,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
{4D}(r78)

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

Camera(+00448,+00000,+01120,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)

DisplayMessage(x10,x11,x0002,x85,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
Camera(+00672,+00000,+00240,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
DisplayMessage(x10,x11,x0003,x04,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
Camera(+00448,+00000,+01120,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)

DisplayMessage(x10,x11,x0004,x85,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
Camera(+00672,+00000,+00240,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
DisplayMessage(x10,x11,x0005,x04,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
Camera(+00448,+00000,+01120,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)

DisplayMessage(x10,x11,x0006,x85,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
Camera(+00448,+00000,+00240,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
DisplayMessage(x10,x11,x0007,x01,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
Camera(+00448,+00000,+01120,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)

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

Camera(+00112,+00000,+00336,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
DisplayMessage(x10,x11,x0009,x05,x00,x00,+00000,+00000,+00000,x03)
Wait(00100)

Camera(+00672,+00000,+00240,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)


DisplayMessage(x10,x11,x000A,x04,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
Camera(+00448,+00000,+01120,+00302,+04608,+00000,+04096,+00001)
WaitForInstruction(x04,x00)

DisplayMessage(x10,x11,x000B,x85,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
DarkScreen(x00,x01,012,064,x00,004)
WaitForInstruction(x36,x00)
DisplayConditions(x08,060)
WaitForInstruction(x38,x00)
DisplayConditions(x00,060)
WaitForInstruction(x38,x00)
RemoveDarkScreen()
WaitForInstruction(x36,x00)
{1C}(r01)




{60}(r003C)
{3E}(r02000000FFFFFF3C00)
WaitForInstruction(x0C,x00)
ZERO(x006E)
ADD(x006E,x0007)
ZERO(x006F)
ADD(x006F,x0003)
ZERO(x01C2)
ADD(x01C2,x0001)
ZERO(x0283)
ADD(x0283,x0001)
ZERO(x03F1)
ADD(x03F1,x0002)
{7C}()
{E3}()
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
{font:08}Zalbag{br}
{font:00}Delita! Do you still breath?{end}


//Message x02
{font:08}Miluda{br}
{font:00}Is that Zalbag? {br}
{br}
..........Nice to meet you.  Your{br}
friend here is in bad shape. His{br}
snooping has caused us trouble{br}
and him pain.{br}
{br}
Really, its sort of your fault, right?{end}

//Message x03
{font:08}Zalbag{br}
{font:00}You haven't seen Weigraf,{br}
huh?  I figured he would have killed{br}
you by now.{end}

//Message x04
{font:08}Miluda{br}
{font:00}???{br}
I haven't seen him.  He probably{br}
was finished off by one of my fellow{br}
acoyltes.{end}

//Message x05
{font:08}Zalbag{br}
{font:00}No-  I bet he passed you up{br}
looking for a bigger target. He's surely{br}
fighting your master, Magnus, right{br}
now.{br}
Lucky bastard.{end}

//Message x06
{font:08}Miluda{br}
{font:00}Ha!  Too bad he isn't here.{br}
My master can't be and{br}
won't be, beaten.  The hand of the{br}
divine is upon him.  His new order is{br}
heaven sent.  No man can match{br}
him.{br}
{br}
You will beg at his feet.{end}

//Message x07
{font:08}{Ramza}{br}
{font:00}....When did you go off{br}
the deep end?  You were all about{br}
money, and now you spout cultish{br}
mumbo jumb?{end}

//Message x08
{font:08}Miluda{br}
{font:00}{Ramza}, you were to be{br}
favored, but you turned against your{br}
destiny.  Magnus wanted to raise you{br}
up with him.  Too bad.......{end}

//Message x09
{font:08}Delita{end}
{font:00}ughhh........{end}

//Message x0A
{font:08}Zalbag{br}
{font:00}He lives!!!   We're taking him.{end}

//Message x0B
{font:08}Miluda{br}
{font:00}Let's see if fate really smiles on{br}
you.  I'm betting against it.{end}

  • Modding version: PSX

3lric

Aside from the fact that you will need to assign at the very least 3 attack.out slots in the GUI to that event Setup, Battle, Victory. And additional ones for any conditions you want (such as when characters speak mid battle).

You would also need to change the attack.out spreadsheet to reflect this. Raven, Pride or myself can help you out with that.

Event wise you also have a couple issues, some of these are unknown commands that I cannot check on until i get home tomorrow
but off the top i see {3E}(r02000000FFFFFF3C00), this is a fade out command, so you are forcing the event screen to fade to black at this point.

As for why its not showing the conditions, I will give you an answer for this tomorrow afternoon.
  • Modding version: PSX