Giter VIP home page Giter VIP logo

npose-facial-layering-plugin's Introduction

nPose-Facial-Layering-Plugin

Requires

  • nPose V4.00

Click the Releases tag above for prior release version which support prior versions of nPose.

Use this plugin if Layering another animation on top of an existing pose is required. There are two types of layering animations to consider:

  1. Facial animations which could include Bento joint animations.
    This type of layering utilizes a built in looping within the scripts.
    This type of layering is associated with a single pose in a single seat, meaning the animation will be removed when a pose is changed for this particular seat.
    https://github.com/nPoseTeam/nPose-V4/wiki/NC-Contents#xanim

  2. Simply called Layering animations which could include a full animation or partial animation.
    This type of layering does not automatically loop and will only loop if the animation is uploaded to SL as a looping one. Layering can also be used for Bento animations not intended to loop.
    This type of layering is associated with Avatar however not with any specific pose.
    When using LINKMSG to call this function the Avatar will be the menu user.
    When using SATMSG/NOTSATMSG to call this function the Avatar will be who is seated where the MSG is associated with.
    This type of layering must be specifically turned off by instructions.
    Access layering via LINKMSG or SATMSG/NOTSATMSG.

When using 'stopAll' nPose will stop all layered animations currently imposed on this Avatar.
When using 'stop,[animName] nPose will stop the single animation of name 'animName'.
When using 'start,[animName]' nPose will start the single animation of name 'animName'. To start multiple anims, use multiple LINKMSG lines.

The syntax is as follows:
* LINKMSG|-218|%AVKEY%/stopAll
* LINKMSG|-218|%AVKEY%/stop,[animName]
* LINKMSG|-218|%AVKEY%/start,[animName]

Documentation: https://github.com/nPoseTeam/nPose-Facial-Layering-Plugin
Support group: secondlife:///app/group/f61cb811-89c4-cec7-daa9-067b3f851f9a/about
Headquarter/Shop: http://maps.secondlife.com/secondlife/Newt/131/197/60
Report issues to: https://github.com/nPoseTeam/nPose-Facial-Layering-Plugin/issues
or (if you don't have a GitHub account) send a IM to
Howard: Howard Baxton (english)
Leona: slmember1 Resident (german, english)

npose-facial-layering-plugin's People

Contributors

howardbaxton avatar leonamorro avatar

Watchers

 avatar  avatar

Forkers

rubb

npose-facial-layering-plugin's Issues

Facial expression not activated for seated avatar

nPose Facial/Layering Plugin V3.00
Facial expression not activated for seated avatar.
I debugged a bit til I saw what appeared to be a missing initialization of variable "facecount" in function timer(). By adding a line locally, I was able to verify its inclusion appeared to resolve issue. Relevant lines pasted below.

            if(newFaceTimeFlag == 0) {
            //need to know if someone seated in this seat, if not we won't do any facials
                if(av != "") {
                    Faceanims = llParseString2List(llList2String(Slots, n*8+3), ["~"], []);
                    facecount = llGetListLength(Faceanims);
                    if(facecount > 0 && (llListFindList(SeatedAvs(), [ThisAV]) != -1)) {//modified cause face anims were being imposed after AV stands.
                        ThisAV = llGetPermissionsKey();
                        llRequestPermissions(av, PERMISSION_TRIGGER_ANIMATION);
                    }
                }
                integer x;
                **facecount = llGetListLength(Faceanims);**  **_// <<=============  Here._**
                for(x=0; x<facecount; ++x){
                    if (facecount>0) {
                        if(faceindex < facecount) {
                            if(AvLinkNum(av) != -1) {
                                llStartAnimation(llList2String(Faceanims, faceindex));
                            }
                        }            
                        faceindex++;
                    }
                }
            }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.