actual effect of "raging barbarian" game option?

davidlallen

Deity
Joined
Apr 28, 2008
Messages
4,743
Location
California
I have been adjusting the barbarian frequency fields in handicapinfo, but I am curious how this interacts with the "raging barbarians" game option. I have looked at the "insane barbarian" mods out there, and they just set the barbarian frequency fields in handicapinfo.

Something else must be happening when the raging barbarians game option is used. In particular, I have set the barbarian city creation percentage to zero for all handicap levels. With the raging barbs option off, I get no barbarian cities as I expect. With the raging barbs option on, I get barbarian cities. That seems wrong.

I can't see any real difference in what the barbarians do with "raging barbs" on or off. I was hoping they would attack more often, but they don't seem to.

Does anybody know the exact effect of the raging barbarians game option?
 
What's "Barbarian City Creatin Percentage" ? Because there is no such tag in the HandicapInfo... I think thats why it doe not have the expected result.

If you don't want any Barb cities set <iUnownedTilesPerBarbarianCity> to -1 (0 should do as well)

The Raging Barb option will make more barbs and more barb cities spawn by increasing the probability of spawning (I didn't examiden the code to the last detail but it seems like about 50% higher chances to spawn in any given area).
There is no change at all in the Barbs behaviour.
 
Thanks for the info. The city frequency variable I referred to is iBarbarianCityCreationProb. I am not sure why they have two variables to control barbarian city creation. I will additionally set iUnownedTilesPerBarbCity to -1 and then I should have no barb cities.
 
The math seems a bit complicated - this is why i cant give exact numbers... But overall it works in a fashion:

If there are less Barb cities than 1 per <iUnownedTiles> a new city might be added and then the probability depends on both - Unowned tiles and the Creatin prob. So the Creation tag does not behave as expected.

But setting iUnowned tiles to -1 should definitely remove barb cities - there is a explicit check for this in the code.
 
Raging Barbarians halve the number of unowned tiles for that equation, I think... It'll also spawn twice the barbarians as the normal for that difficulty level.
 
Back
Top Bottom