galaxyscenariodef-help!

group
   condition
    type "PlanetOwnerIsMilitiaWithChance"
    param ".5"
   owner "PlanetOwner"
   colonizeChance 0
   items 4
    item "Tech:Frigate:Siege"
    item "Tech:Frigate:Siege"
    item "Tech:Frigate:AntiFighter" 
    item "Tech:Module:HangarDefense"

this is item 1... is the param the chance for this set of ships?  If I replace Tech with Psi will it be advent ships?  Frigate:Siege with Capship:Psibattle?

group
   condition
    type "PlanetOwnerIsMilitia"
    param ""
   owner "PlanetOwner"
   colonizeChance 0
   items 6
    item "Tech:Frigate:Light"
    item "Tech:Frigate:AntiFighter"
    item "Tech:Frigate:Siege"
    item "Tech:Module:GuassDefense"
    item "Tech:Module:MetalExtractor"
    item "Tech:Module:CrystalExtractor"

item 2... so since there's no param, what does this mean? Is Guass a misprint for Gauss?

4,916 views 7 replies
Reply #1 Top
a side note: after trying some stuff the game wouldn't start anymore... had to replace file with original and start over... hmmmm
Reply #2 Top
is the param the chance for this set of ships?

Yes

If I replace Tech with Psi will it be advent ships?

Yes

Frigate:Siege with Capship:Psibattle?

Those are incorrectly formatted. It has to be "Psi:Frigate:Siege" to match one of the items in the list further up in the galaxyscenariodef file.

so since there's no param, what does this mean?

The condition type doesn't have a parameter. "PlanetOwnerIsMilitia" is either true or it is false.

Is Guass a misprint for Gauss?

Yep.
Reply #3 Top
so can I add/change to this file without breaking the game?
Reply #4 Top
Yes, you can edit the galaxyscenariodef file without breaking the game, I would point out however that if you choose to add or takeaway anything there are Counts for pretty much everything which need to be changed, in your examples above they would be the "items 4" and "items 6" lines but there are Many others, so just read the file carefully.
Reply #5 Top
planetItemsTemplate
templateName "Template:DefaultHomePlanetSetup"
subTemplates 0
groups 3
group
condition
type "PlanetOwnerIsRace"
param "Tech"
colonizeChance 1
items 4(changed from 3)
item "Tech:Module:FrigateFactory"
item "Tech:Frigate:Constructor"
item "Tech:Frigate:Constructor"
item "Tech:CapitalShip:BattleShip"(added)

ingame, now, I start with nothing. no frigate factory, no constructors, nothing. why?
Reply #6 Top
hmmmmmmm.... Interesting

When I messed with this part and got an empty gravitywell, it was because I added a fourth race and didn't add it as a player option, but this should have worked for you.

Currently I have a version with fifty extra things (but they all defined as frigates because it seemed to like frigates better), and it works (but it's a badly done workaround) :NOTSURE:

Reply #7 Top
I can turn the module into a different module, I can add frigates, but otherwise... This must be hardcoded or something, though I'd like to hear about your workaround.