how to hex trek.exe for minors to build minimum of 6 ships?

General Modding Information/Questions; support/discussion/questions

Moderator: thunderchero

Forum rules
:idea: Please search before starting new topic. :idea:
There is a good chance it has already been asked.
Post Reply
User avatar
Benman2785
Lieutenant-Commander
Lieutenant-Commander
Posts: 224
Joined: Fri Mar 20, 2009 2:00 am

how to hex trek.exe for minors to build minimum of 6 ships?

Post by Benman2785 »

Hi,

i really enjoying to allow the minor nations to protect their homesystem with "their own fleet" - but often they dont built a minimum of 6 ships.

how to mod that? ;)
User avatar
Benman2785
Lieutenant-Commander
Lieutenant-Commander
Posts: 224
Joined: Fri Mar 20, 2009 2:00 am

Re: how to hex trek.exe for minors to build minimum of 6 ships?

Post by Benman2785 »

answered - kind of

viewtopic.php?f=190&t=822
i now simply built them myself ;)
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1927
Joined: Sun Apr 27, 2008 2:00 am

Re: how to hex trek.exe for minors to build minimum of 6 ships?

Post by Spocks-cuddly-tribble »

Benman2785 wrote: Tue Apr 19, 2022 7:55 pmoften they dont built a minimum of 6 ships.

how to mod that? ;)
Default number of extra ships at game start and evolution is +1-4 random (given the tech requirements and min population): viewtopic.php?p=14#p14

For always +6 ships you need to change this code: viewtopic.php?p=33131#p33131

Code: Select all

00451808     90             NOP
00451809     90             NOP
0045180A     90             NOP
0045180B     90             NOP
0045180C     90             NOP
0045180D     90             NOP

00451827     BE 06000000    MOV ESI,6

hex code at:

0x50C08  0F 85 8E 00 00 00 -> 90 90 90 90 90 90

0x50C27  F7 F9 8D 72 01 -> BE 06 00 00 00
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
User avatar
Benman2785
Lieutenant-Commander
Lieutenant-Commander
Posts: 224
Joined: Fri Mar 20, 2009 2:00 am

Re: how to hex trek.exe for minors to build minimum of 6 ships?

Post by Benman2785 »

thank you ;)

can confirm it is working with hex mod
Post Reply

Return to “General Modding Information/Questions”