Additions from other Mods

Got a part working copy of GEM AI, seems to be working better than my clunky BetterAI.xml(this was just parts of Sneaks and Joltis's AI merged together, which is what GEM AI is but upto date I think). Should make things a bit more intresting, the Lua side & Custom Tables(the bit I am missing) is just way over my head, taken a look but its all interlocked with CivUP and stuff, and trying to get it working with CCTP is a :wallbash: for me.

Edit:

On the plus side a half working GEM AI is still better than vanilla :crazyeye:
 
Got permission from Thal to use the CiVUP stuff :).

I have also been messing with the tree growth mod, I have added in jungle growth and pulled it apart a little. I only want cctp mod to do one scan of the map per active player turn, but link that to multiple events eg tree growth, disasters, policy bonuses etc. I would like to see the tree growth notification have a different picture atm its just an ! If anyone is up to it would be cool, seems the size is 80x80 circle shape. Seems we can have different notification Icon pictures for both jungle and forest if someone really wants to make it cool ;)

One thing that I am looking into is adding in some kind of maintenance feature, with low medium and high. On low there would be a risk of improvements being destroyed and turned into forests, at medium u might suffer the odd improvement becoming pillaged, at high there would actually be a chance of a pillaged resource being auto repaired. Thoughts?

I plan on updating Treegrowth in about 3 weeks because I don't have access to my modding computer until then. At that time, I would like to look at the code changes that you brought, they seem very good :)

Here's what I plan in 3 weeks or so:

- duplicate the Forest code as a Jungle one ( unless you've completed the code already, which would save me some work...).
- ensure that no growth happen on some (not all though) resources only (such as cotton, wheat etc...) to keep it more realistic.
- add some very rare Oasis spawn in Desert tiles ( so rare as to happen a few times only per game, again to make it more realistic).
- integrate those wonderful icons posted by Horem (if he's ok with it of course).
- add a Forester unit who can plant forests only (no jungle; to keep it realistic once more). The Forester would work in a similar way as a Worker; ie the Forester will take many turns to accomplish his work.

Rare unwanted thing happening: sometime a Forest will grow right when the AI player starts to improve a tile.
Workaround: I will need to review the LUA code very closely, and if I find no answer there, ie the game itself doesn't apply the code the way it was meant to be, then maybe the only workaround would be to avoid growth on any resource ( hopefully it won't come to this, because it's cool to have a Forest grow on some resources, it makes the game more realistic in my opinion).

Feel free to change, add, remove, anything you want from Treegrowth, and I look forward to play an awesome completed CCTP mod someday.
 
Feel free to take what u want :) the jungle code is done basically just replicated the forest growth. The additional notifications code are also in there so should be easy for you to pull it out and replicate to get the icons working. I am sure horem won't mind using his icons :)

The new additions sound very nice especially the oasis if you ever need a hand with it let me know :)

Strange bug will also take a look
 
Back
Top Bottom