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

This Month's Specials

Raging Tiger- 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 August 29th, 2007, 03:26 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: WRAPPED MAPS AVAILABLE

okay, so looking back at things, zoom only directly affects the heightmap, i.e. how far your face is from the surface of the map, not how big terrains or provinces could potentially be, the exception being mountains and water, which are part of the heightmap.

so letting x and y be the dimensions of the map and z being your zoom factor, and d1 and d2 be the arguments for tsize:

d1 = sqrt(x * y) / (10 * z)
d2 = d1 / 3

leave tchance alone.

i think that you probably ought to follow a similar procedure for psize. using pcount was always sort of tricky because there was no way to guarantee what the land-to-water ratio was. so if you want 5 water provinces and got a map that was nearly all water, the map sucked.

hopefully that'll help out a bit gandalf
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #2  
Old August 29th, 2007, 03:43 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: WRAPPED MAPS AVAILABLE

Quote:
paradoxharbinger said:
d1 = sqrt(x * y) / (10 * z)
d2 = d1 / 3

hopefully that'll help out a bit gandalf
Not really. Im thrilled that you can do things like that but for me.. well.. thats what programs are for. I guess Im going to have to write a program to help me use your program

test.bas
x=2000
y=1800
z=.25
d1 = sqrt(x * y) / (10 * z)
d2 = d1 / 3

print d1, d2


so the answer is 758.947 252.982?
__________________
-- 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
Reply

Bookmarks

Thread Tools
Display Modes

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 11:18 PM.


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