IX9 Posted July 15 Posted July 15 Hello, I apologize if this is not the place to post this as I am looking for assistance. I am creating a weapon mod in which it is supposed to allow the player to enchant the weapon on certain paths but the enchantment screen does not appear in game. Can anyone assist here? Here is the code for each file: Fleshrender_Weapon.gamedatabundle: { "GameDataObjects": [ { "$type": "Game.GameData.WeaponGameData, Assembly-CSharp", "DebugName": "Great_Sword_U_Fleshrender", "ID": "150e148d-28ae-4421-a037-a6c4adfc3c0e", "Components": [ { "$type": "Game.GameData.ItemComponent, Assembly-CSharp", "DisplayName": 999001, "DescriptionText": 999002, "FilterType": "Weapons", "InventoryAudioEventListID": "d9ef8ec9-f1fb-4d0b-88b7-49d7c0310019", "IsQuestItem": "false", "IsIngredient": "false", "IsCurrency": "false", "IsAdventuringItem": "false", "CanSellForFullValue": "false", "MaxStackSize": 1, "NeverDropAsLoot": "false", "CanBePickpocketed": "true", "IsUnique": "true", "Value": 3000, "IconTextureSmall": "gui/icons/items/weapons/great_sword/great_sword_karaboru_s.png", "IconTextureLarge": "gui/icons/items/weapons/great_sword/great_sword_karaboru_l.png", "PencilSketchTexture": "", "InspectOnUseButton": [], "IsPlaceholder": "false" }, { "$type": "Game.GameData.EquippableComponent, Assembly-CSharp", "EquipmentType": "GreatSword", "EquipmentSlot": "BothPrimaryAndSecondary", "AppearancePiece": { "ModelVisualDataPath": "prefabs/items/appearance/weapons/great_sword/a_great_sword07.asset" }, "ItemModsIDs": [ "b5559f1d-70c9-400d-b687-58b5ebae6bc7", "9fd4e9ae-cd56-4b8e-8f48-4fcf4ec6a648" ], "OnEquipVisualEffects": [ { "VisualEffect": "prefabs/effects/abilities/druid/fx_great_sword_firebrand.prefab", "AttachPoint": "Fx_Bone_01", "EmissiveColor": { "A": 1, "R": 1, "G": 1, "B": 1 }, "EmissiveGlowScale": 0, "ScaleToCharacter": false } ], "RestrictedToClassIDs": [], "RestrictedToPlayer": "false", "ProficientAbilityID": "0b5fe616-3d6d-460d-a02d-28a1b4217796", "CannotUnequip": "false", "ItemRendererPrefab": "prefabs/itemrenderers/genericitemrenderer.prefab", "ItemModel": "art/character/weapons/great_sword/great_sword01/w_gs01.fbx", "AnimationController": "", "PaperdollOverrideRenderer": "", "AttackSummonID": "00000000-0000-0000-0000-000000000000", "CannotSheathe": "false", "PropVisualEffects": [] }, { "$type": "Game.GameData.WeaponComponent, Assembly-CSharp", "Stance": "TwoHandedClosedGrip", "AnimationStanceID": "2bfb014c-53e1-44d0-82c8-3c3ff7a6741e", "StatusEffectsOnLaunchIDs": [], "IsDisplayedWhenAlternate": "true", "IsUniversalType": "false", "AttackID": "1d10eee8-c68a-4593-8075-7a2e19db6602", "NoiseLevelID": "15743f94-1026-40b0-8e13-a667b3f66f63", "ForceBackScabbard": "true", "ScabbardAppearancePiece": { "ModelVisualDataPath": "prefabs/items/appearance/weapons/great_sword/a_great_sword07_scabbard.asset" }, "ScabbardRendererPrefab": "prefabs/itemrenderers/genericitemrenderer.prefab", "ScabbardModel": "", "AudioEventListID": "00000000-0000-0000-0000-000000000000" } ] } ] } Here is the next file:Fleshrender_StatusEffects.gamedatabundle { "GameDataObjects": [ { "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp", "DebugName": "SE_Fleshrender_Magrans_Gaze", "ID": "46ae551d-9b21-425b-8738-18c68f08f47b", "Components": [ { "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp", "StatusEffectType": "DamageOverTime", "OverrideDescriptionString": 12662, "Duration": 5.0, "TickInterval": 1.0, "TickEffectValue": 2.0, "MaxStackQuantity": 10, "StackingType": "AddDuration", "ApplicationBehavior": "ApplyOnHit", "ApplicationType": "OnEvent", "ApplicationEvent": "OnHit", "TriggerAdjustment": { "TriggerCondition": "AnyHit" }, "AffectedStat": "Health", "DamageType": "Burn", "KeywordsIDs": [], "VisualEffectID": "00000000-0000-0000-0000-000000000000" } ] }, { "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp", "DebugName": "SE_Fleshrender_Magrans_Teeth_Burn", "ID": "94f8f360-fc8f-411e-baf0-cf883d15a611", "Components": [ { "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp", "StatusEffectType": "DamageOverTime", "OverrideDescriptionString": 12652, "Duration": 10.0, "TickInterval": 1.0, "TickEffectValue": 3.0, "MaxStackQuantity": 15, "StackingType": "AddDuration", "ApplicationBehavior": "ApplyOnHit", "ApplicationType": "OnEvent", "ApplicationEvent": "OnHit", "TriggerAdjustment": { "TriggerCondition": "AnyHit" }, "AffectedStat": "Health", "DamageType": "Burn", "KeywordsIDs": [], "VisualEffectID": "00000000-0000-0000-0000-000000000000" } ] }, { "$type": "Game.GameData.StatusEffectGameData, Assembly-CSharp", "DebugName": "SE_Fleshrender_Magrans_Bite_Burn", "ID": "8e67fa88-81f0-4f68-b1ba-e4f8cb196b12", "Components": [ { "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp", "StatusEffectType": "DamageOverTime", "OverrideDescriptionString": 12653, "Duration": 20.0, "TickInterval": 1.0, "TickEffectValue": 4.0, "MaxStackQuantity": 15, "StackingType": "AddDuration", "ApplicationBehavior": "ApplyOnHit", "ApplicationType": "OnEvent", "ApplicationEvent": "OnHit", "TriggerAdjustment": { "TriggerCondition": "AnyHit" }, "AffectedStat": "Health", "DamageType": "Burn", "KeywordsIDs": [], "VisualEffectID": "00000000-0000-0000-0000-000000000000" } ] } ] } Code for Fleshrender_EnchantRecipes.gamedatabundle: { "GameDataObjects": [ { "$type": "Game.GameData.ItemEnchantmentGameData, Assembly-CSharp", "DebugName": "Fleshrender_Enchant_Magrans_Teeth", "ID": "ba48863f-64b3-42a7-996e-3547e3c68f70", "ItemModID": "d1e5e57e-d7c6-4fd9-94df-c1ce45707142", "Cost": 3000, "Prerequisites": [], "CanModifySpecificItemsIDs": ["150e148d-28ae-4421-a037-a6c4adfc3c0e"], "RequiredIngredients": [ "9a31f953-b8a8-4d9b-9de9-457ed3712963", "365b5fc0-a72c-4a5e-b6df-092837b8373b", "ca89dd63-3824-4f74-82b1-fd51796056f3", "e474463c-1c74-44c5-945c-385d864b6974", "1da67dfc-b306-4286-b5aa-0b1a9bcc5ea8" ] }, { "$type": "Game.GameData.ItemEnchantmentGameData, Assembly-CSharp", "DebugName": "Fleshrender_Enchant_Magrans_Bite", "ID": "e0ef177c-75ed-44e2-8441-71c6b17d40d9", "ItemModID": "05cbd098-f837-4b44-b1c0-efc6207efb7d", "Cost": 6000, "Prerequisites": ["d1e5e57e-d7c6-4fd9-94df-c1ce45707142"], "CanModifySpecificItemsIDs": ["150e148d-28ae-4421-a037-a6c4adfc3c0e"], "RequiredIngredients": [ "9a31f953-b8a8-4d9b-9de9-457ed3712963", "365b5fc0-a72c-4a5e-b6df-092837b8373b", "ca89dd63-3824-4f74-82b1-fd51796056f3", "e474463c-1c74-44c5-945c-385d864b6974", "be8934a3-08db-4db3-bf65-5f5961957dc7" ], "ItemModsToRemove": ["d1e5e57e-d7c6-4fd9-94df-c1ce45707142"] }, { "$type": "Game.GameData.ItemEnchantmentGameData, Assembly-CSharp", "DebugName": "Fleshrender_Enchant_Magrans_Ire", "ID": "a6dc8b66-b3a4-4dcb-986f-6c0e6d6b20fa", "ItemModID": "f4040aa0-e7e1-44d0-8417-1ad86ffec893", "Cost": 3000, "Prerequisites": [], "CanModifySpecificItemsIDs": ["150e148d-28ae-4421-a037-a6c4adfc3c0e"], "RequiredIngredients": [ "9a31f953-b8a8-4d9b-9de9-457ed3712963", "365b5fc0-a72c-4a5e-b6df-092837b8373b", "ca89dd63-3824-4f74-82b1-fd51796056f3", "e474463c-1c74-44c5-945c-385d864b6974", "1da67dfc-b306-4286-b5aa-0b1a9bcc5ea8" ] }, { "$type": "Game.GameData.ItemEnchantmentGameData, Assembly-CSharp", "DebugName": "Fleshrender_Enchant_Magrans_Wrath", "ID": "f83e899f-fb3c-4a62-87d3-d73be6767b15", "ItemModID": "48b7e0a9-0dfb-49f6-9c53-53f3c8a1ccae", "Cost": 6000, "Prerequisites": ["f4040aa0-e7e1-44d0-8417-1ad86ffec893"], "CanModifySpecificItemsIDs": ["150e148d-28ae-4421-a037-a6c4adfc3c0e"], "RequiredIngredients": [ "9a31f953-b8a8-4d9b-9de9-457ed3712963", "365b5fc0-a72c-4a5e-b6df-092837b8373b", "ca89dd63-3824-4f74-82b1-fd51796056f3", "e474463c-1c74-44c5-945c-385d864b6974", "be8934a3-08db-4db3-bf65-5f5961957dc7" ], "ItemModsToRemove": ["f4040aa0-e7e1-44d0-8417-1ad86ffec893"] } ] } Code for Fleshrender_Enchantment.gamedatabundle: { "GameDataObjects": [ { "$type": "Game.GameData.ItemModGameData, Assembly-CSharp", "DebugName": "Fleshrender_Mod_Magrans_Gaze", "ID": "b5559f1d-70c9-400d-b687-58b5ebae6bc7", "Components": [ { "$type": "Game.GameData.StatusEffectItemModComponent, Assembly-CSharp", "StatusEffectID": "46ae551d-9b21-425b-8738-18c68f08f47b", "ApplicationType": "OnHit", "TriggerOnHitWithPrimaryOnly": "true" } ] }, { "$type": "Game.GameData.ItemModGameData, Assembly-CSharp", "DebugName": "Fleshrender_Mod_Wrought_Might", "ID": "9fd4e9ae-cd56-4b8e-8f48-4fcf4ec6a648", "Components": [ { "$type": "Game.GameData.ModifyStatComponent, Assembly-CSharp", "ModifiedStat": "Might", "Value": 1, "ModifyMethod": "Add" } ] }, { "$type": "Game.GameData.ItemModGameData, Assembly-CSharp", "DebugName": "Fleshrender_Mod_Magrans_Teeth", "ID": "d1e5e57e-d7c6-4fd9-94df-c1ce45707142", "Components": [ { "$type": "Game.GameData.StatusEffectItemModComponent, Assembly-CSharp", "StatusEffectID": "94f8f360-fc8f-411e-baf0-cf883d15a611", "ApplicationType": "OnHit", "TriggerOnHitWithPrimaryOnly": "true" } ], "UpgradePrerequisites": ["b5559f1d-70c9-400d-b687-58b5ebae6bc7"], "Upgrades": ["05cbd098-f837-4b44-b1c0-efc6207efb7d"], "MutuallyExclusiveUpgrades": ["f4040aa0-e7e1-44d0-8417-1ad86ffec893"] }, { "$type": "Game.GameData.ItemModGameData, Assembly-CSharp", "DebugName": "Fleshrender_Mod_Magrans_Bite", "ID": "05cbd098-f837-4b44-b1c0-efc6207efb7d", "Components": [ { "$type": "Game.GameData.StatusEffectItemModComponent, Assembly-CSharp", "StatusEffectID": "8e67fa88-81f0-4f68-b1ba-e4f8cb196b12", "ApplicationType": "OnHit", "TriggerOnHitWithPrimaryOnly": "true" }, { "$type": "Game.GameData.ModifyStatComponent, Assembly-CSharp", "ModifiedStat": "Might", "Value": 2, "ModifyMethod": "Add" } ], "UpgradePrerequisites": ["d1e5e57e-d7c6-4fd9-94df-c1ce45707142"], "ReplacesUpgrades": ["d1e5e57e-d7c6-4fd9-94df-c1ce45707142"] }, { "$type": "Game.GameData.ItemModGameData, Assembly-CSharp", "DebugName": "Fleshrender_Mod_Magrans_Ire", "ID": "f4040aa0-e7e1-44d0-8417-1ad86ffec893", "Components": [ { "$type": "Game.GameData.ModifyStatComponent, Assembly-CSharp", "ModifiedStat": "Might", "Value": 2, "ModifyMethod": "Add" }, { "$type": "Game.GameData.DamageModComponent, Assembly-CSharp", "DamageType": "Fire", "Value": 0.35, "ModifyMethod": "Add" } ], "UpgradePrerequisites": ["b5559f1d-70c9-400d-b687-58b5ebae6bc7"], "Upgrades": ["48b7e0a9-0dfb-49f6-9c53-53f3c8a1ccae"], "MutuallyExclusiveUpgrades": ["d1e5e57e-d7c6-4fd9-94df-c1ce45707142"] }, { "$type": "Game.GameData.ItemModGameData, Assembly-CSharp", "DebugName": "Fleshrender_Mod_Magrans_Wrath", "ID": "48b7e0a9-0dfb-49f6-9c53-53f3c8a1ccae", "Components": [ { "$type": "Game.GameData.ModifyStatComponent, Assembly-CSharp", "ModifiedStat": "Might", "Value": 5, "ModifyMethod": "Add" }, { "$type": "Game.GameData.DamageModComponent, Assembly-CSharp", "DamageType": "Fire", "Value": 0.5, "ModifyMethod": "Add" } ], "UpgradePrerequisites": ["f4040aa0-e7e1-44d0-8417-1ad86ffec893"], "ReplacesUpgrades": ["f4040aa0-e7e1-44d0-8417-1ad86ffec893"] } ] } here is the code for items.stringtable: <?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>999001</ID> <DefaultText>Fleshrender</DefaultText> <FemaleText /> </Entry> <Entry> <ID>999002</ID> <DefaultText>Fleshrender is a greatsword rumored to be modeled after Magran's own divine weapon... Iflana, its current wielder, claims the sword came to her in a dream. Most dismiss her tale as a joke. They shouldn't.</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12652</ID> <DefaultText>Magran's Teeth: Burning wounds inflict additional damage over time, stacking with each successful hit.</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12653</ID> <DefaultText>Magran's Bite: Searing flames burn enemies more intensely and for longer duration, causing devastating damage over time.</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12654</ID> <DefaultText>Magran's Teeth</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12655</ID> <DefaultText>Imbues the weapon with divine fire that burns enemies on each strike. The burning effect stacks up to 15 times and lasts 10 seconds.</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12656</ID> <DefaultText>Magran's Bite</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12657</ID> <DefaultText>Enhances the divine flames to burn more intensely and for longer duration. The wielder also gains +2 Might from Magran's blessing.</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12658</ID> <DefaultText>Magran's Ire</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12659</ID> <DefaultText>Converts 35% of the weapon's damage to fire damage and grants +2 Might, channeling Magran's wrath into every blow.</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12660</ID> <DefaultText>Magran's Wrath</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12661</ID> <DefaultText>Fully awakens the weapon's divine nature, converting 50% of damage to fire and granting +5 Might from Magran's overwhelming power.</DefaultText> <FemaleText /> </Entry> <Entry> <ID>12662</ID> <DefaultText>Magran's Gaze: The weapon's divine essence burns enemies with sacred fire.</DefaultText> <FemaleText /> </Entry> </Entries> </StringTableFile>
Kvellen Posted July 18 Posted July 18 (edited) Hey, I took a quick look over it. The Fleshrender_Weapon.gamedatabundle file seems fine, but several of the other .gamedatabundle files you've posted seem to contain instances of incorrect and missing parameters. A few examples: Fleshrender_StatusEffects.gamedatabundle, None of the following seem to be status effect properties: https://eternity.obsidian.net/game-data-formats/components#statuseffectcomponent "TickInterval", "TickEffectValue", "StackingType", "ApplicationEvent", "AffectedStat", "DamageType", VisualEffectID" Fleshrender_EnchantRecipes.gamedatabundle, each entry starts with the header "ItemEnchantmentGameData" which isn't a valid gamedata type from what I can tell. Fleshrender_Enchantment.gamedatabundle has similar problem with the "StatusEffectItemModComponent" header. I'm not really sure how this happened, did you use an old mod as the basis for your mod maybe? Edited July 18 by Kvellen
IX9 Posted July 20 Author Posted July 20 Yeah,I found an old and started to play with it to see what i can do with it. Hmmm,let me look over my work and try again.
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