Jump to content


Photo

Script assignment of doomsa.cre


  • Please log in to reply
2 replies to this topic

#1 10th

10th
  • Member
  • 621 posts

Posted 18 November 2011 - 12:50 PM

What the title says, or to be more precise:

doomsa.cre has the following scripts assigned before aurora:
override: redbake
class: initdlg
default: wtasight

aurora changes it to:
override: redbake
class: agbattho
race: initdlg
default: wtasight

it should be:
override: redbake
class: initdlg
race: agbattho
default: wtasight

As class has a higher priority than race, the BG1 Doomsayer doesn't do its talk first, fight afterwards routine. Instead it "skips" straight to the improved combat abilities.
Could this be taken into account for the next aurora update?

10th
Avast! You cannot defeat our titan-mounted submarine staffed by cannibal vikings! - Nodwick

"I grab his deceased spirit and piledrive it back into his body, duplicating raise dead." - Psyren Oots board

#2 Miloch

Miloch

    Barbarian

  • Modder
  • 6528 posts

Posted 20 November 2011 - 07:13 PM

It should be as you say it should be; will take a look at it.

For note, this is a very limited bug, because agbattho would not kick in unless the creature is hostile (and unfortunately, the Doomsayer starts out hostile).

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#3 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 27 June 2015 - 08:46 AM

Tried to fix by moving agbattho.bcs into the Race script slot rather than Class script slot. Moved existing race script to general script if present.

 

In aurora\lib\t-horror.tpa, lines from 129 changed:

          READ_ASCII 0x250 cp //Class script
          PATCH_IF (~%cp%~ STRING_EQUAL_CASE ~none~ = 0) AND (~%cp%~ STRING_EQUAL ~~ = 0) BEGIN
            WRITE_ASCIIE 0x258 ~%cp%~ #8 //Race script
          END
          WRITE_ASCII 0x250 ~agbattho~ #8 //Class script
into:
          READ_ASCII 0x258 cp //Race script
          PATCH_IF (~%cp%~ STRING_EQUAL_CASE ~none~ = 0) AND (~%cp%~ STRING_EQUAL ~~ = 0) BEGIN
            WRITE_ASCIIE 0x260 ~%cp%~ #8 //General script
          END
          WRITE_ASCII 0x258 ~agbattho~ #8 //Race script


"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod