creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Searching Through Catalogues?   
the1whoscreams

the1whoscreams
United States  


  9/15/2018

I've been getting back into trying to make agents for Docking Station, and the project I'm working on right now involves catalogue files, specifically using them to define the traits and sprites of the plants and critters I'm going to be working on. How would I go about having my agent search through these catalogues to find a particular entry to spawn? I know the Quirky Cookie Machine uses catalogues for its recipes, but would it be possible to do something like spawn a plant and then have it select a random species from the catalogue for the area it's in? Just for an example...

Let's say there are six valid plant entries spread out across the catalogue folder. Two of them grow in normal soil, two in boggy soil, and two in drained soil. When my invisible population-maintaining background agent spawns a sprout on normal soil, how can it choose between the two normal soil plants, as opposed to the other four that can't grow in that environment?

 
Papriko
Peppery One

Papriko



  9/15/2018

Your idea does not only sound "doable" but in fact very plausible and accomplishable. If I were you, I would not even use some "invisible overlord" but rather let each seed figure out their own flib stuff. Each plant can decide if the environment is suitable to sprout seeds. Each seed can decide if the habitat is suitable to sprout or if they take the "norn gamble" (by which I mean "hope that a Norn carries you around and drops you eventually, rather than becoming a snack";)

Oh geez, I used to have ideas for a critter type agent with a rudimental boiled down version of norn sprites, but I forgot the details.... They used catalogue files too.... I think the idea revolved around dynamic egg sprites..... Sorry, but I really can not think of this *right now* but I gotta try to beat my brain over this old stuff :(

EDIT: Another idea would be that you register each growing criterium individually and the plant uses those... I think in your example it was 6? values to decide what it becomes and how it designs it's life cycle. Again, a bit of a complicated agent, I have never been talented with plants, critters and ecosystems in general, but this could evolve to be one amazing little bugger. I am curious to see your advancements.


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
1 online
drewitzwitch
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