Disabling Dilithium for Spacefaring Races

Disabling Dilithium for Spacefaring Races; support/discussion/questions

Moderator: thunderchero

Post Reply
User avatar
Gowron
Code Master
Code Master
Posts: 304
Joined: Sat Apr 26, 2008 2:00 am
Location: 50° N, 11° E

Disabling Dilithium for Spacefaring Races

Post by Gowron » Sat Jul 31, 2010 12:56 pm

Although it's possible to control the Dilithium probability directly by the percentage value at position 0x17D9F4 in trek.exe, the home systems of major empires and spacefaring minors will always get Dilithium.

In case you want to change that, here's the how-to:

Major Empires

Dilithium is automatically assigned to major empire home systems in subroutine 4B7A50. The easiest way to disable it is to change "01" to "00" in trek.exe at position 0xB6E85.


Spacefaring Minors

You can prevent spacefaring minors from automatically having Dilithium by changing
"80 4C 02 71 08"
to
"90 90 90 90 90"
in trek.exe at position 0x50CD7.


Note that even with both automatic assignments disabled, some majors and spacefaring minors can still have a Dilithium source if the Dilithium probability is greater than zero.
A discovery consists in seeing something everybody has seen and at the same time thinking something nobody has thought yet.

Post Reply

Return to “Disabling Dilithium for Spacefaring Races”

Who is online

Users browsing this forum: No registered users