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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old January 15th, 2007, 07:24 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 Online map file syntax checking and map randomizer

The first version of my dominions perl library is done.

Currently there are function for map parsing/validation, functions to add random buildings and commanders to provinces, and of course a function to output the edited map code from the perl psudo-object

The library come with a test script (test.pl) as well as an online map validator/randomizer also available on my website , so you don't even need to install anything if you just want to randomize a map or two :

http://dominions.realites.org/

I have many plans for the future based on this library, such as semi-random provinces (randomly select random provinces/commanders from a preset library depending of the province terrain type(s) for exemple), and I can take suggestion, or even script requests.

And of course please report any bug that you could find with the application, thanks in advance.
__________________
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 18th, 2007, 08:37 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: Online map file syntax checking and map randomizer

ew version at http://dominions.realites.org

- "greater manysites" now use list of pre-set provinces.
- map file upload instead of text area : the application now doesn't hang anymore with large map files

You can list all available special provinces at
http://dominions.realites.org/?actio...cial_provinces

This will list them all, and give the same map code that will be used by the script when editing map files. (yes, you can also copy/past the code in a map file manually if you want to test a province, and of course there might still be some errors, don't hesitate to post when you find one)

And of course the online tool will use those provinces (with full credit for the authors in the resulting map code) when you check the "greater manysites" option.

The list is *far* for complete, so I still take suggestions for new provinces (http://www.shrapnelcommunity.com/thr...=&fpart=3&vc=1), as well as suggestion or request for new features.

Currently on my immediate TODO list :

- a pre-set province with a name should be unique in the final map
- add more pre set provinces so that each terrain type as at least some
- maybe making two versions of the random province function, one for land provinces and one for sea provinces (need list of IDs of units with ampibious or aquatic, even a partial list would be better than nothing). At worst I might just ignore random sea provinces and use instead preset ones (since very few units are aquatic in proportion to the huge number that exist, random units on land provinces usually don't drown, the reverse being false)


Your suggestions ?
__________________
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 19th, 2007, 06:26 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: Online map file syntax checking and map randomizer

Another version :

- Results are now displayed full screen by default, exept in debug mode or if unrecognized lines are found.
(you can just use the "save page as ..." command of your browser to save the edited map)
- New option : "force full screen results"
- some small bug fixes
- provinces now list the number of sea and land neighbours, so it is now possible to identify a province as an island (land province with only sea neighbours), a lake, a coastal province, a peninsula, or even a province without any neighbours.
__________________
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
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 08:19 PM.


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