Raging barbarians, values changed?

No values are altered in the database, but it affects the logic in the C++ code. Basically units spawn from camps twice as often - the delay between spawn attempts is halved (hard coded). Although there is a global value BARBARIAN_EXTRA_RAGING_UNIT_SPAWN_CHANCE that looks like it should also increase the spawn chance per attempt, it's not actually used.

Edit: And raging Barbie units get a 25% (hard-coded) combat bonus
 
Database values aren't altered when you enable raging barbarians. There are just extra define values in the <Defines> table (and as I recall a couple of other tables) that are only implimented when raging barbarians is selected. But the information in the game's database remains the same regardless of whether you have 'No Barbarians' or 'Raging Barbarians' selected.

Under table <Defines> there is this one: "BARBARIAN_EXTRA_RAGING_UNIT_SPAWN_CHANCE" from as I recall file GlobalDefines.xml

:ninja:fied, with more detailed info.
 
No values are altered in the database, but it affects the logic in the C++ code. Basically units spawn from camps twice as often - the delay between spawn attempts is halved (hard coded).
okay, thanks :)
Although there is a global value BARBARIAN_EXTRA_RAGING_UNIT_SPAWN_CHANCE that looks like it should also increase the spawn chance per attempt, it's not actually used.
It is not used in the C++ code, so this value has no effect?

Edit: And raging Barbie units get a 25% (hard-coded) combat bonus
If "raging barbarian" turned on, are all barbs raging, or just some of them? Because I never saw a 25% ?! Then maybe the BARBARIAN_EXTRA_RAGING_UNIT_SPAWN_CHANCE tells the game how many of the barbs get the combat bonus?

At the moment I can't test it, but I will do in some hours, find out if changing BARBARIAN_EXTRA_RAGING_UNIT_SPAWN_CHANCE does anything and if any of the barbs have 25% combat bonus.

edit: Also thank you Lees for your answer :) Are there more values which are only used with raging barbarians?
 
BARBARIAN_EXTRA_RAGING_UNIT_SPAWN_CHANCE is never used, it does nothing.

The +25% doesn't show anywhere in the UI IIRC, it's just added to the internal combat modifiers
 
okay, thanks :)

It is not used in the C++ code, so this value has no effect?


If "raging barbarian" turned on, are all barbs raging, or just some of them? Because I never saw a 25% ?! Then maybe the BARBARIAN_EXTRA_RAGING_UNIT_SPAWN_CHANCE tells the game how many of the barbs get the combat bonus?

At the moment I can't test it, but I will do in some hours, find out if changing BARBARIAN_EXTRA_RAGING_UNIT_SPAWN_CHANCE does anything and if any of the barbs have 25% combat bonus.

edit: Also thank you Lees for your answer :) Are there more values which are only used with raging barbarians?
I was relying on memory when I made my last post. Which demonstrates how bad my memory is as a data-caching method. Looking through the code of Barbarian Spawn Increase, no there actually aren't any other columns or defines that are only used when raging barbarians is turned on. And from William's comments based on checking what is actually in the game's dll, the one define meant specifically for use with raging barbarians is not actually implimented anywhere in the controlling game-code. Yay Firaxis! Yet another orphan piece of data in the game's database.
 
Back
Top Bottom