.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old March 6th, 2007, 05:36 PM
Reverend Zombie's Avatar

Reverend Zombie Reverend Zombie is offline
Lieutenant Colonel
 
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
Reverend Zombie is on a distinguished road
Default 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...

Reply With Quote
  #2  
Old March 6th, 2007, 05:44 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: format for adding #nostart to .map file

Easiest way is to mark provinces as nostart using the ingame map editor.
__________________
http://www.illwinter.com
Reply With Quote
  #3  
Old March 6th, 2007, 05:46 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default 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
Reply With Quote
  #4  
Old March 6th, 2007, 05:48 PM
Reverend Zombie's Avatar

Reverend Zombie Reverend Zombie is offline
Lieutenant Colonel
 
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
Reverend Zombie is on a distinguished road
Default 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...

Reply With Quote
  #5  
Old March 6th, 2007, 05:53 PM
Reverend Zombie's Avatar

Reverend Zombie Reverend Zombie is offline
Lieutenant Colonel
 
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
Reverend Zombie is on a distinguished road
Default 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...

Reply With Quote
  #6  
Old March 6th, 2007, 05:55 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default 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
Reply With Quote
  #7  
Old March 6th, 2007, 05:57 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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!)
Reply With Quote
  #8  
Old March 6th, 2007, 06:01 PM
Reverend Zombie's Avatar

Reverend Zombie Reverend Zombie is offline
Lieutenant Colonel
 
Join Date: Feb 2004
Location: Chicagoland
Posts: 1,266
Thanks: 18
Thanked 0 Times in 0 Posts
Reverend Zombie is on a distinguished road
Default 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...

Reply With Quote
  #9  
Old March 6th, 2007, 06:27 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default 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
Reply With Quote
  #10  
Old March 6th, 2007, 06:41 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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!)
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:31 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.