.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 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old August 3rd, 2004, 03:47 PM

dandavis dandavis is offline
Private
 
Join Date: Aug 2004
Location: New York
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
dandavis is on a distinguished road
Default How do I load/use a custom map?

Sorry for the relatively dumb question, but I'd really like to tweak and then use one of the maps that came with the game. Specifically:

1) I want to limit the number of starting provinces available to increase my chances of beginning in a comfortable location (I prefer playing from corners, as we all do, right?).

2) I want to limit the number of neighbors that provinces have - mostly to limit the AI's tendency to "jump" oceans and invade some of my coastal provinces. (Note that I am not referring to the seafaring races here, but the land-based ones). I want to be able to establish choke-points on the map - provinces that you can fortify with the expectation that a land-based AI can only approach you from that direction.

On the Urgaia map in particular, I don't consider this cheating. You all probably know the province that should be a proper choke-point - the long, horizontal province that connects the larger Western continent to the Eastern continent. I don't feel that a land-based AI should be able to avoid that province and cross the middle sea to invade my coastal provinces. Rather, I'd like to grab the entire Eastern continent and relax behind a nice fortified city... but thusfar, I've been unable to achieve that on the map editor.

Anyway, I'm not totally unfamiliar with the map editor -- I've certainly played around with it -- but so far, I've found it clumsy and I don't know when I'm playing on my tweaked map or not. if someone could give me some very basic but detailed instructions on how to adjust a map in the manner that I've suggested, I'd really appreciate it.

Thanks.
Reply With Quote
  #2  
Old August 3rd, 2004, 04:07 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: How do I load/use a custom map?

You need to do as follows: Load the map file in the editor, then assign borders as you see fit and check the nostart checkbox on those provinces you want to disqualify as start locations. Save map file under different name. Then open new map file and the original in text editor, and copy everything except Province Names/Terrain section from old file to the new, then save new file.

You're done. The map editor is the only practical way of reassigning neighbors and terrain without it being a huge hassle.

Edi
Reply With Quote
  #3  
Old August 3rd, 2004, 05:08 PM

dandavis dandavis is offline
Private
 
Join Date: Aug 2004
Location: New York
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
dandavis is on a distinguished road
Default Re: How do I load/use a custom map?

Could you elaborate a little bit on the "open the map file in the text editor and load it" bit?

When I did this before, I succeeded in getting a "A map with 59 provinces" to show up in the available map list, but never with a specific name or any other information.

Another question:

I've also reduced the number of available starting provinces to 1 on a map before -- but it has still located me anywhere. In your experience (anyone kind enough to reply) have you been able to guarantee yourself a starting location on a given map using the map editor?
Reply With Quote
  #4  
Old August 3rd, 2004, 05:56 PM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: How do I load/use a custom map?

Quote:
Originally posted by dandavis:
1) I want to limit the number of starting provinces available to increase my chances of beginning in a comfortable location (I prefer playing from corners, as we all do, right?).
IMO, the easiest / best way to handle starting provinces is to use the "#nostart XX" entry in the .map file, where 'XX' is the province number. (Dom2 uses 2 files for every map that's played - one is a '.tga' file, a targa bitmap image. The other is has a ".map" extension, and is a text file containing a lot of lines of entries and commands.)

Using '#nostart' means that you don't have to do bitwise math for terrain flags, and minimizes the chances of it getting screwed up if someone edits terrain types. It also allows you to quickly and easily grep the nostart provinces.

If you only want a very limitted number of provinces available as starting provinces, I'd simply figure out which province numbers you want allowed as starters, and put in "#nostart 1", "#nostart 2", etc, for all the other provinces.

Quote:

2) I want to limit the number of neighbors that provinces have - mostly to limit the AI's tendency to "jump" oceans and invade some of my coastal provinces. [...]

On the Urgaia map in particular, I don't consider this cheating. You all probably know the province that should be a proper choke-point - the long, horizontal province that connects the larger Western continent to the Eastern continent. I don't feel that a land-based AI should be able to avoid that province and cross the middle sea to invade my coastal provinces.
I've played several games on that map, and I believe you're mistaken. The AI isn't "jumping" over the ocean - that province (# 32) is a perfectly good chokepoint. If the AI is getting past it without conquering the ocean province first, it's either using flying troops, sailing troops (Vanheim and 1 Marignon theme, also some mercenaries), stealthy troops, or summoning them there.

If you look at the province in-game and turn on the neighbors filter (by pressing '8', you'll see which provinces neighbor which ones. #32 is a chokepoint.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #5  
Old August 3rd, 2004, 06:02 PM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: How do I load/use a custom map?

Quote:
Originally posted by dandavis:
Could you elaborate a little bit on the "open the map file in the text editor and load it" bit?

When I did this before, I succeeded in getting a "A map with 59 provinces" to show up in the available map list, but never with a specific name or any other information.
Load the map's text ".map" file into a text editor - vi, notepad, wordpad, whatever. To get a decent title in the map list, find the "#dom2title" line in that ".map" file and change it to something more informative. Some map creators (incidentally, it's rather unfortunate that Illwinter chose ".map" as the extension, as it makes it awkward and confusing to discuss the maps with newcomers) haven't always put the best information in there - "A map with 221 provinces" is much less useful than "Cradle of Dominion - 221 provinces".

Quote:
I've also reduced the number of available starting provinces to 1 on a map before -- but it has still located me anywhere. In your experience (anyone kind enough to reply) have you been able to guarantee yourself a starting location on a given map using the map editor?
If you limit it to 1 starting province, it doesn't have enough for the AI players, therefor, it starts picking them at random.

You could guarantee your starting position by having only 1 province allowable as a start province, and choosing 1 human player, no AIs. This has the added benefit of allowing you to win the game after turn 1.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #6  
Old August 3rd, 2004, 07:25 PM

dandavis dandavis is offline
Private
 
Join Date: Aug 2004
Location: New York
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
dandavis is on a distinguished road
Default Re: How do I load/use a custom map?

Got it... so essentially, if I wanted to play Urgaia with 7 players, the best I could do in terms of setting myself up with a starting province, through only the map editor (not fidgeting with the text file), would be to open 7 starting provinces, leaving myself a 1-in-7 chance of getting the starting province that I want.

I'll try your other suggestions... and thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 06:35 AM.


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