READ_BYTE, READ_SHORT, READ_LONG
Callirgos
Member Posts: 105
Hi
I'm trying to remove the spellcasting restriction on all light armor.
I'm using WEIDU. I've chosen to identify the appropriate files by the Ground Icon used in the .ITM.
However, I'm not sure what "READ_*" command I'm supposed to use.
I'm looking for a BAM file to validate the patch action. That is 8 bits (resref)
That's larger than READ_LONG.
What should I do here?
Here is what I currently have. (below)
COPY_EXISTING_REGEXP ~.*\.itm~ ~override~
PATCH_IF (SOURCE_SIZE > 0x71) BEGIN
READ_LONG 0x44 bam
PATCH_IF (bam = GLEAT01) BEGIN
LPF ~DELETE_ITEM_EQEFFECT~
INT_VAR
opcode_to_delete = 145 // disable spellcasting
END
END
BUT_ONLY_IF_IT_CHANGES
I'm trying to remove the spellcasting restriction on all light armor.
I'm using WEIDU. I've chosen to identify the appropriate files by the Ground Icon used in the .ITM.
However, I'm not sure what "READ_*" command I'm supposed to use.
I'm looking for a BAM file to validate the patch action. That is 8 bits (resref)
That's larger than READ_LONG.
What should I do here?
Here is what I currently have. (below)
COPY_EXISTING_REGEXP ~.*\.itm~ ~override~
PATCH_IF (SOURCE_SIZE > 0x71) BEGIN
READ_LONG 0x44 bam
PATCH_IF (bam = GLEAT01) BEGIN
LPF ~DELETE_ITEM_EQEFFECT~
INT_VAR
opcode_to_delete = 145 // disable spellcasting
END
END
BUT_ONLY_IF_IT_CHANGES
1
Comments
READ_ASCII 0x44 bam