Racially Based Starting Points

Well, I have dipped into making maps. Much simpler and more satisfying for me. I have, however, a problem.

 

I am making a map for Sacrifice of Angels and require that the races start at set planets. IE, I have  Borg Homeworld. How do I ensure that, whoever players the Borg, whether is be player 0, 1, 2, whatever...how do I ensure that the player playing as the borg starts always at the designated Bory Homeworld on the map?

5,046 views 7 replies
Reply #1 Top

you would have to study the coding under the map entity files, not sure entirely if it is possible or not or even how to do it

Reply #2 Top

Where do I find the entity files for the maps? GameInfo?

Reply #3 Top

galaxy folder

Reply #4 Top

another suggestion is to turn off randomize starting positions in galaxyforge before you save the map, which will set the player start # to the planet only, otherwise you have to spawn the ships for the player at the planet and have the default start as no ships spawned, but that could cause the instant win/defeat and gets quite messy

harpo

 

Reply #5 Top

yeah that could be done but you couldn't have the random placements if that is what Carl is looking for

Reply #6 Top

Quoting harpo99999, reply 4
another suggestion is to turn off randomize starting positions in galaxyforge before you save the map, which will set the player start # to the planet only, otherwise you have to spawn the ships for the player at the planet and have the default start as no ships spawned, but that could cause the instant win/defeat and gets quite messy

harpo

 

 

Yes I have done that. But what happens then is if player 1(Federation) Chooses a different race...he is still the Federation only with the picture set for the race he chose.

Reply #7 Top

This is from the Celestial Bodies Sol System map. There are 2 players, one of which is UN or United Nations.

planetCount 25
planet
    designName "SolSystem_Terra"
    inGameName "Terra"
    type "SolSystemTerra"
    pos [ 240 , 249 ]
    owner "UN"
    isHomePlanet TRUE

 

The "owner" is linked to players at the bottom of the map.

playerCount 2
player
    designName "UN"
    inGameName "United Nations"
    overrideRaceName "Tech"
    teamIndex -1

You could try messing with those values to see what will work but I am not a map maker. Try the designName from the SOA2 GalaxyScenarioDef.galaxyScenarioDef in its place and see what happens.

But these planets are different and not just Terran_Home. "SolSystem_Terra" is a separate planet added by celestial bodies.