Jump to content


the bigg

Member Since 06 Jan 2004
Offline Last Active Oct 24 2020 08:31 AM

Topics I've Started

EE-compatible beta release

17 October 2020 - 08:20 AM

Hi all,

 

as promised some time ago, I've committed to GitHub version 2.99 of TB#Tweaks, that should be compatible with the Enhanced Editions.

 

I have only tested installation of compatible components on a clean BG2EE installation, as well as functionality for the following component (that, on plain BG2, would require ToB Ex):

  • WSPATCK for all (making non-Warriors gain extra attacks per round based on proficiency and/or level)

The following components are not compatible, because (in my understanding) they lack required functionality:

  • Party members can facestab too - Enhanced Edition lacks the required functionality
  • Mages drop spellbooks - Enhanced Edition doesn't apply a bunch of required checks:
    • Sorcerors can use the Spellbook to both gain experience and learn the associated spell(s)
    • Specialist mages can use the Spellbook to learn spells from their forbidden school(s)
    • Intelligence limits to the number of spells a character can learn, as well as the chance of failing to do so, aren't applied
    • Thieves who have taken the Use Any Item can use the Spellbooks to learn (but not cast) spells and gain experience for doing so

I'd be grateful if somebody could provide pointers on how to implement the missing components.

 

 

For the moment, the mod can be downloaded from GitHub (go to https://github.com/vbigiani/tb-tweaks and click on Code -> Download ZIP, unpack to the game folder, and copy setup-whatever.exe to setup-tb#tweaks.exe).

 

Please note that it is NOT possible to upgrade from previous versions to the current one (the previous version must be uninstalled prior to the upgrade).

 

 

 

I'd be grateful if people could verify installation and continued functionality on the other relevant games/engines:

  • BG2: TOB
  • TUTU (with TOB engine)
  • BGT
  • BG1 EE (with or without SOD)
  • EET

Help with porting TB#Tweaks to EE Engine

05 October 2020 - 12:27 PM

Hi all,

 

I've received a PM about porting TB#Tweaks to the EE Engine. Given that I'm looking forward to spending 17 and 18 October in an hotel room I thought that I'd take a look at making the migration (since I don't think it will be a ton of work).

 

I have laid down a bullet point for the work required (both in general for EE migration, and in particular for TB#Tweaks components), and would be pretty grateful if somebody could go over my notes and point out any mistakes I've made or stuff I've forgotten about.

 

The basics

  1. Upgrade WeiDU.exe to the latest version
  2. Add an ALWAYS statement to call the HANDLE_CHARSETS function on .tra files that will contain in-game strings (but not for the component names, or other strings that will be printed to the CMD prompt)
  3. Fetch the latest multi-compatibility library (for handling area/chapter/game triggers across the gamut of BG* flavors)
  4. review GAME_IS statements as appropriate
  5. Add the standard readme blurb(s) as found E.G. in the Tweaks Anthology readme

Component breakdown

 

Component Title Component Description Compatible? Comment
Nature's Beauty Tweak Nature's Beauty 'blindness' effect only lasts 8 hours Yes – improveable

Standard SPL patching.

 

However, has the spell been already modified thus?

Imprisonment Fix Imprisonment becomes a 'permanent' maze, instead of removing the character from the party Yes – improveable

Standard SPL/ITM/EFF patching.

 

Currently the component sets 25 Intelligence on the party member, and edits INTMOD so that 25 intelligence is a permanent maze – is there a smarter way to do this in the EE?

Petrification Fix Petrification becomes a 'permanent' stun (and sets 1 HP), instead of removing the character from the party Yes Standard SPL/ITM/EFF patching
Drop Weapons in Panic Removal The Drop Weapons in Panic opcode is removed from the game Yes Standard SPL/ITM/EFF patching
Unlimited/Cheesier Limited Wish & Wish Removes all Wisdom requirements and random rolls from Limited Wish and Wish spells Yes Standard DLG patching
Improved Difficulty System Replaces Difficulty(xx) with a GetGlobal() check Yes – improveable I would need to edit the mod to add the extra difficulty settings (story mode and LOB), instead of the standard 5 difficulties from standard BG2. Otherwise, standard BCS/DLG patching
Faster Romances Makes RealGlobalTimer() checks faster Yes Standard BCS and DLG patching
No Item Requrements Removes minimum stat requirement from items Yes Standard ITM patching
WSPATCK for all All classes get bonus attacks per round according to wspatck.2da (so when leveling up and when specializing in a weapon). Optionally, make the level-up bonus attack at 7th and 13th be a CLABxxxx.2da feature for warriors (so that other classes only get the bonus attack from specialization) Yes - redundant (?)

Already implemented SubtleDoctor's APR on Spec mod.

 

If SubtleDoctor's mod doesn't offer the same customization options

3rd edition style strength Changes the Strength bonuses to be more linear Yes Standard 2DA patching
3rd edition style dexterity Changes the Dexterity bonuses to be more linear. Also, dexterity gives a bonus/malus to Breath saving throws Yes – improveable

Standard 2DA patching.

 

Currently the bonus/malus to saving throws is implemented by defining appropriate spells and adding appropriate IF blocks to every creature's BCS. Is there a smarter way in the EE to apply an effect based on the current Dexterity score (and change the bonuses as the score changes)?

3rd edition style constitution Changes the Constitution bonuses to be more linear. Also, constitution gives a bonus/malus to poison/paralysis/death saving throws Yes – improveable Same as "3rd edition style Dexterity"
3rd edition style wisdom Changes the Wisdom bonuses to be more linear. Also, wisdom gives a bonus/malus to Spell saving throws Yes – improveable Same as "3rd edition style Wisdom"
3rd edition style charisma Changes the Charisma bonuses to be more linear. Yes Standard 2DA patching
Druids can wear metal Reverts ItemRevision changes that forbid Druids from wearing helmets and other metal armor Yes Standard ITM patching
Gain stats as you level up Party members gain extra stats at certain XP or character milestones Yes Standard BCS/DLG coding. Chapter-based increments are probably overpowered for SoD, but that's none of my business  :shifty:
Party members can facestab too Party thieves/stalkers (when invisible) no longer need to be behind an enemy to benefit from backstab multiplier. Optionally, to benefit from this, they must be under the effect of Non-Detection No Going to assume that this is incompatible with EET, as the mod did nothing more than install Ascension64's TobEx.
Mages drop spellbooks Enemy mages carry a spellbook item, that party mages can then use to learn spells (rather than relying on scrolls) Yes (?)

The basic mod is already compatible, as it is standard CRE/ITM patching.

 

However, the component used Ascension64's TobEx to make the Learn Spell opcode apply the same rules as scrolls would, so I would need to verify that the rules are still applied:

 

1) forbidden school for specialized wizards

2) INTMOD rules regarding max # of spells and % change to learning spells

3) sorcerers must not benefit from the item

4) no bonus XP to be given if the spell isn't learned


 

 

I apologize for dropping a dozen open-ended questions here - hopefully I have some left-over good will that I can bank on  :lol2:

 

 

 

I apologize for dropping a dozen open-ended questions here - hopefully I have some left-over good will that I can bank on  :lol2: