There is a function in CvPlot.cpp
ColorTypes CvPlot::plotMinimapColor()
{
...
if ((getRevealedOwner(GC.getGameINLINE().getActiveTeam(), true) != NO_PLAYER) && !isRevealedBarbarian())
{
return...
There is a function in CvPlot.cpp
ColorTypes CvPlot::plotMinimapColor()
{
...
if ((getRevealedOwner(GC.getGameINLINE().getActiveTeam(), true) != NO_PLAYER) && !isRevealedBarbarian())
{
return...
I'm trying to run vanilla (1.74) with more than 18 civs but it crashes when I start a new game. While debugging I think I've found that the EXE is hardcoded to only 18 civs. Do I have to update to Warlords or BTS for more civs?:sad:
If you just want the asserts in you release build just define FASSERT_ENABLE. At the top of FAssert.h you'll see
#ifdef _DEBUG
#define FASSERT_ENABLE
#endif
change it to:
//#ifdef _DEBUG
#define FASSERT_ENABLE
//#endif
I looked at onUnitKilled and the problem is that it doesn't tell you what unit caused the unit to be killed. Looking at the SDK code there is you could just use the <Capture></Capture> tags already in the CIV4UnitInfos.xml. All you would need is to add a precent chance to capture tag with that...
Couldn't the check be done in the onUnitKilled function. Looking at the SDK code this should be called for the ships in the cities when they are captured. I will test this tonight if I get a chance.
I still use Civ4 1.74 and my solution was to add a tag to the ProjectsInfo file.
So the Manhattan Project looks like this now:
<ProjectInfo>
<Type>PROJECT_MANHATTAN_PROJECT</Type>
<Description>TXT_KEY_PROJECT_MANHATTAN_PROJECT</Description>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.