ive seen this problem a lot you have custom HWP with inventories like tanks that can wield swords etc
make your unit be a terrorist
rank : STR_LIVE_TERRORIST ...this disables a unit's inventory .works on HWP and any unit in the game.
also if you wanna have a unit with built in weapons
BuiltInWeapons:
- WEAPON1
- WEAPON2
...
and make the weapons fixedWeapon: true
and so the unit will have 2 weapons and no inventory.
conversly if you make a terrorist but you make him rank: STR_LIVE_SOLDIER you can access the inventory. the terrorist rank is actually defined by the order in races
races
-type STR_ALIEN
soldier 0
navigator 1
engineer 2
medic 3
leader 4
commander 5
terrorist 6
terrorist 7
game uses 6 and 7 for terrorist
if you want a race of all terrorists just repeat same terror unit 8 times
if you look in mixed is ethereal and all terrorists
if your race is missing engineer and medic just use other ranks for those units
races
-type STR_ALIEN
soldier 0
navigator 1
navigator 2 < the navigator is used instead of engineer
soldier 3 < the soldier is used instead of medic
leader 4
commander 5
terrorist 6
terrorist 7
if anyone has better ideas let me know.