Skip to content

Commit

Permalink
EXPERIMENTAL Hotfix
Browse files Browse the repository at this point in the history
Experimental attempt to remove jamming from using old/special ammo as we already have a function that will randomly rip the gun's base condition when firing old/special ammo
  • Loading branch information
ilrathCXV committed May 15, 2023
1 parent 6ee6e00 commit b5982e6
Show file tree
Hide file tree
Showing 2 changed files with 999 additions and 40 deletions.
78 changes: 38 additions & 40 deletions gamedata/configs/mod_system_zzzzzz_artigrok_weapon_ammo.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inv_name = ammo_new_9x18_plus
inv_name_short = ammo_new_9x18_plus_s
k_hit = 0.9
k_ap = 0.0152
!impair
impair = 0.40

![ammo_9x18_pmm]
inv_name = ammo_new_9x18_hp
Expand All @@ -20,7 +20,7 @@ inv_name = ammo_new_9x18_sp7
inv_name_short = ammo_new_9x18_sp7_s
k_hit = 1.15
k_ap = 0.0132
!impair
impair = 0.40

![ammo_9x18_ap]
inv_name = ammo_new_9x18_ap
Expand All @@ -32,7 +32,7 @@ inv_name = ammo_new_9x18_7n25
inv_name_short = ammo_new_9x18_7n25_s
k_hit = 0.9
k_ap = 0.0425
!impair
impair = 0.40

![ammo_9x19_fmj]
inv_name = ammo_new_9x19_fmj
Expand All @@ -44,7 +44,7 @@ inv_name = ammo_new_9x19_plus
inv_name_short = ammo_new_9x19_plus_s
k_hit = 1.00
k_ap = 0.0198
!impair
impair = 0.40

![ammo_9x19_pbp]
s
Expand All @@ -57,7 +57,7 @@ inv_name = ammo_new_9x19_pbps
inv_name_short = ammo_new_9x19_pbps_s
k_hit = 1.75
k_ap = 0.017
!impair
impair = 0.40

![ammo_9x19_ap]
inv_name = ammo_new_9x19_ap
Expand All @@ -69,7 +69,7 @@ inv_name = ammo_new_9x19_7n31
inv_name_short = ammo_new_9x19_7n31_s
k_hit = 0.95
k_ap = 0.045
!impair
impair = 0.40

![ammo_5.7x28_ss190]
inv_name = ammo_new_5.7x28_fmj
Expand All @@ -81,7 +81,7 @@ cost = 4000
inv_name = ammo_new_5.7x28_ss190
inv_name_short = ammo_new_5.7x28_ss190_s
k_ap = 0.0552
!impair
impair = 0.40

![ammo_5.7x28_ss195]
inv_name = ammo_new_5.7x28_ss195
Expand All @@ -95,7 +95,7 @@ inv_name = ammo_new_5.7x28_chaos
inv_name_short = ammo_new_5.7x28_chaos_s
k_hit = 0.49
k_ap = 0.0345
!impair
impair = 0.40

![ammo_7.62x25_p]
inv_name = ammo_new_7.62x25_p
Expand All @@ -109,7 +109,7 @@ k_disp = 0.68
k_hit = 1.10
k_impulse = 0.75
k_ap = 0.013
!impair
impair = 0.40
k_cam_dispersion = 0.7

![ammo_7.62x25_ps]
Expand All @@ -126,7 +126,7 @@ inv_name = ammo_new_7.62x25_cor
inv_name_short = ammo_new_7.62x25_cor_s
k_impulse = 0.4
k_ap = 0.022
!impair
impair = 0.40
tracer_color_ID = 1
tier = 5

Expand All @@ -141,7 +141,7 @@ inv_name_short = ammo_new_11.43x23_fmjs_s
k_disp = 0.44
k_hit = 0.95
k_ap = 0.03
!impair
impair = 0.40
k_bullet_speed = 2.0
tier = 3

Expand All @@ -155,7 +155,7 @@ inv_name = ammo_new_11.43x23_hydro
inv_name_short = ammo_new_11.43x23_hydro_s
k_hit = 1.8
k_impulse = 0.9
!impair
impair = 0.40
tier = 4

![ammo_5.45x39_fmj]
Expand All @@ -169,7 +169,7 @@ inv_name_short = ammo_new_5.45x39_fmjs_s
k_hit = 1.6
k_ap = 0.0335
k_bullet_speed = 1.85
!impair
impair = 0.40

![ammo_5.45x39_ep]
inv_name = ammo_new_5.45x39_hp
Expand All @@ -183,7 +183,7 @@ k_hit = 1.65
k_disp = 0.33
k_ap = 0.021
k_bullet_speed = 1.85
!impair
impair = 0.40

![ammo_5.45x39_ap]
inv_name = ammo_new_5.45x39_ap
Expand All @@ -196,7 +196,7 @@ inv_name_short = ammo_new_5.45x39_aps_s
k_impulse = 0.6
k_disp = 0.33
k_ap = 0.0576
!impair
impair = 0.40
k_bullet_speed = 2.00

![ammo_5.56x45_fmj]
Expand All @@ -209,7 +209,7 @@ inv_name = ammo_new_5.56x45_fmjs
inv_name_short = ammo_new_5.56x45_fmjs_s
k_hit = 1.4
k_ap = 0.0326
!impair
impair = 0.40

![ammo_5.56x45_ss190]
inv_name = ammo_new_5.56x45_hp
Expand All @@ -221,7 +221,7 @@ inv_name = ammo_new_5.56x45_varma
inv_name_short = ammo_new_5.56x45_varma_s
k_hit = 1.45
k_ap = 0.019
!impair
impair = 0.40

![ammo_5.56x45_ap]
inv_name = ammo_new_5.56x45_ss190
Expand All @@ -233,7 +233,7 @@ inv_name = ammo_new_5.56x45_ap
inv_name_short = ammo_new_5.56x45_ap_s
k_hit = 1.25
k_ap = 0.064
!impair
impair = 0.40

![ammo_9x39_pab9]
inv_name = ammo_new_9x39_sp5
Expand All @@ -245,7 +245,7 @@ inv_name = ammo_new_9x39_spp
inv_name_short = ammo_new_9x39_spp_s
k_hit = 1.025
k_ap = 0.0348
!impair
impair = 0.40

![ammo_9x39_ap]
inv_name = ammo_new_9x39_pab9
Expand All @@ -256,7 +256,7 @@ cost = 7800
inv_name = ammo_new_9x39_ap
inv_name_short = ammo_new_9x39_ap_s
k_ap = 0.0521
!impair
impair = 0.40

![ammo_12x70_buck]
inv_name = ammo_new_12x70_buck
Expand All @@ -271,7 +271,7 @@ k_hit = 0.4
k_impulse = 0.5
k_ap = 0.005
buck_shot = 12
!impair
impair = 1.05
k_bullet_speed = 1.5
k_cam_dispersion = 1.8
tier = 4
Expand All @@ -288,7 +288,7 @@ k_disp = 1.75
k_hit = 0.235
k_ap = 0.015
buck_shot = 9
!impair
impair = 1.05
k_bullet_speed = 1.5
k_cam_dispersion = 1.15
tier = 4
Expand All @@ -298,7 +298,6 @@ tier = 4
cost = 5000
inv_name = ammo_new_12x70_dart
inv_name_short = ammo_new_12x70_dart_s
!impair

![ammo_12x76_dart_bad]
cost = 9000
Expand All @@ -308,7 +307,7 @@ k_disp = 3.8
k_hit = 0.25
k_ap = 0.01
buck_shot = 9
!impair
impair = 1.05
k_bullet_speed = 1.5

![ammo_7.62x39_fmj]
Expand All @@ -322,7 +321,7 @@ inv_name_short = ammo_new_7.62x39_fmjs_s
k_hit = 1.5
k_disp = 0.66
k_ap = 0.038
!impair
impair = 0.40

![ammo_7.62x39_ap]
inv_name = ammo_new_7.62x39_ap
Expand All @@ -335,7 +334,7 @@ inv_name_short = ammo_new_7.62x39_api_s
k_hit = 1.2
k_disp = 0.66
k_ap = 0.060
!impair
impair = 0.40

![ammo_7.92x33_fmj]
inv_name = ammo_new_7.92x33_fmj
Expand All @@ -348,7 +347,7 @@ inv_name_short = ammo_new_7.92x33_match_s
k_disp = 0.7
k_hit = 1.23
k_ap = 0.0275
!impair
impair = 0.40

![ammo_7.92x33_ap]
inv_name = ammo_new_7.92x33_ap
Expand All @@ -361,7 +360,7 @@ inv_name_short = ammo_new_7.92x33_shock_s
k_disp = 0.5
k_hit = 0.53
k_ap = 0.078
!impair
impair = 0.40

![ammo_7.62x51_fmj]
inv_name = ammo_new_7.62x51_fmj
Expand All @@ -372,7 +371,7 @@ cost = 4750
inv_name = ammo_new_7.62x51_fmjs
inv_name_short = ammo_new_7.62x51_fmjs_s
k_hit = 1.105
!impair
impair = 0.40

![ammo_7.62x51_ap]
inv_name = ammo_new_7.62x51_ap
Expand All @@ -384,7 +383,7 @@ inv_name = ammo_new_7.62x51_slap
inv_name_short = ammo_new_7.62x51_slap_s
k_hit = 0.915
k_ap = 0.09
!impair
impair = 0.40

![ammo_pkm_100]
inv_name = ammo_new_7.62x54_ppr
Expand All @@ -396,7 +395,7 @@ inv_name = ammo_new_7.62x54_split
inv_name_short = ammo_new_7.62x54_split_s
k_hit = 1.2
k_ap = 0.0307
!impair
impair = 0.40
buck_shot = 3

![ammo_7.62x54_7h1]
Expand All @@ -410,7 +409,7 @@ inv_name = ammo_new_7.62x54_fp
inv_name_short = ammo_new_7.62x54_fp_s
k_hit = 1.117
k_ap = 0.02
!impair
impair = 0.40

![ammo_7.62x54_7h1_verybad]
k_ap = 0.031
Expand All @@ -428,7 +427,7 @@ inv_name_short = ammo_new_7.62x54_api_s
k_hit = 1.310
k_impulse = 1.70
k_ap = 0.095
!impair
impair = 0.40

![ammo_4.6x30_fmj]
inv_name = ammo_new_4.6x30_fmj
Expand All @@ -450,7 +449,7 @@ inv_name = ammo_new_7.62x54_7n1
inv_name_short = ammo_new_7.62x54_7n1_s
k_hit = 1.17
k_ap = 0.0509
!impair
impair = 0.40

![ammo_12.7x55_fmj]
inv_weight = 0.75
Expand All @@ -468,7 +467,7 @@ k_ap = 0.038
wm_size = 0.133
k_air_resistance = 0.50
k_bullet_speed = 1.075
!impair
impair = 0.40

![ammo_12.7x55_ap]
inv_name = ammo_new_12.7x55_ap
Expand All @@ -480,7 +479,7 @@ inv_name = ammo_new_12.7x55_exp
inv_name_short = ammo_new_12.7x55_exp_s
k_disp = 1.0
k_ap = 0.0405
!impair
impair = 0.40
wm_size = 0.133

![ammo_magnum_300]
Expand All @@ -494,7 +493,7 @@ inv_name = ammo_new_338_ap
inv_name_short = ammo_new_338_ap_s
k_hit = 1.94
k_ap = 0.1705
!impair
impair = 0.40

![ammo_357_hp_mag]
inv_name = ammo_new_357_hp
Expand All @@ -505,14 +504,13 @@ cost = 35700
inv_name = ammo_new_357_jfp
inv_name_short = ammo_new_357_jfp_s
k_hit = 2.65
!impair
impair = 0.40
wm_size = 0.075

![ammo_50_bmg]
description = ammo_new_50_bmg_descr
inv_name = ammo_new_50_bmg
inv_name_short = ammo_new_50_bmg_s
k_hit = 1.6

![ammo_50_bmg_bad]
description = ammo_new_50_bmg_descr
Expand All @@ -521,7 +519,7 @@ inv_name = ammo_new_50_bmg
inv_name_short = ammo_new_50_bmg_s
k_hit = 1.4
k_ap = 0.22
!impair
impair = 0.40

![ammo_50_bmg_verybad]
inv_name_short = ammo_new-50-bmg_s
Expand Down
Loading

0 comments on commit b5982e6

Please sign in to comment.