Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Hud attachment for simple poses

Herzog Svarog
The Wise(ass)
Join date: 9 Nov 2004
Posts: 74
12-06-2005 12:02
Hey all, I'm working on a HUD to use with a special effect I've got and have been rackin' my brains out tryin' to get it to work...I am ok with scripts, mostly piecing together open source stuff to accomplish what I want (and of course slowly learning to write from scratch) but this one is giving me trouble...I've attempted to shave down a couple of the existing open source AOs to do what I want, but thusfar have been very unsuccessful...without getting into toooooo much detail, here's what I want if anyone is willing to help:

A touch on/off script that when touched once will activate either a predefined pose or whatever pose is in the inventory, but only ONE pose...and on the second touch, will stop said pose.

I plan on having a few "buttons" on the HUD that will activate/deactivate different poses and would also like to have one that could have custom/random animations dropped into the object inventory for easy customization by anyone I give/sell this item to.

I've also attempted to have each button send a link message to a script in the main prim to do this which obviously would be the optimum way for this to function but would likely need to use a notecard for customization to work. (this is my preferred method, as it is more effecient all around)


Any help is greatly appreciated and if I've been to vague about anything I'll be happy to get more detailed on what I want.
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
12-06-2005 12:10
I wrote a HUD-controlled version of Francis Chung's Franimation AO. It's open source, and does a lot of what you want - different buttons which send link messages, a main script that picks them up and does various things - starts/stops animations, loads up different sets of animations, and so on. It's open source, so feel free to browse through that code and see how I did it, or IM me with questions. You can pick up a copy at SL Boutique, SL Exchange, or search the Classifieds forum for ZHAO for the in-world location.

My AO code is released under the GPL, like Francis' original script was, so if you use any part of it, it would be nice if you honored the GPL :)