Jump to content


A few specific trolls are not dying properly after being knocked down and hit by fire/acid



2 replies to this topic

#1 aVENGER_(RR)

    Sneaksie!

  • Fixpackers
  • 1008 posts
  • Gender:Male

Posted 02 January 2012 - 01:30 AM

Due to a script error, a few specific trolls occasionally can't be killed by small amounts of fire/acid after they've been knocked down. The reason for this is that their script is missing an action which is supposed to set their hit points to 1. For reference, that action is present in all the other troll scripts. Here's the fix:

// All trolls should have their hit points set to 1 after getting knocked down

COPY_EXISTING ~dgtrol02.bcs~ ~override~ // Druid Grove trolls that are fighting some adventurers
			   ~troll03.bcs~ ~override~ // small trolls which emerge out of a bigger one on the first floor of de'Arnise Keep
			  ~firamb05.bcs~ ~override~ // the troll fighting the werewolf captain in Firkraag's lair
DECOMPILE_BCS_TO_BAF
  REPLACE_TEXTUALLY EXACT_MATCH ~PlayDead(150)~ ~ApplySpell(Myself,TROLL_SETHP1) PlayDead(150)~
  REPLACE_TEXTUALLY EXACT_MATCH ~PlayDead(300)~ ~ApplySpell(Myself,TROLL_SETHP1) PlayDead(300)~
COMPILE_BAF_TO_BCS
BUT_ONLY_IF_IT_CHANGES

Retired modder

Rogue Rebalancing - Author
aTweaks - Author
Wizard Slayer Rebalancing - Co-Author
BG2 Fixpack - Contributor

#2 Salk

  • Members
  • 2336 posts
  • Gender:Male
  • Location:Sweden

Posted 03 January 2012 - 06:18 AM

Nice contribution, as usual!

Hopefully all this locally fixed bugs will be included in an officially released version.

It seems nobody is inclined to take charge though.

#3 Jarno Mikkola

    The Imp

  • Members
  • 3396 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 03 January 2012 - 09:05 AM

View PostSalk, on 03 January 2012 - 06:18 AM, said:

It seems nobody is inclined to take charge though.
Uuh, but if we really mount a good sack of the like fixes, I am sure we will eventually get DavidW put his stamp on it.
Yes... I am probably still editing the post above.
FAQ for the Megamods. Frequently Answered Questions.




Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users