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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
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, 108 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
  #2  
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
  #3  
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, 118 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
  #4  
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, 102 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 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
  #6  
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
  #7  
Old January 8th, 2007, 01:35 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Gandalf\'s Crazy Solo Games

How long does it take to finish these games?
How long before you actually have contact with other nations?

And how long to play a turn by the time you've beaten one or two nations?

I'd never make it. I can barely finish games with 3-4 AI nations before starting to dread trudging through another turn. How do you deal with the scale of the late 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
  #9  
Old January 8th, 2007, 04:48 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 you generate a map for solo play I recommend turning the mountains to 50 or higher. It creates many "chokepoint" positions on the map which control the access to small areas. Allowing for lots of "cut them off at the pass" tactics. At setting shigher than 50 you can get a maze.
__________________
-- 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

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 06:03 AM.


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