|
|
|
 |

April 19th, 2004, 10:47 AM
|
Second Lieutenant
|
|
Join Date: Apr 2001
Location: Modena, Italy
Posts: 412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Better randomization in my DomScripts
Hi,
I'm reading the readme.txt and the code of your randomization ... it's really great!
I hope people will start to prepare scenarios just like .ran files ...
thank you
Liga
Ps. does your avatar comes from the boardgames "greyhawk wars" ? It really looks like one of the units in the game ...
|

April 19th, 2004, 11:41 AM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Better randomization in my DomScripts
Quote:
Originally posted by liga:
Ps. does your avatar comes from the boardgames "greyhawk wars" ? It really looks like one of the units in the game ...
|
No, it actually comes from a (real) Norwegian traffic sign - "Warning, Troll Crossing"
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

April 19th, 2004, 12:09 PM
|
Lieutenant Colonel
|
|
Join Date: Apr 2003
Location: Nuts-Land, counting them.
Posts: 1,329
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Better randomization in my DomScripts
I must say I'm impressed by the cleverness of your randomizer. have you started from scratch, or is the idea deriving from a known operating procedure?
pl means its a perl script? Do you plan to make a windows exe of your code?
__________________
Currently playing: Dominions III, Civilization IV, Ageod American Civil War.
|

April 19th, 2004, 12:24 PM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Better randomization in my DomScripts
Quote:
Originally posted by Pocus:
I must say I'm impressed by the cleverness of your randomizer. have you started from scratch, or is the idea deriving from a known operating procedure?
pl means its a perl script? Do you plan to make a windows exe of your code?
|
A little of this, a little of that. The basic algorithm of the randomization process is pretty close to some pseudo-code Gandalf posted a while ago (although simplified in some areas and expanded in others) and the sets are basically standard mathematical sets with an added notation to handle weights. I guess the most important design-factor was the decision that things should be as configurable as possible - after that, things sort of took their own direction.
Yes, .pl means that it is a perl script (and there's also a couple of .pm files which are perl modules.) I'm afraid I'm not going to make an executable for windows (for one thing, I figure that most people that want to make use of the scripts will alter or adapt them to their own ends), but it's only a matter of installing perl and then writing "perl randomize_map.pl map_file.map ran_file.ran" to run it.
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

April 19th, 2004, 05:16 PM
|
Lieutenant Colonel
|
|
Join Date: Apr 2003
Location: Nuts-Land, counting them.
Posts: 1,329
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Better randomization in my DomScripts
ok, so if I would like to execute a perl script on my machine, what perl (&where) interpreter should I fetch?
__________________
Currently playing: Dominions III, Civilization IV, Ageod American Civil War.
|

April 19th, 2004, 05:29 PM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Better randomization in my DomScripts
Quote:
Originally posted by Pocus:
ok, so if I would like to execute a perl script on my machine, what perl (&where) interpreter should I fetch?
|
Just download the most recent one from http://www.perl.org/
I must admit I've never installed it on windows, but it shouldn't be too hard. Ask your nearest windows guru if you need any help.
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

April 19th, 2004, 05:50 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Better randomization in my DomScripts
Very nice. At first I wasnt sure if it was much different than downloading my code and pulling down yabasic to run it. But you have added some nice features in the .ran files.
__________________
-- 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!)
|
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
|
|
|
|
|