Syntax changes and new addon settings

This commit is contained in:
IT07 2016-08-27 17:18:06 +02:00
parent 3e3e6dffee
commit 1b2db95ecf

View File

@ -18,7 +18,7 @@ class CfgVemfReloaded
/////////////////////////////////////// ///////////////////////////////////////
// Global settings // Global settings
addons[] = {}; // Not used for now addons[] = { "SimplePatrol" };
allowTWS = no; // enable/disable the usage of TWS scopes by AI (WARNING: only tested on vanilla equipment) allowTWS = no; // enable/disable the usage of TWS scopes by AI (WARNING: only tested on vanilla equipment)
headlessClientSupport = no; headlessClientSupport = no;
headlessClientNames[] = { "HC1" }; headlessClientNames[] = { "HC1" };
@ -39,6 +39,35 @@ class CfgVemfReloaded
timeOutTime = 25; // enable/disable mission timeOutTime (in minutes) timeOutTime = 25; // enable/disable mission timeOutTime (in minutes)
validateLoot = yes; // enable/disable validation of all defined loot classnames. Checks if classnames exist in server's game configFile validateLoot = yes; // enable/disable validation of all defined loot classnames. Checks if classnames exist in server's game configFile
class addonSettings
{
class SimplePatrol
{
aiMode = random; // options: random | 0 (Guerilla) | 1 (Regular Police) | 2 (Police SF (Special Forces)) | 3 (Gendarmerie (needs Apex DLC)) | 4 (Apex Bandits (needs Apex DLC)) | manual (uses AIequipment class)
behaviour = "CARELESS";
enableAttack = false;
enabled = no;
combatMode = "BLUE";
from[] = { { position }, { position } };
// NOTE: the first in "from" is connected to the first in "to" and so on...
removeAllAssignedItems = no;
speed = "LIMITED";
to[] = { { position }, { position } };
interval = 10;
invincible = no;
class AIequipment
{
backpacks[] = { };
faceWear[] = { };
headGear[] = { };
pistols[] = { };
rifles[] = { };
uniforms[] = { };
vests[] = { };
};
};
};
class blacklists class blacklists
{ {
class buildings class buildings
@ -368,15 +397,15 @@ class CfgVemfReloaded
}; };
class Gendarmerie class Gendarmerie
{ {
headGear[] = {
"H_Watchcap_blk","H_Watchcap_cbr","H_Watchcap_camo","H_Watchcap_khk","H_Beret_gen_F","H_MilCap_gen_F","H_Beret_blk","H_Beret_02","H_Cap_blk",
"H_Cap_blu","H_Cap_police","H_MilCap_blue","H_MilCap_ghex_F","H_MilCap_gry","H_MilCap_ocamo","H_MilCap_tna_F","H_MilCap_dgtl","H_Cap_headphones"
};
faceWear[] = { faceWear[] = {
"G_Aviator", "G_Bandanna_aviator", "G_Bandanna_blk", "G_Bandanna_khk", "G_Bandanna_oli", "G_Bandanna_shades", "G_Bandanna_sport", "G_Bandanna_tan", "G_Shades_Black", "G_Aviator", "G_Bandanna_aviator", "G_Bandanna_blk", "G_Bandanna_khk", "G_Bandanna_oli", "G_Bandanna_shades", "G_Bandanna_sport", "G_Bandanna_tan", "G_Shades_Black",
"G_Shades_Blue", "G_Shades_Green", "G_Shades_Red", "G_Spectacles", "G_Sport_Red", "G_Sport_Blackyellow", "G_Sport_BlackWhite", "G_Sport_Blackred", "G_Sport_Greenblack", "G_Shades_Blue", "G_Shades_Green", "G_Shades_Red", "G_Spectacles", "G_Sport_Red", "G_Sport_Blackyellow", "G_Sport_BlackWhite", "G_Sport_Blackred", "G_Sport_Greenblack",
"G_Squares_Tinted", "G_Balaclava_TI_blk_F", "G_Tactical_Clear", "G_Tactical_Black", "G_Spectacles_Tinted" "G_Squares_Tinted", "G_Balaclava_TI_blk_F", "G_Tactical_Clear", "G_Tactical_Black", "G_Spectacles_Tinted"
}; };
headGear[] = {
"H_Watchcap_blk", "H_Watchcap_cbr", "H_Watchcap_camo", "H_Watchcap_khk", "H_Beret_gen_F", "H_MilCap_gen_F", "H_Beret_blk", "H_Beret_02", "H_Cap_blk",
"H_Cap_blu", "H_Cap_police", "H_MilCap_blue", "H_MilCap_ghex_F", "H_MilCap_gry", "H_MilCap_ocamo", "H_MilCap_tna_F", "H_MilCap_dgtl", "H_Cap_headphones"
};
pistols[] = { "hgun_Pistol_heavy_01_F", "hgun_ACPC2_F", "hgun_P07_F", "hgun_P07_khk_F", "hgun_Pistol_01_F", "hgun_Rook40_F" }; pistols[] = { "hgun_Pistol_heavy_01_F", "hgun_ACPC2_F", "hgun_P07_F", "hgun_P07_khk_F", "hgun_Pistol_01_F", "hgun_Rook40_F" };
rifles[] = { rifles[] = {
"SMG_01_F", "SMG_02_F", "SMG_05_F", "arifle_AK12_F", "arifle_AK12_GL_F", "arifle_AKM_F", "arifle_AKS_F", "arifle_CTAR_blk_F", "arifle_CTAR_ghex_F", "SMG_01_F", "SMG_02_F", "SMG_05_F", "arifle_AK12_F", "arifle_AK12_GL_F", "arifle_AKM_F", "arifle_AKS_F", "arifle_CTAR_blk_F", "arifle_CTAR_ghex_F",