How can I restrict Heal Rate change by Domain?

Dom Pedro II

Modder For Life
Joined
Apr 3, 2002
Messages
6,811
Location
Exit 16, New Jersey
Hey, everybody,

Recently, I was playing a game of civ and I realized that I'm not particularly satisfied with the Drydock... one of the most important functions of a drydock is to be able to make repairs to damaged ships. Consequently, ports with drydocks can make these repairs considerably faster than ports without them, or sometimes ports without them can't make them at all...

So basically, to prevent the Drydock from being over-powered, I want to split up the current functions of the Drydock into two buildings... a Naval Academy and the Drydock. The Naval Academy would give +2 or 3 XP to naval units built in the city and the Drydock would increase production rate as it does now and give a +10% heal rate to ships in the city.

Of course, I don't want that bonus to be used on land units and I don't want the Hospital's bonus to be used on sea units, so what would I have to do to make this work?

(Or if some skilled programmer out there thinks this is a splendid idea, they could always do it themselves ;) ... I certainly won't complain)
 
So what you are asking for is something like the <DomainFreeExperience> tag for buildings but effects the health of the unit? So it would be something like <DomainHealthChanges>?
 
Ok, I'll see what I can do tomorrow about it, Ok?
 
Dom,

Good news, I am done with the mod comp... I am just wrapping up some testing.
 
Dom, I have changed my mind, the mod isn't done yet because I want to give you more options...

Basically I have added two extra tags:
<UnitClassHealRateChanges>
<UnitCombatHealRateChanges>

So the mod will have a total of three new tags for buildings:
<UnitClassHealRateChanges>
<UnitCombatHealRateChanges>
<DomainHealRateChanges>

This way you can have a specific building provide healing for a domain, unit combat or unit class.

What do you think?
 
:lol: I was getting myself together to go to work and as I was doing so I thought: "Ya know... I wish I'd asked to be able to separate it by class too..."

Because a Hospital maybe shouldn't be doing much to help repair Gunships and Tanks...

So this sounds great, yes :)
 
Back
Top Bottom