"You can add all kinds of things - new effects, new script triggers and actions, new GUI options, etc."
My question is, does anyone know how we might do so?
Specifically, I'd like to add a script action that can toggle the OriginalClass fields which are at bits 3 through 8 of offset 0x0010 of the bg2 .CRE file's extended header. Those bits can be changed by Near Infinity or Weidu with no problem, but there's currently no in-game way to affect them.
In fact TobEx currently adds a script trigger that can read the OriginalClass bits, which is added to TRIGGER.IDS... but it doesn't have a corresponding script action to actually manipulate the values.
The vanilla game does have a script action that toggles fallen ranger status, which is controlled by the very next bit after the OriginalClass ones. Is there any way to clone the fallen ranger script action, and modify the new one to target the OriginalClass field(s)? And then add the result(s) to ACTION.IDS?
Inquiring minds want to know.
Edited by subtledoctor, 07 May 2015 - 08:02 AM.