Reforestation Clinics

General discussion and socializing.

Re: Reforestation Clinics

Postby Onionfighter » Tue Jun 23, 2009 6:30 am

To gather clay from areas without destroying too much land, you can pave an area, then dig for clay in the paved over part. When it turns to dirt, just pave it over again.
Cheerleader
User avatar
Onionfighter
 
Posts: 2957
Joined: Sat May 30, 2009 8:45 am
Location: Mordor

Re: Reforestation Clinics

Postby Malicus » Tue Jun 23, 2009 6:38 am

Yes, if it's not in a forest. If it is, then the moment something is done to the land, it's never going to be forest again.
Malicus
 
Posts: 333
Joined: Sat May 30, 2009 5:01 am

Re: Reforestation Clinics

Postby Pacho » Tue Jun 23, 2009 7:52 pm

There needs to be a way to make new forest tiles. Maybe if there is a high enough concentration of trees those tiles should slowly begin turning into forest tiles?
Pacho
 
Posts: 712
Joined: Wed Jun 10, 2009 2:21 am

Re: Reforestation Clinics

Postby Raephire » Tue Jun 23, 2009 9:53 pm

Pacho wrote:There needs to be a way to make new forest tiles. Maybe if there is a high enough concentration of trees those tiles should slowly begin turning into forest tiles?


agreed. And reduction of trees would turn it into grassland, - The minimap doesnt have to match this, but forest animals should spawn accordingly.
User avatar
Raephire
 
Posts: 648
Joined: Wed Jun 10, 2009 3:34 pm

Re: Reforestation Clinics

Postby kimya » Tue Jun 23, 2009 11:11 pm

Raephire wrote:
Pacho wrote:There needs to be a way to make new forest tiles. Maybe if there is a high enough concentration of trees those tiles should slowly begin turning into forest tiles?


agreed. And reduction of trees would turn it into grassland, - The minimap doesnt have to match this, but forest animals should spawn accordingly.


a "living" nature woult be great
kimya
 
Posts: 845
Joined: Mon Jun 01, 2009 1:35 am

Re: Reforestation Clinics

Postby theTrav » Wed Jun 24, 2009 12:31 am

automatic tree reproduction as well as dynamically calculated forest & grassland areas would be awesome, and I think the dev's have considered it but are still nutting out the performance issues of having a bazillion trees.

One way of doing it would be for trees to add their own reproduction checks to a single schedule/queue which could be slowly worked through asynchronously by a thread with relatively low priority. Something like:
Code: Select all
// called when users plant trees or when trees reproduce themselves
void plantTree(TreeType treeType, Coords coords) {
  Tree tree = createTreeObjectInDatabase(treeType, coords)
  Date nextReproductionCheck = getRandomReproductionCheckDate()
  //treeQueue is a thread safe, sorted list, sorts on the first parameter
  treeQueue.put(nextReproductionCheck, tree)
}

// called by a thread with low priority whenever the
void processTreeReproductionCheck(Tree tree)
{
  if (checkTreeAreaHasSpace(tree))
  {
    Coords newTreeSpot = getRandomTreeSpace(tree.getCoords())
    plantTree(tree.getType(), newTreeSpot)
  }
  Date nextReproductionCheck = getRandomReproductionCheckDate()
  //treeQueue is a thread safe, sorted list, sorts on the first parameter
  treeQueue.put(nextReproductionCheck, tree)
}


You could have the thread run behind, or skip trees, you could have a separate queue per grid square or number of grid squares, you could farm the work out to a separate CPU, all sorts of things.
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: Reforestation Clinics

Postby Pacho » Wed Jun 24, 2009 5:18 am

or maybe instead of checking every single tree, just check new trees on their moment of growth, and trees that are being chopped down (for the shrinking of forest tiles). That way it doesn't eat up as much CPU time since it doesn't have to go through the zillions of trees there would be later when there is a neverending map
Pacho
 
Posts: 712
Joined: Wed Jun 10, 2009 2:21 am

Re: Reforestation Clinics

Postby Peter » Wed Jun 24, 2009 6:12 am

An endless map would not actually be fully generated at any point; rather, it would generate areas as they are visited, and even potentially forget abandoned tiles. More likely, the number of active tiles could be related to the number of long-term players. For instance, if an average player visits 5 or 10 tiles regularly, and only occasionally visits 15 or so more, then 300 players (a rough estimate of the maximum theoretical number of players according to something I heard from jorb, I think) would have between them not much more than 7500 active squares at very most. At 500 trees per square (that's significantly higher density than currently), that would give us 3,750,000 trees. So, there's a number on it. As long as 4 million times the amount of memory per tree is less than 10 Gb or somthing, then a system might work, depending on the server equipment.
Surprise.
User avatar
Peter
 
Posts: 1491
Joined: Thu Jun 04, 2009 3:36 am

Re: Reforestation Clinics

Postby Pacho » Thu Jun 25, 2009 7:26 am

I don't know if I'm seeing things, but I swear there are forest tiles appearing in this backyard forest I'm growing. Am I just hallucinating because I'm dreaming, or is it just that I'm so tired :shock:
Pacho
 
Posts: 712
Joined: Wed Jun 10, 2009 2:21 am

Re: Reforestation Clinics

Postby theTrav » Thu Jun 25, 2009 7:32 am

Pacho wrote:I don't know if I'm seeing things, but I swear there are forest tiles appearing in this backyard forest I'm growing. Am I just hallucinating because I'm dreaming, or is it just that I'm so tired :shock:

Read the announcement thread on tree planting. They've updated it.

Trees now create forest tiles when they grow. QUICK PLANT MORE TREES!!!
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Previous

Return to The Inn of Brodgar

Who is online

Users browsing this forum: Claude [Bot] and 8 guests