Natural wonders development thread

I've been waiting for a mod like this for ages.
Reminds me of Alpha Centaury Landmarks.

Just a question : Can Natural Wonders be merged with Diversica, & how ?

(I'm a newbie with mods)

Cheers
 
I'm still working on my new Tepui.
 
Almost done!
 
Forget about that last post. It's done.
 

Attachments

  • tepui.zip
    7 MB · Views: 140
My upload included all the intermediate stuff so someone can change it if they want (i.e. .blend, .tga, and .psd files and base images.
 
Seeing that none of them seems to be active.
I did some patching to the codes :D

Natural Wonders Mod V2

Whats new:
1) Added 4 new wonders, Sharks Bay, Krakatoa, Basalt Organ, Lake Baikal, total of 12 NWs
2) Added a check to make sure NWs do not spawn next to each other.
3) Added a check such that NWs do not always spawn in a game.
Each of them has a chance to spawn, depending on world size.
Thus, you will find less NWs in smaller maps, so that it is not too crowded.
Also adds variety as you may not see the same ones every game.
4) Effects on discovering NW changed from Golden Age to +1 Happiness similar to Civ V
5) Added First Player Benefit such that first team to discover NW triggers Golden Age, half duration.
6) Rewrote discover messages, such that, A) colour added, B) button added, C) different messages displayed depending on whether you are the first to discover, you have met the team discovering etc
Refer to screenshot

Codes Rewritten:
1) Rewrote the check for WholeMap Reveal games. (Future Era Starts)
2) No more hard coded spawn codes.
Now whether a NW can spawn in a particular plot depends directly on XML infos.
No need to edit anything in python for modders who want to add/edit NWs
3) Rewrote the random specialist codes as well. Now it will include newly created specialist types as well, so long as those specialists generate GP points

Bug Fix:
1) Landscape Movie path error
2) Shifted codes from onGameStart to onCityBuilt.
No Natural Wonders will spawn in games if you regenerate map previously.
Now Natural Wonders spawn after first city built in game, so error avoided.

Notes:
If you do not need movies, this can be purely python.

To Summarise:
Features: Adds 12 Natural Wonders to the Game
Effects:
1) Each NW discovered adds 1 global happiness similar to Civ V
2) First Team to discover triggers small golden age for whole team.
Movies: Static Movies provided, for long versions, refer to Arian's.

P.S.
Seeing that there is a download for this thread, I guess it should be shifted to modcomp or modpack by now? :D
 
what do you mean no hardcoded spawn codes :p those were a work of art :D

I would have done work on this but I haven't had time with college :( damn chemistry, biology, physics, maths, french, writing a huge french verb conjugator for my epq, turning that into an app, have to be finished by march, :lol:
 
Hardcoded spawn codes make it tedious for non python modders to add new ones :D
Now the new version all they need is add the XML data and that's it.
Simple for them but of course restricted to what XML tags available, unlikes hardcoded python.

I figured out how to determine if they are NWs without using your NW tag, but have not managed to show the movie without the movie tag.
That is the last thing I intend to do to totally remove SDK from it :D

Mine is work work and more work, at least your college got variety.
 
Not sure if anyone still interested...
Bored Engineer at work...

Version 3

Nope, nothing has changed, all features same as Version 2.

Hohoho @ Jamie:
Removed SDK totally from this mod comp.
But all features kept, including ability to show Feature Movies without having any Movie Tags in FeatureInfos.xml.

Thus:
1) Compatible for Mac users.
2) Easier to merge into other mods since it is pure python now.

@The_J
I guess this should be shifted to mod comp or mod section by now?
 
yeah, but how indelicate :( you butchered my artwork! :lol:

btw what do you actually do for work? if it's not programming it should be :p it's what I'm aiming for, great wages £45,000 to £55,000 a year :p
 
Hahaha, SDK is the delicate way, but definitely not newbie friendly.
Not easy for them to figure out how to merge 2 SDK mods.
And definitely a no no for Mac.

So I managed to use crook ways to do the same thing without any adverse effect on performance :D
Just some simple changes.

My rl job is flexible but nothing to do with programing lol.
You can hire me if you want, not the best around but usually got weird ways to achieve things.:evil:
 
I don't think anybody is hiring you with that evil grin :lol: good work anyway!
 
You can hire me if you want, not the best around but usually got weird ways to achieve things.:evil:

When giving a job reference for a friend the person doing the interviewing asked me if my friend did find weird solutions to problems. It was one of their criteria for hiring. I said he did and gave a couple of instances. He got the job. It was in computing. ;) So sounds like you may be a natural.

Now I can add this to C2C without waiting for the dll programers to get round to doing their bit:goodjob:
 
Haha, but dh you may want to take note that the problem is solved by having specific naming conventions. I am sure you know what I mean if you look at the codes. Since c2c has your own naming conventions, that is something you may have to adjust
 
uuuuurg. Why can't everyone follow standard naming conventions (actually scrap that, why doesn't everyone use my conventions, you know, at least in python all variables should have a type prefix (i, s, p etc) so we know what they represent, apparently that is frowned upon by the whole programming community :p)
 
I mean the xml tag.
It is not just simply FEATURE_XXX.
Also, movie tag has to follow as well, since there is no movie define tag without SDK

P.S.
At least I don't name my python variables misleading names.
There is actually one section in cveventmanager where feature refers to city and city refers to feature.
That is what firaxis did...
 
Top Bottom