.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Devs or Mapmakers (http://forum.shrapnelgames.com/showthread.php?t=16684)

Sammual November 5th, 2003 07:19 PM

Devs or Mapmakers
 
When Setting the Terrain what is '0'.
It is not in the mapkit.
I don't understand exactly how the terrain numbers work. Can anyone explain for me?

Thanks,
Sammual

Gandalf Parker November 5th, 2003 08:31 PM

Re: Devs or Mapmakers
 
Quote:

Originally posted by Sammual:
When Setting the Terrain what is '0'.
It is not in the mapkit.
I don't understand exactly how the terrain numbers work. Can anyone explain for me?

Thanks,
Sammual

<font size="2" face="sans-serif, arial, verdana">That mapkit was sent to me way early when Dom2 was still mostly a dream. There is much in that mapedit file that needs (and hopefully is being) updated. The full copy of the game will come with a new one Im sure.

Kristoffer O November 5th, 2003 08:45 PM

Re: Devs or Mapmakers
 
Terrains are added with the mapedit feature (full Version only). A click on 'forest' enters a #terrain 4 or some other value.

I do not have the numbers in my head, but the terrain is a sum of binary numbers.

Size
Small/Large (normal = default)

Terrains
Mountain, forest, farmland, waste, swamp, sea, lake/river

Example #terrain 42 9 means province 42 has terrain features 4, 3, 2 (perhaps = large, mountain, forest)

There might be more. Make a map with a single province and change the number to find out what happens. I didn't have time to go through the code to find what numbers are what. In the full Version there is no need for this procedure (unless you are making random maps of course) as a simple click enters the terrain.

Gandalf Parker November 5th, 2003 09:01 PM

Re: Devs or Mapmakers
 
Quote:

Originally posted by Kristoffer O:
Terrains
Mountain, forest, farmland, waste, swamp, sea, lake/river

Example #terrain 42 9 means province 42 has terrain features 4, 3, 2 (perhaps = large, mountain, forest)
<font size="2" face="sans-serif, arial, verdana">Slick. Nice tight programming.

We will need to have those numbers but this crowd has been good at finding by experimentation and posting the charts. Dont worry about it. Go ahead and work on the next thing.

[thinking mode] Hmmm lets see. Program a loop of 0-255? assign each to a province and give ownership of those provinces to me as a player. enter the game and use the province info to get the results..... Yeah someone should be able to do that.

Sammual November 5th, 2003 10:15 PM

Re: Devs or Mapmakers
 
Quote:

Originally posted by Gandalf Parker:
[thinking mode] Hmmm lets see. Program a loop of 0-255? assign each to a province and give ownership of those provinces to me as a player. enter the game and use the province info to get the results..... Yeah someone should be able to do that.
<font size="2" face="sans-serif, arial, verdana">Let me know when you have it. http://forum.shrapnelgames.com/images/icons/icon10.gif

Sammual - At work

Gandalf Parker November 7th, 2003 04:41 PM

Re: Devs or Mapmakers
 
Quote:

Originally posted by Sammual:
</font><blockquote><font size="1" face="sans-serif, arial, verdana">quote:</font><hr /><font size="2" face="sans-serif, arial, verdana">Originally posted by Gandalf Parker:
[thinking mode] Hmmm lets see. Program a loop of 0-255? assign each to a province and give ownership of those provinces to me as a player. enter the game and use the province info to get the results..... Yeah someone should be able to do that.

<font size="2" face="sans-serif, arial, verdana">Let me know when you have it. http://forum.shrapnelgames.com/images/icons/icon10.gif
</font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">Did I give you the idea that I did such things? The reference lists stuff are more in the territory of other people here. Id get bored too fast to make anything useful out of it. Im afraid that figuring out how something can be done is usually about as close as I get.
(as if my web site didnt already give that impression). Someone want to take this and run with it? Anyone? Anyone?

[ November 07, 2003, 14:42: Message edited by: Gandalf Parker ]

Johan K November 7th, 2003 08:55 PM

Re: Devs or Mapmakers
 
I can speed things up a bit by cutting in a bit from the mapedit manual.

1=small, 2=large, 4=sea, 8=rivers, 16=mountain, 32=swamp, 64=waste, 128=forest and 256=farm.

A terrain with the value zero is the default terrain, medium size, plains and above sea level.

Sammual November 8th, 2003 12:34 AM

Re: Devs or Mapmakers
 
Quote:

Originally posted by Johan K:
I can speed things up a bit by cutting in a bit from the mapedit manual.

1=small, 2=large, 4=sea, 8=rivers, 16=mountain, 32=swamp, 64=waste, 128=forest and 256=farm.

A terrain with the value zero is the default terrain, medium size, plains and above sea level.

<font size="2" face="sans-serif, arial, verdana">Thank you.

Sammual

P.S. Gandalf, I was joking.


All times are GMT -4. The time now is 02:16 AM.

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