cmorgan, on 08 January 2012 - 08:50 AM, said:
When folks update this, someone let me know - if I recall correctly, BG1NPC has material that may need adjusting (both interjections and follow up).
Here you go:
// Shoal's kiss should not be forced upon the party
<<<<<<<<atweaks/inlined/baf/elementals/shoal.baf
IF
NumTimesTalkedToGT(0)
Global("rr#intd","LOCALS",0)
!Dead("Droth")
HPPercentLT(Myself,51)
See([PC])
THEN
RESPONSE #100
SetGlobal("rr#intd","LOCALS",1)
SetGlobal("ShoalHit","GLOBAL",1)
FaceObject([PC])
StartDialogueNoSet([PC])
END
>>>>>>>>
ACTION_FOR_EACH ~file~ IN // for each of the following files
~shoal~ // Shoal's script (BGT)
~_shoal~ // Shoal's script (Tutu)
BEGIN // execute the following
ACTION_IF FILE_EXISTS_IN_GAME ~%file%.bcs~ BEGIN // if the designated file with a BCS extension exists
COPY_EXISTING ~%file%.bcs~ ~override~
PATCH_IF (%SOURCE_SIZE% > 0x01) THEN BEGIN // file size sanity check (filters out 0 byte files i.e. ALLOW_MISSING)
DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY EXACT_MATCH ~HitBy([PC],CRUSHING)~ ~AttackedBy([PC],DEFAULT) NumTimesTalkedTo(0)~
REPLACE_TEXTUALLY EXACT_MATCH ~Dialogue([PC])~ ~FaceObject([PC]) StartDialogueNoSet([PC])~
REPLACE_TEXTUALLY EXACT_MATCH ~Dialog([PC])~ ~FaceObject([PC]) StartDialogueNoSet([PC])~
COMPILE_BAF_TO_BCS
END // ends file size check
BUT_ONLY_IF_IT_CHANGES
EXTEND_BOTTOM ~%file%.bcs~ ~atweaks/inlined/baf/elementals/shoal.baf~ // extend Shoal's script
END // ends ACTION_IF FILE_EXISTS_IN_GAME block
END // ends ACTION_FOR_EACH block
<<<<<<<<atweaks/inlined/dlg/elementals/shoal.d
ALTER_TRANS ~%TUTU_VAR%SHOAL~ BEGIN 3 END BEGIN 0 END BEGIN
"REPLY" ~#70151~ // Alright...
END
EXTEND_BOTTOM ~%TUTU_VAR%SHOAL~ 3
IF ~~ THEN REPLY #33428 GOTO rr#shl01 // I said no and I mean it.
END
APPEND ~%TUTU_VAR%SHOAL~
IF ~~ THEN BEGIN rr#shl01
SAY @2114 // So be it, then! I do not wish to fight you <RACE>, but I have little choice in the matter.
IF ~~ THEN DO ~SetGlobal("ShoalHit","GLOBAL",1) Enemy()~ EXIT
END
END
>>>>>>>>
ACTION_IF GAME_IS ~bgt tutu tutu_totsc~ THEN BEGIN
COMPILE EVALUATE_BUFFER ~atweaks/inlined/dlg/elementals/shoal.d~
END
Hopefully, these changes won't break any interjections.
Refusing the kiss will simply turn Shoal hostile and make her attack the party until her hit points drop below 50%. The quest then proceeds exactly as if the party had attacked Shoal before talking to her, which can be done in the unmodded game.
Edited by aVENGER_(RR), 17 February 2012 - 08:11 AM.