How to expand the campaign map in any direction (using vanilla or any other mod)
okay what you will need: Photoshop (or any other advanced image editing software capable of handling .tga files) and a fresh backup of your world folder i would recommend using GrnEyedDvl barebones folder
step (1)
decide on which direction you would like to extend your map for this tutorial we are going to extend the map to the east as this is the crusader campaign
note:
Spoiler Alert, click show to read:
there are some hardcoded limits you will need to take into consideration these are:
okay first things first open your world folder and navigate to the base folder now open descr_terrain.txt NOW DO IT!
change the width value to 250 and write them down you will need them later.
dimensions
{
width 250
height 151
}
save and close that file
step (2)
now open map_heights.tga select canvas size from the image tool bar
a panel like this should appear (see below)
select the arrow pointing east and change inches to pixels then select canvas extension color because we are in map_heights.tga we will use gray scale color values so i will use R.B.G 29,29,29 this seems to suit this campaign height well now save the file.
note:
Spoiler Alert, click show to read:
for some files you may need to remove the read-only property this can be done by right clicking the file >> properties un-check read-only box.
step (3)
now with you map_heights complete you will need to repeat step (2) with map_climates, map_ground_types, map_roughness(see note), map_fog
all this files will need to be double in (pixes +1) so for a dimensions 510 with the above files will need widths of 1021 pixels apart from map_roughness where it would be pixels-1
note:
Spoiler Alert, click show to read:
heres what the map_roughness.tga should look like
note the pixel size
step (4) the remaining files are map_regions, map_features, map_trade_route these are the smaller files and the width in canvas height will just need to be the dimensions you set in descr_terrain.txt you did write them down
open map_regions because there is more land in the east it must be filled with a current region color (see below)
you should have this:
now you will need to repeat this process with map_features, map_trade_route other files like water_surface and map_FE you don't need to touch.
now another important step, you must delete map.rwp and map_heights.hgt or the game will not load your map.
your game should look like this:
now you have more space in the east to add more provinces
other errors:
Spoiler Alert, click show to read:
I had this error in my log:
all i did where delete the entry at that line for me it where a port this happened because the map alinement's changes very annoying
18:37:29.843 [script.err] [error] Script Error in mods/crusades/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 660, column 5
could not create settlement at script line 660.
so just delete the line and delete map.rwp again restart the campaign
Could you give some more details about that last bit? I had this problem and I could never figure out what was wrong.
sure normally the error is caused from the province ports in dersc_strat all you need to do is find the line number in your log and delete that building its normally a port.
its best to use
[log]
to = logs/system.log.txt
level = * error
This should be pretty useful for beginners, good job
If I may be so bold as to propose two additions: Firstly, you might want to add some information about editing the water_surface pic so that the water will get lighter as you get nearer to the shore, and secondly a small walkthrough about editing the radar_map so that it fits the new features would be ace. If you don't feel like doing it, it's probably something people could figure out by themselves but I thought I'd mention it for completeness' sake
This should be pretty useful for beginners, good job
If I may be so bold as to propose two additions: Firstly, you might want to add some information about editing the water_surface pic so that the water will get lighter as you get nearer to the shore, and secondly a small walkthrough about editing the radar_map so that it fits the new features would be ace. If you don't feel like doing it, it's probably something people could figure out by themselves but I thought I'd mention it for completeness' sake
Thank you alpaca you would not believe the amount of people i had explan this to so i decided just to write the tutorial, I will get on top of the additional information you mentioned
Thank you alpaca you would not believe the amount of people i had explan this to so i decided just to write the tutorial, I will get on top of the additional information you mentioned
Yes it seems to be something that a lot of newbies try to start with so it's very good that you wrote a tutorial about it
I noticed that on your thing you the error had an issue with the line with the port. But on my thing it has an issue with the entire settlement (the error log says its on the same line that says region London_Province.
I speak Latin to God, English to my friends, French to girls, German to my enemies, and Japanese to my PS2.
I noticed that on your thing you the error had an issue with the line with the port. But on my thing it has an issue with the entire settlement (the error log says its on the same line that says region London_Province.
can you give us the error from your log? and the line form the dersc_strat as i believe is will be a port or farm land.
Same error. I will admit I had jumped ahead of myself and had created everything for the new map before I tested. I think I will start from scratch and go step by step.
I speak Latin to God, English to my friends, French to girls, German to my enemies, and Japanese to my PS2.
Same error. I will admit I had jumped ahead of myself and had created everything for the new map before I tested. I think I will start from scratch and go step by step.
small steps are best if your still having problems you can PM me i'm always willing to help.
are you going to update this tutorial with how to create new islands? i think like me alot of users would also find that usefull.
EDIT: also how to edit the map_features.
islands can be easy added, same process, but in map_regions.tga the island must be connect with mainland,or this ill ctd (of course in campaign map this ill not show connected to mainland)...just a tip
islands can be easy added, same process, but in map_regions.tga the island must be connect with mainland,or this ill ctd (of course in campaign map this ill not show connected to mainland)...just a tip
Thanks it would be nice to have a detailed tutorial on this, us noobs need guidance ,
@J@mes any chance of a tutorial for that too?
adding new islands, rivers and bridges etc.
Last edited by krycek; April 04, 2008 at 11:52 AM.