dlamey8015 Posted April 17, 2014 Share Posted April 17, 2014 I am attempting to cause a door tile to change into a floor one. I'm not doing this with Tiled because that doesn't work on my computer. I looked up several tutorials and I seem to have done everything correctly, but the tiles do not change when I open the door. I'll attach my events file and my tile changes file so as to better assess the problem Siege(2).txt Siege Tile Changes.txt Quote Link to comment Share on other sites More sharing options...
SquareRootOfPi Posted April 17, 2014 Share Posted April 17, 2014 First, ORG 0xC9C9CC+(4*0x0E) POIN TileChanges is the same thing as EventPointerTable(0x0F,TileChanges) so for readability you should switch it to that.Second, since you're inserting over what I assume is the prologue chapter, make sure that you have set the tiles changes to 0xe in the Chapter Data Editor. Third, and this is probably the reason it's failing, your door is located at [2,19] but your map change is a 3x1 rectangle located at [0x1,0x19] which is not the same as [1,19]. Quote Link to comment Share on other sites More sharing options...
Chocolate Kitty Posted April 17, 2014 Share Posted April 17, 2014 just for quick clarification on what Pi is saying; the coordinates in your tilechanges are in hexadecimal(1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10), while the ones in your events and map are decimal(1,2,3,4,5,6,7,8,9,10). 19 in decimal is 13 in Hex, so changing [0x01,0x19] to [0x01,0x13] should fix your problem(assuming that's the only problem). Quote Link to comment Share on other sites More sharing options...
dlamey8015 Posted April 17, 2014 Author Share Posted April 17, 2014 I tried all of the solutions discussed here, nothing has changed. Is there anything else that could be causing it? Quote Link to comment Share on other sites More sharing options...
SquareRootOfPi Posted April 17, 2014 Share Posted April 17, 2014 Did you set the tile change in the Chapter Data Editor to 0xe or 0xf? Reviewing my post it should be 0xf, not 0xe. Quote Link to comment Share on other sites More sharing options...
dlamey8015 Posted April 17, 2014 Author Share Posted April 17, 2014 The only field in the chapter data editor that resembles what you're talking about is the triggerable map changes one. 0x0F is not a selectable option for this field, 0x0E is the selection for chapter 2 map changes. Quote Link to comment Share on other sites More sharing options...
Chocolate Kitty Posted April 17, 2014 Share Posted April 17, 2014 Did you forget to set the tilechanges in Nightmare? Quote Link to comment Share on other sites More sharing options...
dlamey8015 Posted April 17, 2014 Author Share Posted April 17, 2014 Sorry, could you be more specific? Quote Link to comment Share on other sites More sharing options...
SquareRootOfPi Posted April 17, 2014 Share Posted April 17, 2014 (edited) Change the 0xf in EventPointerTable(0x0F,TileChanges) to 0xe then. The tile change ID in the Chapter Data Editor needs to match that value. Edited April 17, 2014 by SquareRootOfPi Quote Link to comment Share on other sites More sharing options...
dlamey8015 Posted April 17, 2014 Author Share Posted April 17, 2014 Change the 0xf in EventPointerTable(0x0F,TileChanges) to 0xe then. The tile change ID in the Chapter Data Editor needs to match that value. That fixed the problem, thank you. 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.