Mikado Posted October 11, 2012 Share Posted October 11, 2012 I don't know if this belongs in the EA question thread, but if it does I'm stupid. Well, I'm having trouble with the village. Everytime a unit enters, the village gate wouldn't close and the unit would enter anytime it wants. [spoiler=The location event]Location_events: Village(0x00,House,2,14) LOCA House: FADI 10 BACG 0x01 FADU 10 TEX1 0x0810 REMA MONE 0x00 1000 ENDA [spoiler=Map chagnes]#include EAstdlib.event EventPointerTable(0x0E,TileChanges) ORG 0x8CE1D20 TileChanges: TileMap(0x00,2,14,3,2,House) TileMapEnd House: SHORT 0x0E80 0x0E84 0x0E88 0x0F00 SHORT 0x0080 0x0F08 I also changed the events in nightmare, but it still didn't work. http://gyazo.com/609...4259771fab2e5bc http://gyazo.com/ca2...92e2d108078bd2a Quote Link to comment Share on other sites More sharing options...
Agro Posted October 11, 2012 Share Posted October 11, 2012 House:SHORT 0x0E80 0x0E84 0x0E88 0x0F00 SHORT 0x0080 0x0F08 Are you trying to fit the house destruction and house visit events into one pointer? Because I'm almost certain that you need to have a separate one for each event. Like this, for the "visiting" event: HouseVisit:BYTE 0x80 0x00 Quote Link to comment Share on other sites More sharing options...
Nintenlord Posted October 11, 2012 Share Posted October 11, 2012 Yeah, it needs to be like this: TileChanges: TileMap(0x00,2,14,3,2,VillageDestroyed) TileMap(0x01,3,15,1,1,VillageClosed) TileMapEnd The village destruction tile change has to be before the village closing of the same village. Quote Link to comment Share on other sites More sharing options...
Mikado Posted October 12, 2012 Author Share Posted October 12, 2012 Um, what I'm trying to do is close the village gate. I tried the new codes but nothing work. If you can see, Sain visits the village, but the gate wouldn't close. Is it that prologue tiles changes don't change? [spoiler=I guest the map might help.] Quote Link to comment Share on other sites More sharing options...
Agro Posted October 12, 2012 Share Posted October 12, 2012 When you say "Gate" what do you mean? Do you mean make it so that the house is unvisitable? Or make it so that this bit here closes off? Just FYI when people say "village gate" they mean villages or houses. If you want that you'll probably have to use MAC1 to force a tile change. Quote Link to comment Share on other sites More sharing options...
Mikado Posted October 12, 2012 Author Share Posted October 12, 2012 Yeah, make the house unvisitable, that's what I meant. Quote Link to comment Share on other sites More sharing options...
Nintenlord Posted October 12, 2012 Share Posted October 12, 2012 (edited) Coordinates start from (0,0) at the top-left corner. You started from (1,1). It's easiest to just use your map editor to get the coordinates, as both Mappy and Tiled both do it the right way. PS: It's nice to see that people read my posts even when I'm not replying to their question. Edited October 12, 2012 by Nintenlord 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.