|
|
|
|
March 6th, 2007, 05:36 PM
|
|
Lieutenant Colonel
|
|
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
|
|
format for adding #nostart to .map file
I've read the mapedit PDF, but missed any mention of how to add #nostart info to a .map file.
Do I just simply list them at the end of the file, or is there special character(s) or something needed to indicate that the beginning of the #nostart list.
Thanks!
__________________
In strait places gar keep all store,
And burn the plain land them before:
Then shall they pass away in haste,
When that they find nothing but waste...
|
March 6th, 2007, 05:44 PM
|
|
Brigadier General
|
|
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
|
|
Re: format for adding #nostart to .map file
Easiest way is to mark provinces as nostart using the ingame map editor.
|
March 6th, 2007, 05:46 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
Re: format for adding #nostart to .map file
Add 512 to terrain type. That's the terrain value for nostart in map files.
You should find this rather helpful for calculating terrain values if you need to do it by hand.
Edi
|
March 6th, 2007, 05:48 PM
|
|
Lieutenant Colonel
|
|
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
|
|
Re: format for adding #nostart to .map file
Quote:
Johan K said:
Easiest way is to mark provinces as nostart using the ingame map editor.
|
If I have a list of province numbers that should be #nostart (mentioned by Edi in another thread) is there a way to go directly to those provinces in the editor (or on that map in a game) or do I need to click around till I find them?
__________________
In strait places gar keep all store,
And burn the plain land them before:
Then shall they pass away in haste,
When that they find nothing but waste...
|
March 6th, 2007, 05:53 PM
|
|
Lieutenant Colonel
|
|
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
|
|
Re: format for adding #nostart to .map file
Quote:
Edi said:
Add 512 to terrain type. That's the terrain value for nostart in map files.
You should find this rather helpful for calculating terrain values if you need to do it by hand.
Edi
|
Do I add 512 to the current terrain value, or do I list "512" after the number currently there?
__________________
In strait places gar keep all store,
And burn the plain land them before:
Then shall they pass away in haste,
When that they find nothing but waste...
|
March 6th, 2007, 05:55 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
Re: format for adding #nostart to .map file
If you fire up the map file in the editor, you need to click on the provinces in question. If you open the map file in a text editor, you need to find the command #terrain <province nbr> <terrain mask> and add 512 to the mask.
But just wait 5 minutes and I'll post a fixed Cradle map here. I just went through it and the damn thing had crapton of provinces that should have been #nostart but weren't and I also changed some mountains to border mountains so that some parts of the map are now only difficult to traverse instead of being impenetrable.
Edi
|
March 6th, 2007, 05:57 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: format for adding #nostart to .map file
You would add it to the value.
To me the easiest way is to just append to the end of the .map file. Make a list like
#nostart 149
#nostart 190
#nostart 250
#nostart 320
and put that in the .map file anyplace.
But there might be problems with it later. The map editor doesnt seem to display it as nostart if you use that later, and might not even save the #nostart you did back to the file when you are done editing, like it deletes the default zoom
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
March 6th, 2007, 06:01 PM
|
|
Lieutenant Colonel
|
|
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
|
|
Re: format for adding #nostart to .map file
Quote:
Edi said:
But just wait 5 minutes and I'll post a fixed Cradle map here. I just went through it and the damn thing had crapton of provinces that should have been #nostart but weren't and I also changed some mountains to border mountains so that some parts of the map are now only difficult to traverse instead of being impenetrable.
Edi
|
Sweet! Just in time for my game to start, and saving me from having to figure this out myself.
It was one of your posts (as well as my playtests on Cradle) that clued me into the nostart problem and the sea provinces that were not sea.
Thanks!
__________________
In strait places gar keep all store,
And burn the plain land them before:
Then shall they pass away in haste,
When that they find nothing but waste...
|
March 6th, 2007, 06:27 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
Re: format for adding #nostart to .map file
Quote:
Gandalf Parker said:
You would add it to the value.
To me the easiest way is to just append to the end of the .map file. Make a list like
#nostart 149
#nostart 190
#nostart 250
#nostart 320
and put that in the .map file anyplace.
But there might be problems with it later. The map editor doesnt seem to display it as nostart if you use that later, and might not even save the #nostart you did back to the file when you are done editing, like it deletes the default zoom
|
The editor deletes all map commands except description and the #terrain, #name and #neighbor commands. Everything else gets wiped out, so will the #nostarts.
The editor isn't likely to read #nostart <nbr> as a province terrain, so best bet is use the editor like Johan said, then copy-paste any special provinces from a text file and include the #nostart command in with the other special province modifications. That way you have all of your bases covered.
Edi
|
March 6th, 2007, 06:41 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: format for adding #nostart to .map file
Which reminds me of a bug.
If you generate a map, the program puts in a #defaultmapzoom but no #maptextcol command.
If you then edit the map using the map editor it puts in the #maptextcol but removes the #defaultmapzoom
Somehow when we got maptextcol added it knocked out the default zoom recognition of the map editor
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|