Posted by: Kulyok
« on: February 16, 2008, 03:00:25 AM »Quote
"Always use X, Y, Z, and bikinis" seems to be a rather one-sided, biased way to do modding.
You said it, not me.
"Always use X, Y, Z, and bikinis" seems to be a rather one-sided, biased way to do modding.
Why not be just black or just white and use the appropriate EXTEND_* as is expedient to the situation? "Always use X, Y, Z, and bikinis" seems to be a rather one-sided, biased way to do modding.I find your ideas intriguing and would like to subscribe to your newsletter.
a rather one-sided, biased way to do modding.
ACTION_IF NOT FILE_EXISTS_IN_GAME ~ar9100.are~ THEN BEGIN
// stop cockblocking the script - no or() without how
COPY_EXISTING ~ar6010.bcs~ ~override~
DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY ~True()~ ~False()~
APPEND_FILE ~g3daletweaks/baf/ar6010.baf~
COMPILE_BAF_TO_BCS
BUT_ONLY_IF_IT_CHANGES
END ELSE BEGIN
// stop cockblocking the script
COPY_EXISTING ~ar6010.bcs~ ~override~
DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY ~True()~
~OR(3) !Global("AR6010_PLAY_SOUND","GLOBAL",0) !Global("PUZZLE_B_DISABLED","GLOBAL",0) !Global("PUZZLE_A_DISABLED","GLOBAL",0)~
COMPILE_BAF_TO_BCS
BUT_ONLY_IF_IT_CHANGES
END
IF
!Global("AR6010_PLAY_SOUND","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("AR6010_PLAY_SOUND","GLOBAL",0)
END
IF
!Global("PUZZLE_A_DISABLED","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("PUZZLE_A_DISABLED","GLOBAL",0)
END
IF
!Global("PUZZLE_B_DISABLED","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("PUZZLE_B_DISABLED","GLOBAL",0)
END
It seems that the developers didn't foresee the case of expansions, either: a "Return to Loneliwood" block(and an OnCreation()) block are situated right under the faulty True() block. Granted, they don't make the weather, but it still falls further than "not perfect" category, ending up somewhere between "forgetful", "moronic", "graduated from MSU/Lumumba" and "graduated from Ivy League schools".You need to spend more time on the Fixpack forums if you think this is somehow unusual or notable. BG2 has this error twice (ar0800, ar0400) and BG at least once (ar0300).
Well, excuse me for believing in humanity aka "IWD programmers weren't morons" in the first place.Developers aren't perfect and didn't expect others to mod their games. In other news...
But yesterday I became entirely convinced that EXTEND_TOP is the only way to go.Modders should actually check the resources they're modifying. In other news, gravity causes you to fall down, the sky is blue, and 2+2=4.
I've been peacefully testing IWD NPC for chapter 4, but when I entered a certain chamber, neither of the banters started. I checked the scripts, checked the dialogue file. Nothing. I checked the area script: my blocks appended all right.
... two hours later, I found out the cause: one of the blocks in the _vanilla game script_ started with
IF
True()
THEN
...
END