Allow Intel Buildings to remain after conquest

Allow Intel Buildings to remain after conquest; support/discussion/questions

Moderator: thunderchero

Post Reply
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Allow Intel Buildings to remain after conquest

Post by thunderchero »

thunderchero wrote:(If code can be found this might be able to be prevented)
I took a quick look and found this

at 0x40820 change E8 1B 44 00 00 -> 90 90 90 90 90

I tested this on normal system conquest vs major race, subjugated minor race conquest and when empire is eliminated. was unable to test vs minor race conquest not sure if they even build intel structures?

thunderchero
User avatar
adi
Commander
Commander
Posts: 442
Joined: Sun Aug 12, 2012 6:53 pm
Location: US East Coast

Re: Allow Intel Buildings to remain after conquest

Post by adi »

thunderchero wrote:
thunderchero wrote:(If code can be found this might be able to be prevented)
I took a quick look and found this

at 0x40820 change E8 1B 44 00 00 -> 90 90 90 90 90

I tested this on normal system conquest vs major race, subjugated minor race conquest and when empire is eliminated. was unable to test vs minor race conquest not sure if they even build intel structures?

thunderchero
Correct, main intel buildings are removed; judging by the number of destroyed structures in the invasion popup, the intel buildings are not among those the game says have been destroyed.

You "fixed" it?! Already!? Your post says you tested it but not how it went.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Allow Intel Buildings to remain after conquest

Post by thunderchero »

adi wrote:You "fixed" it?! Already!? Your post says you tested it but not how it went.
if they were not destroyed they were still there. every minor that was not subjugated or membered never had any to test if they remained.

thunderchero
User avatar
adi
Commander
Commander
Posts: 442
Joined: Sun Aug 12, 2012 6:53 pm
Location: US East Coast

Re: Allow Intel Buildings to remain after conquest

Post by adi »

Awesome! Thanks a lot!
Once i get home, i'll write a patch and use it from now on.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Allow Intel Buildings to remain after conquest

Post by thunderchero »

thunderchero wrote:every minor that was not subjugated or membered never had any to test if they remained.
I was able to test vs a minor that was not subjugated or membered and had intel structures and they remained as well.

why minors build intel structures I have no idea.

thunderchero
User avatar
adi
Commander
Commander
Posts: 442
Joined: Sun Aug 12, 2012 6:53 pm
Location: US East Coast

Re: Allow Intel Buildings to remain after conquest

Post by adi »

thunderchero wrote:
why minors build intel structures I have no idea.

thunderchero
Maybe because the game uses the same code logic for developing their systems. Anyway i think it is a good thing; it gives the conqueror more options where to spend the man power.
I assume you conquered the minor; i wander if they have intel structures when you member them; i would guess, with your change they will.
User avatar
Leto
Cadet 2nd Year
Cadet 2nd Year
Posts: 7
Joined: Mon Jan 27, 2014 11:34 am

Re: Allow Intel Buildings to remain after conquest

Post by Leto »

Can you tell me how to do this change?

at 0x40820 change E8 1B 44 00 00 -> 90 90 90 90 90

Is there a how to guide for changing the code?
User avatar
adi
Commander
Commander
Posts: 442
Joined: Sun Aug 12, 2012 6:53 pm
Location: US East Coast

Re: Allow Intel Buildings to remain after conquest

Post by adi »

Leto wrote:Can you tell me how to do this change?

at 0x40820 change E8 1B 44 00 00 -> 90 90 90 90 90

Is there a how to guide for changing the code?
Easiest and safest way is to use QD's Botf Patcher;
viewtopic.php?f=126&t=2515

Install the patcher and in its folders there is a "patches" folder containing the patches. In there create a new patch just like the ones already there with the code from below.

Code: Select all

NAME: Don't remove intel main buildings at conquest (feature)
URL: https://www.armadafleetcommand.com/onscreen/botf/viewtopic.php?f=7&t=3091&p=41200#p41200
AUTHOR: research - TC; typewritting - Adi
TAG: feature

>> 0x40820 E8 1B 44 00 00
<< 0x40820 90 90 90 90 90
then open the patcher and your new patch will be in the list; if it looks like it is already installed then i got the >> << lines reversed ;) ; change it or just uninstall the patch.

P.S. If you never used the Patcher before, don't go crazy installing and uninstalling lots of patches in one sitting. Try them one at a time.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Allow Intel Buildings to remain after conquest

Post by thunderchero »

adi wrote:I assume you conquered the minor; i wander if they have intel structures when you member them; i would guess, with your change they will.
Yes I conquered them in my test. if they remove intel structures when membering that would be a different code subroutine. and would have to be found also.

That code change was only for conquest subsection from what I could see. but it might be called for membering as well would need to be tested.

updating system today so would be tomorrow for me to test.

thunderchero
User avatar
adi
Commander
Commander
Posts: 442
Joined: Sun Aug 12, 2012 6:53 pm
Location: US East Coast

Re: Allow Intel Buildings to remain after conquest

Post by adi »

Got some time and played a little with the patch installed; the minors i membered did not have intel buildings, but the systemes i conquered from another major retained them.
Thanks, TC! this was a nice find and it seems to work.

A side effect: conquering a system from a major, may also keep intel bonus buildings such as feds Section31.
As Romulans, i started conquering feds, and some of the conquered systems kept the Section31 buildings although it is useless for romulans since it has no bonus defined in UE for the other majors. I guess i can set it in UE to give reduced intel bonus also to other races, that would be nice.

More side effects; also the other special buildings are now kept after conquest. So if you conquer a fed world you might end up with a Daystorm institute for instance; i changed all these special bonus buildings in UE to give reduced bonuses also to the other major races i.e. if the Daystorm gives +3% to research to feds, it also gives +1% to the Romulans that have conquered the system. So now conquering is more rewarding, because of these small bonuses.
User avatar
adi
Commander
Commander
Posts: 442
Joined: Sun Aug 12, 2012 6:53 pm
Location: US East Coast

Re: Few questions about vanilla game (single player)

Post by adi »

Conquering Qo'nos:
Without the patch
Invasion_without_patch.png
Invasion_without_patch.png (699.41 KiB) Viewed 426 times
with the patch
Invasion_with_patch.png
Invasion_with_patch.png (781.01 KiB) Viewed 426 times
User avatar
Dafedz
Lieutenant-Commander
Lieutenant-Commander
Posts: 131
Joined: Mon May 05, 2008 2:00 am

Re: Allow Intel Buildings to remain after conquest

Post by Dafedz »

Very nice work. This patch would be an interesting and useful edition. I like adi's idea for reduced output when special structures are controlled by a conquering race.

Although be warned if using with other patches, namely this one: viewtopic.php?p=33859#p33859
Post Reply

Return to “Allow Intel Buildings to remain after conquest”