Galaxy Control Values
Posted: Sat Apr 26, 2008 12:10 am
Credit for this post topic; Gowron
As announced in my "trek.exe multipliers" topic, there was another interesting data field in trek.exe, and indeed it turned out to include some *really* useful stuff
All these values are stored as floats.
Some certain changes to these values will render the game unable to create new galaxies. In this case, starting a new game will cause an infinite loop. I'll refer to this as a galaxy hang-up.
I hope everyone knows what [pi] is (if not, try google or wiki ^^).
position: 0x17D538
length: 8 bytes
default value: 5/6
description:
This value controls the decision if a new object (during the galaxy creation) will become a star or an anomaly (Black Hole, Nebula etc.).
If it's set to 1.0 or more, all objects will be stars.
The lower the value, the higher the anomaly ratio.
If it's set too low, you'll get a galaxy hang-up.
The lowest value that worked during my tests was 0.13 .
The highest value that didn't work during my tests was 0.125 .
position: 0x17D538
length: 8 bytes
default value: 5/6
description:
This value controls the decision if a new object (during the galaxy creation) will become a star or an anomaly (Black Hole, Nebula etc.).
If it's set to 1.0 or more, all objects will be stars.
The lower the value, the higher the anomaly ratio.
If it's set too low, you'll get a galaxy hang-up.
The lowest value that worked during my tests was 0.13 .
The highest value that didn't work during my tests was 0.125 .
position: 0x17D598
length: 8 bytes
default value: -1.0
description:
This value controls the basic shape of a Spiral Galaxy, i.e. the alignment of the "arms".
Setting this value to zero will yield a crash or galaxy hang-up.
It's sort of hard to describe how this value works, just play around with it and see. Negative values very close to zero seem to yield the "clearest" spiral galaxies.
position: 0x17D5A0
length: 8 bytes
default value: 1.5 * [pi]
description:
This value controls the extent of the inner part of spiral galaxy "arms". Any significant change can lead to a galaxy hang-up.
position: 0x17D5A8
length: 8 bytes
default value: [pi]
description:
This value controls the extent of the medium part of spiral galaxy "arms". Any significant change can lead to a galaxy hang-up.
position: 0x17D5B0
length: 8 bytes
default value: 0.5 * [pi]
description:
This value controls the extent of the outer part of spiral galaxy "arms". Any significant change can lead to a galaxy hang-up.
Think of the arms as a conbination of three arcs (per arm) with different radii, approximating a spiral.
position: 0x17D668
length: 8 bytes
default value: 0.2
description:
This value controls the number of minor races. Setting this to zero or lower led to a maximum of 4 minors under any settings. Setting this to 1.0 or higher resulted in 29-30 minor races on large irregular galaxies with minors set to "many".
Update:
The value seems to determine the chance that a given sector get a minor race during the placement of the races.
Apparently the sectors are scanned from left to right:
With the value set to 1.0, I observed a definite general accumulation of the minor races in the left part of the map.
See also: Minor Race Frequency.
position: 0x17D6E8
length: 8 bytes
default value: 1.01
description:
This value is used for the Climate Probability Check. You shouldn't want to change this value, normally.
position: 0x17D9F4
length: 8 bytes
default value: 0.1
description:
The probability that a star system contains dilithium. Negative values are treated as zero, values larger than 1.0 are treated as 1.0 .
Home systems of major races and space-faring minor races will get dilithium anyway.
And that's it so far
I'll now cut down (a bit) on the research and will concentrate more on my upcoming BotF mod which will be named "Balance of Power" and will probably be finished in 2 or 3 months. It will implement quite a lot of my findings and contain bugfixes, exploit-fixes, balance changes and a "no CD" crack, so stay tuned
covered area: 0x17D200 through 0x17E000
(this is just a reminder for myself; all values in this area have been tested, not necessarily with success)
As announced in my "trek.exe multipliers" topic, there was another interesting data field in trek.exe, and indeed it turned out to include some *really* useful stuff
All these values are stored as floats.
Some certain changes to these values will render the game unable to create new galaxies. In this case, starting a new game will cause an infinite loop. I'll refer to this as a galaxy hang-up.
I hope everyone knows what [pi] is (if not, try google or wiki ^^).
position: 0x17D538
length: 8 bytes
default value: 5/6
description:
This value controls the decision if a new object (during the galaxy creation) will become a star or an anomaly (Black Hole, Nebula etc.).
If it's set to 1.0 or more, all objects will be stars.
The lower the value, the higher the anomaly ratio.
If it's set too low, you'll get a galaxy hang-up.
The lowest value that worked during my tests was 0.13 .
The highest value that didn't work during my tests was 0.125 .
position: 0x17D538
length: 8 bytes
default value: 5/6
description:
This value controls the decision if a new object (during the galaxy creation) will become a star or an anomaly (Black Hole, Nebula etc.).
If it's set to 1.0 or more, all objects will be stars.
The lower the value, the higher the anomaly ratio.
If it's set too low, you'll get a galaxy hang-up.
The lowest value that worked during my tests was 0.13 .
The highest value that didn't work during my tests was 0.125 .
position: 0x17D598
length: 8 bytes
default value: -1.0
description:
This value controls the basic shape of a Spiral Galaxy, i.e. the alignment of the "arms".
Setting this value to zero will yield a crash or galaxy hang-up.
It's sort of hard to describe how this value works, just play around with it and see. Negative values very close to zero seem to yield the "clearest" spiral galaxies.
position: 0x17D5A0
length: 8 bytes
default value: 1.5 * [pi]
description:
This value controls the extent of the inner part of spiral galaxy "arms". Any significant change can lead to a galaxy hang-up.
position: 0x17D5A8
length: 8 bytes
default value: [pi]
description:
This value controls the extent of the medium part of spiral galaxy "arms". Any significant change can lead to a galaxy hang-up.
position: 0x17D5B0
length: 8 bytes
default value: 0.5 * [pi]
description:
This value controls the extent of the outer part of spiral galaxy "arms". Any significant change can lead to a galaxy hang-up.
Think of the arms as a conbination of three arcs (per arm) with different radii, approximating a spiral.
position: 0x17D668
length: 8 bytes
default value: 0.2
description:
This value controls the number of minor races. Setting this to zero or lower led to a maximum of 4 minors under any settings. Setting this to 1.0 or higher resulted in 29-30 minor races on large irregular galaxies with minors set to "many".
Update:
The value seems to determine the chance that a given sector get a minor race during the placement of the races.
Apparently the sectors are scanned from left to right:
With the value set to 1.0, I observed a definite general accumulation of the minor races in the left part of the map.
See also: Minor Race Frequency.
position: 0x17D6E8
length: 8 bytes
default value: 1.01
description:
This value is used for the Climate Probability Check. You shouldn't want to change this value, normally.
position: 0x17D9F4
length: 8 bytes
default value: 0.1
description:
The probability that a star system contains dilithium. Negative values are treated as zero, values larger than 1.0 are treated as 1.0 .
Home systems of major races and space-faring minor races will get dilithium anyway.
And that's it so far
I'll now cut down (a bit) on the research and will concentrate more on my upcoming BotF mod which will be named "Balance of Power" and will probably be finished in 2 or 3 months. It will implement quite a lot of my findings and contain bugfixes, exploit-fixes, balance changes and a "no CD" crack, so stay tuned
covered area: 0x17D200 through 0x17E000
(this is just a reminder for myself; all values in this area have been tested, not necessarily with success)