AndreaColombo Posted November 1, 2018 Posted November 1, 2018 I'm changing The Undying Burden back to what it was before patch 1.1, and the change appears to require a modification of its description string as well. Namely, the belt currently provides up to 10% damage reduction based on the character's health, starting from 0%; before the nerf, it provided a 10% starting damage reduction which scaled up to 30%. I would like to change the description to match what it was before 1.1: Incoming weapon damage reduced by 10% (stacks three times as health is lost, for a max of-30% to damage) My questions are: Can strings be overridden like other game files (i.e. I add a modified string to my mod in the override folder and it gets used instead of the original)? Where can I find the English string to modify? "Time is not your enemy. Forever is." — Fall-From-Grace, Planescape: Torment "It's the questions we can't answer that teach us the most. They teach us how to think. If you give a man an answer, all he gains is a little fact. But give him a question, and he'll look for his own answers." — Kvothe, The Wise Man's Fears My Deadfire mods: Brilliant Mod | Faster Deadfire | Deadfire Unnerfed | Helwalker Rekke | Permanent Per-Rest Bonuses | PoE Items for Deadfire | No Recyled Icons | Soul Charged Nautilus
house2fly Posted November 1, 2018 Posted November 1, 2018 I actually just realised I've never overridden a string. I'm 99% sure they can though. The strings are in PillarsOfEternityII_Data\exported\localized\en\text\game 1
Rolandur Posted November 1, 2018 Posted November 1, 2018 Strings can be overridden, I've done it a few times. 2
Armakoir Posted November 2, 2018 Posted November 2, 2018 https://forums.obsidian.net/topic/94795-obsidian-will-you-provide-xml-documentation-or-other-editing-tools-on-release/?p=1977260 2 My PoE2 Mods: The Class Project | Thrown Weaponry Kits | Informative Proficiency Descriptions
AndreaColombo Posted November 2, 2018 Author Posted November 2, 2018 Thank you, everyone! I found the string in question: <Entry> <ID>44</ID> <DefaultText>Incoming weapon Damage is reduced as Health is lost. (Max {0:value:percentbonus} Damage reduction)</DefaultText> <FemaleText /> </Entry> I would like to change it to: <Entry> <ID>44</ID> <DefaultText>Incoming weapon Damage is reduced by 10% (stacks three times as health is lost, for a max of {0:value:percentbonus} Damage reduction)</DefaultText> <FemaleText /> </Entry> I would like the 10% figure, however, to be retrieved from the item's stat block like the 30% is. Here's where the 10% is set: "ExtraValue": 0.1, "OverridePenetration": 0, "DamageTypeValue": "All", "KeywordValueID": "00000000-0000-0000-0000-000000000000", "RaceValue": "None", "StatusEffectTypeValue": "None", "ItemValueID": "00000000-0000-0000-0000-000000000000", "AfflictionTypeValueID": "00000000-0000-0000-0000-000000000000", "StatusEffectsValueIDs": [], "AttackValueID": "00000000-0000-0000-0000-000000000000", "AttackOverrideValue": "None", "EventValue": "OnApply", "ClassValueID": "00000000-0000-0000-0000-000000000000", "WeaponTypeValue": "None", "AttackHitType": "None", "SkillValueID": "00000000-0000-0000-0000-000000000000", "AudioEventListID": "00000000-0000-0000-0000-000000000000", "BedRestDaysMinimum": 0, "BedRestDaysMaximum": 0 Any idea what I should type in the description to make it work? "Time is not your enemy. Forever is." — Fall-From-Grace, Planescape: Torment "It's the questions we can't answer that teach us the most. They teach us how to think. If you give a man an answer, all he gains is a little fact. But give him a question, and he'll look for his own answers." — Kvothe, The Wise Man's Fears My Deadfire mods: Brilliant Mod | Faster Deadfire | Deadfire Unnerfed | Helwalker Rekke | Permanent Per-Rest Bonuses | PoE Items for Deadfire | No Recyled Icons | Soul Charged Nautilus
aartz Posted November 2, 2018 Posted November 2, 2018 Heya Andrea, You should be able to use "{0:extravalue:percentbonus}" to grab the .1 (or whatever you replace it with) from that extra value slot. So something like "Incoming weapon Damage is reduced by {0:extravalue:percentbonus} (stacks three times as health is lost, for a max of {0:value:percentbonus} Damage reduction)" =) Hope that helps! 1 I try my very best.
AndreaColombo Posted November 2, 2018 Author Posted November 2, 2018 (edited) Thank you, Andy! Unfortunately the override doesn't seem to be working Edited November 2, 2018 by AndreaColombo "Time is not your enemy. Forever is." — Fall-From-Grace, Planescape: Torment "It's the questions we can't answer that teach us the most. They teach us how to think. If you give a man an answer, all he gains is a little fact. But give him a question, and he'll look for his own answers." — Kvothe, The Wise Man's Fears My Deadfire mods: Brilliant Mod | Faster Deadfire | Deadfire Unnerfed | Helwalker Rekke | Permanent Per-Rest Bonuses | PoE Items for Deadfire | No Recyled Icons | Soul Charged Nautilus
Armakoir Posted November 3, 2018 Posted November 3, 2018 Thank you, Andy! Unfortunately the override doesn't seem to be working Did you use the correct folder structure for your stringtable? Unlike gamedatabundles, the localization files need to be in a specific file path. My PoE2 Mods: The Class Project | Thrown Weaponry Kits | Informative Proficiency Descriptions
AndreaColombo Posted November 3, 2018 Author Posted November 3, 2018 I put it in localized/en/text/game/statuseffects.stringtable within my mod folder. 1 "Time is not your enemy. Forever is." — Fall-From-Grace, Planescape: Torment "It's the questions we can't answer that teach us the most. They teach us how to think. If you give a man an answer, all he gains is a little fact. But give him a question, and he'll look for his own answers." — Kvothe, The Wise Man's Fears My Deadfire mods: Brilliant Mod | Faster Deadfire | Deadfire Unnerfed | Helwalker Rekke | Permanent Per-Rest Bonuses | PoE Items for Deadfire | No Recyled Icons | Soul Charged Nautilus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now