So I can add my own entries for units.txt in the cfg file if I find any more?
Announcement
Collapse
No announcement yet.
[Utility] UnitsCSV v.1
Collapse
This topic is closed.
X
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.
-
Yeap
I'll add an option to load buildings.txt and advance.txt, and make an associated config files.
And get rid of that output to the screen that I forgot to remove.Last edited by EPW; May 23, 2009, 00:44."...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
-
Here's what I have for buildings.cfg so far:
Code:#A "s" means it has a value listed after it, a "t" means it doesn't. #An "a" means its an ability and flags in brackets come after it. #Ability flags start with an "a" and are follewed by an "s" or a "t" DefaultIcon s Description s EnableAdvance s EnableAdvance s PrerequisiteBuilding s PrerequisiteBuilding s PrerequisiteBuilding s PrerequisiteBuilding s PrerequisiteBuilding s ProductionCost s Upkeep s RaiseOvercrowdingLevel s RaiseMaxPopulation s HappyInc s OffenseBonusLand s CommercePercent s SciencePercent s ProductionPercent s FoodPercent s GoldPerCitizen s PopulationPollutionPercent s ProductionPollutionPercent s OffenseBonusWater s OffenseBonusAir s StarvationProtection s LowerCrime s LowerPeaceMovement s DefendersPercent s PreventConversion s PreventSlavery s ProtectFromBioAgents s ProtectFromNanoVirus s FoodVat s ForceField t Television t NuclearPlant t AllowGrunts t CityWalls t CantBuildInSea t CoastalBuilding t IsReligious t Cathedral t Brokerage t Capitol t DoubleTelevangelists t
"...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
-
v1.1
Latest version, supports Advance.txt and buildings.txt as well as units.txt.Attached Files"...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
-
Did you allow for the GovernmentsModified stuff yet?
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'd prefer a system like this, but I'm biased.
Code:IMPROVE_COURTHOUSE { DefaultIcon ICON_IMPROVE_COURTHOUSE Description DESCRIPTION_IMPROVE_COURTHOUSE EnableAdvance ADVANCE_JURISPRUDENCE ProductionCost 330 Upkeep 1 LowerCrime -0.1 GOVERNMENT_MONARCHY { ProductionCost 400 Upkeep 4 LowerCrime -0.4 HappyInc -1 } }"...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
-
This goes against everything my program stands for.Code:IMPROVE_COURTHOUSE > GOVERNMENT_MONARCHY {
I may be exaggerating."...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 see what you're saying, kind of.
Consider it a challenge
or ignore 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
-
govern.txt and terrain.txt should work too, though there are so many flags I don't want to think about it.
Edit: and wonders.txt, and tileimp.txt, and risks.txt, and pop.txt, and Orders.txt, and...
Some adjustment should get uniticon.txt to work."...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 think I'll just add another config file where you can specify the .txt, .csv, or .cfg file you want to load."...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
-
Did it. I got to use the strcat function.Originally posted by Maquiladora View PostI see what you're saying, kind of.
Consider it a challenge
or ignore it.
I'm going to release a "Final" version soon. Now that it works with a lot of the database files, I need a knew name though. Recommendations are welcome. (I've only come up with DBCSV so far)"...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