The Altera Centauri collection has been brought up to date by Darsnan. It comprises every decent scenario he's been able to find anywhere on the web, going back over 20 years.
25 themes/skins/styles are now available to members. Check the select drop-down at the bottom-left of each page.
Call To Power 2 Cradle 3+ mod in progress: https://apolyton.net/forum/other-games/call-to-power-2/ctp2-creation/9437883-making-cradle-3-fully-compatible-with-the-apolyton-edition
While working on my map, I was looking at natural resource placement and I was wondering how I can make the mountains at least useful by a city if not making them passable.
Does anyone have any suggestions?
Flash
Ἐà ἀñ÷ῇ ἦà ὁ ëüãïò, êáὶ ὁ ëüãïò ἦà ðñὸò ôὸà èåüÃ, êáὶ èåὸò ἦà ὁ ëüãïò.
the Moderator of the World Creators
Okay, I'm steamed. According to Civ4FeaturesInfo, the setting for Ice's Impassible isetting is set to 1. Peaks Impassible setting is set to 0 but you still can't use it. It may for my to remove all mountain peaks from my map.
Yes, I see that too. One thought I had is that maybe these fields in the CIV4UnitInfos.xml file have something to do with it:
< TerrainImpassables/>
< FeatureImpassables/>
But those seem empty except for naval units, where they are:
< TerrainImpassables> < TerrainImpassable> < TerrainType>TERRAIN_OCEAN< /TerrainType> < bTerrainImpassable>1< /bTerrainImpassable> < /TerrainImpassable> < /TerrainImpassables>
Of course, none of this addresses your original question, letting citizens work mountain peak tiles.
Hmmmmmm.
One of these days I'll make 501 posts, and you won't have to look at my silly little diplomat anymore.
"Oh my God, what a fabulous room. Are all these your guitars?"
While experimenting I noticed for instance that you can add gold to the mountains. In game as you look around it will acknowledge that gold is present, but in the city radius that tile is unworkable.
Flash
Ἐà ἀñ÷ῇ ἦà ὁ ëüãïò, êáὶ ὁ ëüãïò ἦà ðñὸò ôὸà èåüÃ, êáὶ èåὸò ἦà ὁ ëüãïò.
the Moderator of the World Creators
Yes. I agree something is up here. I will keep thinking on it and hopefully I can come up with something. You are right in your confusion. I am a bit confused too!
It's got to be in the XML files; we just need to find it.
One of these days I'll make 501 posts, and you won't have to look at my silly little diplomat anymore.
"Oh my God, what a fabulous room. Are all these your guitars?"
I figure it has to be in the XML files too, but I can't find it.
So, for now my map will only use peaks for LM terrain and where appropriete. Until the prohibition to mountains is revoked, I'm forced to use hills instead.
Flash
Ἐà ἀñ÷ῇ ἦà ὁ ëüãïò, êáὶ ὁ ëüãïò ἦà ðñὸò ôὸà èåüÃ, êáὶ èåὸò ἦà ὁ ëüãïò.
the Moderator of the World Creators
As part of the C4:AC mod, we did discover how to make Sea Cities, which then required making Ocean tiles workable. This all required the SDK with no XML or Python work (that I remember). I believe that whilst making a terrain type passable is possible with the XML, it is not so for making the tile workable.
Ceeforee v0.1 - The Unofficial Civ 4 Editor -= Something no Civ Modder should ever be without =- Last Updated: 27/03/2009
"Just because I'm paranoid doesn't mean there's no conspiracy"
Thank you much for that info. As I'm not that adventurous at programming anymore, I guess I'll have to go with the limited mountain peak plan. darn it.
Flash
Ἐà ἀñ÷ῇ ἦà ὁ ëüãïò, êáὶ ὁ ëüãïò ἦà ðñὸò ôὸà èåüÃ, êáὶ èåὸò ἦà ὁ ëüãïò.
the Moderator of the World Creators
ARGH NOOOOOO! I found just this thread i searched for so long and now you put your heads down???
Please!!!
@some Modding Master:
Can someone post the code for making the moutains act like normal terrain. I have already collected some code to make them passable. But thats just XML.
Question: How can towns gain some ressources from them? Any idea?
(Just switch that impassable away! I think that will do?!)
Thror78,
There are several problems. One is that the switch enabling the use of peaks is odd. Another, problem that drives me crazy is the lack of being able to use peaks in the cities. You can add resources to them but you still can't access them.
I'm not really sure what their purpose is other than acting as a naturally occurring Great Wall.
The only solution I've found until someone from Firaxis will post a solution is to use hills as both hills and mountains while using "Peaks" as LM Peaks of very tall mountains like Mt. Everest.
I've also wondered if it was possible to add a "mountain" terrain using the "Peak" graphics. But someone who understands Civ IV better than I will have to tell me if it is possible.
Flash
Ἐà ἀñ÷ῇ ἦà ὁ ëüãïò, êáὶ ὁ ëüãïò ἦà ðñὸò ôὸà èåüÃ, êáὶ èåὸò ἦà ὁ ëüãïò.
the Moderator of the World Creators
Yes there is already a Mod ->*Terraform*
But those new mountains look, ... hmm ... its a hill with mountain texture. The idea is good but i don't like it that way.
MMC mentioned to do some codework to make the Peaks similar to hills and to compile the whole thing.
I tried but i use no VC++ so i have there quite more problems.
Here is what i got from MMC:
RE: Peaks workable
I've had a quick look into it, and the simplist method I can think of, is setting the SDK to trick the game into thinking Peaks are hills. I don't have time to explain fully, but by replacing one of the 'isPeak()' commands to read 'isHills()', then it should work. I think the line you'll be looking for is line 616 in cyplot.cpp.
You can attach a txt but not a cpp file. So i attached a ".txt at the end. This has to be removed before compiling ;-)
CvPlot.cpp.txt -> CvPlot.cpp
Wherever i changed sth i wrote there "// TOM changed" so one can better find it
--- content of CvPlot.cpp:
bool CvPlot::canHaveBonus(BonusTypes eBonus, bool bIgnoreLatitude) const
...
if (isPeak()) // LINE 1797
{
//return false;
return true; // TOM changed
}
...
bool CvPlot::canHaveFeature(FeatureTypes eFeature) const
...
if (isPeak()) // LINE 3078
{
//return false; // TOM changed
return true;
}
...
bool CvPlot::isImpassable() const // LINE 3335
{
if (isPeak())
{
// return true; // TOM changed
return false;
}
...
That are some nessessary changes i'd make. But i don't know if they are right:
You have to set up the whole SDK and compile the whole thing to the CvGameCoreDLL.dll.
Because MICROSOFT made an update and i didn#t find the old version anywhere it is not possible for me. But maybe some coder might be able to *help*
You can attach zip files if that makes it easier for you next time.
Ceeforee v0.1 - The Unofficial Civ 4 Editor -= Something no Civ Modder should ever be without =- Last Updated: 27/03/2009
"Just because I'm paranoid doesn't mean there's no conspiracy"
I am curious to see if it would work. It has been years since I tried to program anything and I had a lot to learn even then. (I went back to school I just graduated in May with a Ministry degree.)
Flash
Ἐà ἀñ÷ῇ ἦà ὁ ëüãïò, êáὶ ὁ ëüãïò ἦà ðñὸò ôὸà èåüÃ, êáὶ èåὸò ἦà ὁ ëüãïò.
the Moderator of the World Creators
Comment