MESSING WITH EVENTS
º World InstructionsAllows to loads scenario slots, as editable in the ATTACK.OUT Editor.
For example this world instruction at Murond Holy Place:
0100 6E00 3400 1900 B901 0200
If Value (0x0001) "Storyline progression" (0x006E) is equal to 0x0034, load scenario (0x0019) 0x01B9.
º ATTACK.OUT EditorVersion 1.02 and older's scenario lists are wrong. They are supposed to start with 001 and not 000.
So if you set your event to 0x01B9 in the World Instructions, edit the scenario slot 0x01B8.
Here the value "Event Script" in version 1.02 & older or "Event Conditions" in earlier version allows you
to set a slot which you can edit in the "Event Conditions spreadsheet"
º Event ConditionsThis actually tells which TEST.EVT slot to load under specific circumstances, AND the main event slot.
For Example here is slot 0x0084 which is originally used by "Outside of St. Murond Temple":
0100 FD01 0100 1900 BC01
If Value (0x0001) 0x01FD is equal to 0x0001, then load TEST.EVT slot (0x0019) 0x01BC
0100 8000 0000 1600 1900 BD01
If Value (0x0001) 0x0080 is equal to 0x0000, and If All enemies are defeated (0x0016) then load TEST.EVT (0x0019) slot 0x01BD
0x01FD is set to 0 after the event is loaded so that it does not repeat itself.
º TEST.EVTThe actual events. Just use the Event Compiler/Decompiler.
If for instance the Decompiler did not create a file for the TEST.EVT slot you want to edit,
just copy another event and change the offset. Like if you want the slot 0x0009, take 0x0008's offset,
add 0x2000 and voilà. Offset(x00010000) + 0x2000 = Offset(x00012000)
Save and compile that event.
To be honest, I wrote this pretty much for myself because I had discovered the procedure but completely forgot how to... it's not actually that easy to remember when you have to mess with 4 different locations in 3 different files.
The TEST.EVT "dummy events" like we used to call them seems to be completely useless at best, meaning we have no reason not to overwrite them with actual real events.
EDIT: Like LD said, each event still requires one scenario slot.
Quote from: "Zodiac"º World Instructions
Allows to loads scenario slots, as editable in the ATTACK.OUT Editor.
For example this world instruction at Murond Holy Place:
0100 6E00 3400 1900 B901 0200
If Value (0x0001) "Storyline progression" (0x006E) is equal to 0x0034, load scenario (0x0019) 0x01B9.
I know I'm going to sound like a fool but where does the value 0x0034 come from? I understand the rest of it (sort of) but I can't figure out where that comes from.
Ha! With a bit of logic I should have figured that out but didn't
Thank you.