Pocket Plane Group
BG2 Completed Mods => Quest Pack => Topic started by: Nythrun on November 12, 2007, 01:27:16 PM
-
...especially with a .cre file that has the effects offset pointing to zero.
COPY_EXISTING ~hdragsil.cre~ ~override~
PATCH_IF (SOURCE_SIZE > 0x02d3) THEN BEGIN
WRITE_SHORT 0x0028 0x1202
WRITE_SHORT 0x002c 0x00 // Why?
FOR ("i1" = 0x6e; "i1" < 0x76; "i1" += 0x01) BEGIN
WRITE_BYTE "i1" 0x00 // Why?
END
WRITE_BYTE 0x0083 0x64 // Why?
WRITE_BYTE 0x0237 0x02 // Why?
WRITE_ASCII 0x0248 ~shoutdlg~
WRITE_ASCII 0x0250 ~draghell~
WRITE_BYTE 0x0271 0xff
WRITE_BYTE 0x0273 0xc0
WRITE_BYTE 0x0275 0x02
WRITE_BYTE 0x027b 0x12
ADD_CRE_ITEM ~scrl9r~ #1 #0 #0 IDENTIFIED QITEM2
ADD_CRE_ITEM ~scrl9v~ #1 #0 #0 IDENTIFIED INV1
ADD_CRE_ITEM ~scrl8m~ #1 #0 #0 IDENTIFIED INV2
ADD_CRE_ITEM ~bolt03~ #20 #0 #0 IDENTIFIED INV3
ADD_CRE_ITEM ~arow07~ #8 #0 #0 IDENTIFIED INV4
END
BUT_ONLY
-
God, is that code mine? What the fuck am I doing?
-
No, you're just overwriting (I'm guessing that was in the original author's work).
The above is designed to accomplish the same except without trashing the file when SCSII or something comes along; I left in the pointless parts just in case you're using the tracking stat. As...um...ghetto detectable effects?
I think someone coded a fixpack-compatible version of the hell trials scripting, too.