I have a morbid idea, in the meantime... I could change GALM's credit system (currently deuterium) into a kind of enlisted personnel/starship population system. So when the Borg go demanding credits, now instead will demand you send some people for assimilation
I am running a test. I overwrite the area with all the values with 00's
576ED4 | 0x0174cd4
length: A0
Code: Select all
00 00 00 00 00 00 F8 3F 00 00 00 00 00 00 E8 3F 33 33 33 33 33 33 D3 3F 9A 99 99 99 99 99 B9 3F 9A 99 99 99 99 99 A9 3F FC A9 F1 D2 4D 62 60 3F 00 00 00 00 00 00 C0 3F 9A 99 99 99 99 99 89 3F 33 33 33 33 33 33 D3 3F 33 33 33 33 33 33 D3 3F 33 33 33 33 33 33 D3 3F 33 33 33 33 33 33 D3 3F 00 00 00 00 00 00 E0 3F 00 00 00 00 00 00 34 40 00 00 00 00 00 00 10 40 33 33 33 33 33 33 B3 3F 9A 99 99 99 99 99 89 3F 00 00 00 00 00 40 7F 40 FC A9 F1 D2 4D 62 60 3F 48 E1 7A 14 AE 47 F5 3F
can be copied and pasted in hxd to find the location in question
all 00's and going to test the effect on the diplomatic events. See you soon.
Test success. This area deals with the gift value relating to credits. It's either 19 or 20 values (2 might share an entry?) Territory gifting was unaffected. Borg sent an immediate demand and it was a blank demand. I did not proceed any further than testing if I could gift credits and territory. Territory yes, credits no. Quick testing more values real soon, as I go down the list
---
577050 | 0x0174e50
length: 40
Code: Select all
00 00 00 00 00 00 F4 3F 00 00 00 00 00 00 F4 3F 00 00 00 00 00 00 F4 3F 00 00 00 00 00 00 F4 3F 66 66 66 66 66 66 E6 3F 66 66 66 66 66 66 E6 3F 66 66 66 66 66 66 E6 3F 33 33 33 33 33 33 EB 3F
Test success. This area, more specifically the last four 8 byte floats, controls the minor races sending treaty proposals. Lower values seem to increase the proposal frequency. Higher values cause them to never send any proposal, regardless of attitude.
Perhaps even majors (Borg signed a treaty with another power even though Enraged condition exists). Minors were sending me proposals for membership turn after first contact. Raiding and destroying their ships, they declared war but next turn asked for friendships. Sympathy related according to preexisting labeling.
These first four values are still not really known what they do, but it possibly is related to the amount of sympathy or attitude per turn, or for various conditions multiplied by ???. I am not particularly interested in it, but someone might be... all 4 values = 1.25
Code: Select all
00 00 00 00 00 00 F4 3F 00 00 00 00 00 00 F4 3F 00 00 00 00 00 00 F4 3F 00 00 00 00 00 00 F4 3F
---
577D04 | 0x0175b04
length: 98
Code: Select all
00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 40 00 00 00 00 00 00 F0 BF 00 00 00 00 00 00 00 40 00 00 00 00 00 00 F0 BF 00 00 00 00 00 00 00 40 00 00 00 00 00 00 08 40 00 00 00 00 00 00 E8 3F 33 33 33 33 33 33 F3 3F 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 40 33 33 33 33 33 33 F3 3F 1F 85 EB 51 B8 1E E5 3F 00 00 00 00 00 00 00 40 00 00 00 00 00 00 D0 3F 00 00 00 00 00 00 F0 BF 00 00 00 00 00 00 10 40 00 00 00 00 00 00 E0 3F

Notable changes in this area
Zeroing out this section had a big effect on what types of diplomacy was happening in the game. I noticed with vanilla values, the Roms and Borg declared war on me via warpact. With zeros this did not happen, but a few turns later the Roms offered me the war pact against the Borg. And when I did not accept, they declared war anyway a few turns later. Other than that, I've been getting nothing but demands here and there. Oh, well I guess there was a notable increase in war against minor races. I feel like this section is related to what I am searching for. These are likely multiplication/division values and not the actual original value I seek, as this seems to affect most of the diplomacy between majors/majors and majors/player.
---
58F680 | 0x018d480
length: 2F8
Code: Select all
CD CC 4C 3F CD CC 4C 3F CD CC 4C 3F 33 33 33 3F CD CC 4C 3F 9A 99 19 3F 33 33 33 3F 33 33 33 3F 00 00 00 3F 33 33 33 3F CD CC CC 3E 00 00 00 3F 9A 99 19 3F 9A 99 99 3E 9A 99 19 3F CD CC 4C 3E CD CC CC 3E CD CC CC 3E CD CC 4C 3E CD CC 4C 3E CD CC 4C 3F CD CC 4C 3F CD CC 4C 3F 33 33 33 3F CD CC 4C 3F 9A 99 19 3F 33 33 33 3F 33 33 33 3F 00 00 00 3F 33 33 33 3F CD CC CC 3E 00 00 00 3F 00 00 00 3F 9A 99 99 3E 9A 99 19 3F CD CC 4C 3E CD CC CC 3E CD CC CC 3E CD CC 4C 3E CD CC 4C 3E 00 00 80 BF 00 00 80 BF 00 00 80 BF CD CC 4C 3F 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 A0 3F 33 33 33 3F CD CC 4C 3F 00 00 80 BF 00 00 80 BF 00 00 80 3F 9A 99 19 3F 33 33 33 3F 00 00 80 BF 00 00 80 BF CD CC 4C 3F 00 00 00 3F 9A 99 19 3F 00 00 80 BF 00 00 80 BF 00 00 80 BF CD CC 4C 3F 00 00 80 BF 00 00 80 3F 00 00 C0 3F 00 00 C0 3F 33 33 33 3F CD CC 4C 3F CD CC 4C 3F 00 00 80 3F 00 00 80 3F 9A 99 19 3F 33 33 33 3F 33 33 33 3F CD CC 4C 3F CD CC 4C 3F 00 00 00 3F 9A 99 19 3F 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 40 3F 9A 99 59 3F 9A 99 59 3F 9A 99 19 3F 33 33 33 3F 9A 99 19 3F 33 33 33 3F 33 33 33 3F 00 00 00 3F 9A 99 19 3F 00 00 00 3F 00 00 00 3F 00 00 00 3F CD CC CC 3E 00 00 00 3F 0A D7 A3 3C 00 00 00 00 00 00 00 00 0A D7 A3 3C 0A D7 A3 3C 02 00 00 00 04 00 00 00 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 02 00 00 00 04 00 00 00 9A 99 99 3F 66 66 A6 3F 66 66 A6 3F CD CC 8C 3F 00 00 A0 3F CD CC AC 3F 00 00 C0 3F 9A 99 D9 3F 9A 99 99 3F 00 00 C0 3F 00 00 00 3F 66 66 66 3F 00 00 E0 3F 00 00 00 3F 00 00 00 3F 00 00 E1 43 00 00 48 43 00 00 C8 43 00 00 7A 43 00 00 AF 43 33 33 B3 3F 33 33 B3 3F 33 33 B3 3F 33 33 B3 3F 33 33 B3 3F 00 00 00 40 00 00 00 40 00 00 00 40 00 00 00 40 00 00 00 40 9A 99 19 3F 9A 99 19 3F 9A 99 19 3F 9A 99 19 3F 9A 99 19 3F 00 00 00 40 00 00 00 40 00 00 00 40 00 00 00 40 00 00 00 40 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 0A D7 A3 3C 0A D7 A3 3C 0A D7 A3 3C 0A D7 A3 3C 0A D7 A3 3C 0A D7 23 3D 0A D7 23 3D 0A D7 23 3D 0A D7 23 3D 0A D7 23 3D 00 00 00 40 00 00 00 40 00 00 00 40 00 00 00 40 00 00 00 40 0A D7 A3 3B 0A D7 A3 3B 0A D7 A3 3B 0A D7 A3 3B 0A D7 A3 3B 00 00 80 40 00 00 80 40 00 00 80 40 00 00 80 40 00 00 80 40 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F

Area appears to have 5 four byte floats here. I intend to determine their function. Appears to possibly alter AI ability to send non aggression treaties. Only tested 15-20 turns of each so highly speculative.
Update: This area contains values which are compared to the table of values at 577D04. I think here we are comparing the base value of the 5 races to cmp -1.0 and using it as a frequency for which types of treaties are being sent.
Code: Select all
0058F720 flt_58F720 dd 3 dup(-1.0), 8.0000001e-1, -1.0
0058F720 ; DATA XREF: AI_AIDipEvl_PropCalc_432390+E1r
0058F734 flt_58F734 dd 2 dup(-1.0), 1.25, 6.9999999e-1, 8.0000001e-1
0058F734 ; DATA XREF: AI_AIDipEvl_PropCalc_432390+133r
0058F748 flt_58F748 dd 2 dup(-1.0), 1.0, 6.0000002e-1, 6.9999999e-1
0058F748 ; DATA XREF: AI_AIDipEvl_PropCalc_432390+15Fr
0058F75C flt_58F75C dd 2 dup(-1.0), 8.0000001e-1, 5.0e-1, 6.0000002e-1
0058F75C ; DATA XREF: AI_AIDipEvl_PropCalc_432390+1A6r
Compared values in laymans:
0058F720: first three floats value -1.0, fourth float value 0.8, last float value -1.0
Assumption: Something for Klingons i.e. less chance to send peace (maybe Feds if reversed viewed? more chance to send peace?)
0058F734: first two float values -1.0, third value 1.25, fourth value 0.7, fifth value 0.8
Assumption: Unknown *(related below?)
0058F748: first two -1.0, third 1.0, fourth 0.6, fifth 0.7
Assumption: Unknown *
0058F75C: first two -1.0, third 0.8, fourth 0.5, fifth 0.6
Assumption: Unknown *
We are so close... if it's a snake, we are bitten.
58B880 | 0x0189680
length: TBD
I missed this little hidden section
