Results 1 to 19 of 19

Thread: Pink on Map?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Pink on Map?

    Ok. So I did work on the climates and ground types for my mods map, but now on the campaign map there is pink stuff on the map. Any idea why? I will upload my stuff when I get a chance.

  2. #2
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pink on Map?

    Two possibilities:
    one I knew about before; your colours on map_ground_types or map_climates don't tie up with the recognised RGB values - watch out for using brush / non opaque setting and getting merged colours on your tga's.

    one Dol Guldur recently pointed out to me; for some other reason it is not finding your terrain/aerial_map/ground_types/texture, which could be:
    name doesn't tie up with descr_aerial_map_ground_types.txt / doesn't exist / you're trying to read it from mod folder and haven't got right amount of ../../ in text file path to make it read from there etc...
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3

    Default Re: Pink on Map?

    Its fixed, thanks.
    Last edited by Roman_Man#3; 04-05-2007 at 23:11.

  4. #4
    Amphibious Trebuchet Salesman Member Whacker's Avatar
    Join Date
    Nov 2006
    Location
    in ur city killin ur militias
    Posts
    2,934

    Default Re: Pink on Map?

    Quote Originally Posted by Makanyane
    Two possibilities:
    one I knew about before; your colours on map_ground_types or map_climates don't tie up with the recognised RGB values - watch out for using brush / non opaque setting and getting merged colours on your tga's.

    one Dol Guldur recently pointed out to me; for some other reason it is not finding your terrain/aerial_map/ground_types/texture, which could be:
    name doesn't tie up with descr_aerial_map_ground_types.txt / doesn't exist / you're trying to read it from mod folder and haven't got right amount of ../../ in text file path to make it read from there etc...
    Pardon the thread necromancy here, but I could use some help.

    My situation is as described, I'm using the -mod: switch for RTW v1.5. My personal mod is called "WhackerMod" (heh) and is located in a named subdir. I've edited my descr_aerial_map_ground_types.txt file located in my mod's data folder, and here's an example of the code:

    Code:
    climate default
    {
        cultivated_low        WhackerMod\data\terrain\aerial_map\ground_types\temperate_grassland_farm.tga    WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        cultivated_medium    WhackerMod\data\terrain\aerial_map\ground_types\temperate_grassland_farm.tga    WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        cultivated_high        WhackerMod\data\terrain\aerial_map\ground_types\temperate_grassland_farm.tga    WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        fertility_low        WhackerMod\data\terrain\aerial_map\ground_types\texture2.tga                    WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        fertility_medium    WhackerMod\data\terrain\aerial_map\ground_types\temperate_grassland.tga            WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        fertility_high        WhackerMod\data\terrain\aerial_map\ground_types\temperate_grassland.tga            WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        forest_dense        WhackerMod\data\terrain\aerial_map\ground_types\texture1.tga                    WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        forest_sparse        WhackerMod\data\terrain\aerial_map\ground_types\texture1.tga                    WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga    
        hills                WhackerMod\data\terrain\aerial_map\ground_types\texture1_hilly.tga                WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        mountains_high        WhackerMod\data\terrain\aerial_map\ground_types\temperate_mountain_small.tga    WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        mountains_low        WhackerMod\data\terrain\aerial_map\ground_types\temperate_hills_small.tga        WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        swamp                WhackerMod\data\terrain\aerial_map\ground_types\swamp.tga                        WhackerMod\data\terrain\aerial_map\ground_types\arctic.tga
        beach                WhackerMod\data\terrain\aerial_map\ground_types\beach.tga
        scorched            WhackerMod\data\terrain\aerial_map\ground_types\scorched.tga
    }
    The entire campaign map shows up in that ugly pink/purple. I've got a properly named and pathed \terrain\aerial_map\ground_types\ folder in my WhackerMod\data\ folder, and the files are definitely there. I've also tried copying the new textures into the based RTW\data\terrain\aerial_map\ground_types folder, and it works fine and they all show up fine, so I know it's not bad files... Have also repeatedly deleted map.rwm in my campaign folder, but that hasn't made any difference.

    Any ideas guys?

    Thanks in advance



    Edit - Interesting. I just tried removing the Whackermod\ from the front of all of the data entries in the descr_...txt file, and it still shows up as all purple. That should work as the file would be pointing at the normal textures... Yet it doesn't work.
    Last edited by Whacker; 07-13-2007 at 17:21.

    "Justice is the firm and continuous desire to render to everyone
    that which is his due."
    - Justinian I

  5. #5
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: Pink on Map?

    I work in BI and not RTW but you need to jump out of the default path and up several levels and then back down into your own folder...

    Try ../../../../ as a prefix to your MyModFolder/data blah blah blah

    A RTW coder can correct that if I have it wrong.
    "One of the most sophisticated Total War mods ever developed..."

  6. #6
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Pink on Map?

    ^ agreeing with Dol Guldur - mainly because I pinched idea off his mod!

    If you add descr_aerial_map_ground_types.txt to BI which it isn't normally in, or to a mod folder it needs paths changed relative to its position

    also as also advised by DG, for BI at least if you put anything in mod folder packed within mod_0.pak it reads it as being under RTW/data. I had to do that with some sea textures that don't have file path specified at all, so also put terrain textures in that as well and they worked from there without inclusion of the text file in the mod folder, that obviously only works for straight swaps of one tga file for one of same name.
    Not used mods before? Looking for something small and fun?!
    Download the:

  7. #7
    Amphibious Trebuchet Salesman Member Whacker's Avatar
    Join Date
    Nov 2006
    Location
    in ur city killin ur militias
    Posts
    2,934

    Default Re: Pink on Map?

    I shall definitely try this out guys, thanks. Question though, you are using forward slashes / instead of backslashes. Should I be using forward slashes inside the descr_blah.txt file?

    "Justice is the firm and continuous desire to render to everyone
    that which is his due."
    - Justinian I

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO