# of prey animals based on resource slots

Out-of-character discussion forum for players of Cantr II to discuss new ideas for the development of the Cantr II game.

Moderators: Public Relations Department, Players Department, Programming Department, Game Mechanics (RD)

Neuman
Posts: 41
Joined: Sun Apr 16, 2006 3:01 am

# of prey animals based on resource slots

Postby Neuman » Thu Dec 21, 2006 3:37 pm

And then the number of predator animals is based on the number of prey animals.

For example, we divide animals into 6 groups. Small Prey, Medium Prey, Large Prey, Small Predator, Medium Predator, and Large Predator. You could have maybe 5 Small prey, 2 Medium Prey, and 1 Large Prey of per slot. Small Predators only “eat” Small Prey, at the rate of 2 Small Prey for every Small Predator. Medium Predators eat both Medium Prey and Small Prey, but they prefer Medium prey. So the maximum number of Medium Predators is equal to Medium Prey plus half the Small Prey, divided by 3, rounding up. Large Predators eat all Prey, but they prefer Large. So the maximum number of Large Predators is equal to Large Prey, plus half the Medium Prey, plus a quarter of the Small Prey, divided by 3, rounding up.

Lets use Rabbits (Small Prey), Cows (Medium Prey), Elephants (Large Prey), Hawks (Small Predator), Wolves (Medium Predator), and Lions (Large Predator), then put them in a location with 10 resource slots. That gives us 50 rabbits, 20 cows, and 10 elephants. Which lets there be 25 hawks, 15 Wolves, and 11 lions.
User avatar
N-Aldwitch
Posts: 1771
Joined: Thu Mar 16, 2006 1:48 am
Contact:

Postby N-Aldwitch » Thu Dec 21, 2006 3:55 pm

Interesting.. Does it balance though? I mean eventually the predator will kill EVERY prey. Then there will be no food so the predator dies out.
So there's nothing left.

Kind of like a philosophical way of looking at how humans are turning out. :)
Nakranoth's "evil" character says:
"Thief! That's terrible! *shakes his head* That would hurt people's feeling if I did that."


http://www.sylorn.com - Free MMORPG in development.. need help.
User avatar
wichita
Administrator Emeritus
Posts: 4427
Joined: Mon Jan 17, 2005 6:46 pm
Location: Suomessa!

Postby wichita » Thu Dec 21, 2006 3:58 pm

Animals at the bottom of the food chain reproduce more frequently than the ones at the top. Look at the lemmings.
"Y-O-U! It's just two extra letters! Come on, people! This is the internet, not a barn!" --Kid President
Neuman
Posts: 41
Joined: Sun Apr 16, 2006 3:01 am

Postby Neuman » Thu Dec 21, 2006 4:09 pm

I didn’t mean to imply that the predators would actually eat the prey, just that the number of prey animals would determine the number of predators allowed in a location.
User avatar
Chris Johnson
Posts: 2903
Joined: Wed Dec 01, 2004 3:26 pm
Location: East Sussex, United Kingdom
Contact:

Postby Chris Johnson » Thu Dec 21, 2006 4:34 pm

Animal numbers are already controlled by the type of animals in a location - too over crowded and they migrate . This is variable and based on animal types . Locations can already fit many more lemmings than elephants.

It currently is not controlled by resource slots but if it was in should be in inverse proportion to number of resources slots - the more resource slots the less wild areas where the animals live.
User avatar
Wilmer Bordonado
Posts: 836
Joined: Fri Mar 10, 2006 3:55 am
Location: Buenos Aires, Argentina

Postby Wilmer Bordonado » Sat Dec 23, 2006 4:26 am

Is there a problem with animals, isn't it? :wink:

Wilmer B.

ps. There must BE a way to control their borning.
SI A LA VIDA, NO A LAS PAPELERAS!
http://www.noalapapelera.com.ar
YES TO LIFE, NO TO PULP MILLS!
http://chrislang.blogspot.com/2006_08_31_chrislang_archive.html
User avatar
deadboy
Posts: 1488
Joined: Mon Jan 16, 2006 6:41 pm
Location: England

Re: # of prey animals based on resource slots

Postby deadboy » Sat Dec 23, 2006 11:37 am

Neuman wrote:And then the number of predator animals is based on the number of prey animals.

For example, we divide animals into 6 groups. Small Prey, Medium Prey, Large Prey, Small Predator, Medium Predator, and Large Predator. You could have maybe 5 Small prey, 2 Medium Prey, and 1 Large Prey of per slot. Small Predators only “eat” Small Prey, at the rate of 2 Small Prey for every Small Predator. Medium Predators eat both Medium Prey and Small Prey, but they prefer Medium prey. So the maximum number of Medium Predators is equal to Medium Prey plus half the Small Prey, divided by 3, rounding up. Large Predators eat all Prey, but they prefer Large. So the maximum number of Large Predators is equal to Large Prey, plus half the Medium Prey, plus a quarter of the Small Prey, divided by 3, rounding up.

Lets use Rabbits (Small Prey), Cows (Medium Prey), Elephants (Large Prey), Hawks (Small Predator), Wolves (Medium Predator), and Lions (Large Predator), then put them in a location with 10 resource slots. That gives us 50 rabbits, 20 cows, and 10 elephants. Which lets there be 25 hawks, 15 Wolves, and 11 lions.


Ok, seriously, this is in a place with -10- resource slots? If there is 15 then you will be swimming in lions! This could be good if it balances and you work in cantrians killing off animals because here it seems like the numbers would be set

EDIT: I've thought of a good way to go about this that could use those numbers fine. Perhaps that is the max number of the animals there can be in a location, and each preys populations grows by

(the previous number of prey +(Previous number of prey x (1/Number of corresponding predator (large large, med med etc.)))

So if you think about it, the more predators there are, the slower they grow, and the less predators there are, the quicker they grow. Also, if a population is wiped out, it is completely gone. Each predator would grow by

its corresponding prey's number before growing divided by.... say.... 10
?


So in this example if no elephants were killed the lion population would grow by one each year to a max of 11. This would form a primitive sort of ecosystem, particularly as we also have animal migrations. Also, bear in mind that there could be more than one sort of any group, say rabbits -and- racoons, and therefore their numbers are grouped together to find the small prey parameter.

This would be so easy to code even -I- could probably solve it, and I haven't done any coding for three years :? And imagine how cool an ecosystem in cantr would be.
"Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we" - George W. Bush

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest