Jump to content

Loading units in FE8


Crimson Red
 Share

Recommended Posts

I heard it was a pain in the ass but never did I think it'd be this much of a pain in the ass... I swept by most of the learning curve of hacking FE8 for essentially my first time but then I hit units and bam... but meh this is only my like 3rd public hacking question so I'm not ashamed

TurnBasedEvents:
TURN 0x00 Choose [1,0] 0x00
CODE $00

Choose:
LOU1 Choices
ENUN
CAM1 [20,0]
STAL 30
TEXTSHOW 0x90A
TEXTEND
REMA
ENDA

Choices:
UNIT 0x01 0x73 0x0 Level(1,Ally,False) [11,5] 0b 0x00 0x01 REDA1 [Elixir] [$00000000]
UNIT Empty

Choices2:
UNIT 0x02 0x73 0x00 Level(1,NPC,False) [10,0] 0b 0x00 0x01 REDA2 [WindSword] [$00000000]
UNIT 0x03 Fighter 0x00 Level(1,NPC,False) [11,0] 0b 0x00 0x01 REDA3 [HandAxe] [$00000000]
UNIT 0x04 Knight 0x00 Level(1,NPC,False) [12,0] 0b 0x00 0x01 REDA4 [Javelin] [$00000000]
UNIT 0x05 Archer 0x00 Level(1,NPC,False) [10,1] 0b 0x00 0x01 REDA5 [ironBow] [$00000000]
UNIT 0x06 Mage 0x00 Level(1,NPC,False) [11,1] 0b 0x00 0x01 REDA6 [Thunder] [$00000000]
UNIT 0x07 Pirate 0x00 Level(1,NPC,False) [12,1] 0b 0x00 0x01 REDA7 [HandAxe] [$00000000]
UNIT Empty

REDA1:
REDA [11,5] 0b 0x0 0x0 0

A turn based event on turn 1 loads text, shifts the camera, and loads units. The problem is that both the camera shift and the unit loading do not function correctly. The camera does not appear to shift at all and units load at the wrong place. By "wrong place" I really mean the Y-coordinate is wrong. The X-co-ordinate typically works, but the Y co-ordinate doesn't.

Once I get one down I can get the rest--so for the unit group "Choices", I set the co-ordinates to [11,5], and set up a REDA for [11,5]. I've tried placing it around that place with variable X and Y co-ordinates but to no avail. I know it's not the activation of the event itself so it's something in either the unit data or the LOU code, I'm guessing.

What happens is that instead of loading at [11,5], he loads at [11,1]. Co-ordinates of [11,15] get him close to [11,5], but he's still only at [11,3]. Higher co-ordinates just stick him around [11,0] to [11,1]. As you can see, the X-coordinate is pretty stable.

Question is, how do I load units properly in normal co-ordinates?

Hopefully there's some life-saver who knows how to hack FE8 (besides MK404 because I asked him and it didn't help, and Ace, because Ace isn't online).

And while we're at it anyone want to give me notes on chapter name graphics so I don't have to spend time on it myself?

Edited by Luffy
Link to comment
Share on other sites

Are you sure you have the latest release of EA? The coordinate bug has been fixed, IIRC. As for camera, no idea. Perhaps it needs to be explicitly enabled or only certain codes have it.

Edited by Nintenlord
Link to comment
Share on other sites

Huh, weird. If I could remember a time when the camera moved I'd just disassemble that, but... >___>

I think I'll try out downloading the latest version when I get on my computer. It's probably that, even though I don't remember any new versions being released recently. D=

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...