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
|