Trait values

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
Ozor Mox
Posts: 45
Joined: Wed Apr 02, 2014 12:15 pm

Trait values

Post 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?
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Trait values

Post 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.
Jacew
Posts: 23
Joined: Thu Apr 30, 2015 8:45 am

Re: Trait values

Post 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.
Ozor Mox
Posts: 45
Joined: Wed Apr 02, 2014 12:15 pm

Re: Trait values

Post 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.
Jacew
Posts: 23
Joined: Thu Apr 30, 2015 8:45 am

Re: Trait values

Post 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.
Post Reply