I'd say override like cities, gives you more control.
Announcement
Collapse
No announcement yet.
GENERAL: E-Cafe III
Collapse
X
-
Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
-
hmmm, should I add backwards compatibilty?
I don't like it, but it would make alot of mods work properly if I did that.Code:if(IsCity) CityHealRate elseif(IsTileImprovement && HasHealRate) TileImprovementHealRate elseif(IsTileImprovement && Isfort) CityHealRate else NormalHealRate"
Comment
-
What does Isfort check?Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
-
Right now, a fort heals like a city. I can keep that check in there after it checks if the tile improvement heals. So if you have the HealRate flag for a fort it will heal at that rate, otherwise it will heal like a city.
I've found some other issues too. What if there are two improvements that heal? Do they add together or should it use the highest one? What if the Normal heal rate is higher than the tile improvement heal rate? Which does it use?"
Comment
-
Add together sounds more intuitive to me.Originally posted by EPW View Post
What if there are two improvements that heal? Do they add together or should it use the highest one?
The tile imp.What if the Normal heal rate is higher than the tile improvement heal rate? Which does it use?Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
-
Yes, in a city should always be the city heal rate, even if the city is built on a tile imp with any heal rate.Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
-
Too slow...
Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
-
A quick search for "heal" in the code tells me it's just tile imps that have a defence bonus that heal. Or with the new "Fort" flag that Ekmek added.Originally posted by EPW View PostI do hope forts are the only improvements that heal.
Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Comment
Comment