From 3ba9b85345b95d684befa6aa0d614aac694e6367 Mon Sep 17 00:00:00 2001 From: Flugente Date: Mon, 15 Jun 2020 23:11:55 +0000 Subject: [PATCH] Added general modifier to grenade throw AP cost git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2549 4f8fa57e-7814-0410-bad4-adc449f26b7c --- Data-1.13/Item_Settings.ini | 2 ++ Data-UB/Item_Settings.ini | 55 +++++++++++++++++++++++++++++-------- Data/Item_Settings.ini | 2 ++ 3 files changed, 48 insertions(+), 11 deletions(-) diff --git a/Data-1.13/Item_Settings.ini b/Data-1.13/Item_Settings.ini index 9e058ca72..c1e6e0e5d 100644 --- a/Data-1.13/Item_Settings.ini +++ b/Data-1.13/Item_Settings.ini @@ -158,6 +158,8 @@ SP4T_PUNCH_MODIFIER = 1.0 SP4T_TENTACLE_MODIFIER = 1.0 ; ------- THROWING KNIFES ------- SP4T_THROWKNIFE_MODIFIER = 1.0 +; ------- THROW GRENADES -------- +SP10T_THROWGRENADE_MODIFIER = 1.0 ; Here comes the modifiers for burst fire. ; These modifiers are multiplied with the Burst AP of a weapon (). diff --git a/Data-UB/Item_Settings.ini b/Data-UB/Item_Settings.ini index ece19a517..06a67af91 100644 --- a/Data-UB/Item_Settings.ini +++ b/Data-UB/Item_Settings.ini @@ -17,6 +17,10 @@ ; This modifier is multiplied with tag. Valid values from 0.1 to 5.0 (higher is better). ; Default is 1.0 BEST_LASER_RANGE_MODIFIER = 1.0 + +; If we fire a gun, the base chance that the gun's status is reduced is 1/BASIC_DEPRECIATE_CHANCE. +; Valid values from 1 to 10000, default 15. +BASIC_DEPRECIATE_CHANCE = 15 ;****************************************************************************************************************************** ;****************************************************************************************************************************** @@ -103,6 +107,8 @@ RANGE_AR_MODIFIER = 1.0 RANGE_LMG_MODIFIER = 1.0 RANGE_SHOTGUN_MODIFIER = 1.0 RANGE_LAUNCHER_MODIFIER = 1.0 +RANGE_THROWINGKNIFE_MODIFIER= 1.0 +RANGE_GRENADE_MODIFIER = 1.0 ;****************************************************************************************************************************** ;****************************************************************************************************************************** @@ -152,6 +158,8 @@ SP4T_PUNCH_MODIFIER = 1.0 SP4T_TENTACLE_MODIFIER = 1.0 ; ------- THROWING KNIFES ------- SP4T_THROWKNIFE_MODIFIER = 1.0 +; ------- THROW GRENADES -------- +SP10T_THROWGRENADE_MODIFIER = 1.0 ; Here comes the modifiers for burst fire. ; These modifiers are multiplied with the Burst AP of a weapon (). @@ -280,6 +288,22 @@ RECOILX_SHOTGUN_MODIFIER = 1.0 RECOILY_SHOTGUN_MODIFIER = 1.0 ;****************************************************************************************************************************** +;****************************************************************************************************************************** +; Weapon Jam Damage Thresholds +; +; These values define the status threshold where a gun can take damage when it jams. +; The lower this value is the lower the status of the gun has to be before it will take damage during a gun jam. +; Valid values are 0 to 100. +JAM_DAMAGE_THRESHOLD_PISTOL = 50 +JAM_DAMAGE_THRESHOLD_MP = 75 +JAM_DAMAGE_THRESHOLD_SMG = 70 +JAM_DAMAGE_THRESHOLD_RIFLE = 40 +JAM_DAMAGE_THRESHOLD_SNIPER = 45 +JAM_DAMAGE_THRESHOLD_AR = 65 +JAM_DAMAGE_THRESHOLD_LMG = 60 +JAM_DAMAGE_THRESHOLD_SHOTGUN = 30 +;****************************************************************************************************************************** + ;****************************************************************************************************************************** [Armor Settings] @@ -292,7 +316,7 @@ RECOILY_SHOTGUN_MODIFIER = 1.0 ;****************************************************************************************************************************** ; These modifiers set the amount of camouflage on armor that applies when LBE is worn over the armor (NIV only). ; Valid values are from 0.0 to 1.0. 0.0 means no camo bonus from armor, 1.0 means full bonus even if LBE is worn over the armor. -; Default is 0.2 +; Default for vests is 0.2, for pants it is 0.6 CAMO_LBE_OVER_VEST_MODIFIER = 0.2 CAMO_LBE_OVER_PANTS_MODIFIER = 0.6 ;****************************************************************************************************************************** @@ -324,21 +348,30 @@ DAMAGE_BREATH_MOVE_EXPLOSIVE_MODIFIER = 0.1 ;****************************************************************************************************************************** ;****************************************************************************************************************************** +; The following modifiers define a max miss radius for ballistic explosive handling. Explosives will land within this radius +; around the target tile. The better a merc is with grenades or mortar (check the traits) the higher will be his Chance to Hit +; and the smaller will be the final radius. +; Valid values are from 0 to 30. +MISS_MAX_RADIUS_GRENADE = 5; +MISS_MAX_RADIUS_MORTAR = 10; -[Energy Settings] +;****************************************************************************************************************************** + +[Misc Settings] ;****************************************************************************************************************************** ; -; Energy consumption settings for non-vanilla batteries. +; Modifiers for various item categories belong here. ; ;****************************************************************************************************************************** ;****************************************************************************************************************************** -; various energy costs for the radio set -ENERGY_COST_RADIOSET_ACTIVATE = 100.00 -ENERGY_COST_RADIOSET_JAM = 30.00 -ENERGY_COST_RADIOSET_SCAN = 15.00 -ENERGY_COST_RADIOSET_SCAN_ASSIGNMENT = 3000.00 +; AP costs for movement are multiplied by this if a shield is equipped. +; Valid values are from 1.0 to 10.0 . +; Default is 1.7 +SHIELD_MOVEMENT_APCOST_MODIFIER = 1.7 -;****************************************************************************************************************************** - -;****************************************************************************************************************************** +; AP costs for movement are multiplied by this if we drag someone. +; Valid values are from 1.0 to 10.0 . +; Default is 1.5 +DRAG_MOVEMENT_APCOST_MODIFIER = 1.5 +;****************************************************************************************************************************** \ No newline at end of file diff --git a/Data/Item_Settings.ini b/Data/Item_Settings.ini index 13a14f619..e0a0efa31 100644 --- a/Data/Item_Settings.ini +++ b/Data/Item_Settings.ini @@ -158,6 +158,8 @@ SP4T_PUNCH_MODIFIER = 1.0 SP4T_TENTACLE_MODIFIER = 1.0 ; ------- THROWING KNIFES ------- SP4T_THROWKNIFE_MODIFIER = 1.0 +; ------- THROW GRENADES -------- +SP10T_THROWGRENADE_MODIFIER = 1.0 ; Here comes the modifiers for burst fire. ; These modifiers are multiplied with the Burst AP of a weapon ().