request to have more control on system generator

Talk among developers, and propose and discuss general development planning/tackling/etc... feature in this forum.
Post Reply
dagg
Bounty Hunter
Bounty Hunter
Posts: 138
Joined: Thu May 22, 2008 8:53 am

request to have more control on system generator

Post by dagg »

we (vt) need the ability to create systems with 3 and 4 suns, is it possible to have more control on the numbers of suns and system size?
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Re: request to have more control on system generator

Post by ace123 »

Have you looked at the first sector of milky_way.xml? (After the planet definitions) It should be called <sector name="unknown_sector"> and it contains the minimum and maximum defaults for each system--the actually values are randomly chosen between the <system name="min"> and <system name="max"> specified there.

There's also minlimit and maxlimit which might serve as absolute caps so they might be overriding what you are putting there.

There should be some definitions for num_stars and num_planets.

If you need more control, you can specify these values individually for each system as well.

For the scaling of the systems there is a configuration variable. The only actual value is the "sun_radius" specified in the .xml file which I think is multiplied by vegastrike.config Section "galaxy", Variable "StarRadiusScale"

There is also Section "galaxy", Variable "CompactnessScale" which I think is multiplied by the "compactness" that is determined randomly for each system.

The config has a few other variables that could be interesting to tweak. Also, make sure you remember to clear out ".vegastrike/sectors" before testing because they are only generated once even if you start a new saved game.
dagg
Bounty Hunter
Bounty Hunter
Posts: 138
Joined: Thu May 22, 2008 8:53 am

Re: request to have more control on system generator

Post by dagg »

thanks, will check
Post Reply