Skip to content

[WeiDU Mod] Silver Staff of Aule

ErgErg Member Posts: 1,756
edited June 2016 in General Modding
Silver Staff of Aule - Version 9.1
BG Version: This mod works with Tutu TotSC, vanilla TotSC, BG:EE and BGT
Languages: English, Italian, Polish

Description:
This mod adds the silver and cold iron properties, and a bonus to damage and thac0 vs. lycanthropes, to the Aule's Staff which is sold at the store in the Ulgoth's Beard Inn, providing an additional weapon able to damage the Greater Wolfwere (Karoug). For balancing reasons, the staff's price has been increased from 5500 to 7500 gold (base price, actual price as usual will depend on reputation and charisma). The staff icons and colours have been changed to make it look more like silver.

Credit and thanks for the new BAMs used by this mod go entirely to @CrevsDaak.

Polish translation kindly provided by @Cahir.

Many thanks to @AstroBryGuy for providing in a timely manner an essential fix when I was too busy to do it myself.

An attempt is made to update the in-game description for the staff, but it may fail if the description has been substantially altered by another mod, or an official BGEE update. In this case the description will be entirely replaced by a new one instead. You will be notified during mod installation if this happens.

NOTE for BGT:
BGT replaces the Aule's Staff with the Martial Staff. Therefore, this mod puts back the Aule's Staff in the Ulgoth's Inn, but does not alter other instances of the Martial Staff. Please note that in BGT, unlike other BG versions, it is required to start a new game for this mod to work, if you have already browsed the items in the Ulgoth's Inn store. As a workaround for ongoing games, it is possible to use the CLUA console to get the staff.

Item Codes for the CLUA Console:
This mod uses the following item codes for the Aule's Staff:

STAF08 (BGEE and vanilla TotSC)
_STAF08 (Tutu TotSC only)
ER_STA08 (BGT only)

Installation Instructions:
See the enclosed ReadMe file.

________________
Version History
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

June 14, 2016 - Version 9.1
The mod no longer causes crashes in BGEE v1.3 or previous version
Fixed some typos in the ReadMe files

May 5, 2016 - Version 9.0
The staff no longer hurts its wielder on patched games
Name of the mod changed to "Silver Staff of Aule"
Added optional component to select alternate BAM icons
Added bonus to enchantment vs. lycanthropes (BGEE only)
The mod is now fully traified
Italian translation improved
Polish translation improved by @Cahir
Revised installation instructions
Several other minor improvements
Updated WeiDU to version 239
The mod is now hosted on GitHub

August 11, 2014 - Version 8
Added polish translation (kindly provided by @Cahir )
Fixed .tra files encoding for the original non-enhanced game
Moved ReadMe files inside the mod folder to reduce cluttering

April 21, 2014 - Version 7
Added custom BAM (made by @CrevsDaak )
Updated WeiDU to version 236
Removed .bat files (because not required with WeiDU 236)
Updated installation instructions (and links)

April 27, 2013 - Version 6
Added Italian translation
Added .bat files for easier BG:EE installation in Windows
Added links to installation instructions for Mac and iPad users
Removed version number from filenames

March 27, 2013 - Version 5
Added bonus damage and thac0 vs. lycanthropes
Changed icons and colours to make the staff look more like silver

March 24, 2013 - Version 4
Added support for Vanilla TotSC, Tutu TotSC and BGT
The mod now attempts to update the description instead of replacing it

March 6, 2013 - Version 3
Minor changes

February 25, 2013 - Version 2
Added custom description for the staff

February 18, 2013 - Version 1
Initial release for BG:EE

This mod has been inspired by this discussion.

Download link: Silver Staff of Aule - Version 9.1

Post edited by Erg on
«13

Comments

  • ErgErg Member Posts: 1,756
    edited March 2013
    image
    Post edited by Erg on
  • DarkersunDarkersun Member Posts: 398
    Thanks again. It will take some time till I will reach Karoug, but than I will be happy to have it ;)
  • DanathionDanathion Member Posts: 173
    edited March 2013
    thanks for a very useful addition @Erg! a couple of questions: 1) would it be possible to make the staff do additional damage to lycanthropes: +3, +X vs Lycans ? 2) is it possible to colour this staff similar to the staff of striking, which looks silver, or even to swap the colours around? Thanks again. :)
    Post edited by Danathion on
  • ErgErg Member Posts: 1,756
    @Danathion

    Yes, it is possible. However, I think it would be best to add the additional damage as optional installation choice. At the moment I'm a little busy with something else, but I will upload a new version as soon as I'm done with it.
  • DanathionDanathion Member Posts: 173
    @Erg thank you very much for your time and consideration! luck to you in your current endeavour! :)
  • ErgErg Member Posts: 1,756
    edited March 2013
    @Danathion

    Thanks to you for your feedback.

    I've uploaded version 5, with a new silvery look and a bonus to damage and thac0 vs. lycanthropes.

    Considering that the staff is already +3, I've added only 1 extra point of bonus thac0 and damage, for a +4 total vs. lycanthropes. I don't think the current implementation to be overpowered as it is basically in line with other silver weapons. Therefore, at the moment there is no install option to avoid the extra thac0 and damage. Based on users feedback, I may eventually add that in a future release.
    Post edited by Erg on
  • DanathionDanathion Member Posts: 173
    @Erg

    Just installed. It's perfect! thank you! :)

    ps I'm also using your Ankheg mod and will look out for your future work! :)
  • smeagolheartsmeagolheart Member Posts: 7,963
    Erg said:

    @Danathion

    Thanks to you for your feedback.

    I've uploaded version 5, with a new silvery look and a bonus to damage and thac0 vs. lycanthropes.

    Considering that the staff is already +3, I've added only 1 extra point of bonus thac0 and damage, for a +4 total vs. lycanthropes. I don't think the current implementation to be overpowered as it is basically in line with other silver weapons. Therefore, at the moment there is no install option to avoid the extra thac0 and damage. Based on users feedback, I may eventually add that in a future release.

    May not be necessary to change it since you already beefed up the cost and it's bonuses only apply to a couple situations.
  • ErgErg Member Posts: 1,756

    May not be necessary to change it since you already beefed up the cost and it's bonuses only apply to a couple situations.

    @smeagolheart

    I agree with you on this.

    Thanks for your feedback.
  • [Deleted User][Deleted User] Posts: 0
    edited March 2013
    The user and all related content has been deleted.
  • ErgErg Member Posts: 1,756
    edited April 2013
    Version 6 released with the following changes:

    Added Italian translation
    Added .bat files for easier BGEE installation in Windows
    Added links to installation instructions for Mac and iPad users
    Removed version number from filenames

    _______________________
    Installation (Windows):
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    BGEE:
    Extract the files into the main game directory (e.g. the one containing the file chitin.key) and run BGEE_Install_Erg_Silver_Staff_EN.bat

    To install the Italian version, please run BGEE_Install_Erg_Silver_Staff_IT.bat instead.

    To uninstall run again BGEE_Install_Erg_Silver_Staff_EN.bat (or BGEE_Install_Erg_Silver_Staff_IT.bat)


    vanilla TotSC, Tutu TotSC or BGT:
    Extract the files into the main game directory (e.g. the one containing the file chitin.key) and run setup-Erg_Silver_Staff.exe

    To uninstall run again setup-Erg_Silver_Staff.exe

    ___________________
    Installation (Mac):
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    Please follow the instructions provided by @Nifft and @mlnevese:
    http://forum.baldursgate.com/discussion/16334/installing-mods-in-osx-a-quick-tutorial

    I would also recommend checking @subtledoctor tool:
    http://forum.baldursgate.com/discussion/17717/tool-easy-weidu-mod-installer-for-os-x

    ____________________
    Installation (iPad):
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    Please follow the instructions provided by @mars0124:
    http://forum.baldursgate.com/discussion/15979/howto-modding-bgee-on-the-ipad

    Please note that the above will require jailbreaking.

    To iPad users unwilling and/or unable to jailbreak, I can provide, upon request, a semplified version of the mod (without custom item description) to be installed using the instructions provided by @lunar:
    http://forum.baldursgate.com/discussion/16695/amazing-discovery-overriding-cre-files-without-override-folder-and-jailbreak
  • SojournerSojourner Member Posts: 42
    edited April 2014
    OK I can't seem to get this to show up in-game - it still looks like the old Aule's Staff. I'm running BGEE pre-1.2 patch. I extracted to a subdirectory (named according to normal unzipping rules) where chitin.key lives and ran the .exe to install the Windows English version. It flashed a cmd console up and closed it real fast. I got no indication of whether it succeeded or failed but at this point my money's on "fail".

    Help?
  • ErgErg Member Posts: 1,756
    edited April 2014
    Sojourner said:

    I extracted to a subdirectory

    @Sojourner‌ maybe this is the problem. You need to extract directly in the directory with chitin.key, not in a subdirectory, i.e.

    - files like BGEE_Install_Erg_Silver_Staff_EN.bat and weidu.exe must be in the same path as chitin.key
    - a directory called Erg_Silver_Staff (containing, among other things, a file called Erg_Silver_Staff.tp2) must be in the same path as chitin.key

    If necessary, move manually the files to the correct path and then, assuming that you are using Windows, run BGEE_Install_Erg_Silver_Staff_EN.bat.

    By the way, which program are you using to extract the files? If you are using just the default Windows extractor you may indeed get an extra folder. This shouldn't be the case if you use a dedicated program like Winzip, Winrar, Peazip, 7-Zip, etc.

    If you are using the right path, but it still doesn't work, look for a file called SETUP-ERG_SILVER_STAFF.DEBUG in the same path as chitin.key (this file is created during install and contains debug info), and attach it here (you will have to Zip it first).
    Post edited by Erg on
  • CrevsDaakCrevsDaak Member Posts: 7,155
    Sojourner said:

    I'm running BGEE pre-1.2 patch.

    Can I ask why? :)

    Also, @Erg, I think that this mod deserves an own animation, so I changed the color's values with DLTCEP and done this:
    imageimage
  • SojournerSojourner Member Posts: 42
    @Erg - I use 7zip but it did install it to an intermediate directory anyway - the names were so close to expected that I missed what it had done (Erg_Silver_Staff_v6 vs Erg_Silver_Staff). Once I moved everything up a level the bat file, at least, now works properly. Still need to go check for it in game. Thanks.

    @CrevsDaak - because v1.2 appears to have broken looting from locked chests to the point where I am apprehended by the guard 100% of the time. Even if I manage to hide in the shadows before they get me and leave the building and the area, they are still there waiting for me 3 or 4 days later. The expected behavior is that if I go away for at least 8 hours after they are called but before they lay hands on me, they will lose interest and go away. Until such time as I can get on the other computer and test that again to make sure I'm not doing something wrong there is no way I'm updating. Hopefully I was doing something wrong, but since there is no way to back off a patch I'll not update until I'm sure.

    I have been told that the expected/traditional behavior is "cheese"/cheating - but that's the way it worked for 14 years and I expect it to continue to work that way. There is just too much stuff in the locked chests to do without looting the locked chests. I already miss out on the several items you can only get by pickpocketing. If this was done on purpose (as opposed to me doing something wrong) I think it was a HORRIBLE change. Until I know whether it was them or its me, I'm not updating.
  • CrevsDaakCrevsDaak Member Posts: 7,155
    @Sojourner‌ I really never found a single issue of getting caught when you open a locked chest. The change about Pick Pockets does bother me a little, but really, I don't use Pick Pockets much.
    Still I played with v1.0.2012 in my iPad a lot so I can't say anything (the game is too big to get updated without any free space and I am too lazy to delete things).
  • ErgErg Member Posts: 1,756
    @CrevsDaak thanks for the new animation. I'll release a new version of the mod with it. It may take a while, as I'm a little busy at the moment, but I'll definitely do it.

    @Sojourner I'm glad it worked.
  • ErgErg Member Posts: 1,756
    edited April 2014
    Version 7 released with the following changes:

    Added custom BAM (made by @CrevsDaak)
    Updated WeiDU to version 236
    Removed .bat files (because not required with WeiDU 236)
    Updated installation instructions (and links)

    New installation instructions:

    _______________________
    Installation (Windows):
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    Extract the files into the main game directory (i.e. the one containing the file chitin.key) and run setup-Erg_Silver_Staff.exe

    To uninstall run again setup-Erg_Silver_Staff.exe

    ___________________
    Installation (Mac):
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    Please follow the instructions provided by @AstroBryGuy:
    http://forum.baldursgate.com/discussion/31155/the-hitchhiker-s-guide-to-installing-mods-on-osx

    I would also recommend checking @subtledoctor tool:
    http://forum.baldursgate.com/discussion/17717/tool-easy-mod-installer-for-os-x

    ____________________
    Installation (iPad):
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    Please follow the instructions provided by @mars0124:
    http://forum.baldursgate.com/discussion/15979/howto-modding-bg-ee-on-the-ipad

    Please note that the above will require jailbreaking.

    To iPad users unwilling and/or unable to jailbreak, I can provide, upon request, a semplified version of the mod (without custom item description) to be installed using the instructions provided by @lunar:
    http://forum.baldursgate.com/discussion/16695/amazing-discovery-overriding-cre-files-without-override-folder-and-jailbreak

    _______________________
    Installation (Android):
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
    Currently mods with custom descriptions cannot be installed on the Android version of BG:EE. However, I can provide, upon request, a semplified version of the mod (without custom item description) to be installed by simply copying files in the override folder.
    Post edited by Erg on
  • CahirCahir Member, Moderator, Translator (NDA) Posts: 2,819
    @Erg in attachment I'm sending Polish translation. Tested in game (BG:EE) with attached .tp2 and everything seems to be fine with the description. I didn't test it on vanilla, TuTu or BGT, though.
    Anyway, if you come up with a moment to include it into new version I'll be grateful:)
  • ErgErg Member Posts: 1,756
    Cahir said:

    @Erg in attachment I'm sending Polish translation. Tested in game (BG:EE) with attached .tp2 and everything seems to be fine with the description. I didn't test it on vanilla, TuTu or BGT, though.
    Anyway, if you come up with a moment to include it into new version I'll be grateful:)

    @Cahir, thanks for the translation. At the moment I'm a bit busy with updating and testing the beta version of Finch, but I'll try and find the time to update also this mod.

    About vanilla, Tutu and BGT, I will handle the conversion. This was my first mod and, at the time, I didn't know anything about tra files encoding, now luckily I do :)
  • ErgErg Member Posts: 1,756
    @Cahir, I've uploaded the new version. Can you please check if the Polish translation works fine?

    It looks fine to me, but I don't speak Polish, so I cannot be sure :)

    Thanks in advance
  • CahirCahir Member, Moderator, Translator (NDA) Posts: 2,819
    @Erg, thanks mate. Works like a charm on BG:EE (language in game set to Polish). Cannot confirm on other versions, but should be fine I guess.

    I may translate Readme too if I find a moment, not sure yet. I'll let you know if I do it.
  • ErgErg Member Posts: 1,756
    Cahir said:

    Cannot confirm on other versions, but should be fine I guess.

    AFAIK it should work fine. I've tested Italian, on both BG:EE and vBG1 and it works, so it should load the correct tra file for Polish too (for the non-enhanced games I'm using CP1250 as encoding for Polish).
  • CahirCahir Member, Moderator, Translator (NDA) Posts: 2,819
    Yep, this is correct encoding for Polish vanilla versions AFAIK, so it should work fine indeed.

  • LoremasterLoremaster Member Posts: 212
    Thanks @Erg, a small but welcomed addition to the game.
  • ALIENALIEN Member Posts: 1,271
    @Erg To be able to add you mod to BWS, please fill this template: http://www.shsforums.net/topic/58006-bws-mod-request-template/

    Thanks!
  • johntyljohntyl Member Posts: 400
    edited June 2015
    Hi, I just bought Aule's Staff from Ulgoth's Beard and I've got a question. Each time I equip it or switch my weapon to the staff, my character receives 1 damage. It does not deal damage when I am attacking enemies with it but only when I click on it (the icon). Even more strangely, each time I load my game, the character holding Aule's Staff receives 1 damage automatically!

    Is it supposed to work like this or is this a bug? Any help much appreciated.

    P.S. I am using SCS mod as well, if that helps (or not).
  • AstroBryGuyAstroBryGuy Member Posts: 3,437
    edited June 2015
    @Erg - The problem above is related to a difference in FT1DAM.EFF in BGEE (and BG2 Fixpack) vs. vanilla BG1/BG2.

    BGEE and BG2 Fixpack change how damage bonuses vs. X are applied. Instead of using opcode 179 and applying in the general header targeting Self, they use opcode 12 (damage) in the melee header targeting Preset Target.

    http://gibberlings3.net/forums/index.php?showtopic=24641

    So in BGEE (and Tutu with BG2 Fixpack, I presume) (EDIT: and BGT with Beta Core Fixes from BG2 Fixpack), FT1DAM.EFF applies opcode 12, which causes 1 point of slashing damage to the wielder on equipping.

    I coded up a fix, creating two custom EFF files for the staff (ER_STHT for the to hit bonus and ER_STDM for the damage bonus). The damage bonus EFF uses the BG2 Fixpack/BGEE method. Here's the edited section of the .tp2:



    [spoiler]
      COPY ~Erg_Silver_Staff\stuff\ER_IST1.BAM~ ~override~
    COPY ~Erg_Silver_Staff\stuff\ER_STHT.EFF~ ~override~
    COPY ~Erg_Silver_Staff\stuff\ER_STDM.EFF~ ~override~

    COPY_EXISTING ~%er_pf%STAF08.ITM~ ~override~ // Aule's Staff
    PATCH_IF SOURCE_SIZE > 0x71 BEGIN
    READ_BYTE 0x19 er_flg // Read Flags (2nd byte only)
    WRITE_BYTE 0x19 (er_flg BOR 0b00000011) // Add Silver & Cold Iron Flags
    WRITE_LONG 0x34 7500 // New Price

    // Add +1 Damage Bonus vs. Lycanthropes
    LAUNCH_PATCH_FUNCTION ~ADD_ITEM_EFFECT~
    INT_VAR
    type = 1 // melee
    opcode = 177 // effect: #177 (Use EFF File)
    target = 2 // target: Preset target
    parameter1 = 122 // IDS Entry: LYCANTHROPE
    parameter2 = 4 // IDS File: RACE.IDS
    timing = 1 // timing: Instant/Perm
    probability1 = 100 // probability1: 100
    insert_point = 0 // first effect
    STR_VAR resource = ~ER_STDM~ // resref: FT1DAM
    END

    // Add +1 THAC0 Bonus vs. Lycanthropes
    LAUNCH_PATCH_FUNCTION ~ADD_ITEM_EQEFFECT~
    INT_VAR
    opcode = 177 // effect: #177 (Use EFF File)
    target = 1 // target: Self
    parameter2 = 2 // param2: IDS
    timing = 2 // timing: While equipped
    probability1 = 100 // probability1: 100
    STR_VAR resource = ~ER_STHT~ // resref: ER_STHT
    END
    There's also COPY statements for the new EFF files in the BGT section.
    [/spoiler]

    The edited files and new EFF files can be downloaded at the link below. You are welcome to use them, ignore them, or devise a completely different solution, of course. To me, this was mainly a fun exercise in understanding item effects. :smile:

    https://dl.dropboxusercontent.com/u/80058200/SilverStaffFix.zip
    Post edited by AstroBryGuy on
  • ErgErg Member Posts: 1,756
    @AstroBryGuy - Thanks for looking into this and providing a fix.

    I just wanted to point out that the fix is not required in Tutu as Tutu doesn't use the BG2 Fixpack, but its own Tutufix.

    Also this fix is required in BGT only if the optional Beta Core Fixes component of the current most up to date version of the BG2 Fixpack is installed.
  • AstroBryGuyAstroBryGuy Member Posts: 3,437
    @Erg - Glad to help!
Sign In or Register to comment.