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

This Month's Specials

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

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars > Scenarios, Maps & Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old January 21st, 2006, 04:55 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Help with making a map

All you really need to do is make a .map file (text) that gives the map a name and specifies the the image file, and define adjacent provinces (I think there's even a utility that can do that automatically...). The image has to have a pure white pixel for each province center, and be in .tga format. So, technically you can turn that into a map in about 5 minutes... if it does not have any pure (255.255.255) white on it. But it depends on how many provinces you want, and how customized you want it.

Here are some excerpts from Illwinter's Aran .map file:

Code:

--
-- Map file for Dominions 2
--
-- Illwinter Game Design
-- www.illwinter.com
--

-- Title and image file


Those are comments.
Code:

#dom2title Aran
#imagefile aran.tga
#defaultmapzoom 1.0
#domversion 150
#description "The once glorious kingdom of Aran was destroyed by a
magical disaster that turned the kingdom in to a barren waste several
hundred years ago.

107 provinces, 11 of these are under water.

Suitable for 6-10 players."


This stuff is necessary. Just copy it and change what you want.

Code:

-- Province names/terrains
#landname 1 "Stone Wood Waste"
#terrain 1 66
#terrain 2 128
#terrain 3 1


This goes on for each province, defining the name and type of terrain (by province number). Province numbers are autogenerated. So, you ought to load the map and see which province has which number before you assign names and terrain types to all of them. Names are autogenerated if you don't assign them, and I think terrain type is too (but I'm not positive).


Code:

-- Province neighbours
#neighbour 1 3
#neighbour 1 4
#neighbour 1 8
#neighbour 1 16
#neighbour 2 4
#neighbour 2 9
#neighbour 3 5


This tells which provinces are adjacent. It takes the most work, and MUST be filled out.

Code:

#nostart 1
#nostart 8
#nostart 16


This defines provinces that will not be used as capitols.


So, there's more stuff... I suggest you read the documentation in the Dominions 2\doc folder to do advanced things like place magic sites, define indy population types, and see which terrain type numbers mean which terrain types. And of course maps always look better if you draw in borders. But you should be able to make a basic map in a couple hours. If the image has pure white on it you can use a program (e.g. Irfanview, which can also convert to tga format) to reduce the brightness (or gamma) which will kill all the pure white pixels, then place your own in Paint.
__________________
Cherry
Reply With Quote
 

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 10:56 PM.


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