forge/arma/forge_pmc_simulator.Tanoa/CfgFactionUnitMap.hpp
Jacob Schmidt afb3c665af Add PMC simulator mission pack and setup flow
- Add mission config, params, and function registrations
- Implement faction helpers and mission generators
- Include setup docs, CBA settings, and mission scaffolding
2026-05-22 22:38:38 -05:00

32 lines
1.1 KiB
C++

/*
* Optional faction-to-unit template map.
*
* Current behavior:
* - Enemy unit pools are primarily built from CfgGroups/CfgVehicles through
* forge_pmc_fnc_getEnemyFactionUnitPool.
* - This config is a template for deterministic per-faction unit pools if the
* automatic faction lookup is not specific enough for a server/modpack.
*
* To enable this map, wire it into forge_pmc_fnc_getEnemyFactionUnitPool or the
* generator spawn path before falling back to config traversal.
*/
class CfgFactionUnitMap {
/*
* Mapping key should match the selected faction classname from
* CfgEnemyFactions.Options[].faction, such as "IND_G_F".
*/
class IND_G_F {
/*
* Unit template fields:
* - vehicle: unit classname to spawn.
* - rank: Arma rank string applied after spawn.
* - position[]: base local offset from the generated mission position.
*
* Generators may add small random jitter to the position offset.
*/
class Units {
class Unit0 { vehicle = "Ind_G_Unit1_F"; rank = "SERGEANT"; position[] = {0,0,0}; };
};
};
};