Strict_Gryphon90 Posted September 15, 2015 Share Posted September 15, 2015 (edited) Hello everyone, This may very well be a noob question but I just can't seem to figure this out on my own. I'm trying to create a chapter with the prep screen but no matter what I try I get one of these errors: Prep screen never comes up Not all of my enemies load My units load in slots for enemies and my formations is set to enemy slots Permanent black screen after prep screen Here is my script: //Made by markyjoe1990 of Youtube//Modified by Nintenlord#define DISABLE_TUTORIALS#include EAstdlib.eventEventPointerTable(0x1B,Pointers)ORG 0xD81150Pointers:POIN Turn_eventsPOIN Character_eventsPOIN Location_eventsPOIN Misc_eventsPOIN BallistaDataPOIN TrapData TrapDataPOIN Bad Bad Bad BadPOIN Good Good Good GoodPOIN Opening_event Ending_eventGood:UNIT 0x00 0x00 0x00 Level(1,Ally,False) [4, 19] [4, 19] [0x00] [0x00,0x00,0x00,0x00]UNIT 0x00 0x00 Lyn Level(1,Ally,False) [3, 19] [3, 19] [0x00] [0x00,0x00,0x00,0x00]UNIT 0x00 0x00 Lyn Level(1,Ally,False) [3, 18] [3, 18] [0x00] [0x00,0x00,0x00,0x00]UNIT 0x00 0x00 Lyn Level(1,Ally,False) [3, 20] [3, 20] [0x00] [0x00,0x00,0x00,0x00]UNIT 0x00 0x00 Lyn Level(1,Ally,False) [2, 19] [2, 19] [0x00] [0x00,0x00,0x00,0x00]UNIT 0x00 0x00 Lyn Level(1,Ally,False) [1, 18] [1, 18] [0x00] [0x00,0x00,0x00,0x00]UNIT 0x00 0x00 Lyn Level(1,Ally,False) [1, 20] [1, 20] [0x00] [0x00,0x00,0x00,0x00]UNIT EmptyBad:UNIT Erik Cavalier 0x00 Level(16,Enemy,True) [8,5] [8,5] [AxeReaver, HorseSlayer, Javelin, DragonShield] [0x03,0x03,0x09,0x20]UNIT 0x61 Archer 0x00 Level(1,Enemy,True) [5,8] [5,8] [ironBow] [0x03,0x03,0x09,0x20]UNIT 0x61 Archer 0x00 Level(1,Enemy,True) [8,8] [8,8] [ironBow] [0x03,0x03,0x09,0x20]UNIT 0x61 Archer 0x00 Level(1,Enemy,True) [11,8] [11,8] [ironBow] [0x03,0x03,0x09,0x20]UNIT 0x61 Archer 0x00 Level(1,Enemy,True) [11,4] [11,4] [ironBow] [0x03,0x03,0x09,0x20]UNIT 0x61 Archer 0x00 Level(7,Enemy,True) [1,2] [1,2] [steelBow] [0x00,0x03,0x09,0x00]UNIT 0x61 Archer 0x00 Level(9,Enemy,True) [1,4] [1,4] [silverBow] [0x03,0x03,0x09,0x20]UNIT 0x61 Archer 0x00 Level(7,Enemy,True) [1,7] [1,7] [steelBow] [0x00,0x03,0x09,0x00]UNIT 0x61 Archer 0x00 Level(7,Enemy,True) [18,8] [18,8] [steelBow] [0x00,0x03,0x09,0x00]UNIT 0x61 Archer 0x00 Level(7,Enemy,True) [13,11] [13,11] [steelBow] [0x00,0x03,0x09,0x00]UNIT 0x61 Archer 0x00 Level(7,Enemy,True) [7,16] [7,16] [steelBow] [0x00,0x03,0x09,0x00]UNIT 0x61 Fighter 0x00 Level(10,Enemy,True) [0,5] [0,5] [HandAxe, SwordReaver] [0x03,0x03,0x09,0x20]UNIT 0x61 Fighter 0x00 Level(10,Enemy,True) [2,5] [2,5] [HandAxe, SwordReaver] [0x03,0x03,0x09,0x20]UNIT 0x61 Fighter 0x00 Level(8,Enemy,True) [2,8] [2,8] [steelAxe] [0x00,0x03,0x09,0x00]UNIT 0x61 Fighter 0x00 Level(8,Enemy,True) [0,11] [0,11] [steelAxe] [0x00,0x03,0x09,0x00]UNIT 0x61 Fighter 0x00 Level(8,Enemy,True) [14,13] [14,13] [steelAxe] [0x00,0x03,0x09,0x00]UNIT 0x61 Fighter 0x00 Level(8,Enemy,True) [9,19] [9,19] [steelAxe] [0x00,0x03,0x09,0x00]UNIT 0x61 Mage 0x00 Level(9,Enemy,True) [0,4] [0,4] [Elfire] [0x03,0x03,0x09,0x20]UNIT 0x61 Mage 0x00 Level(9,Enemy,True) [2,4] [2,4] [Elfire] [0x03,0x03,0x09,0x20]UNIT 0x61 Mage 0x00 Level(7,Enemy,True) [8,7] [8,7] [Fimbulvetr] [0x00,0x03,0x09,0x00]UNIT 0x61 Mage 0x00 Level(7,Enemy,True) [7,14] [7,14] [Fire] [0x00,0x03,0x09,0x00]UNIT 0x61 Mage 0x00 Level(7,Enemy,True) [15,21] [15,21] [Fire] [0x00,0x03,0x09,0x20]UNIT 0x61 Mercenary 0x00 Level(8,Enemy,True) [17,8] [17,8] [steelSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Mercenary 0x00 Level(8,Enemy,True) [15,11] [15,11] [steelSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Mercenary 0x00 Level(8,Enemy,True) [16,12] [16,12] [steelSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Mercenary 0x00 Level(8,Enemy,True) [3,14] [3,14] [steelSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Mercenary 0x00 Level(8,Enemy,True) [8,18] [8,18] [steelSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Monk 0x00 Level(7,Enemy,True) [2,14] [2,14] [shine] [0x00,0x03,0x09,0x00]UNIT 0x61 Monk 0x00 Level(7,Enemy,True) [19,15] [19,15] [shine] [0x00,0x03,0x09,0x00]UNIT 0x61 Myrmidon 0x00 Level(8,Enemy,True) [0,3] [0,3] [ironSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Myrmidon 0x00 Level(8,Enemy,True) [2,3] [2,3] [ironSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Myrmidon 0x00 Level(8,Enemy,True) [10,11] [10,11] [ironSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Myrmidon 0x00 Level(8,Enemy,True) [4,12] [4,12] [ironSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Myrmidon 0x00 Level(8,Enemy,True) [14,17] [14,17] [ironSword] [0x00,0x03,0x09,0x00]UNIT 0x61 Myrmidon 0x00 Level(8,Enemy,True) [15,18] [15,18] [ironSword] [0x00,0x03,0x09,0x00]UNIT EmptyBadTwo:UNIT 0x61 Shaman 0x00 Level(7,Enemy,True) [19,3] [19,3] [Flux] [0x00,0x03,0x09,0x00]UNIT 0x61 Shaman 0x00 Level(7,Enemy,True) [0,9] [0,9] [Flux] [0x00,0x03,0x09,0x00]UNIT 0x61 Soldier 0x00 Level(8,Enemy,True) [17,4] [17,4] [steelSpear, Javelin] [0x03,0x03,0x09,0x20]UNIT 0x61 Soldier 0x00 Level(10,Enemy,True) [1,5] [1,5] [Javelin, AxeReaver] [0x03,0x03,0x09,0x20]UNIT 0x61 Soldier 0x00 Level(12,Enemy,True) [7,6] [7,6] [silverSpear, Javelin] [0x03,0x03,0x09,0x20]UNIT 0x61 Soldier 0x00 Level(12,Enemy,True) [9,6] [9,6] [silverSpear, Javelin] [0x03,0x03,0x09,0x20]UNIT 0x61 Soldier 0x00 Level(8,Enemy,True) [19,8] [19,8] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 Soldier 0x00 Level(8,Enemy,True) [2,9] [2,9] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 Soldier 0x00 Level(8,Enemy,True) [1,10] [1,10] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 Soldier 0x00 Level(8,Enemy,True) [16,11] [16,11] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 Soldier 0x00 Level(8,Enemy,True) [17,19] [17,19] [steelSpear, Javelin] [0x03,0x03,0x09,0x20]UNIT 0x61 Soldier 0x00 Level(8,Enemy,True) [8,20] [8,20] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 Soldier 0x00 Level(8,Enemy,True) [12,21] [12,21] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 Troubadour 0x00 Level(7,Enemy,True) [0,0] [0,0] [Physic, Fire] [0x0F,0x03,0x09,0x20]UNIT 0x61 Troubadour 0x00 Level(7,Enemy,True) [2,0] [2,0] [Physic, Fire] [0x0F,0x03,0x09,0x20]UNIT 0x61 Troubadour 0x00 Level(7,Enemy,True) [10,14] [10,14] [Physic, Fire] [0x0F,0x03,0x09,0x20]UNIT 0x61 Troubadour 0x00 Level(7,Enemy,True) [12,14] [12,14] [Physic, Fire] [0x0F,0x03,0x09,0x20]UNIT 0x61 WyvernKnight 0x00 Level(8,Enemy,True) [5,2] [5,2] [Javelin] [0x00,0x03,0x09,0x00]UNIT 0x61 WyvernKnight 0x00 Level(8,Enemy,True) [4,3] [4,3] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 WyvernKnight 0x00 Level(8,Enemy,True) [6,3] [6,3] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 WyvernKnight 0x00 Level(8,Enemy,True) [10,3] [10,3] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 WyvernKnight 0x00 Level(8,Enemy,True) [11,2] [11,2] [Javelin] [0x00,0x03,0x09,0x00]UNIT 0x61 WyvernKnight 0x00 Level(8,Enemy,True) [12,1] [12,1] [steelSpear] [0x00,0x03,0x09,0x00]UNIT 0x61 WyvernKnight 0x00 Level(8,Enemy,True) [19,6] [19,6] [steelSpear] [0x00,0x03,0x09,0x00]UNIT EmptyTurn_events:TurnEventPlayer(0x05,Ending_event,21)END_MAINCharacter_events:END_MAINLocation_events:END_MAINMisc_events:DefeatBoss(Ending_event)CauseGameOverIfLordDiesEND_MAINBallistaData:BLST [5,8] 0x34BLST [8,8] 0x34BLST [11,8] 0x34BLST [11,4] 0x34BLSTALIGN 4Opening_event:OOBBLOU1 BadLOU1 BadTwoLOU1 GoodENDBEnding_event:MoveToChapter(Ch5)ENDATrapData:ENDTRAPMESSAGE Events end at offset currentOffset//The map for this chapter is at offset: ???????? Under good I put those parameters because I don't want to load specific units. I want the player to be able to select 7 units in the prep screen. Let me know if this is wrong. I made sure that the prep screen was enabled in the chapter data Nightmare module. Thank you very much, Gryphon Edited September 17, 2015 by Strict_Gryphon90 Quote Link to comment Share on other sites More sharing options...
Alm Posted September 15, 2015 Share Posted September 15, 2015 Uh, the first thing I noticed was that instead of loading units you just loaded 0x00 with the class 0x00. Try filling those in, also make sure Nightmare has it set to Yes. Though, if you're trying to make the prep screen appear on the prologue, it will not work. Quote Link to comment Share on other sites More sharing options...
CT075 Posted September 15, 2015 Share Posted September 15, 2015 you can put whatever into good and it will just work; on maps with prep screen the only thing that really matters is that you load an actual unit (instead of 0x0). it will replace any actual data you put in there with "you can drop a unit here" Quote Link to comment Share on other sites More sharing options...
Strict_Gryphon90 Posted September 15, 2015 Author Share Posted September 15, 2015 (edited) Thanks for the replies guys. I tried what you guys suggested but unfortunately it didn't work. I went ahead and made a video detailing the issue (My software didn't record the mouse pointer, sorry about that): EDIT: I just figured it out. Turns out I didn't need that extra POIN BallistaData. Ballistas are handled by TrapData. I had read BallistaData in Arch's tutorial and thought I needed to add it. Anyway I removed it and now my event works just fine. I won't pretend to know exactly what adding POIN BallistaData did to my array, but if I had to make a guess I would say it shifted the "slots" (whatever a slot is) of my pointers down one and so they started pointing at things they shouldn't point at. Thanks for the help guys. :) Edited September 15, 2015 by Strict_Gryphon90 Quote Link to comment Share on other sites More sharing options...
ghast Posted September 16, 2015 Share Posted September 16, 2015 try ENUNs between your LOU1's. You need that code always LOU1 Good ENUN LOU1 Bad ENUN ENDB make sure your prep screen is enabled in Nightmare's Chapter Data Editor for that chapter. Quote Link to comment Share on other sites More sharing options...
Strict_Gryphon90 Posted September 16, 2015 Author Share Posted September 16, 2015 I'll be sure to put in those ENUNs. The solution has been found too. Check my edit in my second post (with the video). Thanks for the help. :) 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.