Hi guys

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
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1926
Joined: Sun Apr 27, 2008 2:00 am

Hi guys

Post by Spocks-cuddly-tribble »

Hi guys,

I'm trying to download and test the latest ECM multi-installer version to identify some minor quirks. But it's unlikely that I manage to keep up with all questions I missed. So please point/link me to the most urgent matters still in need of my attention. :smile:


A first ECM quick test showed:

- fatal bug wrt existing minor race special buildings when acquiring a minor race who was part of an empire who already built the special structure (infinite number of those special buildings can be built
)

-> removing 'Minor race special building system takeover Fix' & 'keep Given Minor Race Special Building System Takeover Option'(all versions) might help for ECM: viewtopic.php?p=33859#p33859 IF sub_4C22F8 Minor_race_blg_IDs is still accurate!

Mods using multiple special structures per minor race, need another workarounds like setting those buildings to 'one per system' (which might cause other issues?)


- War-pacts can be proposed against empires unknown to yourself and/or the recipient empire (might be a mod independent bug?)

- my multi ECM doesn't save the map overlay settings i.e. when re-starting BotF, all are back to default (I don't recall ever having this issue before, might be an OS write protection issue?)
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1926
Joined: Sun Apr 27, 2008 2:00 am

Thoughts on fixing the AI Command Probabilities

Post by Spocks-cuddly-tribble »

Hi everyone,

'Unlocking the AI Ram command' shows some promising improvements in an ECM quick test (when trying some harassment shenanigans to pull on the AI, it sometimes rams you).

So preparing a small hotfix update patch for ECM (below), I'll try to provide error-fixed AI Command Probabilities: viewtopic.php?p=52751#p52751

- correct sum of relative frequencies to always 100%
- remove/change of the invalid 'Circle' for long range group & add low frequency Hold
- change 'Strafe' & 'Harry' into 'Circle' & 'Flyby' for command group
- change some of the unused evade entries with frequency 0 into low frequency Ram

The vanilla default table reads: (vs groups 0-3 only, since group 4 is not read)

Fast group:

Harry 50
Charge 30
Strafe 15
Evade 5

Charge 35
Strafe 40
Harry 25
Evade 5

Harry 30
Strafe 40
Charge 25
Evade 5

Harry 30
Strafe 40
Charge 25
Evade 5

Long range group:

Circle 45 ##
Assault 40
Flyby 15
Evade 0

Circle 40 ##
Assault 40
Flyby 20
Evade 0

Circle 35 ##
Assault 40
Flyby 25
Evade 0

Circle 35 ##
Assault 40
Flyby 25
Evade 0

Slow group:

Harry 40 #
Strafe 35 #
Charge 20
Evade 0

Charge 60
Strafe 20 #
Harry 15 #
Evade 0

Strafe 35 #
Assault 35
Harry 30 #
Evade 0

Strafe 35 #
Assault 35
Harry 30 #
Evade 0


ECM hotfix update patch (so far):

Code: Select all

# Remove: Minor race special building system takeover Fix
>> 0x0003FFF2 23
<< 0x0003FFF2 FF
# Remove: keep Given Minor Race Special Building System Takeover Option
>> 0x00040118 EB
<< 0x00040118 73

# Emergency evade during surprise attack (cloaked ships staying cloaked)
# >> 0x000715E1 C7 83 FC 01 00 00 0D 00 00 00 3B 41 50 75 07 C7 41 54 0D 00 00 00
# << 0x000715E1 BA 07 00 00 00 03 53 38 89 93 FC 01 00 00 3B 41 50 75 03 89 51 54
# remove lock weapons (on rare occasions random torpedo fire at decloaking ships possible):
# >> 0x00071613 80 8B 0C 02 00 00 10
# << 0x00071613 90 90 90 90 90 90 90

# Improving AI Combat Commands for Warships vs enemy Ships
>> 0x77A24 59
<< 0x77A24 69
>> 0x77AE4 89 DD
<< 0x77AE4 90 90
>> 0x77B5B 83 B9 78 01 00 00 01 0F 85 87 00 00 00
<< 0x77B5B 85 ED 75 D8 83 7B 7C 01 7C B7 90 90 90
>> 0x77BA4 85 ED 0F 85 80 00 00 00
<< 0x77BA4 3B 05 70 58 5B 00 7C 8B
# remove player Ram check of AI ally join Hail/Retreat code
>> 0x773D7 09
<< 0x773D7 FF
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
Iceman
Admiral
Admiral
Posts: 3312
Joined: Fri Apr 10, 2009 2:00 am

Re: Hi guys

Post by Iceman »

Fast group:

Harry 50
Charge 30
Strafe 15
Evade 5

Charge 35
Strafe 40
Harry 25
Evade 5
Not trying to be pedantic, but that last one is 105% :wink:
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1926
Joined: Sun Apr 27, 2008 2:00 am

AI Command Probabilities Fix

Post by Spocks-cuddly-tribble »

Here is a test patch modifying the AI Command Probabilities. :smile:

Remember all other codes take precedence due to the order of processing e.g. the recommended 'Improving AI Combat Commands' patch.


EDIT: Removed outdated Patch. See link above.
Last edited by Spocks-cuddly-tribble on Thu Jul 29, 2021 12:11 pm, edited 1 time in total.
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7933
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Hi guys

Post by thunderchero »

is this one for ECM?
Post Reply

Return to “General Modding Information/Questions”