What are your gameplay settings against the AI?

For topics that do not fit in another sub-forum.

Moderator: Oberlus

Message
Author
wobbly
Cosmic Dragon
Posts: 1875
Joined: Thu Oct 10, 2013 6:48 pm

Re: What are your gameplay settings against the AI?

#16 Post by wobbly »

Daybreak wrote: Wed Aug 03, 2022 1:21 pm Same/similar problem in windows

Only file I could find, that seems relevant is ai_debug_config.ini

under ~ \FreeOrion\default\python\AI
On mine its in "Drive":\Users\"login name"\AppData\Roaming\FreeOrion\AI\default

Daybreak
Vacuum Dragon
Posts: 641
Joined: Mon Aug 13, 2018 10:14 pm

Re: What are your gameplay settings against the AI?

#17 Post by Daybreak »

damn I originally looked there - I must have had a man's look, and missed it.

Thanks Wobbly
Grummel7 wrote: Tue Aug 02, 2022 9:59 pm After a bit of testing: Actually, without further modifications, it seems to work only when they ally in turn 1, but in later turns they run into exceptions, I guess because their military plans are suddenly no longer valid.

Edit: Actually it needed only a very minor change to fix ganging up in later turns.
Is there somethig further we needed to do?

User avatar
LienRag
Cosmic Dragon
Posts: 2146
Joined: Fri May 17, 2019 5:03 pm

Re: What are your gameplay settings against the AI?

#18 Post by LienRag »

Actually, I forgot to ask : on which versions of the game does this work ?

User avatar
Grummel7
Space Dragon
Posts: 335
Joined: Mon Oct 09, 2017 3:44 pm

Re: What are your gameplay settings against the AI?

#19 Post by Grummel7 »

Okay, let's try with more details:

Under Options -> Directories you find a directory labelled "Config and log files"
Append \AI\default\config.ini to get the file name.

Now, if this file does not already has a section [main], just append:

Code: Select all

[main]
gang_up_turn=1
Start a new game and you should hopefully see the effect.

Btw.: At least in my environment, log files are not placed in the specified directory!? Misnomer?
LienRag wrote: Wed Aug 03, 2022 5:04 pm Actually, I forgot to ask : on which versions of the game does this work ?
It was merged this morning, so any build after this.

User avatar
LienRag
Cosmic Dragon
Posts: 2146
Joined: Fri May 17, 2019 5:03 pm

Re: What are your gameplay settings against the AI?

#20 Post by LienRag »

Grummel7 wrote: Wed Aug 03, 2022 5:54 pm Now, if this file does not already has a section [main], just append:

Code: Select all

[main]
gang_up_turn=1
Thanks !
But, to be entirely foolproof (since I may not be the only fool trying to play this game) : if there is a section [main], I need to append the "gang_up_turn=100" (or whatever value) under that section [main] ? Anywhere under that section ?

User avatar
Oberlus
Cosmic Dragon
Posts: 5714
Joined: Mon Apr 10, 2017 4:25 pm

Re: What are your gameplay settings against the AI?

#21 Post by Oberlus »

LienRag wrote: Wed Aug 03, 2022 6:10 pm if there is a section [main], I need to append the "gang_up_turn=100" (or whatever value) under that section [main] ? Anywhere under that section ?
Try it out? Sounds straightforward...

Daybreak
Vacuum Dragon
Posts: 641
Joined: Mon Aug 13, 2018 10:14 pm

Re: What are your gameplay settings against the AI?

#22 Post by Daybreak »

LienRag wrote: Wed Aug 03, 2022 6:10 pm
Grummel7 wrote: Wed Aug 03, 2022 5:54 pm Now, if this file does not already has a section [main], just append:

Code: Select all

[main]
gang_up_turn=1
Thanks !
But, to be entirely foolproof (since I may not be the only fool trying to play this game) : if there is a section [main], I need to append the "gang_up_turn=100" (or whatever value) under that section [main] ? Anywhere under that section ?
Lienrag mine says this

[Timers]
timers_to_log = False
timers_dump = False
timers_dump_folder = timers

[main]
handlers =

so I believe because [main] already exists you would do this

[Timers]
timers_to_log = False
timers_dump = False
timers_dump_folder = timers

[main]
handlers =
gang_up_turn=1


We just have to wait for a new build

User avatar
Grummel7
Space Dragon
Posts: 335
Joined: Mon Oct 09, 2017 3:44 pm

Re: What are your gameplay settings against the AI?

#23 Post by Grummel7 »

Don't expect anything great. The AI is a machine and nobody ever told this machine what an ally is and how to deal with it. It is still trying to invade allied planets...

Perhaps I can fix that quickly, but I do not intend to invest too much effort into that feature.

User avatar
LienRag
Cosmic Dragon
Posts: 2146
Joined: Fri May 17, 2019 5:03 pm

Re: What are your gameplay settings against the AI?

#24 Post by LienRag »

Grummel7 wrote: Thu Aug 04, 2022 4:38 pm It is still trying to invade allied planets...
I never played the beginner levels but I think that when the AI is not maniacal some of them can be at peace with the player ?
So they should at least know how to be at peace ?

User avatar
Grummel7
Space Dragon
Posts: 335
Joined: Mon Oct 09, 2017 3:44 pm

Re: What are your gameplay settings against the AI?

#25 Post by Grummel7 »

LienRag wrote: Thu Aug 04, 2022 7:58 pm I never played the beginner levels but I think that when the AI is not maniacal some of them can be at peace with the player ?
So they should at least know how to be at peace ?
Just because it knows how to make peace does not mean it knows how to use it offensively. Nobody expects a low-level AI to be aggressive.

Anyway, I've prepared another PR that should at least remove the most obvious issues.

User avatar
LienRag
Cosmic Dragon
Posts: 2146
Joined: Fri May 17, 2019 5:03 pm

Re: What are your gameplay settings against the AI?

#26 Post by LienRag »

Grummel7 wrote: Tue Aug 02, 2022 8:29 pm Since you keep asking for it... here it is.

I will never make this the default, its an extra option, that is currently configure via the AI config file. Perhaps, if you like it very much, we can make it a game config.
Indeed, I like it very much, it really improves the single player game, so yes it would be nice to make it a game config.

BTW, does this config file edit need to be done before the game starts or can it be edited while the game is active ?

User avatar
Oberlus
Cosmic Dragon
Posts: 5714
Joined: Mon Apr 10, 2017 4:25 pm

Re: What are your gameplay settings against the AI?

#27 Post by Oberlus »

LienRag wrote: Tue Dec 27, 2022 10:58 pm does this config file edit need to be done before the game starts or can it be edited while the game is active ?
Before game start.

User avatar
Grummel7
Space Dragon
Posts: 335
Joined: Mon Oct 09, 2017 3:44 pm

Re: What are your gameplay settings against the AI?

#28 Post by Grummel7 »

Oberlus wrote: Wed Dec 28, 2022 10:25 am
LienRag wrote: Tue Dec 27, 2022 10:58 pm does this config file edit need to be done before the game starts or can it be edited while the game is active ?
Before game start.
Actually I am pretty sure it works when you restart the game and configure the next turn.

Post Reply