Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2004:
[Freeciv-Dev] (PR#7584) generalizing terrain in mapgen
Home

[Freeciv-Dev] (PR#7584) generalizing terrain in mapgen

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7584) generalizing terrain in mapgen
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 Feb 2004 09:03:09 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7584 >

Most of the places that still hard-code terrain types - particularly 
mapgen - can't be generalized easily.

My idea therefore is to add four desciptive integers for terrain:

   wetness
   slope
   altitude
   temperature

These can be described in the ruleset either via a value 1-3 or a string 
"low", "normal", "high".

Mapgen can make use of this data, picking an appropriate terrain for 
each location.

Maphand can make use of this data.  In global warming we increase 
temperature, decrease wetness, and pick a new terrain.

I think the terrains would be:

terrain         wet     slope   alt     temp
grassland       normal  low     low     normal
plains          normal  low     normal  normal
desert          low     normal  normal  high
forest          high    normal  normal  normal
jungle          high    normal  normal  high
hills           normal  normal  normal  normal
mountains       normal  high    high    normal
swamp           high    low     low     normal
arctic          low     normal  normal  low
tundra          normal  normal  normal  low

Thoughts?

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#7584) generalizing terrain in mapgen, Jason Short <=