Jump to content

Some scripts and dialogs errors


Gort

Recommended Posts

clean bg2tob+bgfixpack beta 4 installation

i'm running this pretty simple code:

COPY_EXISTING_REGEXP ~.*bcs~ ~override~
DECOMPILE_BCS_TO_BAF
COMPILE_BAF_TO_BCS
BUT_ONLY_IF_IT_CHANGES

and there are some errors in debug (about 20 files)

the same thing happens with dlg/d

Link to comment

Ooh, good catches. Some of these we had tried to fix already--the r(animal).bcs scripts for example. They were reported as fine by NI and are unused in game, but WeiDU doesn't like them still. WeiDU also caught a mess of dialogue errors (rogue semicolons) that NI was happy to ignore. :)

 

d fixes:

REPLACE_TRIGGER_TEXT ~elgea~	~("Korgan")!~ ~("Korgan")~
REPLACE_TRIGGER_TEXT ~fergus~   ~Global("FERGUS1","GLOBAL",2);~ ~Global("FERGUS1","GLOBAL",2)~
REPLACE_TRIGGER_TEXT ~flam7~	~StateCheck(Myself,STATE_CHARMED);~ ~StateCheck(Myself,STATE_CHARMED)~
REPLACE_TRIGGER_TEXT ~ithtyl~   ~True();~ ~True()~
REPLACE_ACTION_TEXT ~udsvir08~ ~EscapeArea();~ ~EscapeArea()~

 

Script fixes. The r(animal) scripts are now simply recompiled from scratch since otherwise they retain the broken cruft. rufpal is a new fix. If you kill Amalas in the pit and speak to either of his buddies afterwards, both are supposed to leave together. This broken trigger prevented the other buddy (whichever one you did not speak with) from leaving.

 

COMPILE ~bg2fixpack/compile/rdog.baf~
	~bg2fixpack/compile/rdwarf.baf~
	~bg2fixpack/compile/retter.baf~
	~bg2fixpack/compile/rgibbler.baf~
	~bg2fixpack/compile/rhalflin.baf~
	~bg2fixpack/compile/rhobgoba.baf~
	~bg2fixpack/compile/rhobgobf.baf~
	~bg2fixpack/compile/rkobold.baf~
	~bg2fixpack/compile/rogre.baf~
	~bg2fixpack/compile/rsiren.baf~
	~bg2fixpack/compile/rsirine.baf~

COPY_EXISTING ~rufpal.bcs~ ~override~
 DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY ~Global("itFight","R0406P",3)~ ~Global("PitFight","AR0406",3)~
 COMPILE_BAF_TO_BCS
 BUT_ONLY_IF_IT_CHANGES

Link to comment

Check FERGUS, FLAM7, ITHTYL; they smell unused.

 

I wouldn't bother with the R* junk, but we should do something similar to:

<<<<<<<< whatever.baf
>>>>>>>> COMPILE whatever.baf

COPY_EXISTING whatever.baf whatever.baf

Compilation is slow (the bigg can say for sure, but I think it still juggles the TRA for each script, even if the script is empty).

Link to comment
Check FERGUS, FLAM7, ITHTYL; they smell unused.

They are, but we already fix all of the other old BG dialogues so we might as well. As for the r(animal) scripts, they're unused but not empty. I'd rather not blank them lest we have another CtB-like incident from Random Mod X that wants to use 'em.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...