PDA

View Full Version : mapping need help



falcom4ever
10-02-2007, 12:47
Hi!

I'm trying to make a map with all Europe, Africa and West Asia, but I have an error when it's loading :
https://img221.imageshack.us/img221/4093/errornh0.jpg

I replace with another base floder and I had no problem, so I don't think the problem is with data/text folder or data/world/maps/campaign/imperial_campaign.

So thats my files in data/world/maps/base folder:
map_regions.tga 510x510
https://img221.imageshack.us/img221/6618/regionsta1.jpg

map_heights.tga 1021x1021
https://img252.imageshack.us/img252/2858/heightste9.jpg

map_ground_types.tga 1021x1021
https://img221.imageshack.us/img221/6028/groundstr5.jpg

map_fog.tga : map all white 1021x1021
map_climates : vanilla map_climates but resized to 1021x1021
map_roughness.tga : map all black 1020x1020
map_features.tga : map all black 510x510
map_trade_routes.tga : map all black 510x510
water_surface.tga : map all blue 256x256

descr_terrain.txt


dimensions
{
width 510
height 510
}
heights
{
min_sea_height 0.000
max_land_height 7511.272
}
roughness
{
min 050.000
max 200.000
}
fractal
{
multiplier 0.500
}
lattitude
{
min 22.000
max 56.000
}


descr_regions.txt


Iconium_Province
Iconium
turks
Anatolian_Rebels
33 97 97
sulfur, wool, jihad
5
8
religions { catholic 0 orthodox 15 islam 80 pagan 3 heretic 2 }


descr_sounds_music_types.txt


music_type middle_eastern

; turks
regions Iconium_Province

factions turks

falcom4ever
10-02-2007, 14:15
The problem seems to be with map_heighs.tga, map_gounds_type.tga or regions.tga :S

alpaca
10-02-2007, 18:29
Did you try adding a few more regions? Sometimes the game crashes on very complex regions.

Makanyane
10-02-2007, 19:56
@alpaca, I meant to ask you and this seems like a good point, when making a minimal starting map for M2TW is there anything hardcoded it must have?

I was recently trying to fix one for somebody and couldn't suss actual problem with modfolder, but did in the end make it work by copying idea in one of your stripped down maps and changed new map to using the internal name of the North_America province and also including all factions in strat as dead_until_resurrected. Not sure which of those elements fixed it or if it was something I managed to accidentally fix whilst making changes..... but it made me wonder if there were any 'must haves'.

alpaca
10-02-2007, 20:06
@alpaca, I meant to ask you and this seems like a good point, when making a minimal starting map for M2TW is there anything hardcoded it must have?

I was recently trying to fix one for somebody and couldn't suss actual problem with modfolder, but did in the end make it work by copying idea in one of your stripped down maps and changed new map to using the internal name of the North_America province and also including all factions in strat as dead_until_resurrected. Not sure which of those elements fixed it or if it was something I managed to accidentally fix whilst making changes..... but it made me wonder if there were any 'must haves'.
I'm not really sure, you need at least one province (which shouldn't be too complex) and one faction set up I believe.
Otherwise, you of course need most of the map files, the regions stringtable and some other stuff I can't quite remember :laugh4:

One mistake I made was not removing the papal_faction attribute from the papal_states which crashed the game some turns into a new campaign.

falcom4ever
10-02-2007, 21:54
I'm not really sure, you need at least one province (which shouldn't be too complex) and one faction set up I believe.
Otherwise, you of course need most of the map files, the regions stringtable and some other stuff I can't quite remember :laugh4:

One mistake I made was not removing the papal_faction attribute from the papal_states which crashed the game some turns into a new campaign.

^^ me too with a mod that I made


Did you try adding a few more regions? Sometimes the game crashes on very complex regions.
I keept 3 provinces (Europe, Asia and Africa) and the strategy map loaded. But when I look the map, it makes a CDT after some seconds. Do you think that's because thare is not egouth regions ? :laugh4:

Thank for you help guys :)

alpaca
10-03-2007, 11:37
^^ me too with a mod that I made


I keept 3 provinces (Europe, Asia and Africa) and the strategy map loaded. But when I look the map, it makes a CDT after some seconds. Do you think that's because thare is not egouth regions ? :laugh4:

Thank for you help guys :)
You mean it crashes while scrolling? There's a lot of things that can cause it, missing strings in the /text files are some of them, otherwise I don't really know (I'm no mapper in fact so I don't have a large amount of experience with it).

falcom4ever
10-03-2007, 13:47
I think that's because regions are too big.

Bug I have another problem :S. When I place a city in a region, it don't goes to the right place, look to GB for example :

https://img528.imageshack.us/img528/8039/regionssi4.jpg
https://img512.imageshack.us/img512/2387/humstrangewx7.jpg

Thats the first time that I see something like this. How is it possible O_O ?

alpaca
10-03-2007, 14:26
Most likely you didn't align your map_regions and map_heights correctly.

falcom4ever
10-03-2007, 14:35
aahahahaha ^^' I turned me into a paranoiak since I started this new map ^^'''' ahahahah sorry :sweatdrop: