Jump to content


  • Content Count

  • Joined

Everything posted by argent77

  1. A single call of EXTEND_TOP ~script.bcs~ ~mymod/scripts/nuscript.baf~ EVAL should be enough. EXTEND_[TOP|BOTTOM] automatically fetches the game script from BIFF or override (and even creates a new SCRIPT.BCS if it doesn't exist yet), compiles the .BAF and extends the game script. EVAL can be omitted if you don't need to evaluate variables in the .BAF.
  2. The structure information was based on reverse engineered data from the EE executable. However, after some more testing it looks like several key features I mentioned in my previous post can't be used because they are still hardcoded in the engine. I have updated the animation structure description in my previous post to make it more clear. These features might become relevant again if Beamdog or modders can fix/patch the game executable to remove the hardcoded restrictions.
  3. @Acifer Thanks to Bubb's excellent reverse engineering skills I can provide a more accurate description of the dragon animation type: Animation type "multi_new", 9-part BAM animations (slot ranges 1200..12ff): - naming scheme: [prefix][sequence].BAM - prefix: an arbitrary BAM file prefix (e.g. MDR1, MDR2, ...) - sequence: (Numbers behind WK/SC/SD/... indicate cycle numbers) - if attribute split_bams=0: <-- NOTE: This mode is currently ignored in EE games - G1[quadrant]: WK=0-8 - G2[quadrant]: SD/SC/SP=0-8, SD(unused)=9-17, SC(unused)=18-26 - G3[quadrant]: A1=0-8, A2(unu
  4. These script actions are available to all animations in slots range 3000-3fff. This includes the new Neothelid animation in SoD. The D-type BAMs are just used as an extra layer for this animation type and rendered behind the creature sprite for the ground part. The number of frames in these BAMs don't have to be in sync with the creature sprite BAMs. They are simply played back repeatedly until the creature animation sequence has ended.
  5. That's an interesting idea. I don't know if it's possible, but I'll look into it.
  6. I have recently digged into the various creature animation formats for NI. Maybe these notes about splitted bams can help: Animation type "multi_new" 9-part variant: slot range (1200..12ff) - naming scheme: [resref][sequence].BAM - resref: - a four-letter prefix (e.g. MDR1, MDR2, ...) - sequence: (Note: numbers behind WK/SC/SD/... indicate cycle numbers) - 1[segment]0[dir]: WK=[dir] - 2[segment]0[dir]: SC=[dir], SD=9+[dir], SC=18+[dir] - 3[segment]0[dir]: A1=[dir], A2=9+[dir], A3=18+[dir] - 4[segment]0[dir]: GH=[dir], DE/SL=9+[dir], TW=18+[dir], DE/SL=27+[dir], DE/SL=36+[dir] -
  7. Spellhold Studios PS:T Unfinished Business - Reloaded This mod is a continuation of Qwinn's original PS:T Unfinished Business (PST-UB), based on version 4.12, that has been completely overhauled and made compatible with Planescape Torment: Enhanced Edition (PST:EE). This release adds the new component "Restored Tenement of Thugs" specifically for PST:EE, based on content from Qwinn's PS:T Fixpack, as well as several translation updates and Project Infinity support. Changelog: Added new component "Restored Tenement of Thugs" for PST:EE Converted readmes in
  8. There are actually kit_example.tph, kit_example2.tph, kit_example3.tph and kit_example4.tph to demonstrate how to add a regular singleclass kit, copy an existing kit, retrieving attributes from an existing kit and adding a true multiclass kit in addition to the readme. The parameters are largely the same as for the old ADD_KIT/fl#add_kit_ee combo, so there shouldn't really be a need for another tutorial.
  9. Since you can only visit stores through the magic store you have visited before at least once this condition is met automatically. Special access could mean a monetary fee or some other kind of "donation", or only party members of certain races, gender or alignment can access the store. Basically everything that is specifically checked every time you want to visit a store from the regular merchant.
  10. New release: Magic Store of Vergadain 2.0 This version offers two options how to install the magic store: 1. Fee required: The ghostly merchant will only allow you to access stores when you pay him a fee. The fee amount depends on the current game or campaign. This option has been included for balance reasons, since the magic store can make life of an adventurer much easier (e.g. having the opportunity to resurrect your companions, identify items or restock with consumables even in the most remote places of the world). 2. Free of charge: This is the same option as provided by the prev
  11. Magic Store of Vergadain The mod allows you to acquire a magical artifact called "Magic Store of Vergadain" that provides the means to visit any store you have visited in the past. Getting your hands on this unique artifact involves a small quest of one kind or another. It is available for original BG2, Tutu, BGT, BG:EE, SoD, BG2:EE, EET and IWD:EE. This release provides multiple installation options and comes with Russian translation by yota13. Changes: - Added new install option: Ghostly Merchant may charge a fee whenever you want to visit a store - Added special treat
  12. They are all listed in OBJECT.IDS.
  13. The group of "Nearest()" identifiers has never worked correctly for me. Afaik, "Nearest()" also takes the active creature into account, and "SecondNearest()" actually targets the third nearest (when taking the active creature into account). In your case the NearestAllyOf() specifier in combination with Allegiance() and General() checks might produce the desired result: IF See(NearestAllyOf(Myself)) Allegiance(LastSeenBy(Myself),PC) General(LastSeenBy(Myself),HUMANOID) THEN ... However, that only works in EE games. Edit: You might even drop the Allegiance() check, but I
  14. Thanks for the hint about the parameter "from_utf8". This is a big improvement over the traditional way of handling translations. No more trouble creating .tra files with the right ANSI encoding. This "feature" isn't related in any way to HANDLE_CHARSETS though. It rather appears to be a quirk of the WeiDU binary. The 64-bit Windows executable seems to display UTF-8-encoded setup.tra correctly in the console window, but the 32-bit executable does not. Since most mods ship with 32-bit executables it's still advisable to use only US-ASCII characters in the setup.tra.
  15. Yes, it does. See the readme for more details (linked in first post).
  16. Your line of thought would be more fitting for a delivery service kind of mod. But that's not what I had in mind. The 'ghostly merchant' is certainly arguable (I initially thought about making it a conversable item), but I think the way it's currently implemented fits well into a high level magic world like the Forgotten Realms. I could have just as well used a djinni instead. There are still several aspects that have to be tweaked in future releases though. In its current state the artifact is quite powerful.
  17. Thank you! Yes, it was a coding challenge (which was the main reason I actually created this mod in the first place. )
  18. Magic Store of Vergadain This mod allows you to acquire a magical artifact called "Magic Store of Vergadain" that provides the means to visit any store you have visited in the past. Getting your hands on this unique artifact involves a small quest of one kind or another. The mod supports the following games and game variants: Original BG2 Tutu/EasyTutu BGT BG:EE (with or without SoD) BG2:EE EET IWD:EE The mod is currently available in English and German. Download: GitHub Discussion: G3, Beamdog Readme
  19. Magic Store of Vergadain Download from GitHub Readme Introduction The games contain a great number of stores for your shopping needs. However, finding or returning to a store can take a lot of time or is sometimes not even possible. This mod allows you to acquire a magical artifact that provides the means to visit any store you have visited in the past. Getting your hands on this unique artifact involves a small quest of one kind or another. The mod supports the following games and game variants: Original BG2 Tutu/EasyTutu BGT BG:
  20. There is a git option that defines how line endings are handled. You can check it with this console command: git config --get core.autocrlf On Windows it should be set to "true" (unless you know what you're doing), so that text files are checked out with cr/lf (windows-style) and committed with lf (unix-style). You can find more info here: https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_formatting_and_whitespace
  21. Update: NPC Generator 1.4 Changelog: - Added Project Infinity metadata - Added German translation for WeiDU prompts - Fixed potential display issues with component names in WeiDU.log and Project Infinity - Compatibility improvements
  22. Yes, that should work fine. The code checks the FAMILIAR status, so that speed increase is only applied when the creature is in follower mode. @jastey Just to make sure, are these value correct? (Cre resref is only used to check for creature existence during install time.) // cre resref => script name ~c#bran01~ => ~c#brandock~ ~c#grey02~ => ~c#grey~ ~c#sola12~ => ~c#solaufein~
  23. Thanks for the reminder. I planned to expand this feature to support familiars, but couldn't find the time to actually implement it until now. I have rewritten the code to be more flexible (see commit). Non-EE games and EE games prior to patch 2.0 don't (properly) support the Familiar target which makes it a bit more complicated for these games, but I found a workaround for this issue. The code also supports special familiar-type followers (provided they exist at install time). @jastey I think one your mods provides a familiar-type follower? If you can tell me their cre resref and script
  24. NPC Generator This mod allows you to install any number of pregenerated or exported characters as regular NPCs. It is available for original BG2, BGT, Tutu, BG:EE (with or without SoD), BG2:EE, EET and IWD:EE. Version 1.3 fixes an installation error in IWD:EE and improves plot-specific behavior of NPCs and followers for SoD and BG2-SoA. Download: GitHub Discussion: G3, Beamdog Readme
  25. Update: NPC Generator 1.3 Full changelog: - Added scripted NPC/follower removal at the end of the SoD campaign - Added code to improve handling followers during the SoA Spellhold dream sequence - Fixed an installation issue in IWD:EE
  • Create New...