From d547dc6e9bfe618ca4bde803b5c0ae8df75d4af7 Mon Sep 17 00:00:00 2001 From: Wanne Date: Tue, 6 May 2014 08:47:06 +0000 Subject: [PATCH] New Feature: Allow driving vehicles in tactical (by anv) - To control vehicle, click on it or on the steering wheel in team panel under driver's portrait. - Vehicles have two gears - slow drive and fast drive, switchable just like walking and running ('S', 'R', double-click). - Vehicles working: Ice Cream Van, Hummer, Jeep, El Dorado and, potentially, tanks. - Passengers can be selected and ordered to open fire from the inside - You can also open inventory screen for passengers, pass or throw items, etc. Normally vehicle is treated as any other merc and has its own APs. It has obvious disadvantages - it's possible to drive in the middle of the enemy group using vehicle's 100AP, and then use all your mercs inside vehicle with their still full APs to kill everything that moves at point blank range - with even the driver participating! - To prevent that you can set Tactical Gameplay Settings > AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_MODE with following calculation methods ja2_options.ini: AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_MODE, AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_SCALE more infos: http://www.bears-pit.com/board/ubbthreads.php/topics/332208/1.html git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2032 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 10 ++++++++++ gamedir/Data/Ja2_Options.INI | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 196b694b5..6ef11f8f9 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -2180,6 +2180,16 @@ ENEMY_GENERALS_STRATEGIC_MOVEMENT_SPEEDBONUS = 0.03 [Tactical Cover System Settings] +; Deduct APs from passengers when vehicle is moving to prevent exploits (default = 3). +; 0 - No change. +; 1 - AP deducted from vehicle are also deducted from all passengers. +; 2 - AP deducted from vehicle are also deducted from all passengers, but adjusted to initial APs of any given passenger. +; 3 - AP deducted from vehicle are also deducted from all passengers, but only to the certain threshold (default). +AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_MODE = 3 + +; If AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_MODE is set, adjust how much APs will be deducted (0 - 200). +AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_SCALE = 100 + ;****************************************************************************************************************************** ; These are settings for the new Cover Display system, shown when you press 'END' in the tactical screen. ;****************************************************************************************************************************** diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index 32c67a976..2d76745df 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -2040,6 +2040,16 @@ BACKPACKWEIGHT_LOWERS_AP = FALSE [Tactical Cover System Settings] +; Deduct APs from passengers when vehicle is moving to prevent exploits (default = 3). +; 0 - No change. +; 1 - AP deducted from vehicle are also deducted from all passengers. +; 2 - AP deducted from vehicle are also deducted from all passengers, but adjusted to initial APs of any given passenger. +; 3 - AP deducted from vehicle are also deducted from all passengers, but only to the certain threshold (default). +AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_MODE = 3 + +; If AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_MODE is set, adjust how much APs will be deducted (0 - 200). +AP_SHARED_AMONG_PASSENGERS_AND_VEHICLE_SCALE = 100 + ;****************************************************************************************************************************** ; These are settings for the new Cover Display system, shown when you press 'END' in the tactical screen. ;******************************************************************************************************************************