View Single Post
  #2  
Old October 21st, 2006, 03:25 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default 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.
Reply With Quote