.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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
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
 

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 08:52 PM.


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