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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old January 7th, 2007, 02:02 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: Gandalf\'s Crazy Solo Games

The script was included.
At the moment Im using a really simple one. It just counts thru 1495 provinces, and randomly drops things into it. Im afraid that it does include a chance for you to start in a province that has a surprise. An additional commander, with level 4 random equipment, maybe some bodyguards, and some additonal units.

The only way to avoid that bit of luck in maps like this would be to designate all of the provinces that people can start in and avoid those when tossing in surprises. By the way, I ended up with that horror as a neighbor right next to my castle and Im still trying to get rid of it.

Im still generating batches of maps on my server and making a webpage to see if any catch my interest.
http://www.dom3minions.com/RandomMaps/maxs/_index.jpg
Im also waiting for the new patch so I can finally set ALL of the colors. Then I will pick one to take the time to clean up the neighbors, and set the starting locations. Also I might toss in AI alliances and such just to make it harder. Then I will set it up to re-create it every day so that people can snag a new one when they have played out that one.

If you want to try a smaller (and daily rerun) version then you can check out the Dom2 version. It can be played in Dom3 I believe.
http://www.dom2minions.com/PokeEye.shtml

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!)
Reply With Quote
  #2  
Old January 7th, 2007, 02:58 PM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: Gandalf\'s Crazy Solo Games

I've just finished making a conversion of your script in Perl.

(note : the perl module Math::Random is needed, easy to install on Windows with activeperl)

As you were using the same code in lots of places (mainly for commander generation + bodyguards and/or squads of units), I made a function to centralize that, so it should be easier to change numbers/probabilities with the version.

I plan to add some more features in the near future, such as a parsing of the original file (to get the number of province and other infos), and maybe a separate config file (maybe in XML)

Edit : updated attachment with latest version
Attached Files
File Type: rar 485189-gpmap.rar (2.7 KB, 112 views)
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" <stranges noises>
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
  #3  
Old January 7th, 2007, 03: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: Gandalf\'s Crazy Solo Games

I recommend accepting a map name and creating a new .map file for it each time. Such as, if they say they want to do the eye.map then create a .map file calling it eye_chaos.map using the eye.tga image. That way they can do it to any map they want without destroying the original for MP games.
__________________
-- 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
  #4  
Old January 7th, 2007, 04:27 PM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: Gandalf\'s Crazy Solo Games

new version of the perl script :

- now the script need the original map file :

gmap.pl map=<original_file>.map

- the original file will not be modified anymore, by default the modified map file will be named <original_file>_chaos.map

- you can specify another name for the output file :

gmap.pl map=<original_file>.map output=test.map

(exemple in the gmap.bat file included in the archive)

- the number of province of the original file is now automatically filled by parsing the original file

- for provinces with no random goodies, "#setland <ID>" is no longer added to the output as there is nothing more that follow for this province.
Attached Files
File Type: rar 485213-gmap.rar (2.6 KB, 120 views)
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" &lt;stranges noises&gt;
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
  #5  
Old January 7th, 2007, 04:36 PM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: Gandalf\'s Crazy Solo Games

another version : the script now add to the province description (in the output map file) that the map has been edited by it, with the date and time.

This should help for those that wish to use the script several times on the same map
Attached Files
File Type: rar 485214-gpmap.rar (2.7 KB, 107 views)
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" &lt;stranges noises&gt;
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
  #6  
Old January 8th, 2007, 12:10 PM
Caduceus's Avatar

Caduceus Caduceus is offline
Major
 
Join Date: Oct 2003
Location: Union, SC
Posts: 1,166
Thanks: 1
Thanked 2 Times in 2 Posts
Caduceus is on a distinguished road
Default Re: Gandalf\'s Crazy Solo Games

Tried the map from Gandalf and it brought my computer (AMD 3700+) to a screaming halt. I'll try it again tonight if I have time...
__________________
Caduceus
Reply With Quote
  #7  
Old January 8th, 2007, 01:19 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: Gandalf\'s Crazy Solo Games

If the MegaMap crashes then try the Dom2 "Poke in the Eye" scenario. It does the same things but with a smaller map it doesnt have quite the replayability. However since I regenerate PokeEye every day that helps.
__________________
-- 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
  #8  
Old January 8th, 2007, 03:50 PM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: Gandalf\'s Crazy Solo Games

Quote:
Caduceus said:
Tried the map from Gandalf and it brought my computer (AMD 3700+) to a screaming halt. I'll try it again tonight if I have time...
If you like the concept, but prefer to use a smaller map, you can use my perl script with any normal map.

I used it yesterday on a tower map with "only" 150 provinces (but with higher percentage of random goodies)
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" &lt;stranges noises&gt;
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
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 12:29 AM.


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