Natural wonders development thread

edit: btw I did some testing on PlayMovie and it is the way into the wonderscreen file. It's taking a bit of figuring out though (I have got it so it displays a black box on screen however the class doesn't have a wondertype from the functions so I need to find a way around it (sort of making a child class :p) as it is making n exception...)
 
@The_J

isn't it? Opps what have I done :D

I will try my best (he says while he also has to make barb spawning code...) however please stay here for when I need help :p
 
Dacubz, you will be happy to know I have got the movie display working nicely :p

next up, spawning these little menaces... however that code largely will need lots of input from you :p For example I need to know what wonders you want and then what terrains they go on (btw in the xml you must state they can go on no tiles (otherwise they will spawn all over the place)) though all the XML declareations also have to comply later with my Schema ;)
 
yeah the Bay thing would be really really difficult... but I can do the coast :p

tommorrow (or later tonight) I will get to work on the rest of the detection code and also the spawning code.
 
can I have the full specifications of what each wonder does the the plot it is on and what happens if the player founds a city near it... presumeably the plot cannot be worked (like the oasis but you can do that xml end I guess by setting NoCity and NoImprovement to 1))

stuff like that...
 
When the first player discovers:
1)Movies Plays
2)Message plays to all players that it has been discovered
3)The Circle button shows up to all players similar to when wonder is built (with a white border)
4)Cultural bonus to the player

When a player puts it in its cultural borders
1)Movie Plays
2)Message to all players
3)Button again(With a colored border)
4)Huge immediate culture bonus to the city that has it (similar to great work by artist)
5)Small immediate sum of money given to the player
6)Culture % bonus

Gold will be given via xml as well

ACtually now thinking about it, it will be better if movie only plays when you capture it, not when you discover it, otherwise to redundent
 
This project sounds great, I'll definitely be keeping an eye on its progress. Are you intending to do it via Python alone or with some SDK work as well? I'm hoping for Python only as it would then be Mac compatible.
 
We are doing both, but the SDK is for the movies only (I do not do the sdk work, got to ask j_mie6 for sure). So it would not be necesary if you wanted to put it into history rewritten. So you could either remove movies, or you could set up a dumby building with that movie, and J_mie could help you with the code for that
 
Some of the effects will be better off in SDK unless all effects are 1 time only, and you don't care who controls the natural wonder after that.

However, if you set it as a bonus instead of a feature, some of the effects may be easier since there are simpler stuff you can do such as edit palace building so that it gives more XXX if it has access to ABC natural wonder. Just set the bonus to be untradable
 
We are doing both, but the SDK is for the movies only (I do not do the sdk work, got to ask j_mie6 for sure). So it would not be necesary if you wanted to put it into history rewritten. So you could either remove movies, or you could set up a dumby building with that movie, and J_mie could help you with the code for that

Good news, set up like that should be able to adapt it as needed. Cheers.
 
Some of the effects will be better off in SDK unless all effects are 1 time only, and you don't care who controls the natural wonder after that.

However, if you set it as a bonus instead of a feature, some of the effects may be easier since there are simpler stuff you can do such as edit palace building so that it gives more XXX if it has access to ABC natural wonder. Just set the bonus to be untradable

Good idea, but most of the things are one time moment. Theres three that arent. First is the first person to discover the tile gets a culture bonus, which will always stay that way since its just discovering it. Second is gold but that is just via xml with the resource. The last is culture bonus if you own it, so i guess we either have to remove that or edit it or find a fix, because I want to keep most of it python as I know this is something a lot of mods will want so I dont want it to have that complicated of a merge
 
right from looking at your specifications I think there are definatly ways to do this (I might actually trigger a great artist's artwork in the city manually :p

I will have to see how those white circles are done (but I think it should be quite simple)

The gold given to player is easy enough. I have that in my own mod.

The cultural bonus on discovering... is it meant to be a sum of culture given to all cities or a %age boost to culture in all cities?

@Xyth

While it is possible to do this without SDK work (as the main bit is for collecting the movie define tag) using dummy buildings. the detection of the natural wonders will become a little more hardcoded but I don't think it makes much of a difference
 
yup :p your are needed for my little questions...

like for example:

how do I add a one time culture boost to a city?
 
pCity.changeCulture(iPlayer, 123456789)?

Assuming you know what pCity and iPlayer refer to
 
Back
Top Bottom