Freitag, 17. Oktober 2014

The Event Editor advances..

I discovered some new event commands:
  • Add Item (0xD4): Adds a specific item to the player's inventory. Checks also if the inventroy is full and initiates an action if this is the case.
  • Play Music and Wait (0x19): Plays a specific song. The event handler will wait for the song to complete until the next action is performed.
  • Player Position Condition (0x45): Observes the position of the player and initiates an action if the player is in the specified position range.
  • Switch Condition (0xD0): Actions often depend on the states of switches (ON, OFF) to handle them in the desired order.
  • Talk Button Condition (0xC0): Defines an action that takes playe after the talk button is pressed on the event.



My next subgoal is to understand the way an event (e.g. an NPC) moves. I already discovered the commands but couldn't figure out yet how the actual movement is decrypted.


4 Kommentare:

  1. AWESOME! But I guess if you choose a song for 0x19 different to a fanfare, you pretty much lock the gamer in an infinite loop, right?

    AntwortenLöschen
  2. Yes you will have to listen to the song for a very very long time ;)
    But meanwhile I found the command to play a new song in the background :)
    It's 0x04 for those who are interested :D

    AntwortenLöschen
  3. Can't wait for the next release... seems like you already got a hell-lot of things editable. Seems like you're done with it soon and can start another Editor, like Sim City, or Shadowrun. ^.^ ;)

    AntwortenLöschen
  4. For the moments these commands cannot be written back. I will have to decrypt many more data bytes to make this possible..
    The event reading routine is also not quite perfect. There are often events that miss a lot of commands or display the commands twice or even more often.
    When the reading is more stable I will upload a new version of the editor ; This should take a week or two I guess...
    But overall there are still many many things to do until I would call this editor finished. But I'm quite content with the progress so far :)

    AntwortenLöschen