Difference between revisions of "MLPV2 FAQ"
Line 30: | Line 30: | ||
# Pull out ~ball. Open it, and edit the ~ball script inside. | # Pull out ~ball. Open it, and edit the ~ball script inside. | ||
# Look for this: "llSitTarget(<0.0,0.0,0.1>, ZERO_ROTATION);" | # Starting with MLPV2.4x: (literally the letter 'x') | ||
# Change it to : "llSitTarget(<0.0,0.0,-.4>, ZERO_ROTATION);" (Note that .1 changed to -.4: adjust to taste.) | ## Look for this: "integer SitTarget = <0.,0.,.1>" | ||
## Change it to : "integer SitTarget = <0.,0.,-.4>" | |||
# Versions before MLPV2.4x: | |||
## Look for this: "llSitTarget(<0.0,0.0,0.1>, ZERO_ROTATION);" | |||
## Change it to : "llSitTarget(<0.0,0.0,-.4>, ZERO_ROTATION);" (Note that .1 changed to -.4: adjust to taste.) | |||
# Take the ~ball object into inventory | # Take the ~ball object into inventory | ||
# Delete ~ball from the MLPV2 | # Delete ~ball from the MLPV2 |
Revision as of 13:14, 21 July 2010
Balls won't rez when I choose a pose!
First, try STOP. If the balls got deleted for any reason, they won't rez when you pick a pose and the MLP still thinks the balls are there. STOP fixes this. (The timeout in many MLP objects also help avoid this, by doing a STOP if nobody's using it for a while.)
If that doesn't work, and if the object permissions allow it, select the object and use "Reset Scripts". (In original style viewers, this is SL menu "Tools -> Reset Scripts in Selection". For SL2, I have no idea where it is. Naughty LL for goofing everything up.)
What about group-owned land?
On a group-owned parcel, if "allow all users to rez objects" is not checked in parcel options, you will need to deed the MLP item to the land's group. Merely setting its group to the land's group isn't sufficient, unfortunately.
If the object is copy/no-xfer, your only recourse is to change the land settings to allow anyone to rez. In that case you may want to set a return timeout for all items not set to that group.
- Note* If you just deed it to group, the OPTIONS menu will no longer be available. To avoid this, edit the .MENUITEMS notecard and change all MENU lines to use "GROUP" rather than "OWNER". Then, anyone in the group can use the OPTIONS menu.
BUT WHY DOES IT SEEM TO WORK without deeding to group? If the owner has rez permissions, the menu will work (rez balls) when the owner is in the sim, even if not deeded to the group. It will fail a minute or two after the owner leaves the sim.
Can it rez objects?
Yes, per-pose, starting with MLPV2.1. At most one "prop" object per pose. Use PROPS.* notecard to configure; see the reference manual for details.
Can props be rezzed as worn objects?
Not really. You could rez an object that the participants can copy, take, or click to get an object that they can then wear.
Alternatively, it's possible to write an add-on script that, when a given pose is selected, gives an object to whoever's on a particular ball. This is a bit advanced; I'd recommend studying the MLPT-xciteadaptor4 script which tracks who's on which ball and knows when poses are selected. Remove the timer stuff, which could be laggy.
Can props stay rezzed rather than disappearing when you select the next pose?
Nope, sorry! You could use a "holodeck" script in a button to rez props independently of the MLPV2 menu.
What do I do about balls that are sunk into the mattress?
This problem is caused by the animation hip offset being too high. One fix is to redo the animation and set the hip offset lower. If you can't do that, then there's a workaround. Note: this workaround will affect all poses, making the balls appear higher for all poses.
- Pull out ~ball. Open it, and edit the ~ball script inside.
- Starting with MLPV2.4x: (literally the letter 'x')
- Look for this: "integer SitTarget = <0.,0.,.1>"
- Change it to : "integer SitTarget = <0.,0.,-.4>"
- Versions before MLPV2.4x:
- Look for this: "llSitTarget(<0.0,0.0,0.1>, ZERO_ROTATION);"
- Change it to : "llSitTarget(<0.0,0.0,-.4>, ZERO_ROTATION);" (Note that .1 changed to -.4: adjust to taste.)
- Take the ~ball object into inventory
- Delete ~ball from the MLPV2
- Drag the updated ~ball from inventory into the MLPV2
This will make all the poses .5 M lower than they were, with the balls at the same place. If that's a bigger change than you wanted, try -.2 or -.1.
Next you will need to adjust all the positions to compensate. I suggest you use the .MENUITEMS.reorient notecard for this.
Does MLPV2 support chains?
Search for CISS.
This applies equally to MLP and MLP2. You have to do some scripting.
Look at the touch_passer script (in MLP-tools, for MLPV2). This script sends a link-message causing MLP to post its menu. It's intended for use when MLP isn't in the root prim; you put this script in the prim you want people to be able to touch to get the menu.
If you want the menu to come up some other way, just modify this script to do what you want. For example, if you want the menu to open from a chat message, modify it to listen and send the link-message when it receives the proper command.
Can I play a sound from a sequence?
Make a button for the sound, the normal way. (It can be in a hidden menu.) Use the button name as the sequence step.
Can we get more than 6 avatars?
Nope. You can put two MLPV2 prims in the same object and they'll get along just fine, independently. But if you need coordinated poses with more than 6 avatars, use XPOSE.