How Can I Change AI Player Names in Galaxy Forge?

Hi, I'm building a map and would like to pre-set the names of the players I'm putting into the map. I go to Edit Players, set the "In-Game Name" to what I want, but when I play, the original SINS names are still used (ie "Nitheim Rebels", "Luopica Colonists", etc). How can I change this? 

8,449 views 8 replies
Reply #1 Top

I am pretty sure you need to make a separate mod for that. The race names are in String\English and the modded galaxy would need the GameInfo\GalaxyScenarioDef.galaxyScenarioDef modified. 

I am not much into map making but I do know it has its limitations.

Reply #2 Top

What about adding militia planets? I tried messing around with the planet templates, but none of militia ships or structures I tried adding were there...

Reply #3 Top

Well I am pretty good at speed reading and skipping the crap but I went through almost every post in the pinned beginners guide. Look for the long ones, they explain a lot or wait for harpo, our resident map master. 

Reply #4 Top

Quoting jozmar, reply 2
What about adding militia planets? I tried messing around with the planet templates, but none of militia ships or structures I tried adding were there...
End of jozmar's quote

I think Harpo has a quicker way, but here is how I do it.

1. Edit the planet you want the militia to appear on and add the desired amount of forces/structures.

2. Remember that planet's name, and save your map. Remember where you saved it, find the .galaxy file, right click and open with notepad.

3. Find the planet you wanted to have the militia around. You should see a list of all your added units. Change the owner to "RandomMilitia" (in practice you can also use "Pirate")

4. If you want the militia to own the planet (needed for structures to appear), set the colonize chance to 1.0

5. Save the file and the independent colony should be their.

Reply #5 Top

Ok, I edited the file, but the militia still did not appear. Perhaps I didn't edit the templates correctly? Which exact steps must I follow when I edit the planet templates?

Reply #6 Top

here is my randommilitia template

template
    templateName "RandomMilitia"
    subTemplates 0
    groups 10
    group
        condition
            type "Always"
            param ""
        owner "RandomMilitia"
        colonizeChance 1
        items 23
        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:Module:CultureCenter"
        item "Tech:Module:FrigateFactory"
        item "Tech:Module:CapitalShipFactory"
        item "Tech:Module:HangarDefense"
        item "Tech:Module:GaussDefense"
        item "Tech:Module:RepairPlatform"
        item "Tech:Frigate:AntiFighter"
        item "Tech:Frigate:Carrier"
        item "Tech:Frigate:Colony"
        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:Frigate:Constructor"
        item "Tech:Frigate:Constructor"
    group
        condition
            type "PlanetOwnerIsMilitiaWithChance"
            param "0.8"
        owner "RandomMilitia"
        colonizeChance 1.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.6"
        owner "RandomMilitia"
        colonizeChance 1.000000
        items 10
        item "Tech:Module:GaussDefense"
        item "Tech:Module:HangarDefense"
        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"
    group
        condition
            type "PlanetOwnerIsMilitiaWithChance"
            param "0.4"
        owner "RandomMilitia"
        colonizeChance 1.000000
        items 10
        item "Tech:Frigate:Utility1"
        item "Tech:Frigate:Utility0"
        item "Tech:Frigate:Siege"
        item "Tech:Frigate:LongRange"
        item "Tech:Frigate:Light"
        item "Tech:Frigate:Heavy"
        item "Tech:Frigate:Carrier"
        item "Tech:Frigate:AntiFighter"
        item "Tech:Module:HangarDefense"
        item "Tech:Module:GaussDefense"
    group
        condition
            type "PlanetOwnerIsMilitiaWithChance"
            param "0.35"
        owner "RandomMilitia"
        colonizeChance 1.000000
        items 10
        item "Tech:Module:GaussDefense"
        item "Tech:Module:HangarDefense"
        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"
    group
        condition
            type "PlanetOwnerIsMilitiaWithChance"
            param "0.3"
        owner "RandomMilitia"
        colonizeChance 1.000000
        items 10
        item "Tech:Frigate:Utility1"
        item "Tech:Frigate:Utility0"
        item "Tech:Frigate:Siege"
        item "Tech:Frigate:LongRange"
        item "Tech:Frigate:Light"
        item "Tech:Frigate:Heavy"
        item "Tech:Frigate:Carrier"
        item "Tech:Frigate:AntiFighter"
        item "Tech:Module:GaussDefense"
        item "Tech:Module:HangarDefense"
    group
        condition
            type "PlanetOwnerIsMilitiaWithChance"
            param "0.25"
        owner "RandomMilitia"
        colonizeChance 1.000000
        items 10
        item "Tech:Module:HangarDefense"
        item "Tech:Module:GaussDefense"
        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"
    group
        condition
            type "PlanetOwnerIsMilitiaWithChance"
            param "0.2"
        owner "RandomMilitia"
        colonizeChance 1.000000
        items 10
        item "Tech:Frigate:Utility1"
        item "Tech:Frigate:Utility0"
        item "Tech:Frigate:Siege"
        item "Tech:Frigate:LongRange"
        item "Tech:Frigate:Light"
        item "Tech:Frigate:Heavy"
        item "Tech:Frigate:Carrier"
        item "Tech:Frigate:AntiFighter"
        item "Tech:Module:GaussDefense"
        item "Tech:Module:HangarDefense"
    group
        condition
            type "PlanetOwnerIsMilitiaWithChance"
            param "0.15"
        owner "RandomMilitia"
        colonizeChance 1.000000
        items 10
        item "Tech:Module:HangarDefense"
        item "Tech:Module:GaussDefense"
        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"
    group
        condition
            type "PlanetOwnerIsMilitiaWithChance"
            param "0.1"
        owner "RandomMilitia"
        colonizeChance 1.000000
        items 10
        item "Tech:Frigate:Utility1"
        item "Tech:Frigate:Utility0"
        item "Tech:Frigate:Siege"
        item "Tech:Frigate:LongRange"
        item "Tech:Frigate:Light"
        item "Tech:Frigate:Heavy"
        item "Tech:Frigate:Carrier"
        item "Tech:Frigate:AntiFighter"
        item "Tech:Module:GaussDefense"
        item "Tech:Module:HangarDefense"



just set the template name to randommilitia and paste the template at the end of the map.

just one warning if you have too many of this template in use you can make a map a slideshow at the start and on through the game even on an oc'd i7 beast, and it is map dependent speed as other maps play fast in comparison. and if you want a planet to be resistant or self-recolonising add a colony frigate /colony cap to the early spawns in the template.

harpo

 

Reply #7 Top

GoaFan77: Thanks! That worked perfectly!

Harpo: When I tried your template, my Diplomacy was having issues, but thanks anyway =D Do you have any suggestions about the AI player names, though?

Reply #8 Top

player name= no idea other than a mod with custom strings

and the map template does work for me in diplomacy, but even my i7 beast slideshows with it

harpo