Fixed: If anyone has a similar issue to this, delete the descr_geography_new.txt file, but keep the descr_geography_new.db file, and make sure any ini tweaks to regen the file once your done editing are disabled. Courtesy of makanyane for this fix.
There is almost no information on this file, besides the ini tweak to let it regenerate. Editing it is a royal pain, either CTDing, flashing loading screens on the campaign map when you hit end turn, or generating retarted terrain.
I have come down to a simply issue. I am trying to make the unused2 climate have the temperate_ deciduous_forest summer generation when its winter. This is for Lorien, which is supposed to not snow in Winter. After switching Lorien from the unused1 to the unused2 climate (so it can inherit or 'modify' the deciduous_forest climate) I removed all its old random generation, pasted in the coniferous vegetation distrubtion information and everything works fine. No CTD's, no flashing, nothing. Campaign and battle-map.
The true problem is whenever I add information to the climate. When I try to turn this:
into this:Code:unused2 modifies temperate_deciduous_forest { ; describes the base vegetation distribution for this region vegetation_distribution { ; classification rock grav snd_c sand snd_b dirt mud swmp g_dry g_shrt g_long shrub_s shrub_d frst_s frst_d FOREST 0 0 0 0 0 0 0 0 0 0 0.01 0 0.02 0.5 0.5 MANGROVES 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CACTII 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SHRUBS 0 0 0 0 0 0 0 0 0.01 0.02 0.01 0.04 0.15 0 0 LONG_GRASS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LARGE_ROCKS 0 0 0 0 0 0 0 0.008 0 0.01 0.003 0.005 0.005 0.005 0.005 REEDS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GRASS 0 0 0 0 0 0 0 0 0.5 0.5 0.5 0.5 0.5 0.5 0.5 WATER_COVER 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SMALL_ROCKS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SMALL_SHRUBS 0 0 0 0 0 0 0 0 0 0 0.01 0.04 0.06 0 0 } }
the battle-map will work fine, but the campaign map will flash the loading screen when you hit end turn (extremely annoying and makes no sense) as well as CTDing when you hit Quit (with a error message and all).Code:unused2 modifies temperate_deciduous_forest { season winter { texture rock battlefield/temperate_deciduous_forest/summer/deciduous_forest_rock_micro.tga + z macro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_rock_macro.tga + x y micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_xy_micro.tga + x y macro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_rock_xy.tga + x y micro scale 12 + x y macro scale 80 + z macro scale 100 + z micro scale 12 texture gravel battlefield/temperate_deciduous_forest/summer/deciduous_forest_gravel_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_gravel_micro.tga + z macro scale 100 + z micro scale 4 texture sand_caked battlefield/temperate_deciduous_forest/summer/deciduous_forest_sand_caked_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_sand_caked_micro.tga + z macro scale 100 + z micro scale 4 texture sand battlefield/temperate_deciduous_forest/summer/deciduous_forest_sand_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_sand_micro.tga + z macro scale 100 + z micro scale 8 texture sand_blown battlefield/temperate_deciduous_forest/summer/deciduous_forest_sand_blown_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_sand_blown_micro.tga + z macro scale 100 + z micro scale 8 texture dirt battlefield/temperate_deciduous_forest/summer/deciduous_forest_dirt_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_dirt_micro.tga + z macro scale 100 + z micro scale 4 texture mud battlefield/temperate_deciduous_forest/summer/deciduous_forest_mud_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_mud_micro.tga + z macro scale 100 + z micro scale 4 texture swamp battlefield/temperate_deciduous_forest/summer/deciduous_forest_swamp_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_swamp_micro.tga + z macro scale 100 + z micro scale 4 texture grass_dry battlefield/temperate_deciduous_forest/summer/deciduous_forest_dry_grass_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_dry_grass_micro.tga + z macro scale 120 + z micro scale 4 texture grass_short battlefield/temperate_deciduous_forest/summer/deciduous_forest_short_grass_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_short_grass_micro.tga + z macro scale 120 + z micro scale 4 texture grass_long battlefield/temperate_deciduous_forest/summer/deciduous_forest_long_grass_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_long_grass_micro.tga + z macro scale 240 + z micro scale 4 texture shrub_sparse battlefield/temperate_deciduous_forest/summer/deciduous_forest_shrub_sparse_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_shrub_sparse_micro.tga + z macro scale 120 + z micro scale 4 texture shrub_dense battlefield/temperate_deciduous_forest/summer/deciduous_forest_shrub_dense_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_shrub_dense_micro.tga + z macro scale 120 + z micro scale 4 texture forest_sparse battlefield/temperate_deciduous_forest/summer/deciduous_forest_forest_sparse_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_forest_sparse_micro.tga + z macro scale 80 + z micro scale 4 texture forest_dense battlefield/temperate_deciduous_forest/summer/deciduous_forest_forest_dense_macro.tga + z micro file battlefield/temperate_deciduous_forest/summer/deciduous_forest_forest_dense_micro.tga + z macro scale 80 + z micro scale 4 water_height_modifier -0.5 ; water height = -0.5m ; global multiplier for terrain type effects overlay_effect_terrain_multiplier 0.003 ; global multiplier for health effect (positive number or 0) overlay_effect_health_factor 1.0 ; number of hits (damage points) for soldier to get maximum overlay factor for health overlay_effect_max_hits 6 } ; describes the base vegetation distribution for this region vegetation_distribution { ; classification rock grav snd_c sand snd_b dirt mud swmp g_dry g_shrt g_long shrub_s shrub_d frst_s frst_d FOREST 0 0 0 0 0 0 0 0 0 0 0.01 0 0.02 0.5 0.5 MANGROVES 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CACTII 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SHRUBS 0 0 0 0 0 0 0 0 0.01 0.02 0.01 0.04 0.15 0 0 LONG_GRASS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LARGE_ROCKS 0 0 0 0 0 0 0 0.008 0 0.01 0.003 0.005 0.005 0.005 0.005 REEDS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GRASS 0 0 0 0 0 0 0 0 0.5 0.5 0.5 0.5 0.5 0.5 0.5 WATER_COVER 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SMALL_ROCKS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SMALL_SHRUBS 0 0 0 0 0 0 0 0 0 0 0.01 0.04 0.06 0 0 } }
As I said, I cannot find any information in modifying the txt file, so I am nearly lost here. I am trying different techniques, but this simple issue is just bugging the hell out of me. Same thing happens when in unused1 slot. I have the structure correct, the climates in order according to the descr_climates.txt. This is the only modification in the file besides removing all information from unused1 (which I verified is not the cause of this issue).
The file is regenerating, the DB is working but this issue will not go away unless I undo the edit. Any edit like this will cause this issue.
Entire TXT file and DB attached.






Reply With Quote









































