.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 November 1st, 2006, 06:26 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 playing with MAPs

Here is a linux script that I used to play with the map maker in Dom3.

Code:

GCOL1=" 50 100 50 70 "
SCOL1=" 20 50 80 30 "
SBCOL1=" 36 119 202 29 "
BCOL1=" 111 194 21 104 "
# good colors 36 119 202 29, 111 194 21 104
OTHR=' --mountpart 50 --farmpart 20 --mapnoise 110 '


uptime >mmaxi.log
dom3 -T --makemap maximums --mapsize 11000 11000 \
--mapprov 1500 --mapaa \
$OTHR \
--mapgcol $GCOL1 \
--mapscol $SCOL1 \
--mapbcol 36 119 202 29 \
--mapsbcol 130 130 130 130 \

convert maps/maximums.rgb -resize 1000x1000 \
../public_html/RandomMaps/maximumsg
figlet DONE
uptime >>mmaxi.log



The mmaxi.log is so I can see how long its taking since Im running it on maximum settings. (2-3 hours at the moment)

The convert is an ImageMagick utility that pops a smaller jpg of the map into the public html directory so I can view it without having to start a game with it to see if its any good. If its not then I just start the script again. If it is then I rename the rgb and map files so I can keep it, then restart the script.
__________________
-- 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
  #2  
Old November 1st, 2006, 06:27 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: playing with MAPs

Here are the settings you can play with.
Code:

******* Random Map Options *******
--makemap XXX Generate a random map with filename XXX and exit
--riverpart X 100 = normal amount of rivers, 0=no rivers
--seapart X Percent of map that is below water level (default=30)
--mountpart X Percent of map that is mountains (default=20)
--forestpart X Percent of lands that are forests (default=20)
--farmpart X Percent of lands that are farm lands (default=15)
--wastepart X Percent of lands that are wastes (default=10)
--swamppart X Percent of lands that are swamps (default=10)
--mapaa Enable antialiasing for random maps
--mapsize W H Set width and height of random map (default=1600 1200)
--mapprov X Set number of provinces (default=150)
--passmount Don't use impassable mountains on random maps
--mapgcol RGBA Ground color 0-255 (default=170 146 116 255)
--mapscol RGBA Sea color 0-255 (default=54 54 130 255)
--mapbcol RGBA Ground border color 0-255 (x4)
--mapsbcol RGBA Sea border color 0-255 (x4)
--mapnoise X Ground color noise 0-255 (default 15)
--borderwidth X Border width 0-500 (default 100)

__________________
-- 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
  #3  
Old November 1st, 2006, 06:30 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: playing with MAPs

Here is a Windows Batch file. Open a text (notepad) document and paste this in. Then name it something like MakeMap.bat

Double clicking it should create you a new map file. Unfortunately I have not found a quicky utility for Windows so you can view it right away so I have to start a game with the map in order to see it. If you download the windows version of ImageMagick then you could view it right away.

Code:

cd c:\Progra~1\dominions3
set MAP=muddle
set SIZE= 1000 1000
set PROVS= 100
set GCOL1= 50 100 50 240
set SCOL1= 20 50 80 250
set BCOL1= 111 191 111 100
set SBCOL1= 111 191 111 100
set OTHR= --seapart 20 --mountpart 50 --farmpart 20 --mapnoise 110
set COMMANDS= --makemap %MAP% --mapsize %SIZE% --mapprov %PROVS% --mapaa %OTHR% --mapgcol %GCOL1% --mapscol %SCOL1% --mapbcol %BCOL1% --mapsbcol %SBCOL1%

del c:\Progra~1\dominions3\maps\%map%*

c:\Progra~1\dominions3\dom3.exe -T %COMMANDS%

__________________
-- 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 07:25 PM.


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