Custom Blacklists

From ALiVE Wiki
Revision as of 04:09, 18 April 2015 by Friznit (Talk | contribs)

Jump to: navigation, search

ALiVE already has a blacklist of units, groups and buildings that have no business being in a military environment. Mission editors can choose to blacklist additional items using the variables below. The variables can be entered in any module init field, such as ALiVE (Required).

Note that to completely remove things like AA from your mission, you will need to blacklist all AA units, vehicles and any Groups that have those classes as well.


Syntax:

ALIVE_MODULE_BLACKLIST = ["classname","classname"];

Variables

ALiVE_MIL_CQB_CUSTOM_STRATEGICHOUSES - Define your custom strategic house classes for CQB (rest will be regular houses).

ALiVE_MIL_CQB_CUSTOM_UNITBLACKLIST - Exclude unit classes from CQB

ALiVE_PLACEMENT_CUSTOM_UNITBLACKLIST - Exclude unit classes from Military Placement spawns

ALiVE_PLACEMENT_CUSTOM_VEHICLEBLACKLIST - Exclude vehicle classes from Military Placement spawns

ALiVE_PLACEMENT_CUSTOM_GROUPBLACKLIST - Exclude group classes from Military Placement spawns


Example (Don't use these classnames, they're just an example)

ALiVE_MIL_CQB_CUSTOM_UNITBLACKLIST = ["O_G_soldier_AA","O_G_soldier_AA_1"]; ALiVE_PLACEMENT_CUSTOM_UNITBLACKLIST = ["O_G_soldier_AA","O_G_soldier_AA_1"];


It is technically possible to overwrite the entire staticdata.sqf but it doesn't appear to be working very well at the moment - see the Discussion page for more info.