Added more victory conditions

This commit is contained in:
Wyqer 2019-07-23 11:58:17 +02:00
parent 66aa2fd22d
commit 5656fa3c0c
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
5 changed files with 492 additions and 420 deletions

View File

@ -2,7 +2,7 @@ sleep 5;
_blufor_bigtowns = blufor_sectors select {_x in sectors_bigtown};
if (count _blufor_bigtowns == count sectors_bigtown) then {
if ([] call KP_liberation_victoryCheck) then {
GRLIB_endgame = 1;
publicVariable "GRLIB_endgame";
{_x allowDamage false; (vehicle _x) allowDamage false;} forEach allPlayers;

View File

@ -18,69 +18,70 @@ KP_liberation_production_debug = ["DebugProduction",0] call bis_fnc_getParamValu
KP_load_params = ["LoadSaveParams", 1] call BIS_fnc_getParamValue;
if(isServer) then {
/* Saveable params */
/* Saveable params */
// Deactivate BI Revive when ACE Medical is running
if (isClass (configfile >> "CfgPatches" >> "ace_medical")) then {
bis_reviveParam_mode = 0; publicVariable "bis_reviveParam_mode";
diag_log "[KP LIBERATION] ACE Medical detected. Deactivating BI Revive System."
} else {
GET_PARAM(bis_reviveParam_mode, "ReviveMode", 1);
};
// Deactivate BI Revive when ACE Medical is running
if (isClass (configfile >> "CfgPatches" >> "ace_medical")) then {
bis_reviveParam_mode = 0; publicVariable "bis_reviveParam_mode";
diag_log "[KP LIBERATION] ACE Medical detected. Deactivating BI Revive System."
} else {
GET_PARAM(bis_reviveParam_mode, "ReviveMode", 1);
};
GET_PARAM(bis_reviveParam_duration, "ReviveDuration", 6);
GET_PARAM(bis_reviveParam_requiredTrait, "ReviveRequiredTrait", 1);
GET_PARAM(bis_reviveParam_medicSpeedMultiplier, "ReviveMedicSpeedMultiplier", 1);
GET_PARAM(bis_reviveParam_requiredItems, "ReviveRequiredItems", 1);
GET_PARAM(bis_reviveParam_unconsciousStateMode, "UnconsciousStateMode", 0);
GET_PARAM(bis_reviveParam_bleedOutDuration, "ReviveBleedOutDuration", 180);
GET_PARAM(bis_reviveParam_forceRespawnDuration, "ReviveForceRespawnDuration", 10);
GET_PARAM(bis_reviveParam_duration, "ReviveDuration", 6);
GET_PARAM(bis_reviveParam_requiredTrait, "ReviveRequiredTrait", 1);
GET_PARAM(bis_reviveParam_medicSpeedMultiplier, "ReviveMedicSpeedMultiplier", 1);
GET_PARAM(bis_reviveParam_requiredItems, "ReviveRequiredItems", 1);
GET_PARAM(bis_reviveParam_unconsciousStateMode, "UnconsciousStateMode", 0);
GET_PARAM(bis_reviveParam_bleedOutDuration, "ReviveBleedOutDuration", 180);
GET_PARAM(bis_reviveParam_forceRespawnDuration, "ReviveForceRespawnDuration", 10);
GET_PARAM(GRLIB_difficulty_modifier, "Difficulty", 2);
GET_PARAM(GRLIB_time_factor, "DayDuration", 12);
GET_PARAM(GRLIB_resources_multiplier, "ResourcesMultiplier", 3);
GET_PARAM(GRLIB_unitcap, "Unitcap", 2);
GET_PARAM(GRLIB_civilian_activity, "civilians", 1);
GET_PARAM(GRLIB_halo_param, "HaloJump", 1);
GET_PARAM(GRLIB_cleanup_vehicles, "CleanupVehicles", 2);
GET_PARAM(GRLIB_csat_aggressivity, "Aggressivity", 2);
GET_PARAM(GRLIB_weather_param, "Weather", 3);
GET_PARAM(GRLIB_maximum_fobs, "MaximumFobs", 26);
GET_PARAM(GRLIB_max_squad_size, "MaxSquadSize", 10);
GET_PARAM(KP_liberation_restart, "ServerRestart", 0);
GET_PARAM(KP_liberation_respawn_cooldown, "RespawnCooldown", 900);
GET_PARAM(GRLIB_difficulty_modifier, "Difficulty", 2);
GET_PARAM(GRLIB_time_factor, "DayDuration", 12);
GET_PARAM(GRLIB_resources_multiplier, "ResourcesMultiplier", 3);
GET_PARAM(GRLIB_unitcap, "Unitcap", 2);
GET_PARAM(GRLIB_civilian_activity, "civilians", 1);
GET_PARAM(GRLIB_halo_param, "HaloJump", 1);
GET_PARAM(GRLIB_cleanup_vehicles, "CleanupVehicles", 2);
GET_PARAM(GRLIB_csat_aggressivity, "Aggressivity", 2);
GET_PARAM(GRLIB_weather_param, "Weather", 3);
GET_PARAM(GRLIB_maximum_fobs, "MaximumFobs", 26);
GET_PARAM(GRLIB_max_squad_size, "MaxSquadSize", 10);
GET_PARAM(KP_liberation_restart, "ServerRestart", 0);
GET_PARAM(KP_liberation_respawn_cooldown, "RespawnCooldown", 900);
GET_PARAM_BOOL(KP_liberation_cr_param_buildings, "CR_Building", 0);
GET_PARAM_BOOL(KP_liberation_ailogistics, "AiLogistics", 1);
GET_PARAM_BOOL(KP_liberation_clear_cargo, "ClearCargo", 1);
GET_PARAM_BOOL(KP_liberation_arsenalUsePreset, "ArsenalUsePreset", 1);
GET_PARAM_BOOL(KP_liberation_mapmarkers, "MapMarkers", 1);
GET_PARAM_BOOL(KP_liberation_mobilerespawn, "MobileRespawn", 1);
GET_PARAM_BOOL(KP_liberation_mobilearsenal, "MobileArsenal", 1);
GET_PARAM_BOOL(KP_liberation_cr_param_buildings, "CR_Building", 0);
GET_PARAM_BOOL(KP_liberation_ailogistics, "AiLogistics", 1);
GET_PARAM_BOOL(KP_liberation_clear_cargo, "ClearCargo", 1);
GET_PARAM_BOOL(KP_liberation_arsenalUsePreset, "ArsenalUsePreset", 1);
GET_PARAM_BOOL(KP_liberation_mapmarkers, "MapMarkers", 1);
GET_PARAM_BOOL(KP_liberation_mobilerespawn, "MobileRespawn", 1);
GET_PARAM_BOOL(KP_liberation_mobilearsenal, "MobileArsenal", 1);
GET_PARAM_BOOL(KP_liberation_arsenal_type, "ArsenalType", 0);
GET_PARAM_BOOL(KP_liberation_victoryCondition, "VictoryCondition", 0);
GET_PARAM_BOOL(GRLIB_adaptive_opfor, "AdaptToPlayercount", 1);
GET_PARAM_BOOL(GRLIB_deployment_cinematic, "DeploymentCinematic", 1);
GET_PARAM_BOOL(GRLIB_fatigue, "Fatigue", 1);
GET_PARAM_BOOL(GRLIB_introduction, "Introduction", 1);
GET_PARAM_BOOL(GRLIB_teamkill_penalty, "TeamkillPenalty", 0);
GET_PARAM_BOOL(GRLIB_build_first_fob, "FirstFob", 0);
GET_PARAM_BOOL(GRLIB_permissions_param, "Permissions", 1);
GET_PARAM_BOOL(GRLIB_use_whitelist, "Whitelist", 0);
GET_PARAM_BOOL(GRLIB_shorter_nights, "ShorterNights", 0);
GET_PARAM_BOOL(GRLIB_blufor_defenders, "BluforDefenders", 1);
GET_PARAM_BOOL(GRLIB_autodanger, "Autodanger", 0);
GET_PARAM_BOOL(GRLIB_adaptive_opfor, "AdaptToPlayercount", 1);
GET_PARAM_BOOL(GRLIB_deployment_cinematic, "DeploymentCinematic", 1);
GET_PARAM_BOOL(GRLIB_fatigue, "Fatigue", 1);
GET_PARAM_BOOL(GRLIB_introduction, "Introduction", 1);
GET_PARAM_BOOL(GRLIB_teamkill_penalty, "TeamkillPenalty", 0);
GET_PARAM_BOOL(GRLIB_build_first_fob, "FirstFob", 0);
GET_PARAM_BOOL(GRLIB_permissions_param, "Permissions", 1);
GET_PARAM_BOOL(GRLIB_use_whitelist, "Whitelist", 0);
GET_PARAM_BOOL(GRLIB_shorter_nights, "ShorterNights", 0);
GET_PARAM_BOOL(GRLIB_blufor_defenders, "BluforDefenders", 1);
GET_PARAM_BOOL(GRLIB_autodanger, "Autodanger", 0);
GREUH_allow_mapmarkers = KP_liberation_mapmarkers; publicVariable "GREUH_allow_mapmarkers";
GREUH_allow_platoonview = KP_liberation_mapmarkers; publicVariable "GREUH_allow_platoonview";
GREUH_allow_mapmarkers = KP_liberation_mapmarkers; publicVariable "GREUH_allow_mapmarkers";
GREUH_allow_platoonview = KP_liberation_mapmarkers; publicVariable "GREUH_allow_platoonview";
GRLIB_remote_sensors = 0;
publicVariable "GRLIB_remote_sensors";
GRLIB_remote_sensors = 0;
publicVariable "GRLIB_remote_sensors";
KP_serverParamsFetched = true;
publicVariable "KP_serverParamsFetched";
KP_serverParamsFetched = true;
publicVariable "KP_serverParamsFetched";
diag_log "[KP LIBERATION] [PARAM] Server finished parameters initialization.";
diag_log "[KP LIBERATION] [PARAM] Server finished parameters initialization.";
};
// Fix for not working float values in mission params
@ -135,6 +136,46 @@ switch (GRLIB_resources_multiplier) do {
default {GRLIB_resources_multiplier = 1;};
};
switch (KP_liberation_victoryCondition) do {
case 1: {
KP_liberation_victoryCheck = {
(count (blufor_sectors select {_x in sectors_bigtown})) == (count sectors_bigtown)
&&
{
(count (blufor_sectors select {_x in sectors_military})) == (count sectors_military)
}
};
};
case 2: {
KP_liberation_victoryCheck = {
(count (blufor_sectors select {_x in sectors_bigtown})) == (count sectors_bigtown)
&&
{
(count (blufor_sectors select {!(_x in sectors_bigtown)})) >= ((count (sectors_allSectors - sectors_bigtown)) * 0.6)
}
};
};
case 3: {
KP_liberation_victoryCheck = {
(count (blufor_sectors select {_x in sectors_bigtown})) == (count sectors_bigtown)
&&
{
(count (blufor_sectors select {!(_x in sectors_bigtown)})) >= ((count (sectors_allSectors - sectors_bigtown)) * 0.8)
}
};
};
case 4: {
KP_liberation_victoryCheck = {
(count blufor_sectors) == (count sectors_allSectors)
};
};
default {
KP_liberation_victoryCheck = {
(count (blufor_sectors select {_x in sectors_bigtown})) == (count sectors_bigtown)
};
};
};
if (!isDedicated && hasInterface) then {
// Create diary section for an overview of actual mission parameters
player createDiarySubject ["parameters", "Mission Parameters"];

View File

@ -6158,5 +6158,29 @@
<German>ACE Arsenal</German>
<Italian>ACE Arsenale</Italian>
</Key>
<Key ID="STR_PARAMS_VICTORYCONDITION">
<Original>Victory Condition</Original>
<German>Siegesbedingung</German>
</Key>
<Key ID="STR_PARAMS_VICTORYCONDITION_0">
<Original>All capitals</Original>
<German>Alle Hauptstädte</German>
</Key>
<Key ID="STR_PARAMS_VICTORYCONDITION_1">
<Original>All capitals and military bases</Original>
<German>Alle Hauptstädte und Militärbasen</German>
</Key>
<Key ID="STR_PARAMS_VICTORYCONDITION_2">
<Original>All capitals and 60% of the sectors</Original>
<German>Alle Hauptstädte und 60% der Sektoren</German>
</Key>
<Key ID="STR_PARAMS_VICTORYCONDITION_3">
<Original>All capitals and 80% of the sectors</Original>
<German>Alle Hauptstädte und 80% der Sektoren</German>
</Key>
<Key ID="STR_PARAMS_VICTORYCONDITION_4">
<Original>All sectors</Original>
<German>Alle Sektoren</German>
</Key>
</Package>
</Project>

View File

@ -1,369 +1,375 @@
class Params
{
class LoadSaveParams {
title = $STR_PARAMS_LOADSAVEPARAMS;
values[] = { 0, 1, 2 };
texts[] = { $STR_PARAMS_LOADSAVEPARAMS_SAVE, $STR_PARAMS_LOADSAVEPARAMS_LOAD, $STR_PARAMS_LOADSAVEPARAMS_SELECTED };
default = 1;
};
class Spacer0 {
title = "";
values[] = { "" };
texts[] = { "" };
default = "";
};
class MissionOptions {
title = $STR_PARAMS_MISSIONOPTIONS;
values[] = { "" };
texts[] = { "" };
default = "";
};
class Unitcap {
title = $STR_PARAMS_UNITCAP;
values[] = {0,1,2,3,4,5};
texts[] = {$STR_PARAMS_UNITCAP1,$STR_PARAMS_UNITCAP2,$STR_PARAMS_UNITCAP3,$STR_PARAMS_UNITCAP4,$STR_PARAMS_UNITCAP5,$STR_PARAMS_UNITCAP6};
default = 2;
};
class Difficulty {
title = $STR_PARAMS_DIFFICULTY;
values[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
texts[] = { $STR_PARAMS_DIFFICULTY1, $STR_PARAMS_DIFFICULTY2, $STR_PARAMS_DIFFICULTY3, $STR_PARAMS_DIFFICULTY4, $STR_PARAMS_DIFFICULTY5, $STR_PARAMS_DIFFICULTY6, $STR_PARAMS_DIFFICULTY7, $STR_PARAMS_DIFFICULTY8 };
default = 2;
};
class Aggressivity {
title = $STR_AGGRESSIVITY_PARAM;
values[] = {0,1,2,3,4};
texts[] = {$STR_AGGRESSIVITY_PARAM0, $STR_AGGRESSIVITY_PARAM1,$STR_AGGRESSIVITY_PARAM2,$STR_AGGRESSIVITY_PARAM3,$STR_AGGRESSIVITY_PARAM4};
default = 2;
};
class AdaptToPlayercount {
title = $STR_PARAM_ADAPT_TO_PLAYERCOUNT;
values[] = {1,0};
texts[] = {$STR_PARAMS_ENABLED,$STR_PARAMS_DISABLED};
default = 1;
};
class Civilians {
title = $STR_PARAMS_CIVILIANS;
values[] = {0,1,2,3};
texts[] = {$STR_PARAMS_CIVILIANS1,$STR_PARAMS_CIVILIANS2,$STR_PARAMS_CIVILIANS3,$STR_PARAMS_CIVILIANS4};
default = 2;
};
class FirstFob {
title = $STR_PARAMS_FIRSTFOB;
values[] = { 1, 0 };
texts[] = { $STR_YES, $STR_NO };
default = 0;
};
class MaximumFobs {
title = $STR_PARAM_FOBS_COUNT;
values[] = {3,5,7,10,15,20,26};
texts[] = {3,5,7,10,15,20,26};
default = 10;
};
class MaxSquadSize {
title = $STR_PARAM_SQUAD_SIZE;
values[] = {0,1,2,4,6,8,10,12,16,20,24,30,36};
texts[] = {0,1,2,4,6,8,10,12,16,20,24,30,36};
default = 12;
};
class BluforDefenders {
title = $STR_PARAM_BLUFOR_DEFENDERS;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class Autodanger {
title = $STR_PARAM_AUTODANGER;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class DayDuration {
title = $STR_PARAMS_DAYDURATION;
values[] = {48, 24, 16, 12, 8, 6, 4, 3, 2, 1};
texts[] = {"0.5","1","1.5","2","3","4","6","8","12","24"};
default = 4;
};
class ShorterNights {
title = $STR_SHORTER_NIGHTS_PARAM;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 0;
};
class Weather {
title = $STR_WEATHER_PARAM;
values[] = { 1,2,3 };
texts[] = { $STR_WEATHER_PARAM1, $STR_WEATHER_PARAM2, $STR_WEATHER_PARAM3 };
default = 3;
};
class ResourcesMultiplier {
title = $STR_PARAMS_RESOURCESMULTIPLIER;
values[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
texts[] = { "x0.25", "x0.5", "x0.75", "x1", "x1.25","x1.5","x2","x3" };
default = 3;
};
class ArsenalType {
title = $STR_PARAMS_ARSENAL;
values[] = {0, 1};
texts[] = {$STR_PARAMS_ARSENAL_BI, $STR_PARAMS_ARSENAL_ACE};
default = 0;
};
class Spacer1 {
title = "";
values[] = { "" };
texts[] = { "" };
default = "";
};
class ReviveOptions {
title = $STR_PARAMS_REVIVEOPTIONS;
values[] = { "" };
texts[] = { "" };
default = "";
};
class ReviveMode {
title = $STR_A3_ReviveMode;
values[] = {0,1};
texts[] = {$STR_A3_Disabled, $STR_A3_EnabledForAllPlayers};
default = 1;
};
class ReviveDuration {
title = $STR_A3_ReviveDuration;
values[] = {6,8,10,12,15,20,25,30};
texts[] = {6,8,10,12,15,20,25,30};
default = 6;
};
class ReviveRequiredTrait {
title = $STR_A3_RequiredTrait;
values[] = {0,1};
texts[] = {$STR_A3_None,$STR_A3_Medic};
default = 1;
};
class ReviveMedicSpeedMultiplier {
title = $STR_A3_RequiredTrait_MedicSpeedMultiplier;
values[] = {1,1.5,2,2.5,3};
texts[] = {"1x","1.5x","2x","2.5x","3x"};
default = 1;
};
class ReviveRequiredItems {
title = $STR_A3_RequiredItems;
values[] = {0,1,2};
texts[] = {$STR_A3_None,$STR_A3_Medikit,$STR_A3_FirstAidKitOrMedikit};
default = 1;
};
class UnconsciousStateMode {
title = $STR_A3_IncapacitationMode;
values[] = {0,1,2};
texts[] = {$STR_A3_Basic,$STR_A3_Advanced,$STR_A3_Realistic};
default = 0;
};
class ReviveBleedOutDuration {
title = $STR_A3_BleedOutDuration;
values[] = {10,15,20,30,45,60,90,180};
texts[] = {10,15,20,30,45,60,90,180};
default = 180;
};
class ReviveForceRespawnDuration {
title = $STR_A3_ForceRespawnDuration;
values[] = {3,4,5,6,7,8,9,10};
texts[] = {3,4,5,6,7,8,9,10};
default = 10;
};
class Spacer2 {
title = "";
values[] = { "" };
texts[] = { "" };
default = "";
};
class GameplayOptions {
title = $STR_PARAMS_GAMEPLAYOPTIONS;
values[] = { "" };
texts[] = { "" };
default = "";
};
class Fatigue {
title = $STR_PARAMS_FATIGUE;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
default = 1;
};
class ArsenalUsePreset {
title = $STR_PARAMS_ARSENALUSEPRESET;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_NORESTRICTIONS, $STR_PARAMS_USEPRESET };
default = 1;
};
class MapMarkers {
title = $STR_PARAMS_MAPMARKERS;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
default = 1;
};
class MobileRespawn {
title = $STR_PARAMS_MOBILERESPAWN;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
default = 1;
};
class RespawnCooldown {
title = $STR_PARAM_RESPAWN_COOLDOWN;
values[] = {0, 300, 600, 900, 1200, 1800, 3600};
texts[] = {$STR_PARAMS_DISABLED, 5, 10, 15, 20, 30, 60};
default = 900;
};
class MobileArsenal {
title = $STR_PARAMS_MOBILEARSENAL;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
default = 1;
};
class AiLogistics {
title = $STR_PARAMS_AILOGISTICS;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 1;
};
class TeamkillPenalty {
title = $STR_PARAM_TEAMKILL_PENALTY;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 0;
};
class CR_Building {
title = $STR_PARAM_CR_BUILDING;
values[] = {1,0};
texts[] = {$STR_PARAM_CR_DAMAGED, $STR_PARAM_CR_DESTROYED};
default = 0;
};
class HaloJump {
title = $STR_HALO_PARAM;
values[] = {1,5,10,15,20,30,0};
texts[] = { $STR_HALO_PARAM1, $STR_HALO_PARAM2, $STR_HALO_PARAM3, $STR_HALO_PARAM4, $STR_HALO_PARAM5, $STR_HALO_PARAM6, $STR_PARAMS_DISABLED };
default = 0;
};
class ClearCargo {
title = $STR_PARAM_CLEAR_CARGO;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class Spacer3 {
title = "";
values[] = { "" };
texts[] = { "" };
default = "";
};
class TechnicalOptions {
title = $STR_PARAMS_TECHNICALOPTIONS;
values[] = { "" };
texts[] = { "" };
default = "";
};
class Permissions {
title = $STR_PERMISSIONS_PARAM;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class CleanupVehicles {
title = $STR_CLEANUP_PARAM;
values[] = { 0,1,2,4 };
texts[] = { $STR_PARAMS_DISABLED, $STR_CLEANUP_PARAM1, $STR_CLEANUP_PARAM2, $STR_CLEANUP_PARAM3 };
default = 2;
};
class Introduction {
title = $STR_PARAMS_INTRO;
values[] = { 1, 0 };
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class DeploymentCinematic {
title = $STR_PARAMS_DEPLOYMENTCAMERA;
values[] = { 1, 0 };
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class Whitelist {
title = $STR_WHITELIST_PARAM;
values[] = { 1, 0 };
texts[] = { $STR_WHITELIST_ENABLED, $STR_PARAMS_DISABLED };
default = 0;
};
class ServerRestart {
title = $STR_RESTART_PARAM;
values[] = {0,1,2,3,4,5,6};
texts[] = {$STR_PARAMS_DISABLED,"1","2","3","4","5","6"};
default = 0;
};
class WipeSave1 {
title = $STR_WIPE_TITLE;
values[] = {0,1};
texts[] = {$STR_WIPE_NO,$STR_WIPE_YES};
default = 0;
};
class WipeSave2 {
title = $STR_WIPE_TITLE_2;
values[] = {0,1};
texts[] = {$STR_WIPE_NO,$STR_WIPE_YES};
default = 0;
};
class Spacer4 {
title = "";
values[] = {""};
texts[] = {""};
default = "";
};
class DebugOptions {
title = $STR_PARAMS_DEBUGOPTIONS;
values[] = {""};
texts[] = {""};
default = "";
};
class DebugAsymmetric {
title = $STR_PARAMS_DEBUG_ASYMMETRIC;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugCivInfo {
title = $STR_PARAMS_DEBUG_CIVINFO;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugCivRep {
title = $STR_PARAMS_DEBUG_CIVREP;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugKill {
title = $STR_PARAMS_DEBUG_KILL;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugLogistic {
title = $STR_PARAMS_DEBUG_LOGISTIC;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugProduction {
title = $STR_PARAMS_DEBUG_PRODUCTION;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugSave {
title = $STR_PARAMS_DEBUG_SAVE;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugSectorSpawn {
title = $STR_PARAMS_DEBUG_SECTORSPAWN;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class LoadSaveParams {
title = $STR_PARAMS_LOADSAVEPARAMS;
values[] = { 0, 1, 2 };
texts[] = { $STR_PARAMS_LOADSAVEPARAMS_SAVE, $STR_PARAMS_LOADSAVEPARAMS_LOAD, $STR_PARAMS_LOADSAVEPARAMS_SELECTED };
default = 1;
};
class Spacer0 {
title = "";
values[] = { "" };
texts[] = { "" };
default = "";
};
class MissionOptions {
title = $STR_PARAMS_MISSIONOPTIONS;
values[] = { "" };
texts[] = { "" };
default = "";
};
class Unitcap {
title = $STR_PARAMS_UNITCAP;
values[] = {0,1,2,3,4,5};
texts[] = {$STR_PARAMS_UNITCAP1,$STR_PARAMS_UNITCAP2,$STR_PARAMS_UNITCAP3,$STR_PARAMS_UNITCAP4,$STR_PARAMS_UNITCAP5,$STR_PARAMS_UNITCAP6};
default = 2;
};
class Difficulty {
title = $STR_PARAMS_DIFFICULTY;
values[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
texts[] = { $STR_PARAMS_DIFFICULTY1, $STR_PARAMS_DIFFICULTY2, $STR_PARAMS_DIFFICULTY3, $STR_PARAMS_DIFFICULTY4, $STR_PARAMS_DIFFICULTY5, $STR_PARAMS_DIFFICULTY6, $STR_PARAMS_DIFFICULTY7, $STR_PARAMS_DIFFICULTY8 };
default = 2;
};
class Aggressivity {
title = $STR_AGGRESSIVITY_PARAM;
values[] = {0,1,2,3,4};
texts[] = {$STR_AGGRESSIVITY_PARAM0, $STR_AGGRESSIVITY_PARAM1,$STR_AGGRESSIVITY_PARAM2,$STR_AGGRESSIVITY_PARAM3,$STR_AGGRESSIVITY_PARAM4};
default = 2;
};
class AdaptToPlayercount {
title = $STR_PARAM_ADAPT_TO_PLAYERCOUNT;
values[] = {1,0};
texts[] = {$STR_PARAMS_ENABLED,$STR_PARAMS_DISABLED};
default = 1;
};
class Civilians {
title = $STR_PARAMS_CIVILIANS;
values[] = {0,1,2,3};
texts[] = {$STR_PARAMS_CIVILIANS1,$STR_PARAMS_CIVILIANS2,$STR_PARAMS_CIVILIANS3,$STR_PARAMS_CIVILIANS4};
default = 2;
};
class FirstFob {
title = $STR_PARAMS_FIRSTFOB;
values[] = { 1, 0 };
texts[] = { $STR_YES, $STR_NO };
default = 0;
};
class MaximumFobs {
title = $STR_PARAM_FOBS_COUNT;
values[] = {3,5,7,10,15,20,26};
texts[] = {3,5,7,10,15,20,26};
default = 10;
};
class MaxSquadSize {
title = $STR_PARAM_SQUAD_SIZE;
values[] = {0,1,2,4,6,8,10,12,16,20,24,30,36};
texts[] = {0,1,2,4,6,8,10,12,16,20,24,30,36};
default = 12;
};
class BluforDefenders {
title = $STR_PARAM_BLUFOR_DEFENDERS;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class Autodanger {
title = $STR_PARAM_AUTODANGER;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class DayDuration {
title = $STR_PARAMS_DAYDURATION;
values[] = {48, 24, 16, 12, 8, 6, 4, 3, 2, 1};
texts[] = {"0.5","1","1.5","2","3","4","6","8","12","24"};
default = 4;
};
class ShorterNights {
title = $STR_SHORTER_NIGHTS_PARAM;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 0;
};
class Weather {
title = $STR_WEATHER_PARAM;
values[] = { 1,2,3 };
texts[] = { $STR_WEATHER_PARAM1, $STR_WEATHER_PARAM2, $STR_WEATHER_PARAM3 };
default = 3;
};
class ResourcesMultiplier {
title = $STR_PARAMS_RESOURCESMULTIPLIER;
values[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
texts[] = { "x0.25", "x0.5", "x0.75", "x1", "x1.25","x1.5","x2","x3" };
default = 3;
};
class ArsenalType {
title = $STR_PARAMS_ARSENAL;
values[] = {0, 1};
texts[] = {$STR_PARAMS_ARSENAL_BI, $STR_PARAMS_ARSENAL_ACE};
default = 0;
};
class VictoryCondition {
title = $STR_PARAMS_VICTORYCONDITION;
values[] = {0, 1, 2, 3, 4};
texts[] = {$STR_PARAMS_VICTORYCONDITION_0, $STR_PARAMS_VICTORYCONDITION_1, STR_PARAMS_VICTORYCONDITION_2, STR_PARAMS_VICTORYCONDITION_3, STR_PARAMS_VICTORYCONDITION_4};
default = 0;
};
class Spacer1 {
title = "";
values[] = { "" };
texts[] = { "" };
default = "";
};
class ReviveOptions {
title = $STR_PARAMS_REVIVEOPTIONS;
values[] = { "" };
texts[] = { "" };
default = "";
};
class ReviveMode {
title = $STR_A3_ReviveMode;
values[] = {0,1};
texts[] = {$STR_A3_Disabled, $STR_A3_EnabledForAllPlayers};
default = 1;
};
class ReviveDuration {
title = $STR_A3_ReviveDuration;
values[] = {6,8,10,12,15,20,25,30};
texts[] = {6,8,10,12,15,20,25,30};
default = 6;
};
class ReviveRequiredTrait {
title = $STR_A3_RequiredTrait;
values[] = {0,1};
texts[] = {$STR_A3_None,$STR_A3_Medic};
default = 1;
};
class ReviveMedicSpeedMultiplier {
title = $STR_A3_RequiredTrait_MedicSpeedMultiplier;
values[] = {1,1.5,2,2.5,3};
texts[] = {"1x","1.5x","2x","2.5x","3x"};
default = 1;
};
class ReviveRequiredItems {
title = $STR_A3_RequiredItems;
values[] = {0,1,2};
texts[] = {$STR_A3_None,$STR_A3_Medikit,$STR_A3_FirstAidKitOrMedikit};
default = 1;
};
class UnconsciousStateMode {
title = $STR_A3_IncapacitationMode;
values[] = {0,1,2};
texts[] = {$STR_A3_Basic,$STR_A3_Advanced,$STR_A3_Realistic};
default = 0;
};
class ReviveBleedOutDuration {
title = $STR_A3_BleedOutDuration;
values[] = {10,15,20,30,45,60,90,180};
texts[] = {10,15,20,30,45,60,90,180};
default = 180;
};
class ReviveForceRespawnDuration {
title = $STR_A3_ForceRespawnDuration;
values[] = {3,4,5,6,7,8,9,10};
texts[] = {3,4,5,6,7,8,9,10};
default = 10;
};
class Spacer2 {
title = "";
values[] = { "" };
texts[] = { "" };
default = "";
};
class GameplayOptions {
title = $STR_PARAMS_GAMEPLAYOPTIONS;
values[] = { "" };
texts[] = { "" };
default = "";
};
class Fatigue {
title = $STR_PARAMS_FATIGUE;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
default = 1;
};
class ArsenalUsePreset {
title = $STR_PARAMS_ARSENALUSEPRESET;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_NORESTRICTIONS, $STR_PARAMS_USEPRESET };
default = 1;
};
class MapMarkers {
title = $STR_PARAMS_MAPMARKERS;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
default = 1;
};
class MobileRespawn {
title = $STR_PARAMS_MOBILERESPAWN;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
default = 1;
};
class RespawnCooldown {
title = $STR_PARAM_RESPAWN_COOLDOWN;
values[] = {0, 300, 600, 900, 1200, 1800, 3600};
texts[] = {$STR_PARAMS_DISABLED, 5, 10, 15, 20, 30, 60};
default = 900;
};
class MobileArsenal {
title = $STR_PARAMS_MOBILEARSENAL;
values[] = { 0, 1 };
texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
default = 1;
};
class AiLogistics {
title = $STR_PARAMS_AILOGISTICS;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 1;
};
class TeamkillPenalty {
title = $STR_PARAM_TEAMKILL_PENALTY;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 0;
};
class CR_Building {
title = $STR_PARAM_CR_BUILDING;
values[] = {1,0};
texts[] = {$STR_PARAM_CR_DAMAGED, $STR_PARAM_CR_DESTROYED};
default = 0;
};
class HaloJump {
title = $STR_HALO_PARAM;
values[] = {1,5,10,15,20,30,0};
texts[] = { $STR_HALO_PARAM1, $STR_HALO_PARAM2, $STR_HALO_PARAM3, $STR_HALO_PARAM4, $STR_HALO_PARAM5, $STR_HALO_PARAM6, $STR_PARAMS_DISABLED };
default = 0;
};
class ClearCargo {
title = $STR_PARAM_CLEAR_CARGO;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class Spacer3 {
title = "";
values[] = { "" };
texts[] = { "" };
default = "";
};
class TechnicalOptions {
title = $STR_PARAMS_TECHNICALOPTIONS;
values[] = { "" };
texts[] = { "" };
default = "";
};
class Permissions {
title = $STR_PERMISSIONS_PARAM;
values[] = {1,0};
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class CleanupVehicles {
title = $STR_CLEANUP_PARAM;
values[] = { 0,1,2,4 };
texts[] = { $STR_PARAMS_DISABLED, $STR_CLEANUP_PARAM1, $STR_CLEANUP_PARAM2, $STR_CLEANUP_PARAM3 };
default = 2;
};
class Introduction {
title = $STR_PARAMS_INTRO;
values[] = { 1, 0 };
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class DeploymentCinematic {
title = $STR_PARAMS_DEPLOYMENTCAMERA;
values[] = { 1, 0 };
texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
default = 1;
};
class Whitelist {
title = $STR_WHITELIST_PARAM;
values[] = { 1, 0 };
texts[] = { $STR_WHITELIST_ENABLED, $STR_PARAMS_DISABLED };
default = 0;
};
class ServerRestart {
title = $STR_RESTART_PARAM;
values[] = {0,1,2,3,4,5,6};
texts[] = {$STR_PARAMS_DISABLED,"1","2","3","4","5","6"};
default = 0;
};
class WipeSave1 {
title = $STR_WIPE_TITLE;
values[] = {0,1};
texts[] = {$STR_WIPE_NO,$STR_WIPE_YES};
default = 0;
};
class WipeSave2 {
title = $STR_WIPE_TITLE_2;
values[] = {0,1};
texts[] = {$STR_WIPE_NO,$STR_WIPE_YES};
default = 0;
};
class Spacer4 {
title = "";
values[] = {""};
texts[] = {""};
default = "";
};
class DebugOptions {
title = $STR_PARAMS_DEBUGOPTIONS;
values[] = {""};
texts[] = {""};
default = "";
};
class DebugAsymmetric {
title = $STR_PARAMS_DEBUG_ASYMMETRIC;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugCivInfo {
title = $STR_PARAMS_DEBUG_CIVINFO;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugCivRep {
title = $STR_PARAMS_DEBUG_CIVREP;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugKill {
title = $STR_PARAMS_DEBUG_KILL;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugLogistic {
title = $STR_PARAMS_DEBUG_LOGISTIC;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugProduction {
title = $STR_PARAMS_DEBUG_PRODUCTION;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugSave {
title = $STR_PARAMS_DEBUG_SAVE;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugSectorSpawn {
title = $STR_PARAMS_DEBUG_SECTORSPAWN;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
};

View File

@ -169,6 +169,7 @@ class Missions
* Added: Statistic values for spent/produced resources.
* Added: Statistics will be posted additionally in the server log after winning the campaign.
* Added: Encore Anti Air static to sensible presets.
* Added: Additional victory conditions, selectable in the mission parameters.
* Removed: Vanilla player score saving.
* Removed: Old garbage collection script, as there are now engine solutions available.
* Tweaked: Changed default recycle building from carservice building to tanks repair depot building.