Robert Surcouf
Civ4Col Modder
Ray has given me a little feedback about my Wind and Storm feature included in my Storm and Light mod. Maybe it's a good idea to discuss this here:
raystuttgart said:Hi Robert,
I have taken a look at your feature "Wind and Storm".
(Just a short overview.)
Please excuse if I am critizising a few things.
(Also, please excuse if I get anything wrong.)
1. As far as I can see, "Winds" and "Storms" are only created once at first map-creation.
2. It is Python-based instead of DLL-based.
Thus the feature is a little boring, because "Winds and Storms" are very static.
It will not work for all types of game (Maps, Scenario and Mapskripts).
Also performance and possibilities of DLL are much larger.
Please let us create a feature that:
1. Will work for all types of games.
2. Will have dynamic placement of winds and storms every round.
Actually such a feature would be quite easy to do.
Basic Concept:
We could just hook into this method:
void CvGame::doTurn()
At the beginning of every round, we first clear all "Winds" and "Storms" of the map.
Then we place them again randomly.
Would you like to create the feature like that ?
(It is your feature after all.)
I could also do it, if you want.
What do you think ?
Again, please excuse.
I really do not want to critizise your work.
I simply think we can create a much more interesting feature with DLL that will work for all kinds of games.