aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnie Price <contact@connieprice.co.uk>2022-01-14 03:18:59 +0000
committerBarichello <artur@barichello.me>2022-01-15 12:47:51 -0300
commit2694687ed68d6609cc9a0bf2e7ff4b99d0bb1e43 (patch)
tree8cc81208f513f815f8fabdfa832f7347e6cf43a1
parentad0da9874efd3dd7a59100142d6f2b964797dda4 (diff)
downloadNorthstarMods-2694687ed68d6609cc9a0bf2e7ff4b99d0bb1e43.tar.gz
NorthstarMods-2694687ed68d6609cc9a0bf2e7ff4b99d0bb1e43.zip
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.
-rw-r--r--Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_arena.txt11
-rw-r--r--Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_emptyhanded.txt9
-rw-r--r--Northstar.Custom/keyvalues/scripts/weapons/melee_pilot_sword.txt11
-rw-r--r--Northstar.Custom/mod/scripts/weapons/melee_pilot_kunai.txt5
4 files changed, 36 insertions, 0 deletions
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"
+ }
}
}