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

This Month's Specials

The Falklands War: 1982- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old February 17th, 2007, 03:38 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 version 095

Thank you for the feedback Endoperez.

Quote:
It's still a bit too complicated for anyone with an interesting idea to just add a province, but at least those who are willing to read the readme can do so.
It feels easy to me, but just because I am so familiar with it. The ideal would be if someone like Jack with skill in programming online tools could provide a web interface which allowed building individual provinces in a SemiRandomizer script format and auto email the submissions for addition to the library. I would be able to do a windows version, but it would not be cross platform friendly. I could look at doing a yabasic province creator, but without a proper gui interface it would be a awkward to use.

Quote:
If you manage to figure out an algorithm for starting positions, could it also be used for kingdoms with e.g. knights/longbowmen etc in the middle, and few heavy cavalry and archers added to all neighbouring provinces?
Certainly possible. I will keep that in mind as the next version progresses. I also like the idea of being able to have North Dakota, South Dakota and Greater Dakota (for example) as neighboring provinces with similar inhabitants.

Quote:
Can the namelists be used to e.g. create a list of all non-cursed magic items, or all non-cursed trinkets, or all non-cursed, not very powerful, melee-only magic weapons?
Yes! A simple example would be if I wanted to create a list of one-handed, fire only melee weapons for a set of abysian commanders to select randomly from. I would create a text file named 1HFIREMELEE_DATA1.txt and add any items that I wanted to the list:
Fire Sword
Fire Brand
Evening Star
Demon Whip
Unquenched Sword
Ember

Then save the file to the NAME_VAULT directory and add the name of the file to NameList.txt so that the program can find it. Now when I am creating my abysian province commanders I would tell the program to assign him a random item from that list with:
@RANDOM additem 1HFIREMELEE

In the above example, I could have also done the same thing with:
@6 additem
"Fire Sword"
"Fire Brand"
"Evening Star"
"Demon Whip"
"Unquenched Sword"
"Ember"

But with a long list of items that you wanted to use with multiple commanders, or across multiple provinces, the list file is a nice solution.

A helpful tip is that Edi's databases make it easy to use the autofilter feature to quickly compile very specific lists of items, monsters, magic sites, etc.
__________________
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
  #2  
Old February 19th, 2007, 11:53 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: SemiRandom version 095

Realm of the Ape King is done. A rich province in both gold and gems. It has a castle. Outside the castle, the defenders aren't that hard to take down, but just breaching the gates to the inner castle should take you a long, long time... And the defenders inside the castle won't starve anytime soon, either.


I'll attach ENDO1_HOT_M_FST_U_R_.gan here, zipped, but there's still one problem with it. It should be able to appear in any hot or temperate forest that's medium to large. BallBarian, you seem to have done multiple versions of a single province type (even uniques), like this:

ENDO1_HOT_L_FST_U_R_.gan
ENDO1_HOT_M_FST_U_R_.gan
ENDO1_TMP_L_FST_U_R_.gan
ENDO1_TMP_M_FST_U_R_.gan


However, wouldn't that let it create four versions of the same unique province? That doesn't sound right... If you've already added in some kind of province recognition, I'd like to have the Realm appear under those four names. However, it might take a week before I have a chance to use a computer again... I won't mind anyone else adding it to the .gan lists, of course.
Attached Files
File Type: zip 497555-ENDO1_HOT_M_FST_U_R_.zip (1.1 KB, 245 views)
Reply With Quote
  #3  
Old February 19th, 2007, 01:53 PM
Wauthan's Avatar

Wauthan Wauthan is offline
Second Lieutenant
 
Join Date: Dec 2003
Posts: 475
Thanks: 0
Thanked 1 Time in 1 Post
Wauthan is on a distinguished road
Default Re: SemiRandom version 095

This utility is very cool. Breathes new life into the all the tired old maps around. Thanks for sharing Ballbarian.
Reply With Quote
  #4  
Old February 19th, 2007, 04:50 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 version 095

Thank you very much for contributing Endoperez!
It looks like you have found a way to allow external defenders of "independent" forts. Very cool!

Quote:

It should be able to appear in any hot or temperate forest that's medium to large. BallBarian, you seem to have done multiple versions of a single province type (even uniques), like this:

ENDO1_HOT_L_FST_U_R_.gan
ENDO1_HOT_M_FST_U_R_.gan
ENDO1_TMP_L_FST_U_R_.gan
ENDO1_TMP_M_FST_U_R_.gan


However, wouldn't that let it create four versions of the same unique province?
First let me point out that you are using _M_ to denote a medium sized or otherwise "Normal" size, which should be _N_. It will still work since _M_=Multi (opposite of unique) which is just a placeholder that can be omitted, but that I include in my gan titles for clarity. The same goes for _N_=Normal which is again just a placeholder and can be omitted.

That said, currently _U_nique provinces must have a specific terrain for them to be truly unique. Creating a single unique province that can appear on a variety of terrains is not an option right now, though I feel your pain and I am looking for an alternative approach. You are right. Using your example could create four instances of the same unique province on different terrains. There should not be any existing GAN's in the current set that use the same unique province with multiple terrain types. If you see one, please point it out because it would have been unintentional. (I did a quick scan and couldn't find any.) There are however "multi" type provinces with multiple files for different terrain types.

Quote:
This utility is very cool. Breathes new life into the all the tired old maps around. Thanks for sharing Ballbarian.
Your very welcome Wauthan, and thank you for the encouragement.
__________________
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 February 23rd, 2007, 03:01 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: SemiRandom version 095

Quote:
Ballbarian said:
Thank you very much for contributing Endoperez!
It looks like you have found a way to allow external defenders of "independent" forts. Very cool!

First let me point out that you are using _M_ to denote a medium sized or otherwise "Normal" size, which should be _N_.

That said, currently _U_nique provinces must have a specific terrain for them to be truly unique. Creating a single unique province that can appear on a variety of terrains is not an option right now, though I feel your pain and I am looking for an alternative approach.
Yeah, I'm proud of coming up with that ownership change trick. It seems to work without any problems, too.

Thanks for pointing out the "Medium"/"Normal" thing. I'll remember it for the next one.

Good luck on coming up with an alternative.
Reply With Quote
  #6  
Old February 23rd, 2007, 07:54 PM
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 version 095

WOW THANKS for figuring out that castle defence thing! Do you mind if I make extensive use of that immeadiately on all my map routines?
(slap head, cant believe I didnt try that long ago).

Using special monsters will be ok for awhile altho Im pretty sure that something is planned for that. Did you test 23 (independents) to see if that worked. It might not since part of what it was doing originally had to be removed. And does 25 work the same? Im not sure of the difference in how the code plays #24 Special Monsters and #25 Special Monsters but Im sure there is something.
I hope Johan doesnt fix this now that we found it.
__________________
-- 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
  #7  
Old February 23rd, 2007, 08:37 PM
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 version 095

On the algorythm for finding a start position, here are some ideas for programs to use it.

(A) Based on a comment by someone in another thread.. a 3 age scenario. The same graphic map (RGB) but zipped up with 3 .map files. For example a scenario for abit of extended roleplaying with Ermor.
Map 1: Early Era Ermor, a set starting position with one province.
Map 2: Middle Era Ermor, same as above but start with 3 provinces.
Map 3: Late Era Ermor, same as above but 9 provinces.

If the 9 provinces were the same on each map (same poptypes and sites even though you wont see the sites on earlier maps) then it might give a real feel for a 3 game campaign And it would give a real feel for Kristoffers work in giving storyline progression on some nations.

(B) The Pipeline or Tower maps. I like the concept of the Tower map (very tall but only wide enough to have one nation stacked above the other) but the concept of starting at one end and fighting your way thru successive nations gradually getting stronger and stronger seems to require preset starting positions.

Of course both of those can be done manually (If anyone wants to, please feel free to do it for us all). But personally its going to sit on my ToDo list for ever. But if it can be programmed you could make it available for nightly generated new versions in your web directory.
__________________
-- 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
  #8  
Old February 24th, 2007, 05:11 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: SemiRandom version 095

Quote:
Gandalf Parker said:
WOW THANKS for figuring out that castle defence thing! Do you mind if I make extensive use of that immeadiately on all my map routines?
(slap head, cant believe I didnt try that long ago).
I don't mind that at all. The original idea I had for this province was just to make an example that would let others create their own castled, double-defended provinces for SemiRandom. It grew a bit from that.
Reply With Quote
  #9  
Old March 6th, 2007, 07:20 AM
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: SemiRandom version 095

Quote:
Ballbarian said:
Thank you for the feedback Endoperez.

Quote:
It's still a bit too complicated for anyone with an interesting idea to just add a province, but at least those who are willing to read the readme can do so.
It feels easy to me, but just because I am so familiar with it. The ideal would be if someone like Jack with skill in programming online tools could provide a web interface which allowed building individual provinces in a SemiRandomizer script format and auto email the submissions for addition to the library. I would be able to do a windows version, but it would not be cross platform friendly. I could look at doing a yabasic province creator, but without a proper gui interface it would be a awkward to use.
[...]


I had already something like that planned for my own map randomizer, and I could indeed make it so it send new submitted province both to you and me, with appropriate formatting. (for myself I plan tu use XML, but if you want something already in your specific format, just send me the specs by e-mail and I will do it)

(I had also started working on a function to select starting province like you do, bu stopped working on it to focus on the editor)

You can contact me to the following e-mail address :
dominions _at_ realites.org
__________________
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
  #10  
Old March 6th, 2007, 04:17 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 version 095

Thanks Jack. I will try to put something together tonight and send it to you. The specs are basically just normal map commands, but the wild card is the random stuff that can be added (and the file naming for terrain matching).
__________________
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 05:53 PM.


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