From cb2793ab32d7e414e859409297408951df69fa9a Mon Sep 17 00:00:00 2001 From: Flugente Date: Sat, 23 Feb 2013 18:29:04 +0000 Subject: [PATCH] new feature: we can now equip militia with gear from sectors, see http://www.bears-pit.com/board/ubbthreads.php/topics/315664.html#Post315664 for more information git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1606 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 55 +++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 1015c5363..d3d6451b2 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -3017,6 +3017,61 @@ VETERAN_MILITIA_EQUIPMENT_QUALITY_MODIFIER = 2 ;****************************************************************************************************************************** ;****************************************************************************************************************************** +[Militia Equipment Settings] + +;****************************************************************************************************************************** +; These settings control the how militia can equip itslef from sector inventories +;****************************************************************************************************************************** + +;------------------------------------------------------------------------------------------------------------------------------ +; Militia gear will not be randomly generated, but taken from the sector the militia is currently stationed in. +; +; This applies to both tactical and strategic combat. +; Once a sector gets unloaded, the militia will drop the equipment taken again into the sector. +; Gear can be manually dropped in tactical via the 'Ctrl' + '.'-menu, item 'militia inspection'. +; Gear can be prohibited to the militia by hovering over it in the strategic inventory and pressing 'TAB' + 'LMB'. This also works +; if no mercs are present in that sector. +; If militia reinforces a sector, they will take their gear along. +; Mobile militia get their initial gear from the sector they were trained in, after that they take their gear with them if they move on the map. +; It is up to the player to sufficiently distribute gear to his militia (by leaving items in the sector that militia are in). +;------------------------------------------------------------------------------------------------------------------------------ + +; if set to true, militia will take parts of its equipment from a sector's inventory. +MILITIA_USE_SECTOR_EQUIPMENT = TRUE + +; determines wether militia picks helmets, vests and leg armour from the sector. +MILITIA_USE_SECTOR_EQUIPMENT_ARMOUR = TRUE + +; determines wether militia takes NVGs, sungoggles and gasmasks from the sector. +MILITIA_USE_SECTOR_EQUIPMENT_FACE = TRUE + +; determines wether militia takes knifes and punch weapons from the sector +MILITIA_USE_SECTOR_EQUIPMENT_MELEE = TRUE + +; determines wether militia takes guns from the sector +MILITIA_USE_SECTOR_EQUIPMENT_GUN = TRUE + +; determines wether militia takes ammo from the sector. Requires MILITIA_USE_SECTOR_EQUIPMENT_GUN to be true. +; If this is set to false fitting ammo will be spawned in the traditional way, but not be dropped +; If this is set to TRUE, make sure to occasionally restock ammo for your militia. +MILITIA_USE_SECTOR_EQUIPMENT_AMMO = TRUE + +; determines wether militia takes grenades from the sector, it will take up to 2 grenades of one type +MILITIA_USE_SECTOR_EQUIPMENT_GRENADE = TRUE + +; determines wether militia takes LAWs, mortars, RPGs or grenade launchers from the sector +MILITIA_USE_SECTOR_EQUIPMENT_LAUNCHER = TRUE + +; the number of bullets deemed sufficient for a gun is +; max(MILITIA_USE_SECTOR_EQUIPMENT_AMMO_MIN, min(MILITIA_USE_SECTOR_EQUIPMENT_AMMO_MAX, MILITIA_USE_SECTOR_EQUIPMENT_AMMO_OPTIMAL_MAG_COUNT * magazine size)) +; if there is less ammo for a gun than this in a sector, we at first look for other guns, but can still select this one if none have enough ammo +MILITIA_USE_SECTOR_EQUIPMENT_AMMO_MIN = 10 +MILITIA_USE_SECTOR_EQUIPMENT_AMMO_MAX = 200 +MILITIA_USE_SECTOR_EQUIPMENT_AMMO_OPTIMAL_MAG_COUNT = 2 + +;****************************************************************************************************************************** +;****************************************************************************************************************************** + [Shopkeeper Inventory Settings] ;******************************************************************************************************************************