Jump to content
View in the app

A better way to browse. Learn more.

Obsidian Forum Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hello. 

I'm trying to create a mod that makes Traps scaling as the other consumables work; Adding PL scaling per skill point of Mechanics.

In order to make it, the first step I've been trying is removing the default Accuracy bonus for the Traps in vanilla, which provides +3 Accuracy per Mechanics. 

I found the value and setting from the GlobalGameSettings, and I set this value to 0 (I'm using Apotheosis Editor created by @Noqn). However, It seems that GlobalGameSettings changes are not working correctly. Even though the value is set to 0, the Accuracy bonus is still applied. 

Does anybody know how to apply the change correctly? Thanks in advance! 

 

(Edited) OK, I found a thread related this issue; 

I guess the change from the GlobalGameSettings should include whole the objects, even though 1 change is done. @Noqn is it possible to update the Editor to include whole things as I mentioned, like ProgressionTables do?

 

(Edited again) Well, I'm really not sure what cause the problem. I noticed Balance Polishing Mod also has changed from the GlobalGameSettings, like Constitution Buff, but it seems working correctly... 

Edited by Hoo

On 10/20/2024 at 4:26 AM, Hoo said:

I guess the change from the GlobalGameSettings should include whole the objects, even though 1 change is done. @Noqn is it possible to update the Editor to include whole things as I mentioned, like ProgressionTables do?

 

Edited by Noqn

On 10/20/2024 at 4:26 AM, Hoo said:

I guess the change from the GlobalGameSettings should include whole the objects, even though 1 change is done. @Noqn is it possible to update the Editor to include whole things as I mentioned, like ProgressionTables do?

Weird, it shouldn't work like that...

Basically, edits to a Component are going to be "isolated" by properties.
If you make an edit to a specific value in a component (e.g. ItemComponent.IsUnique) that is not going to affect anything else in that Component.
However if you make an edit to a property in a component that is a Structure (has nested values e.g. AttackBaseComponent.DamageData) or is a List of Values (e.g. GrimoireComponent.Spells) it is going to overwrite ALL of that property and cause conflicts with other mods that edit that property.

This is what happens to ProgressionTables,

  • ClassProgressionTableGameData
    • BaseProgressionTableComponent
      • AbilityUnlocks
        • (all the abilities in the table... editing any of them is going to overwrite the entirety of AbilityUnlocks)
        • ...
      • DefaultCustomAI: DruidAggressive  <- editing this won't cause any conflicts with mods that edit AbilityUnlocks

On the other hand, changes to TrapAccuracyPerLevel in GlobalGameSettings shouldn't be overwritten since it's a "top level property" in a Component (not within a Structure or List).

  • GlobalGameSettings
    • CombatSettingsComponent
      • TrapAccuracyPerLevel <- editing this shouldn't cause conflicts with anytning else in the CombatSettingsComponent, and should only be overwritten if another mod edits this specific value

If it's not being applied to the game, that's super weird, maybe caused by something else... sorry I couldn't help and sorry for late answer 🙁

  • Author

I tested with my own mod with turning off most of other mods, so I guess the TrapAccuracyPerLevel or even any GlobalGameSettings would not be changed except by my own mod. I think the TrapAccuracyPerLevel is just not working correctly and the +3 Accuracy seems being hardcoded, probably?...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.