Edititng Planetary Templates

Hey all I been working on a solo map for the SOA2 mod using sins entrenchment ver 1.051 but I have run into a little snag designing planet templates. I know I am using a mod and yes I have posted my question to that specific mod thread but since this really is just a mapping question in reality I figured I post out here to get a possible bigger response.

Just so you know I read a lot that is out there regarding the subject like

Galaxy Creation – Reference Guide

https://forums.sinsofasolarempire.com/163650/page/3/#replies

Scenario Template Modding: Adding custom stuff to planets

https://forums.sinsofasolarempire.com/339832

Scenario Templates -A How To

https://forums.sinsofasolarempire.com/329520

 

And yet I must be missing something. Just so you know I want to setup specific planets to specific races with specific starting items. I have the latest Forge but I still use a text editor for the most part 

Here is what I currently have

    planet
        designName "Planet2"
        inGameName "Terra"
        type "TerranHome"
        pos [ 7220 , 8823 ]
        owner "Federation"
        isHomePlanet TRUE
        normalStartUpgradeLevelForPopulation 3
        normalStartUpgradeLevelForCivilianModules 1
        normalStartUpgradeLevelForTacticalModules 1
        normalStartUpgradeLevelForArtifacts 2
        normalStartUpgradeLevelForInfrastructure 1
        quickStartUpgradeLevelForPopulation 0
        quickStartUpgradeLevelForCivilianModules 0
        quickStartUpgradeLevelForTacticalModules 0
        quickStartUpgradeLevelForArtifacts 0
        quickStartUpgradeLevelForInfrastructure 0
        planetItems
            templateName ""
            subTemplates 1
            template "Terra"
            groups 0
        spawnProbability 1.000000
        useDefaultTemplate FALSE

 

and the down after players I added

templates 1
template
    templateName "Terra"
    subTemplates 0
    groups 1
        group
            condition
                type "PlanetOwnerIsRace"
                param "Fed"
            owner "Federation"
            colonizeChance 1.000000
            items 7
                item "Fed:Module:FrigateFactory"
                item "Fed:Frigate:Constructor"
                item "Fed:Frigate:Constructor"
                item "Fed:Frigate:Constructor"
                item "Fed:Frigate:Constructor"
                item "Fed:Module:MetalExtractor"
                item "Fed:Module:CrystalExtractor"

 

As I said I use SOA2 so that's why the items are not stock,, but clearly my issue is a formatting or missing parameter any help would be greatly appreciated.

8,043 views 5 replies
Reply #1 Top

OK I got no dump now but now items either had a s in fed as in feds. Is this just a version issue example a original sins versus entrenchment issue. I noticed in other maps i studied there versions were either 0 or 1.

Reply #2 Top

the map versions refer to the original vanilla sins map version and the different lines that were wanted for map versions BEFORE mapversion 3 which is the current version and has MAJOR differences between the earlier versions and current in that the current has the five quickstart & normalstart lines FOR ALL planets & players, and also should be in the templates as well.

and the differences beween the mapversion 0 > 1 was one added line near the top of the file

mapversion 1>2 was one added line near the top of the file

and ALL mapversion 3 maps will play (if they have the required ships/planets/suns for a given mod if the mod is available for the expansion/base game) in all versions ie vanilla sins,entrenchment & diplomacy.

harpo

 

Reply #3 Top

Thanks Harpo I pretty much given up trying to customize particular planets from the Galaxy Map File I can do it just fine making new templates in the GalaxyScenarioDef file so I'll just go with that and get on to map making.

Reply #4 Top

actually the same template format will work in a galaxy file, just remember that the galaxyforge3 has some bugs regarding the ownerisracequickstart & ownerisracenormalstart entries where galaxy forge claims it crashes, but if you click on the ignore button you can keep working, and you can also add the templates to the emd of the map and manually alter the templates # line.

harpo

 

Reply #5 Top

Quoting harpo99999, reply 4
actually the same template format will work in a galaxy file, just remember that the galaxyforge3 has some bugs regarding the ownerisracequickstart & ownerisracenormalstart entries where galaxy forge claims it crashes, but if you click on the ignore button you can keep working, and you can also add the templates to the emd of the map and manually alter the templates # line.

harpo

 

 

Really I tried everything to get it to work and got nothing, works well in the GameScenarioDef file maybe I'll give it another try today with a template I have used successfully Thanks Harpo