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

This Month's Specials

Raging Tiger- Save $9.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
  #161  
Old October 8th, 2008, 09:57 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: RanDom v2.03 - Map gen & Semirandomizer... Updated

Just some touch up to the main post. Added links to help those who run into the missing ocx error and some sample map images pulled in from some of the older posts.

(Pardon my mess. )
__________________
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
  #162  
Old December 7th, 2008, 01:53 AM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: RanDom v2 - Map gen & Semirandomizer... the se

Quote:
Originally Posted by Ballbarian View Post
Has anyone had any problems running this in Vista? Judging by the little I have read online, it appears that it should run fine.

What exactly happened Valandil? What error message did you receive and at what point in the process?
I am having problems with Vista. Currently getting an error:

Code:
                          Lost in time...
Could not open 'C:\usr\dominions3\SemiRandom\GANPLAINS'
Try again? (y or n): y
Enter name of .map file to modify (leave off extension please!): scenario

          Adding stuff... |
---Error in main, line 1692: index 1 (=-2) out of range
---Error: Program stopped due to an error
I'm trying to track it down now.

Edit: Okay, I've read some earlier posts in this thread about this problem, and Ballbarian recommends going to the AI tab and making sure you've got EA w/ Tir Na N'og turned off. I've been running Semirandom straight from the command line, but just in case I tried going to RanDom and doing this... no luck. But at least I'm pretty sure it's a problem with the allowed provinces. More when I find the problem.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]

Last edited by MaxWilson; December 7th, 2008 at 02:16 AM..
Reply With Quote
  #163  
Old December 7th, 2008, 02:27 AM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Updated

Okay, I'm not sure exactly what was causing the problem (i.e. why the array indexing wasn't right) but I finally decided that the PRINT was simply a logging statement, so I REM'ed it out... and it seems to work. Now to experiment with the God editor and some scenarios. I'm glad that I'm finally getting around to this, I've been meaning to play with SemiRandom for ages.

Edit: nope, I guess I was just lucky. It didn't really work because semirandom.yab is the *source code* for the .exe, not something which is actively being used by the .exe. It turns out I just got lucky that time (I guess it happened to pick all valid nations that time I tried it). Back to work for me, trying to isolate the problem.
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]

Last edited by MaxWilson; December 7th, 2008 at 02:34 AM..
Reply With Quote
  #164  
Old December 7th, 2008, 03:07 AM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Updated

Okay, I *think* the problem is that nation.cfg should have a "-" instead of "!" in front of Tir Na N'Og to mark it as off-limits. After making this change, SemiRandom appears to be working reliably, although I'm puzzled why it assigns several versions of the same God to a given nation (EA Arc) with different lands. However, that's probably valid and I just don't understand map files well enough to know that.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #165  
Old December 7th, 2008, 05:43 AM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Updated

Okay, here's a version that should "just work" for anyone doing SingleAge games. It has a bunch of stuff from Ballbarian's first post all rolled into one (e.g. all of Foodstamp's GANs, Ballbarian's extra Gods) and the nation config file set for all nations in EA/MA. (LA is omitted because it has no God files yet.) Actually, let me rephrase that: pick your nation by editing nation.config to move the hyphen "-" onto your nation. Other than that it should just work.

-Max
Attached Files
File Type: zip SemiRandom.zip (370.2 KB, 206 views)
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #166  
Old December 8th, 2008, 03:27 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: RanDom v2.03 - Map gen & Semirandomizer... Updated

Sorry that I missed your posts this afternoon MaxWilson. I will review your problems tomorrow night. I am already running about 4 hours behind on sleep and I expect work to be rough in the morning.
__________________
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
  #167  
Old December 9th, 2008, 03:59 PM

Coldshard Coldshard is offline
Corporal
 
Join Date: May 2008
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Coldshard is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Updated

Sorry if this was answered somewhere in the thread and I missed it.. but I'm having the, 'component TABCTL32.OCX or one of its dependencies not correctly registered' error. I found the file in this thread but putting a copy in the dominions folder doesnt help nor does putting it in the system32 folder.

Where should I put this file to make it work? Or do I need to change some other setting somewhere?
Reply With Quote
  #168  
Old December 9th, 2008, 09:31 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: RanDom v2.03 - Map gen & Semirandomizer... Updated

Coldshard,
See this post:
http://forum.shrapnelgames.com/showp...&postcount=117

Just replace references to comdlg32.ocx with tabctl32.ocx.
__________________
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
  #169  
Old December 9th, 2008, 09:48 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: RanDom v2.03 - Map gen & Semirandomizer... Updated

Quote:
Originally Posted by MaxWilson View Post
Okay, I *think* the problem is that nation.cfg should have a "-" instead of "!" in front of Tir Na N'Og to mark it as off-limits. After making this change, SemiRandom appears to be working reliably, although I'm puzzled why it assigns several versions of the same God to a given nation (EA Arc) with different lands. However, that's probably valid and I just don't understand map files well enough to know that.

-Max
The RanDom program (for Win users) takes care of the nation configuration and other options, because (as you have discovered ) it can be a daunting task to set all of these options manually and get everything working as you would like. Even with using the gui it can be a challenge.

- reserve for human
! disable this nation
enabled for AI

The multiple placements of EA Arc is because that nation number is 0 and it is the first nation in the nation cfg list. Sounds like some of your settings might be off a tad.
__________________
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
  #170  
Old December 9th, 2008, 10:01 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: RanDom v2.03 - Map gen & Semirandomizer... Updated

For some examples that might help clarify some things, I will post some of my own current settings.

Nation Configuration screen from within RanDom
(So you can see graphically how SemiRandom sees the settings in the Nations.cfg file posted below.)



Nations.cfg (EA section only)
Code:
===EARLY ERA===
!0 Arcoscephale
1 Ermor
2 Ulm
!3 Marverni
!4 Sauromatia
!5 T'ien Ch'i
!7 Mictlan
!8 Abysia
!9 Caelum
10 C'tis
11 Pangaea
!12 Agartha
13 Tir na n'Og
14 Fomoria
!15 Vanheim
!16 Helheim
!17 Niefelheim
!18 Kailasa
!19 Yomi
-20 Hinnom
!*21 Atlantis
!*22 R'lyeh
!*26 Oceania
68 Lanka
SemiRandom.cfg
Code:
C:\Games\dominions3\SemiRandom
 0 
 100 
 1 
 0 
 25 
 25 
-1 
-1 
-1 
-1 
-1 
 0 
 7 
 0 
 2 
EA
 20 
 4 
 0 
-1 
255 000 000 255
Faerunmod_SR
Hope that helps.
__________________
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

Tags
custom, generator, gods, independents, map, provinces, random, semirandom, starts


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 06:53 PM.


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