• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
June 13, 2024, 03:52:25 am

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


Teleport In / Units leaving map?

Started by Tyler, August 26, 2011, 04:30:30 am

Tyler

August 26, 2011, 04:30:30 am Last Edit: August 26, 2011, 04:57:16 am by Tyler Delynn
Hey guys! So I've been messing around, kind of experimenting with my own hack and how to make my own events and such. I'd say I'm making some decent progress which is very fun, interesting and time consuming!

So for my first scene, I'm just testing the mechanics, basically. I have Ramza run around the map and do some simple animations and speak, and then he teleports out. This is where my problem comes up. After that, I have Delita come in 2 seconds afterwards (or is suppose to), through a TeleportIn. But the problem is, he just never does. I believe I have his settings right in FFTpatcher and I'm pretty sure I have the commands for it to work correct as well.

Can anybody tell me if something looks wrong with this? Again, by all means, I'm no expert at this. Just started event editing last night. Delita is unit 21.
Instead of doing what I hoped, (teleporting in, say some dialogue and then start walking away while the screen fades), he instead, does not teleport in at all, his dialogue shows up, and THEN it fades away. I'm assuming the map doesn't recognize he's on the map yet so that's why he isn't teleporting in or showing up. And my last question is, does anybody know how to make units leave sides of the map? Thanks guys.

TeleportOut(x20,x00)
Camera(+00504,+00019,+00840,+00200,+01450,+00000,+06144,+00200)
Wait(00250)
UnitAnim(x21,x00,x06,x00,x00)
TeleportIn(x21,x00)
Wait(0050)
DisplayMessage(x10,x70,x0004,x21,x00,x00,+00000,+00000,+00000,x01)
WaitForInstruction(x01,x00)
Wait(0050)
WalkTo(x21,x00,005,003,x00,x00,+008,x01)
BlackoutBeta()
EventEnd()
  • Modding version: PSX
  • Discord username: tylerf#3233

Pride

You have to use the draw command after the teleport in command so in this case...

TeleportIn(x21,x00)
Draw(x21,x00)

Always look at events ingame if you get stuck.
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Tyler

Quote from: Pride on August 26, 2011, 09:14:52 am
You have to use the draw command after the teleport in command so in this case...

TeleportIn(x21,x00)
Draw(x21,x00)

Always look at events ingame if you get stuck.


Ahh, thank you so much. Yeah, I have been using references from the game for the majority of the cases. Thanks a bunch!
  • Modding version: PSX
  • Discord username: tylerf#3233

Pride

  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?