Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
Add custom holster positions
Browse files Browse the repository at this point in the history
This will allow us to have custom holster positions for items in the future:
Example already included in the files:
https://i.imgur.com/9CYMCqV.png
  • Loading branch information
Meowkov committed Aug 5, 2023
1 parent 8a06b58 commit e0ee95d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Module.Server/ModuleData/item_holsters.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<base>
<item_holsters>
<item_holster id="katana_left_hip" equip_action="act_equip_sword" equip_action_left_stance="act_equip_sword_left_stance" unequip_action="act_unequip_sword" unequip_action_left_stance="act_unequip_sword_left_stance" show_holster_when_drawn="false" group_name="hip_left_sword_3" holster_skeleton="holster_skeleton_hip_left" base_set="abdomen_front" holster_position="0.120, 0.070, 0.220" holster_rotation_yaw_pitch_roll="-56.180, 70.790, -120.0"/>
<item_holster id="katana_left_hip_2" equip_action="act_equip_sword" equip_action_left_stance="act_equip_sword_left_stance" unequip_action="act_unequip_sword" unequip_action_left_stance="act_unequip_sword_left_stance" show_holster_when_drawn="true" group_name="hip_left_sword_2" holster_skeleton="holster_skeleton_hip_left" base_set="abdomen" holster_position="0.030, 0.090, 0.220" holster_rotation_yaw_pitch_roll="-74.060, -37.480, -220.00"/>
<item_holster id="katana_left_hip_3" equip_action="act_equip_sword" equip_action_left_stance="act_equip_sword_left_stance" unequip_action="act_unequip_sword" unequip_action_left_stance="act_unequip_sword_left_stance" show_holster_when_drawn="true" group_name="hip_left_sword_1" holster_skeleton="holster_skeleton_hip_left" base_set="abdomen_left" holster_position="0.090, 0.010, 0.240" holster_rotation_yaw_pitch_roll="-78.330, 4.450, -195.0"/>
</item_holsters>
</base>

1 change: 1 addition & 0 deletions src/Module.Server/ModuleData/project.mbproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
<file id="crpg_combat_system" name="ModuleData/native_parameters.xml" type="native_parameters" />
<file id="soln_item_usage_sets" name="ModuleData/item_usage_sets.xml" type="item_usage_set" />
<file id="soln_module_sound" name="ModuleData/module_sounds.xml" type="module_sound" />
<file id="soln_item_holsters" name="ModuleData/item_holsters.xml" type="item_holster" />
</base>

0 comments on commit e0ee95d

Please sign in to comment.