Doubled Healperiod and lower enemyspy success with buildings

Eiskalt

Chieftain
Joined
Jul 28, 2013
Messages
32
As the threadname said I need some help in two building modifieroptions pls. I already searched in the documents but I have no plan how to do that. The first what I like is that when I have finished building A the healperiod of a damaged city is doubled each round. The next what I like when I have finished building B is that the enemyspy success chance is reduced by e.g. 10 %. How can I code that? Need help pls :/ .
 
the healperiod of a damaged city is doubled each round
I'm afraid I do not understand this. You mean it takes 2x longer to heal city HP each turn? So basically it would never heal beyond the point of: HEALTH_when_constructed_building_A + 100%xHEALTH - any_damage_after_A_construction
I assume you want to make it once to take the healing longer but finite time. Either way: in globalparameters.xml you can find

Code:
<Row Name="COMBAT_HEAL_CITY_GARRISON" Value="20" />
Code:
<Row Name="COMBAT_HEAL_CITY_OUTER_DEFENSES" Value="10" />
I've run search for it in all files in game folder and it found it only in globalparameters.xml and in GameCore_Base_FinalRelease.dll so I have some bad news for you: we would need to wait for .dll release before it could be accomplished.

As for second problem: same.
\Base\Assets\UI\Popups\EspionageEscape.lua has some local *ESPIONAGE_ESCAPE_* entries but that will not help in...:hmm:...anything.

Sorry to tell that but only thing you can do is put these ideas on the shelf for now and focus on improving your skills in other areas.
 
Back
Top Bottom