ACE3/addons/common/CfgVehicles.hpp

127 lines
3.4 KiB
C++
Raw Normal View History

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_Module: Module_F {};
class ACE_ModuleCheckPBOs: ACE_Module {
author = CSTRING(ACETeam);
category = "ACE";
displayName = CSTRING(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 = CSTRING(CheckPBO_Action_DisplayName);
description = CSTRING(CheckPBO_Action_Description);
2015-01-11 18:06:21 +00:00
class values {
class WarnOnce {
default = 1;
name = CSTRING(CheckPBO_Action_WarnOnce);
2015-01-11 18:06:21 +00:00
value = 0;
};
class Warn {
name = CSTRING(CheckPBO_Action_WarnPerm);
2015-01-11 18:06:21 +00:00
value = 1;
};
class Kick {
name = CSTRING(CheckPBO_Action_Kick);
2015-01-11 18:06:21 +00:00
value = 2;
};
};
};
class CheckAll {
displayName = CSTRING(CheckPBO_CheckAll_DisplayName);
description = CSTRING(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 = CSTRING(CheckPBO_Whitelist_DisplayName);
description = CSTRING(CheckPBO_Whitelist_Description);
2015-01-11 18:06:21 +00:00
typeName = "STRING";
class values {
default = "[]";
};
};
};
class ModuleDescription: ModuleDescription {
description = CSTRING(CheckPBO_Description);
};
2015-01-11 18:06:21 +00:00
};
class ACE_ModuleLSDVehicles: ACE_Module {
author = CSTRING(ACETeam);
category = "ACE";
displayName = CSTRING(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 = CSTRING(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 {
author = CSTRING(ACETeam);
displayName = CSTRING(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 = CSTRING(bananaDisplayName);
author = CSTRING(ACETeam);
2015-04-02 23:27:22 +00:00
vehicleClass = "Items";
class TransportItems
{
class ACE_banana
{
name = "ACE_banana";
count = 1;
};
};
};
};