What do the Top/Botton flags do?
Announcement
Collapse
No announcement yet.
GENERAL: E-Cafe III
Collapse
X
-
That's the rank of the player's cities. So Top 0.2 ProductionCities would be the top 20% of cities ranked by production.Originally posted by EPW View PostWhat do the Top/Botton flags do?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
-
So did you change the unitsupportpercent? i don't see what changing
has to do with what I said?Bottom 1.0 //Top 1.0 //0.2
GrowthCities //ProductionCities
"...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam." -The Lord of the Rings, The Fellowship of the Ring
Comment
-
I just realised, and I don't know
But it led me to try growthcities instead, and it worked so...
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 look at the source shows that it will return 0% percent in this case, though it is displayed as 100%. I'll change the display to show 0% if the readiness cost is 0, and 100% if the readiness cost > 0 but production is 0.Originally posted by EPW View PostI just did a test: even with one settler, the military advisor says that the upkeep cost is 100% on turn 0."...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam." -The Lord of the Rings, The Fellowship of the Ring
Comment
-
He stole it
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
-
I'm thinking about how to change the VictoryEnslavement ability slavers have.
Right now, if you have a unit with this ability in a victorious army you will be guaranteed to earn one slave.
These are some of the variables I am considering to add:
float chance //The chance of enslaving a unit on victory
float SlavesPerUnit //The number of slaves captured per unit
Int Attempts //The number of units the Slaver tries to enslave per victory
Int MaxSlavesPerVictory //This is the maximum number of the unit can enslave per victory
bit Stacks //Ability stacks with other enslavement units in the victorious army
The max number of slaves you can capture per battle will be SlavesPerUnit*UnitsInLoser's stack.
Thoughts?"...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam." -The Lord of the Rings, The Fellowship of the Ring
Comment
-
IMO victory enslavement is already too strong, so I like the sound of the "chance", so we can control it more like slave raids. The others I wouldn't use myself.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
-
Okay, I've added VictoryEnslavementChance flag and VictoryEnslavementStacks flag. I'll take a look at the GovernmentOnly thing and see if I can add it without much effort, then i'll commit."...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam." -The Lord of the Rings, The Fellowship of the Ring
Comment
-
So I'm going to add some kind of fortification heal rate flag. The question is, should I add it to const.txt, or should I add a tile improvement heal rate flag?"...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam." -The Lord of the Rings, The Fellowship of the Ring
Comment
-
In the tile imp DB it would be a lot more flexible, no?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
-
Capturing a city now clears the stored production:
modified trunk/ctp2_code/gs/gameobj/CityEvent.cpp
yeahIn the tile imp DB it would be a lot more flexible, no?"...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam." -The Lord of the Rings, The Fellowship of the Ring
Comment
-
Hmm, do you think it should add to or override the normal healing rate?"...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam." -The Lord of the Rings, The Fellowship of the Ring
Comment
Comment