Dom Pedro II
Modder For Life
Hey, folks,
Since the release of the NIF export for 3DS Max, I've been working on and off on units (ships and animals mostly right now) for my mod and hopefully I'll release some in the not-to-distant future. I've got the graphics... I can do that.
However, I'm still having trouble wrapping my head around the coding I'm going to need to do to get my mod up and running.
What I need to do right now is create a system that will allow me collect, process, and display information on the map. If I could actually add new attributes to map tiles, that would be the ideal, but I can work with greater restrictions.
Essentially, I need to add attributes such as:
Now, if I can add these things to the existing tile attributes, that would be ideal. However, (since I've assumed that this will not be possible), I've been considering creating arrays with the map dimensions and then filling the arrays with the information collected from the existing map data.
I would then like to be able to display that information on the screen... if I could create some kind of overlay like the grid or city radius features, that would be preferrable, but if it can only be done with a pop up window and some kind of 2D "drawn" display like the minimap, then that's alright too.
I hope some of you out there will be able to give me a push in the right direction.
Since the release of the NIF export for 3DS Max, I've been working on and off on units (ships and animals mostly right now) for my mod and hopefully I'll release some in the not-to-distant future. I've got the graphics... I can do that.
However, I'm still having trouble wrapping my head around the coding I'm going to need to do to get my mod up and running.
What I need to do right now is create a system that will allow me collect, process, and display information on the map. If I could actually add new attributes to map tiles, that would be the ideal, but I can work with greater restrictions.
Essentially, I need to add attributes such as:
- rural population on non-city tiles (as opposed to the populations of the tiles with cities on them)
- demographic information on the population in the tile
- quantities of resources on the tile (I want to make it so that one supply of iron, etc. won't be able to accomodate construction of units throughout the empire and such)
- I also want information on climate, and fertility, and ultimately
- these things will be used to calculate desirability which in turn will be used to determine population growth of the rural population on the tiles.
Now, if I can add these things to the existing tile attributes, that would be ideal. However, (since I've assumed that this will not be possible), I've been considering creating arrays with the map dimensions and then filling the arrays with the information collected from the existing map data.
I would then like to be able to display that information on the screen... if I could create some kind of overlay like the grid or city radius features, that would be preferrable, but if it can only be done with a pop up window and some kind of 2D "drawn" display like the minimap, then that's alright too.
I hope some of you out there will be able to give me a push in the right direction.
