Jump to content

Help newbie here. editing custom item


adiktuzjames

Recommended Posts

hello can anyone help me please help if :D whats wrong with my Mod

Keep getting this error



This is my Custom item. Module

(crafting_pieces)

</CraftingPiece>
<!-- #region Axe Pieces -->
<!-- #region Used Axe Blade Pieces -->
<CraftingPiece id="axe_craft_252_head"
name="{=m6CVEgTU}Spiked Battle Axe Blade"
tier="4"
piece_type="Blade"
mesh="axe_craft_25_head"
distance_to_next_piece="13.9"
distance_to_previous_piece="4"
weight="0.8">
<PieceUsages unavailable_usages="" />
<BuildData piece_offset="-8" />
<BladeData stack_amount="3"
blade_length="25.328"
blade_width="31.023"
physics_material="metal_weapon"
body_name="bo_axe_longer_b">
<Swing damage_type="Cut"
damage_factor="3.8" />
</BladeData>
<Flags>
<Flag name="CanBePickedUpFromCorpse"
type="ItemFlags" />
</Flags>
<Materials>
<Material id="Iron4"
count="0" />
</Materials>
</CraftingPiece>
<CraftingPiece id="axe_craft_212_handle"
name="{=HHVH0IoH}Hardened Redwood Handle With Fur Handle"
tier="4"
piece_type="Handle"
mesh="axe_craft_21_handle"
length="94"
weight="0.296">
<PieceUsages unavailable_usages="" />
<BuildData piece_offset="21"
next_piece_offset="1.5" />
<Materials>
<Material id="Wood"
count="0" />
</Materials>
</CraftingPiece>
<!-- #endregion -->
<!-- #endregion -->
</CraftingPieces>

(crafting_templates)

<CraftingTemplate id="JamesOneHandedAxe"
item_modifier_group="axe"
item_holsters="axe_right_hip:axe_right_hip_2:mace_right_hip:axe_back"
default_item_holster_position_offset="0,0,-0.45"
use_weapon_as_holster_mesh="true">
<PieceDatas>
<PieceData piece_type="Handle"
build_order="0" />
<PieceData piece_type="Blade"
build_order="1" />
</PieceDatas>
<WeaponUsageDatas>
<WeaponUsageData id="OneHandedAxe" />
</WeaponUsageDatas>
<StatsData>
<StatData stat_type="Weight"
max_value="7.0" />
<StatData stat_type="WeaponReach"
max_value="300" />
<StatData stat_type="ThrustSpeed"
max_value="200" />
<StatData stat_type="SwingSpeed"
max_value="200" />
<StatData stat_type="ThrustDamage"
max_value="500" />
<StatData stat_type="SwingDamage"
max_value="500" />
<StatData stat_type="Handling"
max_value="200" />
<!--<StatData stat_type="FollowUp" max_value="200" />-->
</StatsData>
<UsablePieces>
<UsablePiece piece_id="axe_craft_252_head" />
<UsablePiece piece_id="axe_craft_212_handle" />
<UsablePiece piece_id="mp_battania_axe_head"
mp_piece="true" />
<UsablePiece piece_id="mp_battania_axe_handle"
mp_piece="true" />
</UsablePieces>
</CraftingTemplate>

 

Edited by adiktuzjames
Link to comment
Share on other sites

  • 2 weeks later...

Line 1 tells you that whatever the problem is, it is at the very first line of your xml.

 

now i dont konw how the very top of your xml looks but its either a problem with the start

 

<CraftingPieces>

 

or with something like this if you have such a thing in your first line

 

<?xml version="1.0" encoding="utf-8"?>

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...