Quick-Start Modding

tips? help?

okay, so I have a mod that's currently under construction, and so far I've added one new race.

Now I need to set up the quick start for that race; how do I do this? I gather it's in the GalaxyScenarioDef file.

2,983 views 4 replies
Reply #1 Top

yes it is

you will find it half way down the huge file were it says

 planetItemsTemplate
 templateName "Template:DefaultHomePlanetSetup"
 subTemplates 0
 groups 6
  group
   condition
    type "PlanetOwnerIsRaceNormalStart"
    param "Tech"
   owner "PlanetOwner"
   colonizeChance 1
   items 3
    item "Tech:Module:FrigateFactory"
    item "Tech:Frigate:Constructor"
    item "Tech:Frigate:Constructor"
  group
   condition
    type "PlanetOwnerIsRaceNormalStart"
    param "Psi"
   owner "PlanetOwner"
   colonizeChance 1
   items 3  
    item "Psi:Module:FrigateFactory"
    item "Psi:Frigate:Constructor"
    item "Psi:Frigate:Constructor"
  group
   condition
    type "PlanetOwnerIsRaceNormalStart"
    param "Phase"
   owner "PlanetOwner"
   colonizeChance 1
   items 3
    item "Phase:Module:FrigateFactory"
    item "Phase:Frigate:Constructor"
    item "Phase:Frigate:Constructor"
  group
   condition
    type "PlanetOwnerIsRaceQuickStart"
    param "Tech"
   owner "PlanetOwner"
   colonizeChance 1
   items 10
    item "Tech:Module:FrigateFactory"
    item "Tech:Module:CapitalShipFactory"
    item "Tech:Module:MetalExtractor"
    item "Tech:Module:MetalExtractor"
    item "Tech:Module:CrystalExtractor"
    item "Tech:Module:CrystalExtractor"
    item "Tech:Frigate:Constructor"
    item "Tech:Frigate:Constructor"
    item "Tech:Frigate:Scout"
    item "Tech:Frigate:Scout"
  group
   condition
    type "PlanetOwnerIsRaceQuickStart"
    param "Psi"
   owner "PlanetOwner"
   colonizeChance 1
   items 10
    item "Psi:Module:FrigateFactory"
    item "Psi:Module:CapitalShipFactory"
    item "Psi:Module:MetalExtractor"
    item "Psi:Module:MetalExtractor"
    item "Psi:Module:CrystalExtractor"
    item "Psi:Module:CrystalExtractor"
    item "Psi:Frigate:Constructor"
    item "Psi:Frigate:Constructor"
    item "Psi:Frigate:Scout"
    item "Psi:Frigate:Scout"
  group
   condition
    type "PlanetOwnerIsRaceQuickStart"
    param "Phase"
   owner "PlanetOwner"
   colonizeChance 1
   items 10
    item "Phase:Module:FrigateFactory"
    item "Phase:Module:CapitalShipFactory"
    item "Phase:Module:MetalExtractor"
    item "Phase:Module:MetalExtractor"
    item "Phase:Module:CrystalExtractor"
    item "Phase:Module:CrystalExtractor"
    item "Phase:Frigate:Constructor"
    item "Phase:Frigate:Constructor"
    item "Phase:Frigate:Scout"
    item "Phase:Frigate:Scout"

just add to these points making sure to change the group count to 8

and then change I believe

playerTypeCount 4
playerType
 designName "Tech"
 entityDefName "PlayerTech"
playerType
 designName "Psi"
 entityDefName "PlayerPsi"
playerType
 designName "Phase"
 entityDefName "PlayerPhase"
playerType
 designName "Pirate"
 entityDefName "PlayerPirate"

again make sure of the count is 5

Reply #2 Top

well, I've tried applying the changes, but the game doesn't like what I do for some reason.

It also gives me the following error-

Assert @ c:\gs\entrenchment\CodeSource\Engine/Archive/TextFileArchive.cpp(183)

*stringSrc == _T('"')

However, I get the error on loadup of my mod regardless. I have no idea what this error means. It's just that when I include the GalaxyScenarioDef file, it minidumps on startup of the mod.

Reply #3 Top

YEP!!

I ALWAYS get that error.

However, it never affects anything.....never minidumps for me.

Would be nice to finaly get rid of that error if someone has a solution?

Reply #4 Top

i will have to admit I have never added on a new race :blush:

but I do know that the GSD file is a pain in the butt

make sure of all spelling, capitalization (this always gets me (BattleShip, not Battleship), and punctation

and do feel free to experiment a little to (which I know you do) but back it up (which I will assume you do)