if (GC.getImprovementInfo(getImprovementType()).getFeatureUpgrade() != NO_FEATURE)
{
if (GC.getGameINLINE().getSorenRandNum(100, "Feature Upgrade") < GC.getDefineINT("FEATURE_UPGRADE_CHANCE"))
{
setFeatureType((FeatureTypes)GC.getImprovementInfo(getImprovementType()).getFeatureUpgrade());
setImprovementType(NO_IMPROVEMENT);
}
}
global MAX_CITIZEN_BUTTONS
[COLOR="Red"]''' Enhanced HUD 10/18/08 Xienwolf '''[/COLOR]
global HUD_City_Bottom_Right_Width
global MAX_CITIZEN_BUTTONS
[COLOR="Green"] ''' Enhanced HUD 10/18/08 Xienwolf '''[/COLOR]
global HUD_City_Bottom_Right_Width
CvPlot::doTurn()
Spoiler :
Code:if (GC.getImprovementInfo(getImprovementType()).getFeatureUpgrade() != NO_FEATURE) { if (GC.getGameINLINE().getSorenRandNum(100, "Feature Upgrade") < GC.getDefineINT("FEATURE_UPGRADE_CHANCE")) { setFeatureType((FeatureTypes)GC.getImprovementInfo(getImprovementType()).getFeatureUpgrade()); setImprovementType(NO_IMPROVEMENT); } }
Is there still a concept of Eras somewhere in FfH or are Eras gone for good?
Edit: Stupid question. Of course there are Eras. They seem to stop at Medieval, though.
Could the code that let you get a research bonus from earlier eras be altered to give bonuses in specific tech branches. For instance, RoK civs could research to Engineering and Machinery faster, FoL civs could rush to Animal Mastery, OO could to Astronomy, Order to Fanaticism and Righteousness, etc.
We created an era for each religion so that we could have the soundtrack modified based on your religion. Their is a function in CvEventManager.py that does that. Civ4 assumes that eras always go one way (from ancient to classicla, etc). But since we use them for religions its possible for eras to go from the 8th era (order or whatever) to the 5th era (runes or whatever).
I've been modding my FfH with the FfH Editor, tweaking the game has never been easier. But I have a problem now, when I update or change some differences in the Units section and try to export the information, VB comes up and tells me that there is a "compile error: can't find project or library".
Does anyone know how to solve this? I can't bear spending hours going through the XML and editing it. It just takes too much time!
I actually tried to make new units for ljosalfar. Basically using other unitclasses as blue prints then modding and changing what is allowed in the FfH Editor, edited Text in FfH and also the UnitClass XML file. I did think that it was probably I did something drastic and caused the error. So I used a FfH Editor backup (thankfully I saved one) to change everything back but even the original/back up came up with the same error. I also tried it for the previous version of FfH 2033 to see if it was something reoccurring, and I got the same error as well.
VB would pop up and the area that is highlighted is the 'z = 0', the top part of the script. So I forsake FfH Editor and edited the XML file the old school way based on the sections in the FfH Editor to the exact copy of what I edited and changed in the Editor, and there was no problems (it ran pretty smoothly)
All other sections of the FfH export works except the units. Any ideas?
Would you like me to pass you my FfH editor so that you can view it?
=SUM(B436:ACJ436)
You probably dont have anything in the B1 cell. Thats the cell that has to have the total number of units that it has to go through. If you inserted a unit in the B column but didnt keep that cell the same thats probably whats causing your problem. The contents of the B1 cell should be:
Code:=SUM(B436:ACJ436)
Yeah link a copy and I'll check it out.