tupolov / cfp

Community Factions Project
Other
21 stars 10 forks source link

Support static weapons groups and units #88

Closed ampersand38 closed 4 years ago

ampersand38 commented 5 years ago

BIS_fnc_packStaticWeapon requires three personnel in the team: Team Leader, Gunner and Asst. Gunner. Gunner and Asst. Gunner must have vehicleClass = "MenSupport";

BIS_fnc_packStaticWeapon works with this config patch and adding a leader unit to the group. config.cpp.txt

Vanilla support gunners are inherited through ["B_Soldier_support_base_F","B_Soldier_base_F","SoldierWB","CAManBase","Man","Land","AllVehicles","All"].

I'm guessing it's better to add vehicleClass = "MenSupport"; to all the support gunners than to mess with the existing inheritance hierarchy?

ampersand38 commented 5 years ago

Here are all the CfgGroups.hpp with group leaders added.

cfp.zip

AUTigerGrad commented 4 years ago

Thank you, fixed in Dev for the next release.