Jump to content

[FE7] Scripted Battle


Avril Lavigne
 Share

Recommended Posts

i'm back! Well, I just had a feeling I would be having trouble with this...

So basically I'm trying to do a scripted battle with no animations. I followed the ultimate tutorial, tried to force a character to use a weapon he wasn't trained in so animations wouldn't show...

well they aren't showing but my game glitches, like this:

XOxB99j.png

Here are my events

FIGH 0x47 0x0A FightTest $0000001F
UNCM 0x0A 0x01
ENUN
ENDA

FightTest:
AttackerHit(10,True)
EndOfBattle


New7:
UNIT 0x47 Soldier 0x00 Level(1, Enemy, 0) [10,2] [10,3] [0x1F] Guard 
UNIT 0x0A Civilian_2_F 0x00 Level(1, NPC, 0) [10,2] [11,3] [0x00] NoAI 
UNIT

I made sure that:

  • 0x47 and 0x0A are standing next to each other.
  • 0x47 was ONLY trained in lances

 

What else should I be making sure of? My codes looked right to me, no errors in EA (obviously), just that weird glitch.

Oh, and what actually happens on-screen (with these events) is that 0x47 will turn to 0x0A, then a (ally) LynLord class character (complete wtf?) will appear in the top left corner [0,0]. Then every unit will disappear and my map will look all weird and distorted, and then it'll show a red and a BLUE, a fricking blue health bar, instead of a green, which it should be. Then it'll make the noise that a unit died but it won't show the health bars depleting and it will freeze on the picture above.

 

PLZ HELP. This is something I knew I would not be able to get the first time. I've never successfully done a no-animation scripted battle before. Examples of how they are done are always welcome and appreciated (WITH EXPLANATION)!

Edited by Avril Lavigne
Link to comment
Share on other sites

This is how I've done map battles before:

// move them next to each other
// In this battle AksumCavalier is going to attack and kill SybarisMerc
UNCM SybarisMerc 1b // I don't remember what this status condition is, but I know it makes the battle play out more polished
FIGH AksumCavalier SybarisMerc MapFight1 $0000001F // They duke it out
UNCR AksumCavalier 0x02 // un-grey him after the attack
// other events


MapFight1:
// do the damage how you'd expect



Your ENUN seems weird to me, since you aren't moving units around or loading them. I don't remember the various status condition bytes off the top of my head to make a comment about your UNCM.

Edited by Primefusion
Link to comment
Share on other sites

1 hour ago, Primefusion said:

This is how I've done map battles before:


// move them next to each other
// In this battle AksumCavalier is going to attack and kill SybarisMerc
UNCM SybarisMerc 1b // I don't remember what this status condition is, but I know it makes the battle play out more polished
FIGH AksumCavalier SybarisMerc MapFight1 $0000001F // They duke it out
UNCR AksumCavalier 0x02 // un-grey him after the attack
// other events


MapFight1:
// do the damage how you'd expect



Your ENUN seems weird to me, since you aren't moving units around or loading them. I don't remember the various status condition bytes off the top of my head to make a comment about your UNCM.

I believe the "UNCM 0x0A 0x01" was meant to make the civilian (unit 0x0A) invisible? But I could be mistaken, I never used it before...

UNCM charID condition //Applies unit condition
UNCR charID condition //Reverses unit condition
0x01 = Invisible
0x02 = Greyed out
0x04 = Not in the status menu or unit data
0x10 = Rescuing
0x20 = Is being rescued
0x800 = In ballista

//credit goes to Arch on FEuniverse

But if your plan is to kill a character off, the OP might want to try "KILL 0x0A" instead of making him invisible. 

Edited by Masterthunderblade
Link to comment
Share on other sites

2 hours ago, Primefusion said:

This is how I've done map battles before:


// move them next to each other
// In this battle AksumCavalier is going to attack and kill SybarisMerc
UNCM SybarisMerc 1b // I don't remember what this status condition is, but I know it makes the battle play out more polished
FIGH AksumCavalier SybarisMerc MapFight1 $0000001F // They duke it out
UNCR AksumCavalier 0x02 // un-grey him after the attack
// other events


MapFight1:
// do the damage how you'd expect



Your ENUN seems weird to me, since you aren't moving units around or loading them. I don't remember the various status condition bytes off the top of my head to make a comment about your UNCM.

Alright, so I'm making progress, but the one issue is that their battle quote will show up at the end of my events after the battle takes place. Do I just have to make a clone character where they have no battle quote or is there an easier solution to that?

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...