From f671beb96bda4be12c00d308d2c3fc2c2f83cb5b Mon Sep 17 00:00:00 2001 From: Flugente Date: Sun, 3 May 2015 19:56:00 +0000 Subject: [PATCH] New Feature: Improved ambushes have mercs face the enemy and be somewhat scattered, while the enemy encircles the player but is not at point-blank range. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2238 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 7b1069142..b478cc658 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -1330,6 +1330,21 @@ ENABLE_CHANCE_OF_ENEMY_AMBUSHES = TRUE ; (Setting this to -50 means the precalculated chance will be reduced to half. Values from -100 to 100 are allowed.) ENEMY_AMBUSHES_CHANCE_MODIFIER = 0 +; If set to TRUE and mercs are ambushed, they won't start clustered in one location and looking in one direction. +; Instead they will be spread around the map central entry point, no more than AMBUSH_MERCS_SPREAD_RADIUS tiles away, and all looking outwards. +AMBUSH_MERCS_SPREAD = TRUE + +AMBUSH_MERCS_SPREAD_RADIUS = 10 + +; If set to 1 and mercs are ambushed, enemies nearer than AMBUSH_MERCS_SPREAD_RADIUS to the map central entry point will instead be distributed more outward: +; They will be placed around that point, not closer than AMBUSH_ENEMY_ENCIRCLEMENT_RADIUS1 and not further away than AMBUSH_ENEMY_ENCIRCLEMENT_RADIUS2 tiles. +; They will face the center entry point (and thus the mercs). +; If set to 2, all enemies will be placed that way, not just those nearer than AMBUSH_MERCS_SPREAD_RADIUS. +AMBUSH_ENEMY_ENCIRCLEMENT = 1 + +AMBUSH_ENEMY_ENCIRCLEMENT_RADIUS1 = 15 +AMBUSH_ENEMY_ENCIRCLEMENT_RADIUS2 = 30 + ;------------------------------------------------------------------------------------------------------------------------------ ; With this option, you can make the special NPCs in game tougher. ; The NPCs are: Deidranna, Mike, Joe, Carmen, General, terrorrists, Kingpin and his hitmans.