creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Agents Inheriting Tints?   
the1whoscreams

the1whoscreams
United States  


  3/18/2018

I'm working on a plant for DS, and part of the seed has a specific tint. The first stage of the actual plant still has that part of the seed visible, and I need to get the agent's tint values so that I can make it the same color as the seed agent. The documentation says you can use TINT, but it also says that it only works on creatures, and trying to use it anyway just gives me a syntax error. What should I do?
 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  3/18/2018

I would recommend looking at how the Bramboo and Rainbow Sharkling manage their hereditary tints.

My TCR Norns
 
xan

xan



  3/18/2018

Store the tint values you need in OVxx or NAME vars whenever you set them the first time, then retrieve them from the parent using targ or MVxx later.

if I recall correctly this is exactly how bramboo and sharklings do it, their code is worth studying regardless but that's the condensed version.

 
the1whoscreams

the1whoscreams



  3/19/2018  1

Thanks! I stole some stuff from the bramboo script, and now the colors are working perfectly.
 


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