creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Relative Positions?   
Papriko
Peppery One

Papriko
Germany  


  3/2/2010

Hi there, I wanted to ask: how can I get certain positions of a Norn?
Better said: How can I find a certain position in relation to pose, size and age?

The pointer can make different actions (tickle, slap) depending where it floats over the Norn, Butt or Head.
My planed agent doesn't have to execute scripts like that, that kind of position finding is already okay.
How to script?


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

AquaShee



  3/3/2010

I have absolutely no clue what you just said.
Which positions do you need, then?
You can get the location of the mouth with mthx and mthy, but other than that I'm not sure what you mean.

Can you please explain yourself more clearly?


The Community Scribble: make (y)our own metaroom!
 
Papriko
Peppery One

Papriko



  3/3/2010

I'm sorry.

Well, the Hand changes the pose depending where it floats over the Norn. It always changes it over the butt or the head, unimportant how large the creature is and which pose it has. How can I script a position-detection like this?


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

AquaShee



  3/3/2010

Well, if you check the pointer scripts, you'll see that the pointer uses script 117 to determine what will happen when clicking on a norn. In other words, it's hard-coded into the engine.

If you want to script something like this, you'll just have to work with mthx, mthy and hope the players won't be using any extremely small or large creatures.


The Community Scribble: make (y)our own metaroom!
 
Papriko
Peppery One

Papriko



  3/3/2010

#moans# Great, I love hardcoded things... Another idea canceled.

Well, thank you AS for the replies. ^^


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