Natural Wonders Mod Comp

Updates:

Pressing CTRL + F shows locations of revealed Natural Wonders for one minute.

That's a great way to do it, thanks!

Important note for BUG Mod/RevDCM users:
The new CTRL+F code has to be pasted in the BugEventManager.py. Don't forget to define 'theKey'.
(And it really has to pasted there, not in a modular python file even!)
 




1) Updated Platypedia
2) Removed Sevopedia
 
Updates

New Benefits

It seems that buildings are more popular so I removed the free specialist and grant a new building instead.

1) When a city is built near a Natural Wonder (within BFC), it gains a free NW specific building. (Built near Mount Everest gains Mount Everest building)
(Screenshot 2)

2) Each Natural Wonder can only grant its special building to only one city.
(Screenshot 1, only the city built first gets the building)

3) When city with Natural Wonder building gets razed, building automatically shifts to random city near Natural Wonder.
(Screenshot 3)

P.S.
All the Natural Wonders have specific buildings, but all of them only provide +1 Great Scientist rate.
Design the effects yourself, only provided the codes to make them work :D
 

Attachments

  • 1.JPG
    1.JPG
    133.2 KB · Views: 261
  • 2.JPG
    2.JPG
    134.2 KB · Views: 268
  • 3.JPG
    3.JPG
    141.6 KB · Views: 264
Great ideas!
I'm sure all modders will appreciate it!
 
Updates

1) Removed a test code left behind in onCityAcquiredAndKept
This must be Jamie's fault. I never use that section :mischief:


2) Updated Platypedia
 
"fault", that is not a nice term :lol:! I used that function to calculate the new bonuses to culture, you just went a different path :p
 
20th Natural Wonder, by hrochland

Since there are 20 now, Chance to spawn reduced from 12% to 10%
 

Attachments

  • Civ4ScreenShot0003.JPG
    Civ4ScreenShot0003.JPG
    120.3 KB · Views: 239
  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    83.8 KB · Views: 251
Nah, you are telling the wrong guy :D
I can only add what our artists provide, no artwork no wonders :D
 
1) Codes shifted from CvEventManager to a new python file, NaturalWonders

2) Natural Wonders now placed after 1st turn rather than after 2nd city built, for the sake of Advanced Start games

3) ASgames treated as All Reveal Mode games (Future Era Start).
In other words, it is possible for Natural Wonders to spawn within cultural borders for AS games.

4) Customisation section for modders to easily modify whatever values that can be modified
Code:
self.iFirstGold = 50					## Gold Granted to First Team to Discover
self.iDiscoverHappiness = 1				## Happiness Granted to Any Team to Discover
self.lBigWonder = ["FEATURE_PLATY_GREAT_BARRIER"]	## List of Natural Wonders that occupy 2 Tiles
self.iNoNearbyRadius = 2				## Cannot have another Natural Wonders or Revealed Tile within X Tiles
self.iPlaceChance = (CyMap().getWorldSize() +1) * 10	## Chance of Spawning each Natural Wonder
self.iMaxYield = 4					## Maximum Random Yield
self.lLatitude = [("FEATURE_PLATY_AURORA", 70, 90)]	## Min Latitude, Max Latitude

In other words, don't touch anything else if you are not sure what you are doing.

5) List of Big Wonders
Modders can specify as many BIG ones as they like which will occupy 2 tiles instead of one.
Eg. Great Barrier Reef

6) Latitude Check
Modders can add latitude check for certain ones like Aurora to set a min or max latitude to spawn.

7) Natural Wonders no longer spawn within X tiles of starting plots, as specified by self.iNoNearbyRadius, unless AS games or All Reveal Mode games of course.

8) No longer possible to get > 1 City with Natural Wonder Buildings by building at strategic locations for Big Size Wonders AKA Great Barrier Reef.
No matter how you place your cities, GBR will only grant its building to one city.

9) CTRL F now shows locations of all Natural Wonders irregardless of whether it is revealed when in WorldBuilder mode.

10) All Natural Wonder Buildings have been granted Unique Effects different from each other.

11) As a result, random python yields on the plots themselves reduced to max of 4 each.
Notes:
The python yields on the plot is necessary for 2 reasons:
A) Attract A.I. to build cities near them to gain the Wonder Building.
B) When plot ownership changes, although the Wonder Building remains with the Wonder City, at least the new plot owner can make use of the plot yield.
Thus, do NOT shift the yields into the Wonder Building directly and remove the python yield, else A.I. will treat them as garbage plots.

12) Pedia updated to latest version.

13) Pedia modified to show respective building effects as well.

Edit:
14) Added Text Tags for all languages

15) Building Art Defines for All Wonder Buildings, so that they don't look stupid in World Builder

16) Movie check in CvWonderMovieScreen file in case of typo
 

Attachments

  • Civ4ScreenShot0003.JPG
    Civ4ScreenShot0003.JPG
    92 KB · Views: 196
  • Civ4ScreenShot0002.JPG
    Civ4ScreenShot0002.JPG
    102.2 KB · Views: 190
  • Civ4ScreenShot0001.JPG
    Civ4ScreenShot0001.JPG
    89.1 KB · Views: 188
Nice Mod comp Platy...
Is this work for BUG mod? Seems it doesn't spawns??
also do you still have sevopedia entry for this with its own category? (your Platypedia isn't working in BUG) :confused:
 
Basically, anything screwed due to BUG, don't ask me :D

BUG replaces some of the functions in CvGameUtils to its own such as the Widgets.
Without the Widgets, some functions or hover texts will not work, which means you must put the codes in the Widget sections of BUG instead.

Similarly, I won't be interested to make a Sevopedia entry for it.
 
1) Updated Platypedia with Movie Player for Natural Wonders
2) Added Dead Sea by Hrochland
 

Attachments

  • Civ4ScreenShot0003.JPG
    Civ4ScreenShot0003.JPG
    124.9 KB · Views: 251
  • Civ4ScreenShot0004.JPG
    Civ4ScreenShot0004.JPG
    95.9 KB · Views: 195
  • Civ4ScreenShot0009.JPG
    Civ4ScreenShot0009.JPG
    148.3 KB · Views: 198
Just nitpick, I know, but wouldn't the globe symbol work better as a symbol for natural wonders than the culture note symbol? I mean, they're natural, not cultural...
 
True and agreed, but you know me...
Lazy to reupload just to change symbol...
Wait till there is a new NW artwork :D
 
Great concept and it looks like wonderful execution. :goodjob:

To show how much I'm looking forward to running with this, here's a suggestion:

Wonder: Giant Sequoias (AKA Giant Redwoods)
CC licensed photo source: https://www.flickr.com/photos/s__i/10502887415
Wikipedia: http://en.wikipedia.org/wiki/Sequoiadendron_giganteum
Art: pillage the 'Ancient Forest' graphics from RFCE or FfH2?

Placement: if you want to bother, they show up between coast and mountains. IRL, it's the ocean-side of the North American Rockies(sic).
 
Updated with Platypedia 2.15.

@Giant Redwoods
Nah, can't be bothered to download a mod just to loot an artwork :D
 
but that is the sort of wonder you can have span multiple tiles!
 
It is also switchable to use for other plants eg remnant Cretaceous forests of New Caledonia. edit on second thoughts it wouldn't the graphic for ancient forest is mostly deciduous trees ;)
 
I will only bother when artwork is available as single download.
Download a mod, look through artdefine, unpaking pak file just to get an artwork to make a new wonder when there are already 20+ wonders? Nah
 
Top Bottom