creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Making separate population limits?   
Andre

Andre
Brazil  


  5/18/2013

Hello, i was wondering if there is a way to make a population limit for each metaroom, it's because i like to set the population limit to around 20 and have 2 or three separate groups of norns in different metarooms, but since some breeds reproduce much faster than others, these fast breeds tend to flood their rooms with norns while the slower breeds struggle to have offspring.
Then, in the crowded rooms, the norns begin to slap themselves and i hate that. So, someone thinks this is even possible?

 
Papriko
Peppery One

Papriko



  5/18/2013  1

Should be not too hard to make. The breeding script checks all creatures in the world using TOTL.
Instead of using TOTL you just had to write a small script which stores the metaroom the mating pair in question is in, ENUMerates through all creatures and only counts them if their metaroom ID matches.

That'd probably would not even need much of a rewrite. Allocate the TOTL line(s) and replace it/them with your script which just would be a few lines long.

Check out the GMAP command, it is ideal for that purpose.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Andre

Andre



  5/18/2013

well, i just got a excuse to learn CAOS then :P where i can find tutorials?
 
Papriko
Peppery One

Papriko



  5/18/2013

I don't know. You could try the CAOS Chaos in the resources section of CCaves.

I personally learned by disassembling and changing cosfiles and by bothering more experienced coders via PM :P


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki