Barathor
Emperor
- Joined
- May 7, 2011
- Messages
- 1,202
Has anybody updated the existing forests or jungles in the game with anything, like new colors or graphics?
I dug this up regarding terrain graphics:
http://forums.civfanatics.com/showthread.php?t=438352
As far as I know, there aren't any CSV files for forest or jungle. (I think those have more to do with height maps, instead of simple 2D graphics applied to terrain.)
I've edited the forest_europe_2.dds file, since that had the most conifers. For each new tree, I utilized the exact same alpha mask as the existing three, so they look exactly as they do in game. I also really desaturated the colors for a colder, more grayish green look to them to match the tundra terrain. Also, I transformed a few of them to widen or shrink them and then resharpened them if any blurring occurred.
existing:
new:
I also found the new GR2 file (which I was looking all over for) at:
...\Sid Meier's Civilization V\assets\DLC\Shared\Terrain\Forest
My plan to get this working was to sort of "hack" it in.
I was planning on using the function, DetermineContinents(), to set the world to a single art style only. But, during the loop, it would check for a latitude value, and if the current latitude is higher than the value, it would use a different continent art style. This other style would have its forest graphics overridden with a new file named exactly the same as the old one but containing the tundra forest graphics.
Along with the latitude check would be an additional tundra check for any tundra that was "blended" past its original latitude value during terrain generation.
I was also thinking of utilizing another existing continent art style to be used solely for snow-capped forests which would be even further north and for tundra next to snow terrain. Most likely the American continent art style since its bare tundra has lots of snow mixed in it (or the Europe one, and I'll change the one above to override the American one, since the Euro style not only has the snowy tundra, but also has the gray snow-capped mountains which would like nice in snow areas.)
In a test mod, I thought I had it solved after finding the GR2 and updating the dds file associated with it. I imported both of them into the mod, set VFS=true, and tried it out. No luck.
I then desperately tried it with "Reload Landmark System" checked on and still no luck. Also, this mod had nothing else in it. I just wanted to override the existing graphics and kept regenerating maps until it used the European continent art style so I could see what it looked like before proceeding with coding the rest of what was needed.
I tried looking for an FXSXML file for the forests, since that is usually paired with the GR2 file in mods, but I couldn't find anything. I kept all of the file names the same as the default game, so I initially thought having the mod override the GR2 and DDS files would do the trick, but it's certainly not the case.
Does anybody know what's missing, or do you know where the FXSXML file is for the new forests (if one exists, and it doesn't use some other method)?
- - - - - -
EDIT:
Also, here's my similar thread from just over a year ago which I just glanced at again (yeah, those trees have too much snow on them and would just look white if they worked!):
http://forums.civfanatics.com/showthread.php?t=470452
In it, there was mention of this:
plot:SetFeatureDummyTexture(string dummyTag, string textureTag)
But, I'm not sure how to utilize that to try it out.
I dug this up regarding terrain graphics:
http://forums.civfanatics.com/showthread.php?t=438352
As far as I know, there aren't any CSV files for forest or jungle. (I think those have more to do with height maps, instead of simple 2D graphics applied to terrain.)
I've edited the forest_europe_2.dds file, since that had the most conifers. For each new tree, I utilized the exact same alpha mask as the existing three, so they look exactly as they do in game. I also really desaturated the colors for a colder, more grayish green look to them to match the tundra terrain. Also, I transformed a few of them to widen or shrink them and then resharpened them if any blurring occurred.
existing:

new:

I also found the new GR2 file (which I was looking all over for) at:
...\Sid Meier's Civilization V\assets\DLC\Shared\Terrain\Forest
My plan to get this working was to sort of "hack" it in.
I was planning on using the function, DetermineContinents(), to set the world to a single art style only. But, during the loop, it would check for a latitude value, and if the current latitude is higher than the value, it would use a different continent art style. This other style would have its forest graphics overridden with a new file named exactly the same as the old one but containing the tundra forest graphics.
Along with the latitude check would be an additional tundra check for any tundra that was "blended" past its original latitude value during terrain generation.
I was also thinking of utilizing another existing continent art style to be used solely for snow-capped forests which would be even further north and for tundra next to snow terrain. Most likely the American continent art style since its bare tundra has lots of snow mixed in it (or the Europe one, and I'll change the one above to override the American one, since the Euro style not only has the snowy tundra, but also has the gray snow-capped mountains which would like nice in snow areas.)
In a test mod, I thought I had it solved after finding the GR2 and updating the dds file associated with it. I imported both of them into the mod, set VFS=true, and tried it out. No luck.

I tried looking for an FXSXML file for the forests, since that is usually paired with the GR2 file in mods, but I couldn't find anything. I kept all of the file names the same as the default game, so I initially thought having the mod override the GR2 and DDS files would do the trick, but it's certainly not the case.
Does anybody know what's missing, or do you know where the FXSXML file is for the new forests (if one exists, and it doesn't use some other method)?
- - - - - -
EDIT:
Also, here's my similar thread from just over a year ago which I just glanced at again (yeah, those trees have too much snow on them and would just look white if they worked!):
http://forums.civfanatics.com/showthread.php?t=470452
In it, there was mention of this:
plot:SetFeatureDummyTexture(string dummyTag, string textureTag)
But, I'm not sure how to utilize that to try it out.