|
|
|
|
 |

October 28th, 2003, 02:16 AM
|
|
Lieutenant Colonel
|
|
Join Date: Apr 2003
Location: Nuts-Land, counting them.
Posts: 1,329
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: The Random Map Generator and Maps
I would be overjoyed to read the manual  (the demo has none)
__________________
Currently playing: Dominions III, Civilization IV, Ageod American Civil War.
|

November 25th, 2003, 04:01 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: The Random Map Generator and Maps
I played with the DomMap-0.9 source abit. (it was never released as a windows Version, only linux raw source code)
I can get it to create a Dom2 map (one that will come up in the Dom2 MapEditor). Alot can be done there without really being a C-programmer but it looks like it will take a programmer to make it really work well.
The .map file it writes is WAY off. Apparently Dom1 and Dom2 number the provinces in a different pattern? So even though it does write out the #neighbors they are all over the map. Interesting for one game maybe but not useful.
Dom2 allows maps of any size but the DomMap limits it to the old 600x800. I may be able to find that variable and get it to accept higher values.
Certain warnings such as "too many neighbors" need to be updated to the new limits also.
From the looks of the code it appears that he had started on some of the other ideas that were discussed. Such as terrain notes for each province. But it seems to be from the conversations prior to Illwinter deciding to add it. It also looks like he was possibly working on incorporating some of my stuff as far as adding the ability to put in additional units based on sensible placing from the terrain notes.
Well I will keep twiddling with it. If you want to keep track of where Im at so far keep checking
http://www.techno-mage.com/~dominion/random.tga
http://www.techno-mage.com/~dominion/random.map
which is where Im dumping my test runs.
__________________
-- 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!)
|

November 25th, 2003, 04:38 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: The Random Map Generator and Maps
OK I got the targa to be bigger but I have a problem. The old code made the targa 600x800 with the map being variable size inside that image.
If I want to allow for the increased image handling of Dom2 then I have to pick a new image size. What would be good for a random map? Dom2 now allows 500 provinces. I was thinking of 1024x2048
__________________
-- 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!)
|

November 25th, 2003, 05:10 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: The Random Map Generator and Maps
OK Im liking the results so far. Im running with a targa size of 1600x1200 because it was one of the screen sizes my monitor allowed so Im thinking its a common size.
This is generating some very interesting maps. Of course people can create maps with less than 500 provinces. And with a map-image within the targa less than the max which gives them a black boundary they can write things or add pictures in. I LOVE how interesting the province shapes are getting. Very strategic
Unfortunately the .map it creates is still fairly worthless. But it still wont be bad as a starting point. An idea spur for people who want to manually do maps.
Now if we can just get some GIMP brushes for landscape items
[ November 25, 2003, 15:27: Message edited by: Gandalf Parker ]
__________________
-- 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!)
|

November 27th, 2003, 06:09 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: The Random Map Generator and Maps
OK I seem to be at my limit. Ive hacked what I can but I cant find anything that seems to say "starting the numbering of provinces at upper left corner of map". Apparently (for some reason) Dom2 needs to start at lower left and work upward. Without that change the .map file isnt even close to being useful. It still seems to be the closest thing to a useful tool if someone can fix it.
__________________
-- 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!)
|

November 28th, 2003, 10:11 AM
|
 |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: The Random Map Generator and Maps
So province numbering works like this?:
DOM1
starting upper left corner
left to right
top to bottom
DOM2
starting lower left corner
left to right
bottom to top
?????????
If it really works this way, simply mirroring the pic on the horizontal axis would do the trick.
Added advantage: The map would look like a totally new one again
A.
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|

November 28th, 2003, 03:16 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: The Random Map Generator and Maps
Quote:
Originally posted by Arralen:
If it really works this way, simply mirroring the pic on the horizontal axis would do the trick.
|
Hmmmm so simple it might work. I will have to try that. Thanks.
__________________
-- 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!)
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|