|
|
|
 |

August 28th, 2007, 10:31 PM
|
 |
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: WRAPPED MAPS AVAILABLE
any whoo gandalf, i'm looking at the old mapgen to see exactly how zoom affects things
|

August 28th, 2007, 11:51 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: WRAPPED MAPS AVAILABLE
Quoting you from before (I hope you understand because I didnt really follow)
Quote:
yes, sizing the map properly can be a bit of a hassle. as of now, you would have to scale the psize, tsize, zoom etc with the dimensions of the map. to keep the same look/feel of the default settings, if you were to double the dimensions (for example) you would double all of the distance related arguments, except for zoom, which would be halved. think of the dimensions of the map as a window. changing the size of the window allows you to see more. zoom represents the distance from the landscape you are viewing. i originally had all of the settings dependent upon the zoom, but decided to change it so that terrain/province sizes were not too dependent upon heightmap. perhaps a command to scale arguments from default depending on map dimensions would help?
|
That does seem to be the problem Im running into though. When I find settings that work for one map size, I cant change to doing a different size map without having to start over trying to find the right settings on all of them. You do list a couple of formulas on your help page (foreign language to me). That just drove me to write a program that randomized the settings, did a map, randomized, did a map.. hoping to accidentally hit the right numbers.
__________________
-- 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!)
|

August 29th, 2007, 03:26 PM
|
 |
Sergeant
|
|
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

August 29th, 2007, 03:43 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
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!)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|