Jump to content
RandomSwordmaster

Tiled map changes not working properly?

Recommended Posts

Was trying to get Tiled to work, the map inserted fine, but the map changes wouldn't trigger. I set the map change pointer to where the map changes were pointed to in Nightmare when inserting, but no map changes would trigger, even when I tried to manually trigger them via an AREA event.

Can anybody tell me what I'm doing wrong?

Share this post


Link to post
Share on other sites

(if visuals are required, let me know)

So first off, I made the map in Tiled, and set the map changes. Yes, I made sure to set the IDs correctly, as well as the locations and length/width. I'm 100% sure that was correct.

Next off, I inserted the map into some free space, and had the inserter insert the map pointer to where the current ch. 2 map pointer was pointing to in Nightmare, and the same with the map change pointer.

I started up the map, and everything was working fine, aside from the fact that when I tried to open a chest, the chest event worked fine, but the tile would not change to an opened chest.

Share this post


Link to post
Share on other sites

(if visuals are required, let me know)

So first off, I made the map in Tiled, and set the map changes. Yes, I made sure to set the IDs correctly, as well as the locations and length/width. I'm 100% sure that was correct.

Next off, I inserted the map into some free space, and had the inserter insert the map pointer to where the current ch. 2 map pointer was pointing to in Nightmare, and the same with the map change pointer.

I started up the map, and everything was working fine, aside from the fact that when I tried to open a chest, the chest event worked fine, but the tile would not change to an opened chest.

Did you make the chest stuff in your event file?

Share this post


Link to post
Share on other sites

Did you make the chest stuff in your event file?

Yeah.

EDIT:

Here's my event file.

//Made by markyjoe1990 of Youtube

//Modified by Nintenlord

#define DISABLE_TUTORIALS

#include EAstdlib.event

ORG $0D29010

Pointers:

POIN Turn_events

POIN Character_events

POIN Location_events

POIN Misc_events

POIN TrapData TrapData

POIN Bad Bad Bad Bad

POIN Good Good Good Good

POIN Opening_event Ending_event

Bad:

UNIT Marcus Paladin 0x6D 0x2D [9,14] [9,14] [silverSpear,SilverSword,Elixir,Javelin] [0x00,0x03,0x09,0x20]

UNIT 0x52 Cavalier 0x6D 0x0C [8,14] [6,13] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x0C [10,14] [7,13] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x0C [8,14] [11,12] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x14 [9,14] [12,12] [ironAxe,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x6E Cavalier 0x6D 0x14 [10,14] [15,9] [ironAxe,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x0C [8,14] [15,10] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x0C [10,14] [4,6] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x0C [8,14] [4,7] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x14 [9,14] [15,2] [ironAxe,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x6E Cavalier 0x6D 0x14 [10,14] [4,2] [ironAxe,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT

Reinforcements:

UNIT 0x6E Cavalier 0x6D 0x14 [18,7] [18,7] [ironAxe,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x0C [0,9] [0,9] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x0C [5,14] [5,14] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT 0x52 Cavalier 0x6D 0x0C [6,14] [6,14] [ironSword,0x0,0x0,0x0] [0x00,0x03,0x09,0x00]

UNIT

Good:

UNIT Eliwood Archer 0x00 0x19 [9,11] [9,11] [ironBow,Vulnerary,SteelBow,0x00] [0x00,0x00,0x00,0x00]

UNIT Hector Mercenary 0x00 0x19 [8,13] [8,13] [ironSword,Vulnerary,LanceReaver,0x00] [0x00,0x00,0x00,0x00]

UNIT Serra Cleric Eliwood 0x11 [10,11] [10,11] [Heal,Vulnerary,0x00,0x00] [0x00,0x00,0x00,0x00]

UNIT Matthew Thief Eliwood 0x11 [8,14] [8,14] [ironSword,LockPick,0x00,0x00] [0x00,0x00,0x00,0x00]

UNIT

Turn_events:

OpeningTurnEvent(Opening_event)

END_MAIN

Character_events:

END_MAIN

Location_events:

Chest(Mend,16,3)

Chest(Elixir,2,5)

Chest(Vulnerary,10,6)

Chest(Vulnerary,8,7)

Chest(KillerBow,17,11)

END_MAIN

Misc_events:

CauseGameOverIfLordDies

END_MAIN

Opening_event:

LOU1 Good

ENUN

FADI 16

BACG 0x04

FADU 16

TEX1 0x09FB

REMA

MOVE Hector [8,11]

FADI 16

BACG 0x04

FADU 16

TEX1 0x09FC

REMA

MOVE Hector [7,9]

MOVE Eliwood [9,8]

MOVE Serra [9,6]

MOVE Matthew [9,4]

ENUN

TEX1 0x9FD

LOU1 Bad

ENUN

TEX1 0x9FE

ENUN

ENDA

Ending_event:

FADI 16

MOVE Eliwood [9,11] 0xFF

MOVe Marcus [9,13] 0xFF

MOVE Serra [7,10] 0xFF

MOVE Hector [11,10] 0xFF

MOVE Matthew [6,10] 0xFF

ENUN

FADU 16

TEX1 0x9FF

REMA

FIGH Eliwood Marcus MarcusDies $00000000

KILL Marcus

FADI 16

BACG 0x04

FADU 16

TEX1 0xA00

IFEV 0x50 0x1F

FADI 16

REMA

BACG 0x04

FADU 16

TEX1 0xA01

ENIF 0x50

TheEnd

ENDA

MarcusDies:

AttackerCritical(60,0x00)

BLDT

TrapData:

ENDTRAP

MESSAGE Events end at offset currentOffset

//The map for this chapter is at offset: 00FD88D0

Edited by RandomSwordmaster

Share this post


Link to post
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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...