BL Coding Changing shield texture

Users who are viewing this thread

Hello everyone,

I'm trying to change the texture for the shield.

So far I've been able to change the mesh.

For example a square shield with an oval mesh will have the stats of the square shield but the look of an oval shield.

I would like to have different texture on the wicker shield for my mod "Polybian".


I've been able to change the texture of the quiver (javelin, arrow) and the scabbard but if I change the same variable on the shield nothing happen.

<CraftingPiece id="pilum_basic" name="{=Oxew9WCe}Pilum Basic" tier="2" piece_type="Blade" mesh="spear_blade_1" length="48" weight="0.3384" excluded_item_usage_features="swing">
<PieceUsages unavailable_usages="" />
<BladeData sharpness="2" physics_material="wood_weapon" body_name="bo_spear_b" holster_mesh="throwing_spear_quiver_3_1" holster_body_name="bo_throwing_spear_quiver_3_1" holster_mesh_length="96.2">
<Thrust damage_type="Pierce" damage_factor="2.2" />
</BladeData>
<Materials>
<Material id="Iron2" count="1" />
</Materials>
</CraftingPiece>

These two variables change the look of the quiver (here the one from the fish harpoon).

holster_mesh="throwing_spear_quiver_3_1"
holster_body_name="bo_throwing_spear_quiver_3_1"

For the shield:

<Item id="eastern_wicker_shield"
name="{=pEaYQqG9}Wicker Square Shield"
body_name="bo_cap_shield_khuzait_infantary_a"
shield_body_name="bo_shield_khuzait_infantary_a"
recalculate_body="false"
mesh="shield_khuzait_infantary_a"
using_tableau="true"
weight="2.7"
appearance="1"
Type="Shield"
item_holsters="shield:shield_2:shield_3:shield_4"
has_lower_holster_priority="true"
holster_position_shift="-0.1,-0.1,0.01">
<ItemComponent>
<Weapon weapon_class="LargeShield"
body_armor="1"
thrust_speed="82"
thrust_damage_type="Blunt"
speed_rating="82"
physics_material="wood_shield"
item_usage="shield"
position="0.0, 0.00, 0.00"
rotation="0.0,10.0,40.00"
weapon_length="90"
center_of_mass="-0.0,0.25,0.05"
hit_points="200">
<WeaponFlags CanBlockRanged="true"
Ha****Points="true" />
</Weapon>
</ItemComponent>
<Flags WoodenParry="true"
HeldInOffHand="true"
ForceAttachOffHandSecondaryItemBone="true" />
</Item>

I've tried to change the same variable:

mesh="shield_khuzait_infantary_a"
body_name="bo_cap_shield_khuzait_infantary_a"

But it didin't work or I've made a mistake.


Does someon has an idea ?
 
Top Bottom