Editing weapons damage.

Currently viewing this thread:

Red_Lancer

Regular
How do I edit weapons damage with out downloading some shady mod? I don't understand what the values and numbers mean. IE I want to change the damage, swing speed, etc. not just on this weapon but on all swords and maces, etc. If this is the wrong folder, the Spitems...Thanks guys. :smile:

<CraftedItem id="empire_mace_5_t5"
name="{=Kv4zAMIh}Cataphracts Mace"
crafting_template="Mace"
culture="Culture.empire">
<Pieces>
<Piece id="mace_head_7"
Type="Blade"
scale_factor="100" />
<Piece id="mace_handle_5"
Type="Handle"
scale_factor="100" />
 
crafting_pieces.xml in Native/ModuleData has the pieces and spitems shows you what pieces the weapons use. Change the properties of the pieces to change the weapons properties.
 

Red_Lancer

Regular
crafting_pieces.xml in Native/ModuleData has the pieces and spitems shows you what pieces the weapons use. Change the properties of the pieces to change the weapons properties.
I'm sorry, but I still don't understand what you mean. Look at this....Below, Which of these Numbers is Damage, which one is swing speed, The numbers DON"T match up in game as they did in warband, so it's not so easy to understand. The numbers are meaningless to me. Are those two different folders that you talk about? Thank you. It was much easier for me to edit things in the old game...
<CraftedItem id="empire_mace_5_t5"
name="{=Kv4zAMIh}Cataphracts Mace"
crafting_template="Mace"
culture="Culture.empire">
<Pieces>
<Piece id="mace_head_7"
Type="Blade"
scale_factor="100" />
<Piece id="mace_handle_5"
Type="Handle"
scale_factor="100" />
 

Apocal

Grandmaster Knight
I'm sorry, but I still don't understand what you mean. Look at this....Below, Which of these Numbers is Damage, which one is swing speed, The numbers DON"T match up in game as they did in warband, so it's not so easy to understand. The numbers are meaningless to me. Are those two different folders that you talk about? Thank you. It was much easier for me to edit things in the old game...

Yes, they are in different folders. spitems.xml is the wrong file, it only shows you the default weapons, but those weapons are made from different pieces.

You want to look in Mount & Blade II Bannerlord\Modules\Native\ModuleData
Find the file named crafting_pieces.xml
Look for the blade your weapon uses, it should look like this:
Code:
<CraftingPiece id="mace_head_7" name="{=IR8UeIRp}Cataphracts Mace Head" tier="5" piece_type="Blade" mesh="mace_head_7" length="22" weight="1.0" full_scale="true" excluded_item_usage_features="thrust">
    <PieceUsages unavailable_usages="" />
    <BladeData stack_amount="3" physics_material="wood_weapon" body_name="bo_mace_a">
      <Swing damage_type="Blunt" damage_factor="3.6" />
    </BladeData>
    <Materials>
      <Material id="Iron4" count="2" />
    </Materials>
  </CraftingPiece>
Adjust the damage_factor to your liking.

In-game, it will not match exactly, because of the physics based damage modelling. Things like weapon length, blade size, etc. have an effect on the damage and handling of a weapon.All of this new complexity is to support the crafting system.
 
Top Bottom