Re: Modding Q/A - File: VehicleUnitTypes.txt
That's odd.
I have Brain, Leg, etc... components, which are limited to Infantry and Militia units in GGmod they've properly showed up only on militia/infantry for a long time now.
Speaking of which:
Add a Militia Unit Type
- Add a militia unit type, with the same properties as a Troop.
- In Settings.txt, change the "Ground Combat Militia Troop Vehicle Type" to militia.
- In VehicleSizes.txt, only copy your tiniest troop size (small troop, or infantry, for example) and make them militia.
OPTIONAL: - You can also add a requirement to your militia hull "NOT Empire_Has_Racial_Trait("Pacifists")" Make yourself a -1000 point racial trait called Pacifists - Races with that trait will not have any militia rise up against enemy troops, although they can still build regular troops.
By doing this, you get much more control over what appears as population spawn during ground combats.
- No more Apocalyse tanks being spawned by planetary population in the late game!
- If you make the militia infantry with appropriately scaled hitpoints and weapons, you can crank their numbers up to get a nice angry mob. I suggest Molotov Cocktail weapon components, with spinning, flaming bottle weapon animation.
__________________
Things you want:
|