Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Menu Script

Orlando Trebuchet
Registered User
Join date: 28 Jan 2007
Posts: 9
11-08-2007 04:35
I'm looking for a menu script that would allow me to place multiple animations in a linked prim object. I'd like to be able to use it for commercial applications. Are there any threads on this topic. I know of the MLP thread, but I cannot find any Xpose scripts for commercial purchase. Any help on this would be greatly appreciated.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
11-08-2007 06:18
("Xpose"? Not familiar with this--is it like MLP? or maybe just a branded distribution of MLP?)

I guess it may help to know how the objective differs from what MLP does. I'm not advocating MLP, but just trying to use it as a shortcut for understanding the requirements. There are unlimited ways to put multiple animations into multiple linked prims, so it's a pretty broad problem space without more specifics.
Mereille Despres
Registered User
Join date: 5 Sep 2007
Posts: 79
11-08-2007 06:21
I'm not sure what you are really asking for? What is Xpose?

MLP doesn't work for you. Ok. What are you wanting?

A chair with multiple sits?
A prim attachment with ao?
Something that works like MLP but without any poseballs?

"Multiple animations in a linked prim object" is a bit vague.
Chocolata Oxberger
Registered User
Join date: 10 Apr 2006
Posts: 51
11-08-2007 06:33
The Xpose is the newer version of MLP and is only offered via the creator. Since the MLP was so badly abused, you now need to pay a commercial license fee to be able to use them. There is a group to join in world if he is still taking beta testers and you get a personal edition to try out.

If the prices haven't changed, you're looking at $200k L for a full perm copy of the scripts or you can pay per license needed in bulk. Say like you want to be able to sell 50 beds with the Xpose script, you would get 50 licensed versions at $250 L @.
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
11-08-2007 06:35
MLP was discontinued by its creator for what seem to me to be good reasons, but it was released under BSD license so it is still freely available (just not from the original source any more). Orlando, I can toss a generic one to you in world if you just need a working example to play with.

Xpose is the replacement for MLP, but it's still in beta right now.

There are alternatives around, like the commercial devpose, and there are simpler alternatives around without so much magical autoconfiguration stuff out there. What do you need for features?
Varon Kappler
Registered User
Join date: 9 Aug 2007
Posts: 7
Looking for the same
11-14-2007 04:15
Sorry if I'm hijacking your thread, Orlando, but I'm looking for the same thing, and with some specific and simple requirements.

Basically, I have a piece of furniture (or several actually) that I want to to add two sets of poses to. One is a couples cuddle pose, and the other is a single-avatar sit pose. And I don't want to have poseballs floating over my furniture all the time.

What I currently did is add the poses to three different prims on the furniture piece with hover text indicating the kind of pose on each prim. But I really don't like the hovering text showing all the time.

Ideally, I would like the couple pose to show when the furniture piece is clicked. Followed by the single pose on the next click, followed by no poses at all. I guess there's no way to do that without poseballs showing when one of the poses is active, but I can live with that.

Anyone knows of a system that would allow me to do that?

From: Viktoria Dovgal
There are alternatives around, like the commercial devpose...


Viktoria, I heard about devPose, but didn't know there was a commercial version available. Didn't see it at Deviant's shop. Can you tell me where I could find it?

Thanks in advance everyone.
MathieuBC Noel
Registered User
Join date: 26 May 2007
Posts: 3
I found a scipt that play animation
03-22-2008 21:15
//this script is an atomatic get animation from the object you create. The menu permit only 12 buttons of animation. So the ANIM2 =[] PERMIT TO ADD ANIMATION WHIT THE MORE BUTTON IN THE MENU




list ANIMS = [];
list ANIMS2 = [];
key chave;

integer i;


default
{
on_rez(integer num)
{
llResetScript();
}

state_entry()
{
llListen(777, "", NULL_KEY, "";);

if (llGetInventoryNumber(INVENTORY_ANIMATION) <= 12)
{
for (i = 0; i < llGetInventoryNumber(INVENTORY_ANIMATION); i++)
ANIMS += [llGetInventoryName(INVENTORY_ANIMATION, i)];
}
else
{
for (i = 0; i < 11; i++)
ANIMS += [llGetInventoryName(INVENTORY_ANIMATION, i)];
for (i = 11; i < llGetInventoryNumber(INVENTORY_ANIMATION); i++)
ANIMS2 += [llGetInventoryName(INVENTORY_ANIMATION, i)];
ANIMS += "more...";
ANIMS2 += "...back";
}
}

touch_start(integer total_number)
{
chave = llDetectedKey(0);
if ((chave == llGetPermissionsKey())

&& (llGetPermissions() & PERMISSION_TRIGGER_ANIMATION))
llDialog(chave, "Select the animation you want to play: ", ANIMS, 777);
else
llRequestPermissions(llDetectedKey(0), PERMISSION_TRIGGER_ANIMATION);
}

run_time_permissions(integer perm)
{
if ((chave == llGetPermissionsKey()) && (llGetPermissions() & PERMISSION_TRIGGER_ANIMATION))
llDialog(chave, "Select the animation you want to play: ", ANIMS, 777);
}


listen(integer channel, string name, key id, string message)
{
if (channel == 777)
{
if (message == "more...";)
llDialog(chave, "Select the animation you want to play: ", ANIMS2, 777);
else if (message == "...back";)
llDialog(chave, "Select the animation you want to play: ", ANIMS, 777);
else
{
list anims = llGetAnimationList(llGetPermissionsKey()); // get list of animations
integer len = llGetListLength(anims);
for (i = 0; i < len; ++i)
{
llStopAnimation(llList2Key(anims, i));
llSleep(0.2);
}
llStartAnimation("stand";);
llStartAnimation(message);
}
}
}

}