I have a question about making maps

Discuss maps, trains and other modding topics
nx02nx02
Posts: 2
Joined: Mon Oct 20, 2008 3:05 pm

I have a question about making maps

Post by nx02nx02 » Mon Oct 20, 2008 3:27 pm

I am trying to make a big 25x25 map the problem is the editor crashes to desktop as soon as i try to save the map in the terrain editor. I can load the map in the terrain editor just fine and edit it and add citys and trees, terrain, etc. But then as soon as i click the save button it immediately ctd.

The way i made a 25 size map was by resizing the tga file of another map and adding 25 to the scenario xml file.
It seems to work as far as i can see and it loads up fine in the editor and is 1501x12008 pixels.

The smaller maps, 15, 20, 10 etc. all work fine and they do not crash.

I know it's possible to make a 25 size map because other people have made them and theres some on these forums.

How did they make them?

i can get a 1501x12008 (25) map into the editor just fine but it crashes if i try to save it.

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: I have a question about making maps

Post by Jancsika » Mon Oct 20, 2008 4:31 pm

I know it's possible to make a 25 size map because other people have made them and theres some on these forums.
Try this.
Take one of these maps install it as if you were playing it, then go to the Terrain editor" and start a new map from the "Start a new map from a Scenario map" line and then start it from that map. If it works then you can edit the terrain in any graphic editor. (Gimp, Paintshop Pro)
Jancsika :wink:

nx02nx02
Posts: 2
Joined: Mon Oct 20, 2008 3:05 pm

Re: I have a question about making maps

Post by nx02nx02 » Mon Oct 20, 2008 6:20 pm

Ok i tried loading a couple big maps with the, Start a new map from a Scenario map option and they do load up but as soon as i click save it still crashes.

I used paint shop trial to resize the maps and I have a really fast computer so it shouldn't be a performance issue.

are all the big maps created in the terrain editor or is there some other way or program to create maps?

Is there some other way i should be using in order to create the really big maps?
The other huge maps on this forum etc. Had to be saved in some way when they were done being created.

Even those maps, I can load them just fine but if they are 1501x12008 or bigger I cant resave them without the terrain editor crashing.

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: I have a question about making maps

Post by Jancsika » Mon Oct 20, 2008 8:16 pm

are all the big maps created in the terrain editor or is there some other way or program to create maps?
Appearently they crash. I have never tried to make a map over 15. It is probably a Firaxis limitation.
There is a Wiki page on this forum that goes into detail how to create large maps, etc.
As for placing industries, cities in the the map, the purists on this forum don't use the Terrain Editor, they place the improvements with the X/Y coordinates.
If you look at the XLM file you will see how it is done and Snoopy made quite a study in the Wiki.
Those large maps use a lot of computing resources.
:mrgreen:
Jancsika

User avatar
Lowell
Posts: 653
Joined: Sat Mar 24, 2007 2:14 am
Location: Georgia
Contact:

Re: I have a question about making maps

Post by Lowell » Sun Nov 30, 2008 9:52 pm

I have made a couple the size of 25x25, even a 30x30. The game gets unstable with maps larger than 20x20. On the super-sized ones, as you add more to the map, it starts to crash-out in the game editor.
I am afraid 20x20 is the max size for this game. As maps run, more gets added and turned on as you add trains, cars and goods running around. It takes a good-sized machine to run the 20x20-sized maps once they get full. 15x15 to 18x18 are the best of the larger sizes.

User avatar
Star Ranger4
Posts: 157
Joined: Thu Oct 18, 2007 2:59 am

Re: I have a question about making maps

Post by Star Ranger4 » Tue Dec 02, 2008 2:39 am

Well, that begs a question then... cause I'm still having problems.

I've got the .tga file that should be good for a 15x15 map, and I can get it to load into the map editor. but when I go to save it crashes to desktop instead of saving... I have a feeling that this HAS to be related to the fact I'm trying to create my own map completely from scratch, but no idea where to start looking for what I am doing wrong.

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Re: I have a question about making maps

Post by snoopy55 » Tue Dec 02, 2008 3:05 am

Have you got anything you can send to me to look over?

snoopy55@charter.net
I'm correct 97% of the time..... who cares about the other 4%....

User avatar
Lowell
Posts: 653
Joined: Sat Mar 24, 2007 2:14 am
Location: Georgia
Contact:

Re: I have a question about making maps

Post by Lowell » Tue Dec 02, 2008 4:25 am

Depends...what industries are you trying to place on the map? You must have a good listed in the goods list and a train car to carry it.
attach the file and either snoopy or myself would be glad to look at it and see.
All my maps are made from scratch, so that hasn't anything to do with the map crashing. You may also email the map if you wish...just place something in the subject line so I can pick it out.

User avatar
Star Ranger4
Posts: 157
Joined: Thu Oct 18, 2007 2:59 am

Re: I have a question about making maps

Post by Star Ranger4 » Tue Dec 02, 2008 7:04 am

Thats just it... I havent STARTED to place anything yet! just to get the new terrain into the game and saved. Only thing thats on the map so far is good old "TheNamelessCIty"...

I say "edit existing scn", hit the load map and select the map.

Loads up just fine, so I hit Save Map, so I have a baseline... and Blammo, CTD.

And here's the .tga zipped up so you can look at it Snoopy.
15gterraintry1.zip
the .tga zipped for size
(2.28 MiB) Downloaded 507 times
Attachments
15gterraintry1.zip
(2.28 MiB) Downloaded 505 times

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Re: I have a question about making maps

Post by snoopy55 » Tue Dec 02, 2008 12:05 pm

Got it working. Went into map editor and created a map called 'Test55' and saved it. Opened your TGA in GIMP and saved it as 'Test55.tga'. Replaced the existing TGA with yours and loaded the map in editor. Saved it.

Then I just went back and did the same thing, but called the map '15gterraintry1', saved it, replaced the TGA it created with yours, reloaded it in editor and saved it. Works OK. Oh ya, it added 'map_' to the front of the file.

Load the attached file and save it. Zip a copy and then go and work on your editing. Every so often, save it and take a break, but zip the newest each time, starting with '_00' and working your way up. If you have a problem, you have the last one that worked.

Something else, do not do any editing to the 'NewMapBase' folder in the game. Yes, you can, but the wrong spelling or something left out and you can end up with a mess. You would also need to add all the FPK data to your game, and that would be a gargantuan Global......not needed! The best way is to leave the original Industries til last, but use them to place the ones you want. Have a "location" version of your map along with the one you are actually working on. Plan on putting a Port in? Place a Fishery where you want the Port in the 'Location' version, save the map, copy the location data to your 'final-to-be' map after you insert the BB (or however you choose to do it), and delete the location from your 'Location' map. Go on from there. Keep a list on paper of what Industries you are adding, list the Goods you will need and the TrainCars to move them, and from that decide what Industries you need to ship them to. Back to your map if they are to be out-of-city and don't exist yet, or just get your city location list, if you made one, and add the locations to the Industry, add the new Goods and TrainCars, and go on from there.

And yes, you and others may know all or most of what I just wrote, but I don't know that, and when giving instructions, it's best to give as much as you can since you do not know what the people reading it may or may not know. To much info is better than not enough.... :wink: ..

By the way, that is a Beautiful map! Now that the oceans have receded, I know you're going to fertilize the land and get the plants growing again...... :mrgreen:

Also, in any future uploads, be sure to include the '.SMR_Scenario' of the nap. I realize that you prob didn't have it before, but you do now.......
Attachments
15gterraintry1.zip
(1.8 MiB) Downloaded 521 times
I'm correct 97% of the time..... who cares about the other 4%....

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Re: I have a question about making maps

Post by snoopy55 » Tue Dec 02, 2008 1:49 pm

This just in from Tijer: (who is my main map maker now.....)

While doing Terrain editing, do a 'fix world' often and then a save. This will update the map structure in small peices, prevents the loss of a long editing session, and gives you a breather now and then.

From me, are you saving the Terrain as you do it? You have to save that before you try to save the full map.

And as the song goes:

"Slow down, you move too fast, you've got to make the morning last
Just kickin' down the cobble-stones, lookin' for fun and feelin' groovy".

Always did love and live that one....... :mrgreen:
I'm correct 97% of the time..... who cares about the other 4%....

User avatar
Star Ranger4
Posts: 157
Joined: Thu Oct 18, 2007 2:59 am

Re: I have a question about making maps

Post by Star Ranger4 » Sat Dec 06, 2008 3:04 am

Weird.... Well, at least I can keep moving forward now.

Cause I'd created a scenario named Alphaone, for lack of a more creative name. Then I'd made the 15g map image. Opened Alpha in the terrain editor, got the basic flat map then tried to load in 15g. Map loaded, then I went to hit save without doing anything else, so i'd have the new terrain based on 15g? that was when the CTD happened.

Which is why I didnt have a 15g.smr scenario file yet either.

Thanks for getting me unstuck anyway. Got the 4 starting positions in place, next step... deciding on my goods and industries and start assembling them from the bblocks...

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: I have a question about making maps

Post by Jancsika » Sat Dec 06, 2008 3:24 am

I don't know if bigger maps are really desirable.
I was working on a large 20 x 20 map. The map has 12 in-city industries with 20 Goods, it has 7 on-site industries with 9 goods, plus passengers and mail. It is a SAM map. I have just finished it and I am testing.
It runs fine, no CTD, but it is unmanagable. The problem is with the tracks. It has 8700 miles of track and it takes 10- 15 seconds to draw a short piece of track and with a long track the system sometimes hangs.
The trains themselves are running fine, up to 20 trains without any visible problem.
I think I will limit myself to 15 x 15 maximum.
My system is less than a year old:
Asus P5Q SE motherboard
Intel Quad Q6600 2.4 GHz processor
GE Force 8800 GT 512 Mb graphic
Ram 4 Gb
Available physical memory 2.30 Gb
Virtual Memory 5.79 Gb
Page File system 3.54

So, it is back where I was a month ago. :(
Jancsika

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Re: I have a question about making maps

Post by snoopy55 » Sat Dec 06, 2008 3:49 am

I've been working on a 24 x 24 map myself. Now I don't know how it's going to work when done, so at the same time I'm working out a 15 x 15 version of the same thing. I worked out calculations for a 24 to 15 conversion of locations, and as I place a City or Out-of-Town Industry on the 24, I place the same thing on the 15. When I publish the map, I'll be publishing both. This way, if the 24 x 24 is to big for some systems, they can run the 15 x 15.

All it takes is after you get the terrain map done, resize it and save it with a number attached. Duplicate the XML files and change the '<MapSize>' to the new size. Put in the resized terrain map, minus the number change. Figure the multiplier to use, and relocate the Cities, then do the same for the Industries.

As to the number of miles, a large map does not mean you have to cram all that you can into it. 32 Goods is the limit the game will accept, so that puts at least one cap on it.
I'm correct 97% of the time..... who cares about the other 4%....

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: I have a question about making maps

Post by Jancsika » Sat Dec 06, 2008 6:01 am

I was just wondering if the number of goods and industries are causing the slowdown. I have the same map uploaded as NAFTA Phase I, with only 12 goods and with 5 or 6 in-city industries, and it was and is doing just fine, had no complaints.

An other thing I am experimenting with is having only random industry locations. I got the idea from some of the members, when they questioned that it is getting boring after 2 or 3 games to have the industries always at the same location. It depends very much on the scenario goals. It is not difficult to write a scenario with random locations.
Jancsika :wink:

Post Reply