Need help with system size |
Hello,
I have a question about system size :
Concerning the system size, i have updated settings.txt as following :
System Width In Hexes := 62
System Height In Hexes := 48
System Point Radius From Center := 984.0
All is ok at this level.
But my problem is coming from distance between the star and others objects (planets, ...). The distance is always "small" (seems maximum distance is 15 hex), and i would like for instance to have a random distance from 1 to 45.
I have looked into SystemTypes.txt file, but i have found nothing to modify in it to change the distance value.
If someone can help...
Thanks a lot in advance.
Re: Need help with system size
To add a little bit.
Original settings in Stock Settings.txt:
System Width In Hexes := 26
System Height In Hexes := 20
System Point Radius From Center := 410.0
From SystemTypes.txt: Each object in a system is based on ring or coordinate for its position in a system. . The stock systems are based on 16 rings (26x20 hexes) altho the outer rings are not complete circles due to 26x20 hexes.
Notes:
Obj X Position:
Ring 1 :
Center Hex of System.
Ring 2 - 16 :
1 - 15 hexes out from Center of System.
The actual position in the ring is completely random.
Coord X, Y :
A coordinate position within the system.
X is horizontal position from 0 to "System Radius Width In Hexes" * 2,
Y is vertical position from 0 to "System Radius Height In Hexes" * 2.
There is no randomness to this placement.
Same As X :
The same position as Obj X.
There is no randomness to this placement.
Offset X Ring 1 - 10 :
1 - 10 hexes out from position of Obj X.
The actual position in the ring is completely random.
Circle Radius X, Y:
A true circle in the system at minimum radius X, and maximum radius Y.
The actual position in the ring is completely random.
If you look at any system, for example Standard 1, the 1st system in SystemTypes.txt.
Number of System Objs := 12 - there are 12 specific objects in this system.
Look at each object's characteristics specifically "position". Each Star. Planet, Asteroid, Storm has a position, ie Ring #. Basically you added more rings by increasing the number of hexes, but the actual positions of all the objects in each and every system has not changed outside the first 16 rings as defined in SystemTypes.txt. Ring 1 is center, Ring 2 is the surrounding 6 hexes, Ring 3 is the next 12 surrounding hexes and so on.
Name := Standard 1
Description := Standard solar system.
System Physical Type := Normal
Portrait Bitmap := System_Normal1.bmp
Portrait Picture Index := 1
Empires Can Start In := TRUE
Number of Abilities := 0
WP Stellar Abil Type := Normal Warp Point
WP Min Radius := 360
WP Max Radius := 400
Chance Type Used := Standard
Number of System Objs := 12
Obj 1 Physical Type := Star
Obj 1 Position := Ring 1
Obj 1 Stellar Abil Type := Normal Star
Obj 1 Specific Stellar Obj Name := Any
Obj 1 Size := Any
Obj 1 Age := Any
Obj 1 Color := Any
Obj 1 Luminosity := Any
Obj 2 Physical Type := Planet
Obj 2 Position := Ring 3
Obj 2 Stellar Abil Type := Normal Planet
Obj 2 Specific Stellar Obj Name := Any
Obj 2 Size := Any
Obj 2 Atmosphere := Any
Obj 2 Composition := Any
Obj 3 Physical Type := Planet
Obj 3 Position := Ring 4
Obj 3 Stellar Abil Type := Normal Planet
Obj 3 Specific Stellar Obj Name := Any
Obj 3 Size := Any
Obj 3 Atmosphere := Any
Obj 3 Composition := Any
Obj 4 Physical Type := Planet
Obj 4 Position := Ring 5
Obj 4 Stellar Abil Type := Normal Planet
Obj 4 Specific Stellar Obj Name := Any
Obj 4 Size := Any
Obj 4 Atmosphere := Any
Obj 4 Composition := Any
Obj 5 Physical Type := Planet
Obj 5 Position := Ring 5
Obj 5 Stellar Abil Type := Normal Planet
Obj 5 Specific Stellar Obj Name := Any
Obj 5 Size := Any
Obj 5 Atmosphere := Any
Obj 5 Composition := Any
Obj 6 Physical Type := Planet
Obj 6 Position := Ring 6
Obj 6 Stellar Abil Type := Normal Planet
Obj 6 Specific Stellar Obj Name := Any
Obj 6 Size := Any
Obj 6 Atmosphere := Any
Obj 6 Composition := Any
Obj 7 Physical Type := Planet
Obj 7 Position := Ring 6
Obj 7 Stellar Abil Type := Normal Planet
Obj 7 Specific Stellar Obj Name := Any
Obj 7 Size := Any
Obj 7 Atmosphere := Any
Obj 7 Composition := Any
Obj 8 Physical Type := Planet
Obj 8 Position := Ring 7
Obj 8 Stellar Abil Type := Normal Planet
Obj 8 Specific Stellar Obj Name := Any
Obj 8 Size := Any
Obj 8 Atmosphere := Any
Obj 8 Composition := Any
Obj 9 Physical Type := Storm
Obj 9 Position := Ring 7
Obj 9 Stellar Abil Type := Normal Storm
Obj 9 Specific Stellar Obj Name := Any
Obj 9 Size := Any
Obj 10 Physical Type := Planet
Obj 10 Position := Ring 8
Obj 10 Stellar Abil Type := Normal Planet
Obj 10 Specific Stellar Obj Name := Any
Obj 10 Size := Any
Obj 10 Atmosphere := Any
Obj 10 Composition := Any
Obj 11 Physical Type := Planet
Obj 11 Position := Ring 8
Obj 11 Stellar Abil Type := Normal Planet
Obj 11 Specific Stellar Obj Name := Any
Obj 11 Size := Any
Obj 11 Atmosphere := Any
Obj 11 Composition := Any
Obj 12 Physical Type := Asteroids
Obj 12 Position := Ring 9
Obj 12 Stellar Abil Type := Normal Asteroids
Obj 12 Specific Stellar Obj Name := Any
Obj 12 Size := Any
Obj 12 Atmosphere := Any
Obj 12 Composition := Any
As Fyron said you need to increase the Ring numbers and distance values in SystemTypes.txt. Ring #'s are each and every object's Ring value or just the ones you want. Manually with a text editor or possibly with a script; Fyron's eminently more knowledgeable in the scripting area than I. I believe distance values would be:
Obj X Position:
Ring 1 :
Center Hex of System.
Ring 2 - ? :
1 - ? hexes out from Center of System.
Someone correct me if I'm wrong here. I may have done this a while ago for testing purposes.
Hope this helps
Re: Need help with system size
So in short... "ring 3" IS a distance value. If you mod it so that ring numbers go from 0-25 then the game will just draw planets using the built in ring numbers and thus draw then towards the center of the system leaving 10 empty rings around the outside. To fix this just tweak the ring numbers in system types. Yeah it'll take a while but it's not hard.




Re: Need help with system size
You have to increase the Ring numbers and distance values in SystemTypes.txt; just adding more hexes to the outside of the system does not move the objects in the system.
SpaceEmpires.net | Space Empires Wiki