.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 September 17th, 2006, 06:24 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default new map generator

MAPGEN RELEASE: v0.52

PLEASE NOTE: to run the mapgen, you have to install a couple of dll files from m$, which you can get here

ALSO NOTE: as of v0.52, mapgen allows for sprites to be modded, but sprites are not being distributed with mapgen yet. hopefully, kristoffer will allow me to distribute the sprites that were used in the dom3 maps with mapgen, unil then though, i am afraid you are on your own with finding sprites to use.

i will post mapgen releases here at the top of the thread from here on out

changelog:
0.50
+ initial release

0.51
+ sea level is now adjustable
+ changed default sea and mountain levels to 115 and 165 respectively to reflect changes to heightmap algorithm
+ provinces are now marked with correct terrain types
+ output file which stores random number generator seeds (seeds.sds)
+ scripting command to turn comments on/off in .map file
++ verbose: yes/no;
++ default: no
++ data includes province number, province center point, neighbors and terrain types
+ scripting command to turn numbers on/off in image
++ provnum: yes/no;
++ default: no
++ mostly for my debugging purposes

0.52
+ scripting command to turn province borders on/off in map image
++ border: yes/no;
++ default: yes
+ scripting command to change output file names
++ filename: name;
++ default: test;
+ scripting command to generate a batch of maps
++ batch: number;
+++ number must be between 1 and 1000 inclusive
++ "_xxx" is appended to the filename, where "xxx" is the numerical id for the map
+ scripting command to use sprites in map image
++ sprite: name terrain distance distribution;
+++ name gives a path and file name for the sprite. the path may be relative to the folder MapGen is in
+++ terrain is a string for the terrain type to use this sprite in
+++ distance is an integer. this is the minimal distance that must be between this sprite and all others.
+++ distribution is an integer which will determine how often this sprite is placed for this terrain type
++ NO DEFAULTS. maps will be generated without sprites by default.
+ scripting command to turn province borders on/off
++ border: yes/no;
++ default: yes


to do
+ add lakes to heightmap
+ improve oceans in heightmap
+ improve terrain type algorithm to take distance to water into account
++ three levels
+ scripting command to load random number generator seeds
+ add a command for a palette of colors which will be used as background colors
++ use noise to give concentrations
+ cavern provinces
+ deep sea provinces
Attached Files
File Type: zip 446398-MapGen_0.52.03082007.zip (62.3 KB, 1296 views)
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #2  
Old October 12th, 2006, 07:51 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

i am moving all discussion for my map generator to this thread, as the dom2 map section seems to be dead. you can find the link to the old thread in the post above. i've attached a screen of a current map.
Attached Images
File Type: jpg 456593-scr_1001206_01.jpg (46.7 KB, 1098 views)
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #3  
Old October 13th, 2006, 12:13 PM
The_Tauren13's Avatar

The_Tauren13 The_Tauren13 is offline
First Lieutenant
 
Join Date: Jul 2004
Location: Albuquerque, NM
Posts: 605
Thanks: 0
Thanked 0 Times in 0 Posts
The_Tauren13 is on a distinguished road
Default Re: new map generator

Sweet! Wrap-around maps!
__________________
Every time you download music, God kills a kitten.
Reply With Quote
  #4  
Old October 13th, 2006, 01:18 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: new map generator

Wrap Around maps, user added sprites for terrain, more color control. Excellent stuff.
__________________
-- 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
  #5  
Old October 13th, 2006, 02:27 PM

Shovah32 Shovah32 is offline
Brigadier General
 
Join Date: Oct 2006
Location: Northern Ireland
Posts: 1,923
Thanks: 2
Thanked 5 Times in 5 Posts
Shovah32 is on a distinguished road
Default Re: new map generator

Excellent indeed. I was actually conserned about your MapGens future since dom3 has a built n RMG but yours is looking awfully nice.
Reply With Quote
  #6  
Old October 13th, 2006, 09:40 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

thanks all for the encouragement.

changing the script command format again, trying to make it both easy to parse and easy to write a script.

the basic format for a command is:
command: argument argument argument...;

see here for scripting commands
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #7  
Old October 21st, 2006, 02:30 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

well here's a quick example. as you can see, the mapgen doesn't play too well with larger sprites, but that is something that is relatively easy to fix, my efforts have been focused elsewhere, but it only took a few miuntes make the map 'less busy'.
Attached Images
File Type: jpg 461087-scr_102106_02.jpg (114.2 KB, 422 views)
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #8  
Old October 21st, 2006, 03:06 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

here's another sparse map, took out the forest sprites, never liked how they looked anyway. if someone could get me a few tree and mountain sprites to replace the ones i'm using, bout the size of the ones dom3 uses, i could use those instead. tried to draw a few, they looked terrible
Attached Images
File Type: jpg 461102-scr_102106_03.jpg (155.9 KB, 445 views)
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #9  
Old April 16th, 2007, 09:15 AM

Smauler Smauler is offline
Private
 
Join Date: Jul 2004
Location: Ipswich, UK
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Smauler is on a distinguished road
Default Re: new map generator

Firstly, great work, paradoxharbinger . Unfortunately, I'm having a few problems with scripting. For example, my script: script.spt file containsCode:
pcount: 100

and results inCode:
script: ./script.spt ... success

pcount: 1000 ... success


That's a bit quirky, but it seems to work when you realise it adds about a factor of 10 to you pcount. However, I can't get some other stuff to work at all:
Code:
pcount: 10
filename: test2

results in:
Code:
script: ./script.spt ... success

pcount: 10

filename: test22 ... failed


The pcount isn't increased, and the filename is, and it fails. Changing the pcount to a higher value dousn't help. Just
Code:
filename: test2

results in:
Code:
script: ./script.spt ... success

filename: test22 ... success



Anyway, I'm a bit confused - seems as if if I put two variables in, it gets screwed. It's a little screwy with one, too. I've tried other scripting variables, with the same result. I tried switching to Unix style line breaks to see if that would fix it (I was clutching at straws here ), but same again. I may try downloading again, see if that fixes it.

Oh, my verion numbers are off too. In the title bar MapGen claims it's v 0.52.03082007, and in the program it claims it's 0.51.03082007.

If I'm doing something unbelievable stupid, feel free to point and laugh, but I can't figure it out


edit : And one last thing - I'm using Dominions 2... please don't drop support for it... pretty please?
Reply With Quote
  #10  
Old April 16th, 2007, 12:15 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

odd... could you attach a zip with all of the output please?

the version number may just be that i forgot to change an output line, that's no biggy. you're using th most recent right?

as far as dom2 goes, we'll see. it is probably just a mater of leaving out the dom3 terrain types, but i havent gotter quite as far as adding in the dom3 types yet.

@ all
sorry for the lack of updates, finals week is rolling around, so i've been bogged down with school related work.
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
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:58 AM.


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