From 2694687ed68d6609cc9a0bf2e7ff4b99d0bb1e43 Mon Sep 17 00:00:00 2001 From: Connie Price Date: Fri, 14 Jan 2022 03:18:59 +0000 Subject: Add "allow_as_primary" to all pilot melees so that they can be used to occupy the main slot when no actual weapons are equipped. --- .../keyvalues/scripts/weapons/melee_pilot_arena.txt | 11 +++++++++++ .../keyvalues/scripts/weapons/melee_pilot_emptyhanded.txt | 9 +++++++++ .../keyvalues/scripts/weapons/melee_pilot_sword.txt | 11 +++++++++++ Northstar.Custom/mod/scripts/weapons/melee_pilot_kunai.txt | 5 +++++ 4 files changed, 36 insertions(+) create mode 100644 Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_arena.txt create mode 100644 Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_sword.txt diff --git a/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_arena.txt b/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_arena.txt new file mode 100644 index 00000000..79d5b86c --- /dev/null +++ b/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_arena.txt @@ -0,0 +1,11 @@ +WeaponData +{ + Mods + { + allow_as_primary + { + "fire_mode" "offhand_melee_hybrid" + "attack_button_presses_melee" "1" + } + } +} \ No newline at end of file diff --git a/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_emptyhanded.txt b/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_emptyhanded.txt index fa83ce07..e1db3cdb 100644 --- a/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_emptyhanded.txt +++ b/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_emptyhanded.txt @@ -6,4 +6,13 @@ WeaponData "melee_damage" "5" "impulse_force" "150000" } + + Mods + { + allow_as_primary + { + "fire_mode" "offhand_melee_hybrid" + "attack_button_presses_melee" "1" + } + } } \ No newline at end of file diff --git a/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_sword.txt b/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_sword.txt new file mode 100644 index 00000000..79d5b86c --- /dev/null +++ b/Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_sword.txt @@ -0,0 +1,11 @@ +WeaponData +{ + Mods + { + allow_as_primary + { + "fire_mode" "offhand_melee_hybrid" + "attack_button_presses_melee" "1" + } + } +} \ No newline at end of file diff --git a/Northstar.Custom/mod/scripts/weapons/melee_pilot_kunai.txt b/Northstar.Custom/mod/scripts/weapons/melee_pilot_kunai.txt index e8b7c181..2faff2e2 100644 --- a/Northstar.Custom/mod/scripts/weapons/melee_pilot_kunai.txt +++ b/Northstar.Custom/mod/scripts/weapons/melee_pilot_kunai.txt @@ -145,5 +145,10 @@ WeaponData "melee_damage" "5" "impulse_force" "50000" } + allow_as_primary + { + "fire_mode" "offhand_melee_hybrid" + "attack_button_presses_melee" "1" + } } } -- cgit v1.2.3