Greetings !
I intended to play around a bit with the length of tactical battles, but found it difficult to locate this value in the exe.
Does anyone know where the value of battle length in turns can be modified ?
Preferably in ASCII position, I´m not so well with Assembler offsets.
Thanks in advance
Callahan
Battle length
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.
Re: Battle length
edit: removed for incorrect information
Last edited by xDx on Fri Jan 20, 2012 1:38 pm, edited 1 time in total.
"The only thing we have to fear is fear itself." -- FDR
- thunderchero
- Site Administrator aka Fleet Admiral
- Posts: 7949
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.
Re: Battle length
I am not sure where it is located as well. But I think it was reported once that there is a max amount of turns (25 iirc)
thunderchero
thunderchero
- Spocks-cuddly-tribble
- Code Master
- Posts: 1944
- Joined: Sun Apr 27, 2008 2:00 am
Re: Battle length
IIRC the default limit for battles is 50 tactical turns.Callahan wrote:I intended to play around a bit with the length of tactical battles, but found it difficult to locate this value in the exe.
Does anyone know where the value of battle length in turns can be modified ?
Try simultaneous changing of the following three values (two of them are 1 byte signed = 127 / 0x7F max):
Code: Select all
-auto battle:
005283EC cmp ecx, 32h // at 0x1277EE
-tactical combat (& auto battle ?)
004724BD cmp eax, 32h // at 0x718BF
0047280C cmp ds:597884, 32h // at 0x71C12
viewtopic.php?p=25733&sid=c8b0951e4e894 ... c77#p25733
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
Re: Battle length
Thanks, Spocks-cuddly-tribble !
That seems to work just excellent for combat length adjustment !
Also many thanks for the system attack implementation.
I´m quite eager to test this ASAP.
Greetings
Callahan
That seems to work just excellent for combat length adjustment !
Also many thanks for the system attack implementation.
I´m quite eager to test this ASAP.
Greetings
Callahan
Re: Battle length
Greetings !
I did some testing with battles of only a few turns ( 4 to 6 mainly ) and I found the results quite interesting.
As most battles do now take several game turns, it is possible to bring in reinforcements into ongoing battles.
It is now also possible to invade a system even with superior hostile forces present.
This way even an inferior opponent can be a threat.
Yet the AI does not know this.
Therefore I would now like to increase AI aggressiveness during a war.
Currently, the AI is quite defensive if of inferior power, making them passive, sitting ducks even when I raid or bomb one of their systems.
Is there a way to make the AI attack my systems as well as my ships in their space all the time ?
I did some testing with battles of only a few turns ( 4 to 6 mainly ) and I found the results quite interesting.
As most battles do now take several game turns, it is possible to bring in reinforcements into ongoing battles.
It is now also possible to invade a system even with superior hostile forces present.
This way even an inferior opponent can be a threat.
Yet the AI does not know this.
Therefore I would now like to increase AI aggressiveness during a war.
Currently, the AI is quite defensive if of inferior power, making them passive, sitting ducks even when I raid or bomb one of their systems.
Is there a way to make the AI attack my systems as well as my ships in their space all the time ?
- Flocke
- BORG Trouble Maker
- Posts: 3256
- Joined: Sun Apr 27, 2008 2:00 am
- Location: Hamburg, Germany
- Contact:
Re: Battle length
sounds like a really interesting feature, but changing AI behavior is not known yet