ACE3/addons/missionmodules/CfgVehicles.hpp

69 lines
1.8 KiB
C++
Raw Normal View History

2015-02-17 06:51:51 +00:00
class CfgVehicles {
class Logic;
class Module_F: Logic {
class ArgumentsBaseUnits {
};
};
// TODO make a curator variant for this
class ACE_moduleAmbianceSound: Module_F {
scope = 2;
displayName = "Ambiance Sounds [ACE]";
2015-03-23 19:02:35 +00:00
icon = QUOTE(PATHTOF(UI\Icon_Module_Ambient_Sounds_ca.paa));
2015-02-17 06:51:51 +00:00
category = "ACE_missionModules";
2015-02-19 17:40:40 +00:00
function = QUOTE(FUNC(moduleAmbianceSound));
2015-02-17 06:51:51 +00:00
functionPriority = 1;
isGlobal = 1;
isTriggerActivated = 0;
author = "Glowbal";
class Arguments {
class soundFiles {
displayName = "Sounds";
description = "Classnames of the ambiance sounds played. Seperated by ','. ";
typeName = "STRING";
defaultValue = "";
};
class minimalDistance {
displayName = "Minimal Distance";
description = "Minimal Distance";
typeName = "NUMBER";
defaultValue = 400;
};
class maximalDistance {
displayName = "Maximal Distance";
description = "Maximal Distance";
typeName = "NUMBER";
defaultValue = 900;
};
class minimalDelay {
displayName = "Minimal Delay";
description = "Minimal Delay between sounds played";
typeName = "NUMBER";
defaultValue = 10;
};
class maximalDelay {
displayName = "Maximal Delay";
description = "Maximal Delay between sounds played";
typeName = "NUMBER";
defaultValue = 170;
};
class followPlayers {
displayName = "Follow Players";
description = "Follow players. If set to false, loop will play sounds only nearby logic position.";
typeName = "BOOL";
defaultValue = 0;
};
class soundVolume {
displayName = "Volume";
description = "The volume of the sounds played";
typeName = "NUMBER";
2015-02-19 17:40:40 +00:00
defaultValue = 1;
2015-02-17 06:51:51 +00:00
};
};
class ModuleDescription {
description = "Ambiance sounds loop (synced across MP)";
sync[] = {};
};
};
};