ACE3/addons/common/CfgVehicles.hpp

127 lines
3.5 KiB
C++
Raw Normal View History

2015-01-12 21:34:01 +00:00
2015-01-11 18:06:21 +00:00
class CfgVehicles {
/*class Man;
class CAManBase: Man {
// @todo
class UserActions {
class ACE_Fire {
2015-01-11 18:06:21 +00:00
displayName = "";
priority = -99;
available = 1;
radius = 2.5;
radiusView = 0;
position = "";
showWindow = 0;
showIn3D = 0;
onlyForPlayer = 1;
shortcut = "DefaultAction";
2015-01-13 21:32:56 +00:00
condition = QUOTE(call GVAR(UserActionFireCondition));
statement = QUOTE(call GVAR(UserActionFire));
2015-01-11 18:06:21 +00:00
userActionID = 100;
};
};
};*/
// += needs a non inherited entry in that class, otherwise it simply overwrites
//#include <DefaultItems.hpp>
class Logic;
class Module_F: Logic {
class ModuleDescription {};
};
class ACE_ModuleCheckPBOs: Module_F {
2015-01-12 18:22:58 +00:00
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
displayName = "$STR_ACE_Common_CheckPBO_DisplayName";
2015-01-13 18:31:26 +00:00
function = QFUNC(moduleCheckPBOs);
2015-01-11 18:06:21 +00:00
scope = 2;
isGlobal = 1;
2015-03-23 19:02:35 +00:00
icon = QUOTE(PATHTOF(UI\Icon_Module_CheckPBO_ca.paa));
2015-01-11 18:06:21 +00:00
class Arguments {
class Action {
displayName = "$STR_ACE_Common_CheckPBO_Action_DisplayName";
description = "$STR_ACE_Common_CheckPBO_Action_Description";
2015-01-11 18:06:21 +00:00
class values {
class WarnOnce {
default = 1;
name = "$STR_ACE_Common_CheckPBO_Action_WarnOnce";
2015-01-11 18:06:21 +00:00
value = 0;
};
class Warn {
name = "$STR_ACE_Common_CheckPBO_Action_WarnPerm";
2015-01-11 18:06:21 +00:00
value = 1;
};
class Kick {
name = "$STR_ACE_Common_CheckPBO_Action_Kick";
2015-01-11 18:06:21 +00:00
value = 2;
};
};
};
class CheckAll {
displayName = "$STR_ACE_Common_CheckPBO_CheckAll_DisplayName";
description = "$STR_ACE_Common_CheckPBO_CheckAll_Description";
2015-01-11 18:06:21 +00:00
typeName = "BOOL";
defaultValue = 0;
2015-01-11 18:06:21 +00:00
};
class Whitelist {
displayName = "$STR_ACE_Common_CheckPBO_Whitelist_DisplayName";
description = "$STR_ACE_Common_CheckPBO_Whitelist_Description";
2015-01-11 18:06:21 +00:00
typeName = "STRING";
class values {
default = "[]";
};
};
};
class ModuleDescription: ModuleDescription {
description = "$STR_ACE_Common_CheckPBO_Description";
};
2015-01-11 18:06:21 +00:00
};
class ACE_ModuleLSDVehicles: Module_F {
2015-01-12 18:22:58 +00:00
author = "$STR_ACE_Common_ACETeam";
category = "ACE";
displayName = "$STR_ACE_Common_LSDVehicles_DisplayName";
2015-01-12 18:22:58 +00:00
function = "ACE_Common_fnc_moduleLSDVehicles";
2015-01-11 18:06:21 +00:00
scope = 2;
2015-03-25 05:32:08 +00:00
icon = QUOTE(PATHTOF(UI\Icon_Module_LSD_ca.paa));
2015-01-11 18:06:21 +00:00
isGlobal = 1;
class Arguments {
};
class ModuleDescription: ModuleDescription {
description = "$STR_ACE_Common_LSDVehicles_Description";
sync[] = {"AnyVehicle"};
};
2015-01-11 18:06:21 +00:00
};
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
2015-01-12 18:22:58 +00:00
author = "$STR_ACE_Common_ACETeam";
displayName = "$STR_ACE_Common_MiscItems";
2015-01-11 18:06:21 +00:00
transportMaxWeapons = 9001;
transportMaxMagazines = 9001;
transportMaxItems = 9001;
2015-04-04 06:51:22 +00:00
maximumload = 9001;
2015-01-11 18:06:21 +00:00
class TransportWeapons {};
class TransportMagazines {};
class TransportItems {};
class TransportBackpacks {};
};
2015-04-02 23:27:22 +00:00
class Item_Base_F;
class ACE_bananaItem: Item_Base_F {
scope = 2;
scopeCurator = 2;
displayName = "$STR_ACE_Common_bananaDisplayName";
2015-04-02 23:27:22 +00:00
author = "$STR_ACE_Common_ACETeam";
vehicleClass = "Items";
class TransportItems
{
class ACE_banana
{
name = "ACE_banana";
count = 1;
};
};
};
};