Issue with Militia on custom map...
Ok, Having an issue trying to make a "RandomMilitia" template for use on some of the planets on my map. I finally got the map to where it is colonized by the Militia and has its default force (the group in the template with type set to "Always"), but none of the groups set to ""PlanetOwnerIsMilitiaWithChance" groups every take effect even if I set the param to 0.9. Look below for an excerpt from my galaxy file:
TXT
versionNumber 4
isBrowsable TRUE
browsePictureName ""
browseName ""
browseDescription "TODO - Add Description Here."
isFirstCapitalShipIsFlagship TRUE
randomizeStartingPositions FALSE
planetArtifactDensity 0.000000
planetBonusDensity 0.750000
normalStartHomePlanetUpgradeLevel:Population 3
normalStartHomePlanetUpgradeLevel:CivilianModules 1
normalStartHomePlanetUpgradeLevel:TacticalModules 0
normalStartHomePlanetUpgradeLevel:Home 1
normalStartHomePlanetUpgradeLevel:ArtifactLevel 10
normalStartHomePlanetUpgradeLevel:Infrastructure 2
quickStartHomePlanetUpgradeLevel:Population 3
quickStartHomePlanetUpgradeLevel:CivilianModules 3
quickStartHomePlanetUpgradeLevel:TacticalModules 3
quickStartHomePlanetUpgradeLevel:Home 1
quickStartHomePlanetUpgradeLevel:ArtifactLevel 10
quickStartHomePlanetUpgradeLevel:Infrastructure 3
recommendedGameTypeCount 0
metersPerGalaxyUnit 50000.000000
pixelsPerGalaxyUnit 2.000000
useRandomGenerator FALSE
galaxyWidth 6298.000000
galaxyHeight 4639.000000
nextStarNameUniqueId 9
nextPlanetNameUniqueId 102
triggerCount 0
starCount 4
star
designName "Star0"
inGameName ""
type "RandomNonGreenStar"
pos [ 3465 , 2343 ]
radius 200.000000
moveAreaRadius 60000.000000
hyperspaceExitRadius 40000.000000
planetCount 20
.
.
.
planet
designName "Planet3"
inGameName ""
type "Desert"
pos [ 3494 , 2382 ]
moveAreaRadius 40000.000000
hyperspaceExitRadius 30000.000000
owner "RandomMilitia"
isHomePlanet FALSE
normalStartUpgradeLevelForPopulation 3
normalStartUpgradeLevelForCivilianModules 1
normalStartUpgradeLevelForTacticalModules 0
normalStartUpgradeLevelForArtifacts 10
normalStartUpgradeLevelForInfrastructure 2
quickStartUpgradeLevelForPopulation 4
quickStartUpgradeLevelForCivilianModules 1
quickStartUpgradeLevelForTacticalModules 0
quickStartUpgradeLevelForArtifacts 10
quickStartUpgradeLevelForInfrastructure 2
planetItems
templateName ""
subTemplates 1
template "RandomMilitia"
groups 1
group
condition
type "Always"
param ""
owner "NoOwner"
colonizeChance 0.000000
items 4
item "Artifact:PlanetaryOrganicAI"
item "Bonus:StrictSecurity"
item "Bonus:StrictSecurity"
item "Bonus:StrictSecurity"
spawnProbability 1.000000
useDefaultTemplate FALSE
entityCount 0
asteroidCount 0
.
.
.
templates 1
template
templateName "RandomMilitia"
subTemplates 0
groups 11
group
condition
type "Always"
param ""
owner "RandomMilitia"
colonizeChance 0.000000
items 18
item "Tech:Module:CrystalExtractor"
item "Tech:Module:CrystalExtractor"
item "Tech:Module:MetalExtractor"
item "Tech:Module:MetalExtractor"
item "Tech:Module:CombatLab"
item "Tech:Module:NonCombatLab"
item "Tech:Frigate:AntiFighter"
item "Tech:Frigate:Light"
item "Tech:Frigate:Colony"
item "Tech:Frigate:Heavy"
item "Tech:Frigate:Light"
item "Tech:Frigate:Light"
item "Tech:Frigate:LongRange"
item "Tech:Frigate:LongRange"
item "Tech:Frigate:AntiFighter"
item "Tech:Frigate:Constructor"
item "Tech:Frigate:Constructor"
item "Tech:CapitalShip:Colony"
group
condition
type "PlanetOwnerIsMilitiaWithChance"
param "0.9"
owner "RandomMilitia"
colonizeChance 0.000000
items 11
item "Tech:Frigate:AntiFighter"
item "Tech:Frigate:Carrier"
item "Tech:Frigate:Heavy"
item "Tech:Frigate:Light"
item "Tech:Frigate:LongRange"
item "Tech:Frigate:Siege"
item "Tech:Frigate:Utility0"
item "Tech:Frigate:Utility1"
item "Tech:Module:HangarDefense"
item "Tech:Module:GaussDefense"
item "Tech:Module:RepairPlatform"
group
condition
type "PlanetOwnerIsMilitiaWithChance"
param "0.9"
owner "RandomMilitia"
colonizeChance 0.000000
items 10
item "Tech:Module:GaussDefense"
item "Tech:Module:CultureCenter"
item "Tech:Frigate:AntiFighter"
item "Tech:Frigate:Carrier"
item "Tech:Frigate:Heavy"
item "Tech:Frigate:Light"
item "Tech:Frigate:LongRange"
item "Tech:Frigate:Siege"
item "Tech:Frigate:Utility0"
item "Tech:Frigate:Utility1"
.
.
.
Edit: fixed formatting
Any Ideas as to what I am doing wrong?