Jump to content

Help with Crimson Helmet mod


Recommended Posts

Quote
{
    "$type""Game.GameData.EquippableGameData, Assembly-CSharp",
    "DebugName""LAX03_Head_Helm_Plate_Sanguine",
    "ID""2893c49b-2830-48ae-87da-d21974f05a5b",
    "Components": [
        {
            "$type""Game.GameData.ItemComponent, Assembly-CSharp",
            "DisplayName"1665000,
            "DescriptionText"17651000,
            "FilterType""Clothing",
            "InventoryAudioEventListID""3b0b476e-883e-4a9e-9a61-956eabf30b6d",
            "IsQuestItem""false",
            "IsIngredient""false",
            "IsCurrency""false",
            "IsAdventuringItem""false",
            "IsJunk""false",
            "CanSellForFullValue""false",
            "MaxStackSize"1,
            "NeverDropAsLoot""false",
            "CanBePickpocketed""true",
            "IsUnique""true",
            "Value"300,
            "IconTextureSmall""gui/icons/items/head/crimson_plate_helm_s.png",
            "IconTextureLarge""gui/icons/items/head/crimson_plate_helm_l.png",
            "PencilSketchTexture""",
            "InspectOnUseButton": [],
            "IsPlaceholder""false"
        },
        {
            "$type""Game.GameData.EquippableComponent, Assembly-CSharp",
            "EquipmentType""None",
            "EquipmentSlot""Head",
            "AppearancePiece": {
                "ModelVisualDataPath""prefabs/lax03/appearance/helm/a_lax03_helm302_v01.asset"
            },
            "ItemModsIDs": ["f87bfccf-53ad-41f1-8c8a-70a9593b5074"],
            "OnEquipVisualEffects": [],
            "RestrictedToClassIDs": [],
            "RestrictedToPlayer""false",
            "EquipConditionals": {
                "Operator"0,
                "Components": []
            },
            "ProficientAbilityID""00000000-0000-0000-0000-000000000000",
            "CannotUnequip""false",
            "ItemRendererPrefab""",
            "ItemModel""",
            "AnimationController""",
            "PaperdollOverrideRenderer""",
            "AttackSummonID""00000000-0000-0000-0000-000000000000",
            "CannotSheathe""false",
            "PropVisualEffects": []
        }
    ]
}

this is my code again for reference i changed the  ID code for the crimson helm so that might be it but it still didnt work even when it had its original item ID

Link to comment
Share on other sites

you gotta have the initial code at the top that you used to have in your ItemMods file.

{
	"GameDataObjects":[{

 

image.png.f9e578a5080d1792529ad83c22991c4f.png

 

Edit: Then add

 
]
}

To close it out at the very end.

 

Edit2: To be clear, this code has to be in all gamedatabundle files.  Items and ItemMods, everything in that filetype.

Edited by Grape_You_In_The_Mouth
Link to comment
Share on other sites

{
    "GameDataObjects":[{
    "$type""Game.GameData.EquippableGameData, Assembly-CSharp",
    "DebugName""LAX03_Head_Helm_Plate_Sanguine",
    "ID""2893c49b-2830-48ae-87da-d21974f05a5b",
    "Components": [
        {
            "$type""Game.GameData.ItemComponent, Assembly-CSharp",
            "DisplayName"1665000,
            "DescriptionText"17651000,
            "FilterType""Clothing",
            "InventoryAudioEventListID""3b0b476e-883e-4a9e-9a61-956eabf30b6d",
            "IsQuestItem""false",
            "IsIngredient""false",
            "IsCurrency""false",
            "IsAdventuringItem""false",
            "IsJunk""false",
            "CanSellForFullValue""false",
            "MaxStackSize"1,
            "NeverDropAsLoot""false",
            "CanBePickpocketed""true",
            "IsUnique""true",
            "Value"300,
            "IconTextureSmall""gui/icons/items/head/crimson_plate_helm_s.png",
            "IconTextureLarge""gui/icons/items/head/crimson_plate_helm_l.png",
            "PencilSketchTexture""",
            "InspectOnUseButton": [],
            "IsPlaceholder""false"
        },
        {
            "$type""Game.GameData.EquippableComponent, Assembly-CSharp",
            "EquipmentType""None",
            "EquipmentSlot""Head",
            "AppearancePiece": {
                "ModelVisualDataPath""prefabs/lax03/appearance/helm/a_lax03_helm302_v01.asset"
            },
            "ItemModsIDs": ["f87bfccf-53ad-41f1-8c8a-70a9593b5074"],
            "OnEquipVisualEffects": [],
            "RestrictedToClassIDs": [],
            "RestrictedToPlayer""false",
            "EquipConditionals": {
                "Operator"0,
                "Components": []
            },
            "ProficientAbilityID""00000000-0000-0000-0000-000000000000",
            "CannotUnequip""false",
            "ItemRendererPrefab""",
            "ItemModel""",
            "AnimationController""",
            "PaperdollOverrideRenderer""",
            "AttackSummonID""00000000-0000-0000-0000-000000000000",
            "CannotSheathe""false",
            "PropVisualEffects": []
        }
    ]
}
]
}

 

like this?

Link to comment
Share on other sites

Quote
{
    "GameDataObjects":[{
    "$type""Game.GameData.EquippableGameData, Assembly-CSharp",
    "DebugName""LAX03_Head_Helm_Plate_Sanguine",
    "ID""2893c49b-2830-48ae-87da-d21974f05a5b",
    "Components": [
        {
            "$type""Game.GameData.ItemComponent, Assembly-CSharp",
            "DisplayName"1665000,
            "DescriptionText"17651000,
            "FilterType""Clothing",
            "InventoryAudioEventListID""3b0b476e-883e-4a9e-9a61-956eabf30b6d",
            "IsQuestItem""false",
            "IsIngredient""false",
            "IsCurrency""false",
            "IsAdventuringItem""false",
            "IsJunk""false",
            "CanSellForFullValue""false",
            "MaxStackSize"1,
            "NeverDropAsLoot""false",
            "CanBePickpocketed""true",
            "IsUnique""true",
            "Value"300,
            "IconTextureSmall""gui/icons/items/head/crimson_plate_helm_s.png",
            "IconTextureLarge""gui/icons/items/head/crimson_plate_helm_l.png",
            "PencilSketchTexture""",
            "InspectOnUseButton": [],
            "IsPlaceholder""false"
        },
        {
            "$type""Game.GameData.EquippableComponent, Assembly-CSharp",
            "EquipmentType""None",
            "EquipmentSlot""Head",
            "AppearancePiece": {
                "ModelVisualDataPath""prefabs/lax03/appearance/helm/a_lax03_helm302_v01.asset"
            },
            "ItemModsIDs": ["05a417b4-a671-425a-a209-766f00ffa3cd"],
            "OnEquipVisualEffects": [],
            "RestrictedToClassIDs": [],
            "RestrictedToPlayer""false",
            "EquipConditionals": {
                "Operator"0,
                "Components": []
            },
            "ProficientAbilityID""00000000-0000-0000-0000-000000000000",
            "CannotUnequip""false",
            "ItemRendererPrefab""",
            "ItemModel""",
            "AnimationController""",
            "PaperdollOverrideRenderer""",
            "AttackSummonID""00000000-0000-0000-0000-000000000000",
            "CannotSheathe""false",
            "PropVisualEffects": []
        }
    ]
},
{
    "$type""Game.GameData.ItemModGameData, Assembly-CSharp",
    "DebugName""lax01_Battle_Awareness",
    "ID""05a417b4-a671-425a-a209-766f00ffa3cd",
    "Components": [
        {
            "$type""Game.GameData.ItemModComponent, Assembly-CSharp",
            "DisplayName"1175,
            "HideFromUI""false",
            "EnchantCategory""Unique",
            "Cost"7,
            "CursesItem""false",
            "DurabilityDamage"0,
            "StatusEffectsOnEquipIDs": [
                "57db17ce-096d-4488-811f-3dcbb21b8074"
            ],
            "StatusEffectsOnLaunchIDs": [],
            "StatusEffectsOnAttackIDs": [],
            "AbilityModsOnEquipIDs": [],
            "OnEquipVisualEffects": [],
            "DamageProcs": [],
            "AbilitiesOnEquipIDs": []
        }
    ]
}
]
}


 

even when i tried this it would not give me it post your code so i can see what you did exactly thanks to you im heading in the right direction thank you so much

Link to comment
Share on other sites

Yeah you probably need to change the debug name because it has a different guid so two items with the same debug name are loading into the game.  If they were the same guid, it would overwrite the original.

 

{
    "GameDataObjects": [
        {
            "$type": "Game.GameData.EquippableGameData, Assembly-CSharp",
            "DebugName": "helm_sux",
            "ID": "2d65bad9-fb0a-45e6-b27e-081c75ebd065",
            "Components": [
                {
                    "$type": "Game.GameData.ItemComponent, Assembly-CSharp",
                    "DisplayName": 1665000,
                    "DescriptionText": 17651000,
                    "FilterType": "Clothing",
                    "InventoryAudioEventListID": "3b0b476e-883e-4a9e-9a61-956eabf30b6d",
                    "IsQuestItem": "false",
                    "IsIngredient": "false",
                    "IsCurrency": "false",
                    "IsAdventuringItem": "false",
                    "IsJunk": "false",
                    "CanSellForFullValue": "false",
                    "MaxStackSize": 1,
                    "NeverDropAsLoot": "false",
                    "CanBePickpocketed": "true",
                    "IsUnique": "true",
                    "Value": 300,
                    "IconTextureSmall": "gui/icons/items/head/crimson_plate_helm_s.png",
                    "IconTextureLarge": "gui/icons/items/head/crimson_plate_helm_l.png",
                    "PencilSketchTexture": "",
                    "InspectOnUseButton": [],
                    "IsPlaceholder": "false"
                },
                {
                    "$type": "Game.GameData.EquippableComponent, Assembly-CSharp",
                    "EquipmentType": "None",
                    "EquipmentSlot": "Head",
                    "AppearancePiece": {
                        "ModelVisualDataPath": "prefabs/lax03/appearance/helm/a_lax03_helm302_v01.asset"
                    },
                    "ItemModsIDs": [
                        "f87bfccf-53ad-41f1-8c8a-70a9593b5074"
                    ],
                    "OnEquipVisualEffects": [],
                    "RestrictedToClassIDs": [],
                    "RestrictedToPlayer": "false",
                    "EquipConditionals": {
                        "Operator": 0,
                        "Components": []
                    },
                    "ProficientAbilityID": "00000000-0000-0000-0000-000000000000",
                    "CannotUnequip": "false",
                    "ItemRendererPrefab": "",
                    "ItemModel": "",
                    "AnimationController": "",
                    "PaperdollOverrideRenderer": "",
                    "AttackSummonID": "00000000-0000-0000-0000-000000000000",
                    "CannotSheathe": "false",
                    "PropVisualEffects": []
                }
            ]
        }
    ]
}
Link to comment
Share on other sites

<?xml version="1.0" encoding="utf-8"?>
<StringTableFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>game\items</Name>
  <Entries>
	<Entry>
      <ID>1665000</ID>
      <DefaultText>Helm of Sux</DefaultText>
      <FemaleText />
    </Entry>
    <Entry>
      <ID>17651000</ID>
      <DefaultText>This helm really sux.</DefaultText>
      <FemaleText />
    </Entry>
  </Entries>  
</StringTableFile>

 

Link to comment
Share on other sites

it also is just coming up missing string table

<?xml version="1.0" encoding="utf-8"?>
<StringTableFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>game\items</Name>
  <Entries>
    <Entry>
      <ID>1665000</ID>
      <DefaultText>Crimson Plate Helm</DefaultText>
      <FemaleText />
    </Entry>
    <Entry>
      <ID>17651000</ID>
      <DefaultText>When you don this helmet a dark haze washes over you as if you are being possesed by something of pure rage.</DefaultText>
      <FemaleText />
    </Entry>
  </Entries>  
</StringTableFile>
Link to comment
Share on other sites

I just learned how to enchant, but I've been doing ItemMods forever.  Any example items that other people have made would answer all of your questions but feel free to ask me.  Notice that the reason we couldn't solve your problem is because you didn't take an example and compare it line-by-line to yours--which is exhausting but better it's better than exhausting all the other efforts.

  • Thanks 1
Link to comment
Share on other sites

There is already something that does something similar to that.  I'd look it up and copy it down.  Frenzy has a minor, special characteristic to it because it's part of a group of abilities that is only Frenzy, and only that one ability, but it's grouped like that for some reason and sometimes there's extra code attached to the abilities.  No worries about the questions dude.

Edited by Grape_You_In_The_Mouth
Link to comment
Share on other sites

  • 2 weeks later...

just a little update i have currently finished the mod so far for the forseeible future i plan on adding my own enchantments in the hopefully not to distant future also on my mod page i have personally thanked Grape_You_In_The_Mouth for the help he has givin me if it was not for him this mod would not be a reality 😁 

 

https://www.nexusmods.com/pillarsofeternity2/mods/359

  • Thanks 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...