Update README.md and change ambush chance

This commit is contained in:
Christian 2017-10-17 22:53:14 +02:00
parent f3e0ae2d68
commit 1cae5584ef
5 changed files with 23 additions and 19 deletions

View File

@ -124,7 +124,7 @@ KP_liberation_civinfo_duration = 1200; // Civil Informant stay
KP_liberation_civinfo_task_chance = 40; // Chance (0-100) that the delivered informant will spawn a time critical task.
KP_liberation_civinfo_task_duration = 900; // Duration until the task will despawn if no player is near. (seconds)
KP_liberation_convoy_ambush_chance = 5; // Chance that a logistic convoy will be ambushed, when civil reputation is low.
KP_liberation_convoy_ambush_chance = 2; // Chance that a logistic convoy will be ambushed, when civil reputation is low.
KP_liberation_convoy_ambush_duration = 1200; // Duration of the convoy ambush event. (seconds)
KP_liberation_resistance_tier2 = 30; // At which strength (0-100) the guerilla forces will be at tier 2?

View File

@ -299,10 +299,11 @@ while {GRLIB_endgame == 0} do {
case 4: {
if ((_x select 8) > 1) then {
if (((_x select 8) <= ((ceil (((_x select 2) distance2D (_x select 3)) / 400)) - 3)) && ((_x select 8) >= 3) && !((_x select 6) isEqualTo [0,0,0]) && !KP_liberation_convoy_ambush_inProgress && (KP_liberation_civ_rep <= -25)) then {
if (KP_liberation_asymmetric_debug > 0) then {private _text = format ["[KP LIBERATION] [ASYMMETRIC] Logistic convoy %1: ambush possible - current ETA: %2", (_x select 0), (_x select 8)];_text remoteExec ["diag_log",2];};
if (((_x select 8) <= ((ceil (((_x select 2) distance2D (_x select 3)) / 400)) - 3)) && ((_x select 8) >= 3) && !((_x select 6) isEqualTo [0,0,0]) && !KP_liberation_convoy_ambush_inProgress && (KP_liberation_civ_rep <= -25) && (((_x select 8) % 2) == 0)) then {
private _dice = round (random 100);
if (_dice <= (KP_liberation_convoy_ambush_chance + ([] call F_cr_getMulti))) then {
private _chance = KP_liberation_convoy_ambush_chance + ([] call F_cr_getMulti);
if (KP_liberation_asymmetric_debug > 0) then {private _text = format ["[KP LIBERATION] [ASYMMETRIC] Logistic convoy %1: ambush possible - current ETA: %2 - Dice: %3 - Chance: %4", (_x select 0), (_x select 8), _dice, _chance];_text remoteExec ["diag_log",2];};
if (_dice <= _chance) then {
private _convoy = +_x;
sleep 0.1;
[_convoy] spawn logistic_convoy_ambush;
@ -321,7 +322,6 @@ while {GRLIB_endgame == 0} do {
KP_liberation_convoy_ambush_check = 0;
}
} else {
if (KP_liberation_asymmetric_debug > 0) then {diag_log format ["[KP LIBERATION] [ASYMMETRIC] Logistic convoy %1: no ambush - Chance: %2 - Dice: %3", (_x select 0), (KP_liberation_convoy_ambush_chance + (round ((KP_liberation_civ_rep * -1) / 25))), _dice];};
_x set [8,((_x select 8) - 1)];
};
} else {

View File

@ -10,20 +10,20 @@
<!-- Chinese Simplified localization made by Nercon: https://github.com/nercon -->
<!-- (WIP) Turkish localization made by Carbneth: https://github.com/Carbneth -->
<Key ID="STR_MISSION_TITLE">
<Original>KP Liberation v0.96</Original>
<German>KP Liberation v0.96</German>
<Spanish>KP Liberation v0.96</Spanish>
<Italian>KP Liberation v0.96</Italian>
<Chinesesimp>KP Liberation v0.96</Chinesesimp>
<Turkish>KP Liberation v0.96</Turkish>
<Original>KP Liberation v0.961dev</Original>
<German>KP Liberation v0.961dev</German>
<Spanish>KP Liberation v0.961dev</Spanish>
<Italian>KP Liberation v0.961dev</Italian>
<Chinesesimp>KP Liberation v0.961dev</Chinesesimp>
<Turkish>KP Liberation v0.961dev</Turkish>
</Key>
<Key ID="STR_MISSION_VERSION">
<Original>v0.96</Original>
<German>v0.96</German>
<Spanish>v0.96</Spanish>
<Italian>v0.96</Italian>
<Chinesesimp>v0.96</Chinesesimp>
<Turkish>v0.96</Turkish>
<Original>v0.961dev96</Original>
<German>v0.961dev</German>
<Spanish>v0.961dev</Spanish>
<Italian>v0.961dev</Italian>
<Chinesesimp>v0.961dev</Chinesesimp>
<Turkish>v0.961dev</Turkish>
</Key>
<Key ID="STR_Deploy_OnPoint">
<Original>Deploy</Original>

View File

@ -64,7 +64,7 @@ class Params
title = $STR_PARAM_AUTODANGER;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 0;
default = 1;
};
class DayDuration {
title = $STR_PARAMS_DAYDURATION;

View File

@ -2,7 +2,7 @@
# KP Liberation for ArmA 3
## Current version : 0.96
## Current version : 0.961
[BI Forum Thread](https://forums.bistudio.com/topic/202711-mpcti-coop-liberation-continued/)
@ -160,6 +160,10 @@ class Missions
## Changelog
### 0.961 (in development)
* Tweaked: Logistic convoy ambush chance balancing.
* Fixed: SMAW optic placed in wrong array in RHS presets.
### 0.96 (12th October 2017)
* Added: BI Support System functionality. (Currently deactivated, as there are still issues in MP)
* Added: Parameter for access to the Support System -> Disabled, Commander, Whitelist, Everyone.