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
- Upgrade WeiDU.exe to the latest version
- 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)
- Fetch the latest multi-compatibility library (for handling area/chapter/game triggers across the gamut of BG* flavors)
- review GAME_IS statements as appropriate
- 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 |
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
I apologize for dropping a dozen open-ended questions here - hopefully I have some left-over good will that I can bank on
Edited by the bigg, 05 October 2020 - 12:29 PM.