CamDawg Posted March 4, 2006 Share Posted March 4, 2006 Trying to tackle a few issues from the Outstanding Bugs thread. Specifically, if you hit a troll with a spell like Finger of Death you get XP for killing the troll and then you can kill it again for more XP once it falls down. The other issue was that poison would kill downed trolls. First a bit of background into how trolls are supposed to work, for those who care. Trolls have monhp1 equipped, designed to keep them from reaching 0 hit points. They have a script that kicks in when they're down below a fixed number of HP (10 or 12) that replaces them with a different troll; i.e. troll01 gets swapped out for troll02 at low HPs. troll02 has one hit point, is immune to everything save fire and acid, and has a script that makes them play dead for a while before turning back into the original troll. In theory this works. Well, they forget poison immunity for the dead trolls, so fire/acid/poison will all permanently kill a troll. Also, the script to check for transforming into the dead troll is a straight HPLT check, so that if you kill the troll with Finger of Death, it still subs the dead troll. Both of these issues are fairly straightforward to fix. The problem is that the creature file substitution is hacky at best, and Bioware apparently didn't want to bother with normal/dead versions of all trolls, especially the main ones. For example, Tor'Gal just dies--no need to drop fire or acid on him. Pretty much any troll that has either a non-standard item or has a DV that needs checking by other scripts simply dies instead of requiring fire/acid to finish. I found a number of other discrepancies: kptrol01 - kptrol04 (Trolls from de'Arnise Keep) Killing with FoD vs melee yields different XP. Listed as 2400 XP, but they use troll02 as their dead form, which is only 1400 XP. kptrol03 is also missing its monhp1.itm, making it unlikely you need to use fire/acid on it at all. The other three have minhp1.itm instead, making them much more powerful. obsice01.cre (Snow Troll from Planar Sphere) Missing monhp1.itm. rogtro01.cre (Sea Troll from Roger's quest) Dead version has 1400 XP while the normal is only 650 XP. trolgi01.cre (Giant Troll, generic) Has minhp1.itm instead of monhp1.itm. The former provides a helluva lot of immunities and other goodies lacking from the latter. As noted above, several 'special' trolls do not require fire/acid to kill: daspitor.cre, datroll.cre (Spirit Troll and Troll from Ust Natha) Trolls locked in Ust Natha cages. No changes needed here. drshnl01.cre (Nilthiri, Druid Grove) From one of the druid stronghold quests, Nilthiri is the troll shaman you must kill to preserve balance. There is a dead version of her, but it is unused. eletro01.cre (Troll, Asylum maze) From one of the asylum test areas, this troll has the Giant Troll head item. His partner, eletro02, still requires fire/acid. grae.cre (Grae, Druid Grove) From the limited wish quest, Grae gives you info on how to find Drush and the gong. Once reaching 1hp, Grae will initiate dialogue, and all of the options lead to EscapeArea() or Kill(Myself). No changes needed. pptroll1.cre (Spirit Troll. Asylum maze) Bogstandard trolls. shtroll.cre (Giant Troll) Creature file used by Shapechange spell. No changes needed. sutroll.cre (Troll, Suldenessellar) Two trolls used in one of the Suldenessellar scenes showing the elves fighting. These two are standard trolls, but their DVs are used by the elf scripts. torgal.cre (Tor'gal, de'Arnise Keep) Tor'gal, from the conclusion of the de'Arnise Keep quest. Should also require fire/acid. trollens.cre (Giant Troll, Druid Grove) A troll from the discarded Rynn Lanthorn lens quest that was supposed to drop a lens. No reason it can't require fire/acid. Fixes on the way. Link to comment
This topic is now archived and is closed to further replies.