- Add mission config, params, and function registrations - Implement faction helpers and mission generators - Include setup docs, CBA settings, and mission scaffolding
42 lines
2.1 KiB
C++
42 lines
2.1 KiB
C++
/*
|
|
* Enemy faction options for the PMC simulator setup flow.
|
|
*
|
|
* Consumers:
|
|
* - forge_pmc_fnc_getEnemyFactionOptions reads this config for the startup UI.
|
|
* - forge_pmc_fnc_resolveEnemyFactionParam maps mission param values back to
|
|
* faction classnames during fallback/default setup.
|
|
* - Mission generators use ENEMY_FACTION_STR and ENEMY_SIDE after setup has
|
|
* applied the selected option.
|
|
*
|
|
* Keep this list aligned with the server modpack. Classnames that are not
|
|
* present in CfgFactionClasses may still appear in the UI, but downstream unit
|
|
* pool generation may fall back or fail to find units.
|
|
*
|
|
* BLUFOR/WEST factions are intentionally omitted because generated missions use
|
|
* these options as opposing forces.
|
|
*/
|
|
class CfgEnemyFactions {
|
|
/*
|
|
* Option format:
|
|
* - class name: stable config entry name, normally matching the faction.
|
|
* - value: legacy mission param numeric value.
|
|
* - faction: CfgFactionClasses classname used for spawning.
|
|
* - display: user-facing label shown in the setup UI.
|
|
*/
|
|
class Options {
|
|
class OPF_F { value = 0; faction = "OPF_F"; display = "CSAT"; };
|
|
class OPF_T_F { value = 1; faction = "OPF_T_F"; display = "CSAT (Pacific)"; };
|
|
class OPF_V_F { value = 2; faction = "OPF_V_F"; display = "Viper"; };
|
|
class OPF_R_F { value = 3; faction = "OPF_R_F"; display = "Spetnaz"; };
|
|
class OPF_SFIA_lxWS { value = 4; faction = "OPF_SFIA_lxWS"; display = "SFIA"; };
|
|
class OPF_TURA_lxWS { value = 5; faction = "OPF_TURA_lxWS"; display = "Tura"; };
|
|
class IND_F { value = 6; faction = "IND_F"; display = "AAF"; };
|
|
class IND_G_F { value = 7; faction = "IND_G_F"; display = "FIA"; };
|
|
class IND_E_F { value = 8; faction = "IND_E_F"; display = "LDF"; };
|
|
class IND_C_F { value = 9; faction = "IND_C_F"; display = "Syndikat"; };
|
|
class IND_L_F { value = 10; faction = "IND_L_F"; display = "Looters"; };
|
|
class IND_SFIA_lxWS { value = 11; faction = "IND_SFIA_lxWS"; display = "SFIA"; };
|
|
class IND_TURA_lxWS { value = 12; faction = "IND_TURA_lxWS"; display = "Tura"; };
|
|
};
|
|
};
|