Avril Lavigne Posted January 28, 2017 Share Posted January 28, 2017 (edited) 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: 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 January 28, 2017 by Avril Lavigne Quote Link to comment Share on other sites More sharing options...
Primefusion Posted January 28, 2017 Share Posted January 28, 2017 (edited) 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 January 28, 2017 by Primefusion Quote Link to comment Share on other sites More sharing options...
Master Thunderblade Posted January 28, 2017 Share Posted January 28, 2017 (edited) 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 January 28, 2017 by Masterthunderblade Quote Link to comment Share on other sites More sharing options...
Avril Lavigne Posted January 28, 2017 Author Share Posted January 28, 2017 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? Quote Link to comment Share on other sites More sharing options...
Avril Lavigne Posted January 28, 2017 Author Share Posted January 28, 2017 K I think I figured that out. I just had to trigger his battle quote event ID before the battle and reset it before gameplay! THANKS GUYS :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.