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

This Month's Specials

The Star and the Crescent- Save $8.00
winSPMBT: Main Battle Tank- 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 23rd, 2007, 03:50 AM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Beer SemiRandom project beta release / announcement...

SemiRandom ver 0.89
Author: Ballbarian
Home Page: http://www.dom3minions.com/~semirand/
Submit Files: semirand -AT- dom3minions.com
------------------------------------------------------------------------------

Should run on Windows & Unix systems. -- I have not tested it on Unix!
Written in YABASIC, but it is not required to run this program.
It will be needed if you want to fiddle with the source code.
------------------------------------------------------------------------------


What it is:
===========
SemiRandomizer is a project inspired by Gandalf Parker's "Semi-Random maps"
article at: http://www.dom2minions.com/~minion/SemiRandom.shtml

This is my take on his fine idea.
------------------------------------------------------------------------------


What it does:
=============
SemiRandomizer (SR) takes an existing map file that you specify and appends
pieces of map code to it. These pieces are stored in what I have named "GAN"
files in honor of Gandalf's inspiration. You specify what percentage of the
provinces to modify and SR will select that many random locations on the map
and try to match them up with existing gan files. Several factors influence
what constitutes a match: terrain, terrain patterns, climate, province size,
and uniqueness.
------------------------------------------------------------------------------


What it still needs:
====================
I have a base of around 90 province files built up, 50 of which are converts from Edi's Faerun map (with his permission), and a handful are exaggerated scripts just to show some of what is possible. So it needs more province files with original ideas and more name lists (there are over 30 now) to support a few terrains that I have not gotten to yet. Gandalf has already contributed some great name lists which are now included in the download. He has also been kind enough to donate server space for maintaining a library of province, data and set files.

To submit files to be added to the server, simply email individual text files to the address above, or zipped sets of the files and I will add them to the library.

If you have any problems figuring it out, or getting it to run on your system, feel free to post here, or drop me a line and I will try to help.

------------------------------------------------------------------------------


For more information see the ReadMe included in the zip, or view it online at:
http://www.dom3minions.com/~semirand...ges/ReadMe.txt

Edit:
The attached zip file now also has the missing NameList.txt.
Attached Files
File Type: zip 489508-SemiRandom_v089.zip (188.0 KB, 89 views)
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor

Last edited by Ballbarian; August 18th, 2008 at 09:25 PM..
Reply With Quote
  #2  
Old January 23rd, 2007, 01:59 PM
Ighalli's Avatar

Ighalli Ighalli is offline
Corporal
 
Join Date: May 2004
Location: Ohio
Posts: 133
Thanks: 2
Thanked 0 Times in 0 Posts
Ighalli is on a distinguished road
Default Re: SemiRandom project beta release / announcement...

The NameList file seems to be missing from the archive.
Reply With Quote
  #3  
Old January 23rd, 2007, 03:26 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: SemiRandom project beta release / announcement

Thank you Ighalli.
When will I learn to never upload anything after midnight.

I have corrected the attachment so that it now contains the missing text file. So that you don't have to downoad the zip again, here are the contents of NameList.txt:
Quote:

CAVE_DATA1
CAVE_DATA2
COMMANDER_DATA1
COAST_DATA1
COAST_DATA2
FARM_DATA1
FARM_DATA2
FOREST_DATA1
FOREST_DATA2
LAKE_DATA1
LAKE_DATA2
MOUNTAIN_DATA1
MOUNTAIN_DATA2
OCEAN_DATA1
OCEAN_DATA2
PLAINS_DATA1
PLAINS_DATA2
SWAMP_DATA1
SWAMP_DATA2
HDNAME_DATA1
HDBLEND_DATA1
1HANDWEAPON_DATA1
2HANDWEAPON_DATA1
ARMORHVY_DATA1
ARMORLT_DATA1
BOOTS_DATA1
HELMET_DATA1
MISCITEM_DATA1
SHIELD_DATA1
JUNGLE_DATA1
JUNGLE_DATA2

__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #4  
Old January 23rd, 2007, 10:20 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: SemiRandom project beta release / announcement

I had a simple distribution map that I used to get a better picture of how the province distribution was working, so tonight I played around in Gimp and thought I would share it here to hopefully give folks an rough idea of what this utility does.



This distribution is on a 103 province medium random map using border mountains. The fiddle count in the config was set at 100 and SR placed 31 provinces out of it's current minimal library. As you can see, some of the random name generation leaves a lot to be desired, but it has a pretty fair average of getting something that sounds right. In future versions I will likely spend a little more time adding more rules to avoid names like Ngap & Dsch.

Take note of "Neverben Caverns" in the northwest. It is a border mountain province with only 1 neighbor and has had it's terrain crudely modified to CAVE and placed a Bakemono tribe there. Even if it would not have added a special there, it would still have changed the terrain. (I want caves in my random maps!). Also note that I used the default option of a cold north & a hot south, so Calimport (Hot) was placed in the south, and Citadel Adbar (Cold) was placed in the north. The configuration also allows defining province ranges as "climate bands" with a real world style of arctic poles at north & south edges of the map, and a hot central equator with temperate climates in between:

Default:
Cold
Temperate
Hot
5 Band option:
Cold
Temperate
Hot
Temperate
Cold

Right now the configuration file is crude, but it works. In the future I hope that I or someone knowledgeable in a friendly cross platform language can write a simple front end for SR.
Attached Images
File Type: jpg 489753-R2dist.jpg (148.5 KB, 66 views)
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #5  
Old January 24th, 2007, 12:59 AM
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: SemiRandom project beta release / announcement

Cool. The temp zones thing will work well with an idea I had. Just for variation I can run random generation in "module" sizes like 100 or 200 or 500 provinces. If I choose one of the white-ground ones, and a light green one, and a dark green one; then paste them together. That will give me a map that would fit your default scheme of cold tundra, then temperate forest, then hot-tropical jungle.
__________________
-- 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
  #6  
Old January 24th, 2007, 09:02 AM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: SemiRandom project beta release / announcement

If you are really lazy I can send over some C code I wrote that randomly generates words that sound right, are pronounceable, and best of all, it uses adjusted probabilities of the letter appearing in the alphabet (for example, the chance of getting an "f" is much greater than the chance of getting an "x").
Its downside is that it uses only 3 word templates to generate words in order to be sure you are getting a word that sounds right. Though adding more templates should be easy.

If you want it send a PM.
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #7  
Old January 24th, 2007, 10:02 AM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: SemiRandom project beta release / announcement

Thanks Agrajab, I have sent you a pm.

@Gandalf,
When you get a set put together let me know. That sounds like it would be a neat map to play on.
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #8  
Old January 24th, 2007, 11:02 AM
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: SemiRandom project beta release / announcement

Quote:
Agrajag said:
If you are really lazy I can send over some C code I wrote that randomly generates words that sound right
I might be interested in that. I might use it as it is, or convert it to the languages we are using.
__________________
-- 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
  #9  
Old January 24th, 2007, 12:14 PM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: SemiRandom project beta release / announcement

Don't get your hopes up too high, its a very simple program I wrote a long long time ago (the original version I can find is 27/03/2005).
The really cool part is that it generates letters according to adjusted probability of appearing in the english language, and that it is seperated into a/e/i/o/u and the rest of the letters, so it is easy to ensure you get a pronounceable word.
To generate words from those letters it just selects randomly from 3 word templates (aba,bab,abb), though more templates should be simple to add (baabaa and baabbaab are possible, but dangerous, but you could also go bababbabbabababbbaa etc.)

Everyone can view it over Here.
Also, I'd like to hear what people think about this ancient piece of code, even if its just saying it sucks or just isn't useful. If people like it I might make some cool improvements for fun (more templates, perhaps the ability to add templates, maybe generating into .txt files, maybe some sort of filtering etc.)
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #10  
Old January 25th, 2007, 10:17 AM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: SemiRandom project beta release / announcement

Working on a simple VB front end. It is now able to run the dom3 random map generator with user defined options supported by dom3's command line switches. After that is complete, SR can be executed on the generated map file and will then exit.
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - 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 01:12 AM.


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