Mapping problem with CoW, expert help please?

Thread: Mapping problem with CoW, expert help please?

  1. Toho's Avatar

    Toho said:

    Default Mapping problem with CoW, expert help please?

    so im trying to integrate Charge's map mod into CoW but the business tricky because some of his colors dont really fit CoW, for example upon installation the frozen wastes of the north looked like the Scottish Highlands instead of the doselate frozen lands they are suppose to be, not to mention CoW climates are completely messed up, the tundra yellow is in the empire but western/middle european orange is assigned to Kislev and low-mountains, basically with Charge's colors it looks like Kislev is warmer than the Empire. anyways after customizing numerous tga files for the ground texture & climate i now have a problem, everything is fine except cultivated fertile lands. this is my second time implementing this and have already done for another mod (The Sundering the results are impressive:
    here you see the region below with advanced land clearing/farms built but the region above has no farms built
    Spoiler Alert, click show to read: 

    now look at this in CoW the last level of farms are build but still no farms appearing
    Spoiler Alert, click show to read: 

    however there are some regions where cultivated land is actually cultivated but it doesnt make since why it shows up in low quantities in places like Kislev or south Norsca
    Spoiler Alert, click show to read: 


    here is the files that i think are related to the problem files concerning this Climates and terrains if anyone can help me i would be very grateful.
     
  2. Gigantus's Avatar

    Gigantus said:

    Default Re: Mapping problem with CoW, expert help please?

    I would say it is the combination of the correct colors in map_ground_type and map_climates. The display of the TGA file is dependent on that.

    The second pic is 'high fertility' on climate 'unused1'
    The last pic is 'medium fertility' on climate 'steppe'

    Check in descr_aerial_map_ground_types which tgas have been allocated for each climate in the various farming levels. That should explain the differences in display.

    Next time a post in the mapping forum might be more advisable - that's were I normally hang out.

    Edit: map mods are usually a modified set of TGA files. It will be a matter of some observation if those TGA are suitable for the mod being used. The TGA displayed in Mordor in TATW for instance is using a new climate, something like my 'perma frost' below (which is actually using all vanilla files).

    Code: [View]
    climate perma_frost
    {
        cultivated_low        snow_thick.tga    arctic.tga
        cultivated_medium    snow_thick.tga    arctic.tga
        cultivated_high        snow_thick.tga    arctic.tga
        fertility_low        snow_thick.tga    arctic.tga
        fertility_medium    snow_thick.tga    arctic.tga
        fertility_high        snow_thick.tga    arctic.tga
        forest_dense        snow_thick.tga    arctic.tga
        forest_sparse        snow_thick.tga    arctic.tga
        hills                snow_thick.tga    arctic.tga
        mountains_high        snow_thick.tga    snow_mountain.tga
        mountains_low        snow_thick.tga    snow_mountain.tga
        swamp                snow_thick.tga    arctic.tga
        beach                beach.tga
        scorched            scorched.tga
        impassable_land        impassable_land.tga
        impassable_sea        impassable_sea.tga
    }
    Last edited by Gigantus; August 21, 2011 at 03:31 AM.









     
  3. Toho's Avatar

    Toho said:

    Default Re: Mapping problem with CoW, expert help please?

    Gigantus do you think this farming problem is because the high_fertility is on an unused climate? can you please fix or tell me how you think to fix this? i went into surgery and even though i am bored on epic proportions thinking and troubleshooting is very difficult because of how im sitting and medications. also I am confused concerning Fertility and Cultivated, on all my cultivated_low, cultivated_medium, cultivated_high the farm.tga is set accordingly in none of them is there a cultivated_high - fertility_high.tga (because thats what i am seeing).
    maybe im confused because im a little high? lol...
     
  4. Gigantus's Avatar

    Gigantus said:

    Default Re: Mapping problem with CoW, expert help please?

    Let's do it step by step:

    The attached pics show the area in question.
    Climate is mostly RGB 242, 101, 34 = temperate_deciduous_forest
    Ground_type is mostly 101, 124, 0 = fertility_high

    Your descr_map_ground_types entry for temperate_deciduous_forest:
    Code: [View]
    climate temperate_deciduous_forest
    {
        cultivated_low        fertility_low2.tga        fertility_low1_snow.tga        
        cultivated_medium    farm.tga            cultivated_snow.tga
        cultivated_high        farm.tga            cultivated_snow.tga
        fertility_low        fertility_low2.tga        fertility_low1_snow.tga    
        fertility_medium    fertility_medium1.tga        fertility_medium1_snow.tga    
        fertility_high        fertility_high1.tga        fertility_medium1_snow.tga            
        forest_dense        forest_sparse.tga        snow_thick.tga
        forest_sparse        forest_sparse.tga        forest_sparse_snow.tga        
        hills            hills5.tga            fertility_medium1_snow.tga    
        mountains_high        high_mountains.tga        high_mountains.tga
        mountains_low        alpine2.tga            high_mountains.tga
        swamp            swamp.tga            swamp_snow.tga
        beach            beach.tga            beach_w.tga
        scorched        scorched.tga            scorched2.tga
        impassable_land        alpine2.tga            high_mountains.tga
        impassable_sea        impassable_sea.tga
    }
    Initial (uncultivated) state
    Cultivated state
    Check your TGAs, they might have different names but might be the same graphic.
    .









     
  5. Toho's Avatar

    Toho said:

    Default Re: Mapping problem with CoW, expert help please?

    i wish, that would mean this was only a silly mistake i made and it would be easy to fix but sadly the TGA are correct and like showed you in my third pic some places on the map correctly display the cultivated ground but only in a very small amount.
     
  6. Gigantus's Avatar

    Gigantus said:

    Default Re: Mapping problem with CoW, expert help please?

    The principle remains: the tga gets displayed according to the combination of climate and ground_type.
    The climate in the third picture is completely different from the one I gave you the example from. Here is the list of RGB code for climate and ground cover:

    The RGB values for ground type are:
    A. Fertile Low - Grey-Blue (0, 128, 128)
    B. Fertile Medium - Light Green (96, 160, 64)
    C. Fertile High - Olive (101, 124, 0)
    D. Wilderness - Black (0, 0, 0)
    E. Mountains High - Light Brown (196, 128, 128)
    F. Mountains Low - Brown (98, 65, 65)
    G. Hills - Olive-Brown (128, 128, 64)
    H. Forest Dense - Dark Green (0, 64, 0)
    I. Forest Sparse - Green (0, 128, 0)
    J. Swamp - Bright Green (0, 255, 128)
    K. Impassable - Dark Grey (64, 64, 64)
    L. Beach - White (255, 255, 255)

    Ocean - Dark Maroon (64, 0, 0)
    Sea Deep - Dark Red (128, 0, 0)
    Sea Shallow - Red (196, 0, 0)

    The 12 different climates are:
    1. Tropical - Dark Green RGB(0, 166, 81)
    2. Alpine - Green RGB(57, 181, 74)
    3. Highland - Light Green RGB(141, 198, 63)
    4. Swamp - Yellow RGB(255, 242, 0)
    5. Deep Temperate Forest - Light Orange RGB(247, 148, 29)
    6. Light Temperate Forest - Orange RGB(242, 101, 34)
    7. Infertile Temperate Grassland - Red RGB(237, 28, 36)
    8. Fertile Temperate Grassland - Dark Pink RGB(237, 20, 91)
    9. Mediterranean - Pink RGB(236, 0, 140)
    10.Semi-Arid - Blue RGB(0, 114, 188)
    11.Sandy Desert - Dark Purple RGB(102, 45, 145)
    12.Rocky Desert - Mauve RGB(146, 39, 143)
    237 20 91
    As you can see, there are at least 144 different combinations of TGAs possible - multiply that by two for winter display (not all of them, but I think you get the drift)
    Last edited by Gigantus; August 23, 2011 at 11:59 AM.









     
  7. Toho's Avatar

    Toho said:

    Default Re: Mapping problem with CoW, expert help please?

    well what i meant was for all climates except rockey_desert and sandy_desert the cultivated fertile ground has been assigned to farm or a cultivated tga file like cultivated_medium or cultivate_high, so even if there are multiple climate combinations virtually all of them have the same cultivated/fertile combination.
    i also made sure that the farm.tga file is not the same fertile_high1.tga renamed file. im using the same logic as Sundering when i made charge's mod on their map but never had this kind of trouble with them.
     
  8. Gigantus's Avatar

    Gigantus said:

    Default Re: Mapping problem with CoW, expert help please?

    I am a bit at a loss - only thing could be the scattering of ground_type with the fact, that only every second pixel of the big map files gets displayed.
    Last edited by Gigantus; August 23, 2011 at 12:16 PM.









     
  9. Toho's Avatar

    Toho said:

    Default Re: Mapping problem with CoW, expert help please?

    lol well i give up, the color of Norsca that HAS farms is light green so i painted the whole climate of the empire green then deleted map.rwm and started the game everything remains unchanged in terms of fertile/cultivated but the hills, the mountains and winter changes are completely changed like they should be, either the CoW team did something or my game just hates me, i really dont understand i have tried all the climates you posted and still nothing, everything changes except cultivated fertile grounds, Gigantus if you have downloaded my submod maybe you can figure out what exacly is going on because im at a loss.
    anyways thanks for the help gigantus im going to take nap now, really tired these days because of the surgical recovery thing.