Offsets for Food, Production, Research & Trade Boni

Information, How-to's, and discussion about mod'ing Master of Orion II.
User avatar
Rocco
Posts:242
Joined:Sat Mar 29, 2008 9:16 am
Contact:
Offsets for Food, Production, Research & Trade Boni

Postby Rocco » Mon May 11, 2015 1:52 pm

Most difficult offset search for me ever.
Was unaware of the existence of INCREMENT +1 operation.

(DOS / 140 offsets)

block 0016541A Colony Research Per Scientist
16541C / 16545C (3) = base research per scientist - ACTUAL value
165426 / 165466 (3) = base res per scientist - TEXT value for Research Summary

below is TEXT values only for Res. Summary-
16543F / 16547F (1) = Astro University
165457 / 165497 (2) = Super Comp.
165470 / 1654B0 (3) = Galactic Cybernet
165487 / 1654C7 (1) = Res. Lab
1654B4 / 1654F4 (2) = Artifacts Planet
1654C6 / 165506 (5) = Orion Planet

below is ACTUAL values of these items-
165433 / 165473 = 42 = Increment +1
16544A / 16548A = 42 42 = 2x Increment +1
165464 / 1654A4 = 03 = offset for the Galactic Cybernet
16547B / 1654BB = 42 = Increment +1
1654A8 / 1654E8 = 42 42 = 2x Increment +1 (this is the Artifacts Planet bonus, calculated as +1 +1)
1654BB / 1654FB = 05 = offset for Orion Planet

Thus, of these 6 items, Galactic Cybernet and Orion can easily be changed.
Other 4 items needs programming, I guess there is no such thing as 'Increment by 2'.
There is 'decrease by 1' = '4A' and a 'No Operation' = '90'.
Last edited by Rocco on Mon Jul 27, 2015 9:05 am, edited 12 times in total.

User avatar
Overlord2
Posts:661
Joined:Wed Jun 13, 2007 5:25 pm

Re: Research boni

Postby Overlord2 » Mon May 11, 2015 2:15 pm

Last item may be Orion planet research bonus.

Edit: what about Hightened Intelligence? Strangely, its missing here.

User avatar
Rocco
Posts:242
Joined:Sat Mar 29, 2008 9:16 am
Contact:

Re: Research boni

Postby Rocco » Mon May 11, 2015 2:24 pm

Yes you are correct, it is Orion.

/ Not sure atm about Heightened Intel.

User avatar
Rocco
Posts:242
Joined:Sat Mar 29, 2008 9:16 am
Contact:

Re: Research boni

Postby Rocco » Tue May 12, 2015 2:20 pm

Heightened Intelligence
- in next block 'Colony Empire Base Research Produced'

DOS / 140 Offset: 165581 / 1655C1 (default = 1)
Last edited by Rocco on Fri Jul 31, 2015 2:33 pm, edited 3 times in total.

User avatar
Rocco
Posts:242
Joined:Sat Mar 29, 2008 9:16 am
Contact:

Re: Offsets for Research & Trade Boni

Postby Rocco » Sun May 17, 2015 11:04 am

Trade treaty bonus offsets:
Democratic: DOS 187225 (96 = 150)
Federation: DOS 18722C (AF = 175)

Fantastic Traders bonus offset:
DOS 18723B (32 = +50)

The research treaties bonus / malus are coded in a different way that I do not understand atm with 'shift left' and 'shift right' operations. That is pitty coz I was actually looking for the Feudal research treaty penalties...

User avatar
Rocco
Posts:242
Joined:Sat Mar 29, 2008 9:16 am
Contact:

Re: Offsets for Production, Research & Trade Boni

Postby Rocco » Sun May 17, 2015 4:35 pm

Production Bonuses:
(140 follow later)

Astro University
DOS 16431A (default=42=increment by 1)
DOS 164326 (default=1, only for text Industry Summary)

Microlite Construction
DOS 164388 (default=42=increment by 1)
DOS 164394 (default=1, only for text Industry Summary)

Automated Factory
164331 (default=42=increment by 1)
16433D (default=1, only for text Industry Summary)

Robo-Miners
164348-9 (42 42 = inc +1, inc +1)
164355 (default=2, only for text Industry Summary)

Deep Core Mines
164362 (default=3)
16436E (default=3, only for text Industry Summary)

Recyclotron
Probably not an offset but a call on value at address of current planet population.

User avatar
Rocco
Posts:242
Joined:Sat Mar 29, 2008 9:16 am
Contact:

Re: Offsets for Food, Production, Research & Trade Boni

Postby Rocco » Mon Jul 27, 2015 9:13 am

Food Bonuses:

Weather Controller
DOS 1636EF (default=04=2 food bonus)
DOS 1636FB (default=04=2 bonus for text Food Summary)

Soil Enrichment
DOS 163706-7 (default=42 42 = +1 +1 for the +1 food bonus)
DOS 163713 (default=02, but this text value is not used for Food Summary)

Biomorphic Funghi
1636D3 / 163713 (default=02 for a +1 bonus)
1636DB-1636DE / 16371B-16371E (default=dx, text value is auto calculated, if 1636D3 is set as odd number, get incorrect rounding effects)
Note that the 'build colony' info popup needs to be fixed, still reads +1 for the Funghi.


Food Replicators
Still looking for this....
Last edited by Rocco on Mon Jul 27, 2015 2:50 pm, edited 4 times in total.

User avatar
Rocco
Posts:242
Joined:Sat Mar 29, 2008 9:16 am
Contact:

Re: Offsets for Food, Production, Research & Trade Boni

Postby Rocco » Mon Jul 27, 2015 11:47 am

Auto Factory bonus +5: 16450B
(B8 05 00 00 00)

Robo-Miners +10: 164520
(B8 0A 00 00 00)

Deep Core Mines +15: 164535
(B8 0F 00 00 00)

Salamandre
Posts:7
Joined:Wed Oct 31, 2007 5:23 am

Re: Offsets for Food, Production, Research & Trade Boni

Postby Salamandre » Thu Jul 30, 2015 9:13 am

Hello Rocco,

First a big thanks for Ice mod, which I was playing all the week, I love all modifications.

But I have a question for you: one thing I greatly miss in long Moo2 games is the waste of research after we reach level 3 in future techs. Isn't possible to make future research in columns as construction, fields, engines etc, continue to contribute at equipment miniaturization? As they do until there? I love long games where you capture antaran ships and get all techs but no matter how good I am doing my research, it is wasted after 3rd level.

Thanks you for reading and sorry if posted in wrong place, just tell me and I move it.


Return to “Game Modifications”

Who is online

Users browsing this forum: No registered users and 27 guests