| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Warlord
Join Date: Jan 2007
Location: UK
Posts: 225
|
End of Winter mechanics
A question for the mod team:
If End of Winter is on, will it gradually upgrade any tundra/snow according to its latitude (so extreme northerly/southerly climes will never naturally warm up)? If I have snowy regions on the equator, for example, will they over time become tundra, then plains? Also, does it have any effect on floating ice? I ask because I'm think of designing a very wintery map which I'd like to gradually warm up, and (if floating ice is affected) quite like the idea of frozen seas that will, in time, thaw out, opening up previously isolated lands. Edit: also, what determines whether upgraded tiles become plains or grasslands?
__________________
Oh look... I've just made a knight! Shame the enemy has tanks |
|
|
|
|
|
#2 |
|
Deity
Join Date: May 2002
Location: Ohio
Posts: 17,392
|
The "Thaw" mechanic is a process that runs as soon as the game starts. Its all right here (from the onGameStart python function in CvEventManager.py):
Code:
if gc.getGame().isOption(GameOptionTypes.GAMEOPTION_THAW):
iDesert = gc.getInfoTypeForString('TERRAIN_DESERT')
iGrass = gc.getInfoTypeForString('TERRAIN_GRASS')
iPlains = gc.getInfoTypeForString('TERRAIN_PLAINS')
iSnow = gc.getInfoTypeForString('TERRAIN_SNOW')
iTundra = gc.getInfoTypeForString('TERRAIN_TUNDRA')
for i in range (CyMap().numPlots()):
pPlot = CyMap().plotByIndex(i)
if pPlot.getFeatureType() == -1:
if pPlot.getImprovementType() == -1:
if pPlot.isWater() == False:
iTerrain = pPlot.getTerrainType()
if iTerrain == iTundra:
pPlot.setTempTerrainType(iSnow, CyGame().getSorenRandNum(90, "Bob") + 10)
if iTerrain == iGrass:
pPlot.setTempTerrainType(iTundra, CyGame().getSorenRandNum(90, "Bob") + 10)
if iTerrain == iPlains:
pPlot.setTempTerrainType(iTundra, CyGame().getSorenRandNum(90, "Bob") + 10)
if iTerrain == iDesert:
pPlot.setTempTerrainType(iPlains, CyGame().getSorenRandNum(90, "Bob") + 10)
As you can see from the code, tundra becomes snow, grasslands becomes tundra, plains becomes tundra, desert becomes plains. It doesnt do anything with water plots or plots with features on them (which is why you may notice that forests and jungles are still on grasslands or plains). For your purpose you need to build your map in its final (warm) state and then let the thaw mechanic freeze it for you.
__________________
Civ4: Fall from Heaven II (forum) (webpage), FfH: Age of Ice Civ5: Queen of the Iceni, Legions, Modders Guide to Civilization V Current Project: Fallen Enchantress |
|
|
|
|
|
#3 |
|
Deity
Join Date: Dec 2005
Location: Orange County, CA
Posts: 5,632
|
No, it's simpler than what you thought.
For one thing, floating ice is unaffected, so that's out, sorry. How it works is that is generates a map as normal, then converts each featureless tile one step towards snow, along with giving it a random number between 10 & 100. The number is the turn in which it returns to normal. So the option works with premade maps without adding any snow or tundra--in fact if you do it will end up like that again. And what determines the final step is whatever the map generator chose them to be to begin with. However, since tiles with features are unaffected, I think, starting in areas with several flood plains is a bit unbalancing. edit: Hi, Kael.
__________________
Fall From Heaven II |
|
|
|
|
|
#4 |
|
Warlord
Join Date: Jan 2007
Location: UK
Posts: 225
|
Ah right - thanks for the quick response guys. So the frozen sea is out then. Oh well, it was a nice idea.
__________________
Oh look... I've just made a knight! Shame the enemy has tanks |
|
|
|
|
|
#5 |
|
Chieftain
Join Date: Aug 2007
Posts: 68
|
Wouldn't it be fairly simple to add the code so that Ocean/Shore becomes Ice? Same deal, just copy/paste with whatever the string for Ocean and Ice is.
|
|
|
|
|
|
#6 |
|
Chieftain
Join Date: Mar 2007
Posts: 5
|
I tried using the End of Winter option on your scenario, Nikis-Knight, but it seemed to either break it or cause it to load extremely slowly (like 10-15 minutes before I canceled it out).
|
|
|
|
|
|
#7 |
|
Deity
Join Date: Dec 2005
Location: Orange County, CA
Posts: 5,632
|
It takes long to load, but plays about the same after that. Load it up and read a book for a short while.
__________________
Fall From Heaven II |
|
|
|
|
|
#8 | |
|
Deity
Join Date: May 2002
Location: Ohio
Posts: 17,392
|
Quote:
Besides there wouldn't be much game play value in adding the new mechanic since most people aren't out sailing in the first 100 turns anyway. It would be entirely cosmetic, so not really worth the processor.
__________________
Civ4: Fall from Heaven II (forum) (webpage), FfH: Age of Ice Civ5: Queen of the Iceni, Legions, Modders Guide to Civilization V Current Project: Fallen Enchantress |
|
|
|
|
|
|
#9 |
|
Lord Commander
Join Date: Nov 2007
Posts: 904
|
But what about floodplains? It's a bit unbalancing if someone starts with 3 or 4 floodplains since they don't seem to change with end of winter...
|
|
|
|
|
|
#10 |
|
Emperor
Join Date: Dec 2003
Location: Victoria, BC, Canada
Posts: 1,096
|
I'd like to see ice on land, too. Frozen forests would be neat.
As mentioned, there is a bit of an imbalance right now since some tiles are affected and others aren't.
__________________
- Niilo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I'm broken. No other computer games 'do it' for me anymore. I've tried buying some. I've tried downloading others. But no sooner have I started playing them than I'm thinking about this again. Success is the happy feeling you get between the time you do something and the time you tell a woman what you did. - Dilbert My Fall from Heaven research thread can be found here. |
|
|
|
|
|
#11 | |
|
Chieftain
Join Date: Jan 2007
Posts: 42
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| end of winter | Neomega | Civ4 - Fall from Heaven | 1 | Jan 01, 2009 05:17 PM |
| End of Winter | iceboy103 | Civ4 - Fall from Heaven | 1 | Sep 19, 2008 03:31 AM |
| End of winter option | Alzara | Civ4 - Fall from Heaven | 6 | Apr 18, 2008 06:10 AM |
| GOTM 31 Spoiler 3: End Industrial age / end game submitted | ainwood | Civ3 - Game of the Month | 119 | Jun 03, 2004 02:13 AM |