Jump to content

Xaratas

Members
  • Posts

    902
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Xaratas

  1. Done Devs with specific reqs

     

    Single line, embedded and multi-part should be parsed out of any Mod

     

    So..

     

    // Some stuff is ignored

          "ID":"abcdef.....", // Something awesome becomes without this comment

     

    /*

      Just ignore me

    */

     

    Standard C-Style syntax

    It's json, where is the place you would see a comment handler in a json parser?

    Show me a C# json library with such crazy feature, and then it has a tiny chance obsidian like it and include it.

    • Like 1
  2. I allways see the guid generator. Thats not needed at all. The rule is to only use hex digits, and then you can create numbers like this:

    With a prefix for you self and an count for your mods. That way will make it more easy to track down a modded file and brings some ordering in the mods in general.

     

     

    "$type": "Game.GameData.WeaponGameData, Assembly-CSharp",
    "DebugName": "First_Mod_Great_Sword",
    "ID": "AA000000-0000-0000-0000-000000000001",
    
    • Like 3
  3. What he wanted to say is, that you can do that:

    https://github.com/AurelioSilver/pillarsofeternity-2-german-patch/blob/master/exported/localized/de_patch/language.xml

     

    And have a new language to select ingame.

     

    And yes. Translating it all could take a while, after all its 1 million words again. We will see what the Hungarian fan translation will become.

    • Like 1
  4. items.gamedatabundle lists figurines as ConsumableGameData.

     

    The documentation says these only have an ItemComponent and a ConsumableComponent. But the usageType Attribute is only on GenericAbilityGameData.

     

    So if i try

     

    {
        "GameDataObjects": [{
            "$type": "Game.GameData.GenericAbilityGameData, Assembly-CSharp",
            "DebugName": "Figurine_Laughing_Imp",
            "ID": "1f0190e6-4257-4571-9b79-aabd215767f0",
            "Components": [
            {
                "$type": "Game.GameData.GenericAbilityComponent, Assembly-CSharp",
                "UsageType": "None",
                "UsageValue": 0
            }
            ]
        }    
    }

    it does nothing.

    Adding the GenericAbilityComponent as 3rd array item into the ConsumableGameData does also nothing.

     

    Whats the correct way? Is it possible at all?

  5. For folks who want to revert/keep figurines the way there were in 1.1.1 (and before), the relevant data is in abilities.gamedatabundle NOT in items.gamedatabundle.

     

    For example:

     

    1.1.1:

    {
    			"$type": "Game.GameData.GenericAbilityGameData, Assembly-CSharp",
    			"DebugName": "Figurine_Battered_Dog_Ability",
    			"ID": "d413261a-1919-4924-ab10-23b3e03272b5",
    			"Components": [{
    					"$type": "Game.GameData.GenericAbilityComponent, Assembly-CSharp",
    					"KeywordsIDs": ["ddf90f19-c9a2-4087-a1a7-a00ee46bc3dd"],
    					"DisplayName": 4072,
    					"Description": -1,
    					"UpgradeDescriptions": [],
    					"UpgradedFromID": "00000000-0000-0000-0000-000000000000",
    					"Vocalization": "NoVocalization",
    					"Icon": "",
    					"UsageType": "None",
    					"UsageValue": 0,
    					"AbilityClass": "None",
    					"AbilityLevel": 1,
    					"IsPassive": "false",
    					"StackingRuleOverride": "Default",
    					"TriggerOnHit": "false",
    					"IsModal": "false",
    					"ModalGroupID": "00000000-0000-0000-0000-000000000000",
    					"IsCombatOnly": "true",
    					"IsNonCombatOnly": "false",
    					"HideFromUI": "false",
    					"HideFromCombatLog": "false",
    					"UniqueSet": "None",
    					"NoiseLevelID": "15743f94-1026-40b0-8e13-a667b3f66f63",
    					"DurationOverride": 0,
    					"OverrideEmpower": "Default",
    					"ClearsOnMovement": "false",
    					"CannotActivateWhileInStealth": "false",
    					"CannotActivateWhileInvisible": "false",
    					"ActivationPrerequisites": {
    						"Conditional": {
    							"Operator": 0,
    							"Components": []
    						}
    					},
    					"ApplicationPrerequisites": {
    						"Conditional": {
    							"Operator": 0,
    							"Components": []
    						}
    					},
    					"DeactivationPrerequisites": {
    						"Conditional": {
    							"Operator": 0,
    							"Components": []
    						}
    					},
    					"PowerLevelScaling": {
    						"BaseLevel": 0,
    						"LevelIncrement": 1,
    						"MaxLevel": 0,
    						"DamageAdjustment": 1,
    						"DurationAdjustment": 1,
    						"BounceCountAdjustment": 0,
    						"ProjectileCountAdjustment": 0,
    						"AccuracyAdjustment": 0,
    						"PenetrationAdjustment": 0
    					},
    					"StatusEffectKeywordsIDs": [],
    					"StatusEffectsIDs": [],
    					"VisualEffects": [],
    					"SelfMaterialReplacementID": "00000000-0000-0000-0000-000000000000",
    					"AttackID": "7b07ae25-2819-4e32-a025-1459b6b5543d",
    					"AITargetingConditional": {
    						"Conditional": {
    							"Operator": 0,
    							"Components": []
    						},
    						"Scripts": []
    					},
    					"AudioEventListID": "00000000-0000-0000-0000-000000000000"
    				}, {
    					"$type": "Game.GameData.ProgressionUnlockableComponent, Assembly-CSharp"
    				}
    			]
    		}, 
    

    1.2.0:

    {
    			"$type": "Game.GameData.GenericAbilityGameData, Assembly-CSharp",
    			"DebugName": "Figurine_Battered_Dog_Ability",
    			"ID": "d413261a-1919-4924-ab10-23b3e03272b5",
    			"Components": [{
    					"$type": "Game.GameData.GenericAbilityComponent, Assembly-CSharp",
    					"KeywordsIDs": ["ddf90f19-c9a2-4087-a1a7-a00ee46bc3dd"],
    					"DisplayName": 4072,
    					"Description": -1,
    					"UpgradeDescriptions": [],
    					"UpgradedFromID": "00000000-0000-0000-0000-000000000000",
    					"Vocalization": "NoVocalization",
    					"Icon": "",
    					"UsageType": "Charged",
    					"UsageValue": 8,
    					"AbilityClassID": "00000000-0000-0000-0000-000000000000",
    					"AbilityLevel": 0,
    					"IsPassive": "false",
    					"StackingRuleOverride": "Default",
    					"TriggerOnHit": "false",
    					"IsModal": "false",
    					"ModalGroupID": "00000000-0000-0000-0000-000000000000",
    					"IsCombatOnly": "true",
    					"IsNonCombatOnly": "false",
    					"HideFromUI": "false",
    					"HideFromCombatLog": "false",
    					"UniqueSet": "None",
    					"NoiseLevelID": "15743f94-1026-40b0-8e13-a667b3f66f63",
    					"DurationOverride": 0,
    					"OverrideEmpower": "Default",
    					"ClearsOnMovement": "false",
    					"CannotActivateWhileInStealth": "false",
    					"CannotActivateWhileInvisible": "false",
    					"ActivationPrerequisites": {
    						"Conditional": {
    							"Operator": 0,
    							"Components": []
    						}
    					},
    					"ApplicationPrerequisites": {
    						"Conditional": {
    							"Operator": 0,
    							"Components": []
    						}
    					},
    					"DeactivationPrerequisites": {
    						"Conditional": {
    							"Operator": 0,
    							"Components": []
    						}
    					},
    					"PowerLevelScaling": {
    						"ScalingType": "ModifiersOnly",
    						"BaseLevel": 0,
    						"LevelIncrement": 1,
    						"MaxLevel": 0,
    						"DamageAdjustment": 1,
    						"DurationAdjustment": 1,
    						"BounceCountAdjustment": 0,
    						"ProjectileCountAdjustment": 0,
    						"AccuracyAdjustment": 0,
    						"PenetrationAdjustment": 0
    					},
    					"StatusEffectKeywordsIDs": [],
    					"StatusEffectsIDs": [],
    					"VisualEffects": [],
    					"SelfMaterialReplacementID": "00000000-0000-0000-0000-000000000000",
    					"AttackID": "7b07ae25-2819-4e32-a025-1459b6b5543d",
    					"AITargetingConditional": {
    						"Conditional": {
    							"Operator": 0,
    							"Components": []
    						},
    						"Scripts": []
    					},
    					"AudioEventListID": "00000000-0000-0000-0000-000000000000"
    				}, {
    					"$type": "Game.GameData.ProgressionUnlockableComponent, Assembly-CSharp"
    				}
    			]
    		}
    

    Specifically change:

    "UsageType": "Charged",

    "UsageValue": 8,

     
    to:
    "UsageType": "None",
    "UsageValue": 0,
     

    (with the UsuageValue changing as appropriate).

     

    Shouldn't be too hard for someone to mod this up and release it to the community if there is enough demand.

    Does not work. According to Documentation a Figurine has only an ItemComponent and a ConsumableComponent. But no GenericAbilityComponent, which is the only one which know about charges.

     

    Trying to force that Generic Ability Component does nothing.

×
×
  • Create New...