Page 1 of 1

Trait values

Posted: Tue Sep 29, 2015 12:21 pm
by Ozor Mox
nations.ruleset now has traits:

Code: Select all

[default_traits]
;expansionist = 50
;trader = 50
;aggressive = 50
I'd like to have a play with changing these default values, but I can't find any documentation on what these mean. Is the minimum 0? The maximum 100? Do they affect each other? Do they have to add up to a certain total?

Anyone have the answers or able to point me at them?

Re: Trait values

Posted: Tue Sep 29, 2015 2:53 pm
by cazfi
http://freeciv.wikia.com/wiki/Traits

Minimum is 1. As far as I remember (can't check just now) max is 50*50=2500 ('default * 50', like minimum is 'default / 50 = 1'), but my experience has been that like with any AI related rule change, one should not change it much from the default or the AI breaks completely.

Re: Trait values

Posted: Tue Sep 29, 2015 4:08 pm
by Jacew
but my experience has been that like with any AI related rule change, one should not change it much from the default or the AI breaks completely.
So Traits are currently rather unusable?

That, I think, is most imortant part that should be worked on in Freeciv. With Traits fixed, there should also be an option to randomize them for each civilization in the beginning. It's tiresome that every AI player acts pretty much same, and it's a lots of work to manually give suitable traits for +500 nations. Even if it would make them worse as players, it would be worth it.

EDIT: fixed some wording.

Re: Trait values

Posted: Tue Sep 29, 2015 11:34 pm
by Ozor Mox
cazfi wrote:http://freeciv.wikia.com/wiki/Traits

Minimum is 1. As far as I remember (can't check just now) max is 50*50=2500 ('default * 50', like minimum is 'default / 50 = 1'), but my experience has been that like with any AI related rule change, one should not change it much from the default or the AI breaks completely.
I had found that wiki page, but the information on what exactly the values do, minimums and maximums etc. was a bit sparse so thanks for providing that additional information.
Jacew wrote:So Traits are currently rather unusable?

That, I think, is most imortant part that should be worked on in Freeciv. With Traits fixed, there should also be an option to randomize them for each civilization in the beginning. It's tiresome that every AI player acts pretty much same, and it's a lots of work to manually give suitable traits for +500 nations. Even if it would make them worse as players, it would be worth it.

EDIT: fixed some wording.
From the traits wiki page it looks like 2.6 will allow you to set a range, so setting that for the default traits would effectively be a randomise traits option.

I will try adjusting these default trait values (in 2.5) and see how it affects the AI.

Re: Trait values

Posted: Sun Oct 04, 2015 6:32 pm
by Jacew
Ozor Mox wrote: From the traits wiki page it looks like 2.6 will allow you to set a range, so setting that for the default traits would effectively be a randomise traits option.
That's great.