Hello,
how can I control the number of borg cubes in game at the same time?
I would like to have only one cube at the same time for all difficulty level.
Borg cubes in game at the same time
Moderator: thunderchero
Forum rules
Please search before starting new topic.
There is a good chance it has already been asked.
Please search before starting new topic.
There is a good chance it has already been asked.
- Spocks-cuddly-tribble
- Code Master
- Posts: 1961
- Joined: Sun Apr 27, 2008 2:00 am
Re: Borg cubes in game at the same time
You need to modify two code sequences:
1.) Borg random event
viewtopic.php?f=194&p=10788#p10788
Difficulty case switch 1-5 (5=impossible)
cmp number_of_cubes -> 1 / 2 / 4 / 8 / no check -> (jg ->exit no cube)
As told these are jg checks i.e. setting all four to 0 will work up to 'hard' but not for impossible since there is no limiting code on that level.
2.) Copies after system destruction
viewtopic.php?f=230&t=1273&p=49961#p27201
It's a jge check i.e. 0x4EA3B -> 01 will prevent any cube reproduction (the cube who just has killed the system triggers the jump to exit).
Also the new ECM patch post holds a link to the 'Keep AI Federation from declaring War on Minor Races (Fix)' you requested:
viewtopic.php?f=30&p=50938#p50911
And if you are interested here are test patches for AI to colonize more systems and building more stations:
viewtopic.php?f=3&t=3668&p=51214#p51214
1.) Borg random event
viewtopic.php?f=194&p=10788#p10788
Difficulty case switch 1-5 (5=impossible)
cmp number_of_cubes -> 1 / 2 / 4 / 8 / no check -> (jg ->exit no cube)
Code: Select all
number_of_cubes checks:
44F324 cmp ds: 58FDE0, 1 // 0x4E72A
44F337 cmp ds: 58FDE0, 2 // 0x4E737
44F34A cmp ds: 58FDE0, 4 // 0x4E74A
44F35D cmp ds: 58FDE0, 8 // 0x4E75D
2.) Copies after system destruction
viewtopic.php?f=230&t=1273&p=49961#p27201
Code: Select all
44F635 cmp ds:58FDE0, 10h //exit if 16 or more cubes in game(redundant)
Also the new ECM patch post holds a link to the 'Keep AI Federation from declaring War on Minor Races (Fix)' you requested:
viewtopic.php?f=30&p=50938#p50911
And if you are interested here are test patches for AI to colonize more systems and building more stations:
viewtopic.php?f=3&t=3668&p=51214#p51214
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
Re: Borg cubes in game at the same time
Thanks for your answer, SCT.
I modified as you recommended.
Thank you, Code Master!
I modified as you recommended.
Wow! Great news! I'm looking forward to observe how this will work in game.Spocks-cuddly-tribble wrote: ↑Sun Feb 16, 2020 1:27 pm
Also the new ECM patch post holds a link to the 'Keep AI Federation from declaring War on Minor Races (Fix)' you requested:
viewtopic.php?f=30&p=50938#p50911
Thank you, Code Master!