Jump to content

NawaliaTrea

Resident
  • Posts

    26
  • Joined

  • Last visited

Posts posted by NawaliaTrea

  1. On 6/16/2022 at 12:40 AM, Tessy Taffler said:

    I went from the Catya to the HD Pro at first about a year ago and was happy except for one issue, the chin is still too far from the neck unless you bring your face so far in it looks pushed in, with the head length setting, I just couldn't get past this. This was also a concern of mine with the old Catya head. I jumped on the Lelutka EVO X bandwagon and am much happier all around. Not to knock Catwa heads, I used them for a long time and the HD Pro was a nice upgrade from Catya, with the exception of the chin/neck distance issue.

    i just got Lel SIWA EvoX head to replace my Catwa NOur that i have been using for over 4  years i think. and tbh the chin to neck thing is just the same to me. maybe i do it wrong? i dont know

     

  2. Hi....i got 1 question...this pas weeks my avatar and my surrounding only rezzed correctly if i am on a VPN connection if i wasn't turned on the VPN things only rezed patially ( like not everthing around me rezzed and my avi will stay a cloud forever ( i tried to wait 2 hrs once). this wasn't the problem before since i never had a problem like this and never had to turned on VPN for SL connection...anyone know?

    Thank you

  3. Hi there.. again..

    so i am stuck again ;D... i want to ask you all if it is possible to pause a script that is  placed in child prim from a script in the root prim. so the situation is i am working on a smoking script. using a modifiable cigarette from MP. i added a script in the root prim for animation and alpha setting ( the cig is a static cig that jjust stay on your lips and blow smokes like a train lol) so what i want to do is to pause the smoke emitting for the duration when the cig on the lips is in alpha ( the smoke emitter script is in the flame prim child #3) is it possible to do that from the script i am working on in the root prim?

    Thank you soo much for any of your help

  4. 1 hour ago, ellestones said:

    assuming this is about transparent/opaque then we could set the holster as the root prim, then in root:

    
    holster_gun(integer show)
    {
        llSetLinkAlpha(LINK_ALL_OTHERS, (float)show, ALL_SIDES);
    }
    
    
    // test
    holster_gun(1);  // show the gun and holster
    holster_gun(0);  // hide the gun, showing empty holster 

     

    Hi....apparently i am still stuck ;D ..so i revised the script and the part look like this there's must be a mistake i made but can't figure out what it is yet ;D

     if (chan == ChatChan) {
                if (llToLower(msg) == llToLower(DrawCmd)) {
                    if (IsLeg) {
                        if (llGetLinkNumber() == LINK_ROOT)
                            llSetLinkAlpha(LINK_ALL_OTHERS, 1.0, ALL_SIDES);
                        else
                            llSetAlpha(1.0, ALL_SIDES);
                    } else {
                        if (llGetLinkNumber() == LINK_ROOT)
                            llSetLinkAlpha(LINK_ALL_OTHERS, 0.0, ALL_SIDES);      // this was originally LINK_SET, 0.0, ALL_SIDES
                        else
                            llSetAlpha(0.0, ALL_SIDES);
                    }

  5. 31 minutes ago, ellestones said:

    assuming this is about transparent/opaque then we could set the holster as the root prim, then in root:

    
    holster_gun(integer show)
    {
        llSetLinkAlpha(LINK_ALL_OTHERS, (float)show, ALL_SIDES);
    }
    
    
    // test
    holster_gun(1);  // show the gun and holster
    holster_gun(0);  // hide the gun, showing empty holster 

     

    okay..so the script is in the root prim instead of the former root prim in the gun since that prim already become first child prim. thank you i'll try this command for the setlinkalpha... i use the sling draw script i am working on right now on my sorority paddle linked with a bunch of spikes around it then linked it to a scooter (the scooter act like a holster) when i type the chat trigger the paddle got alpha but all the spikes stay there lol.... ;D thanks so much for your help.

  6. Hi again,

    I am stumble on another problem...again...;D ...so i am trying to do a draw/holster script...but now i am stuck on the holstered gun. so far i have no problem with the script when the gun is not linked to the holster. but when i linked the gun to the holster that gun just wont leave the holster ( the gun is a multi prims and the holster is a single prim object. i know i have to make some changes for the setlinkalpha parts but honestly i don't know what command needed for this and tried to browsed the wiki but couldn't find any that can explain about this. maybe i can get some tips from you all ...;D

    Thank you sooo much ;)

  7. well...i am new in all this just start to learn by gutting and modifying existing script for just not even a month..and i have almost zero knowledge in scripting at any language except writing some simple basic HTML script at school computer class years ago..i truly think everyone here are correct, sometimes a simple thing can do just the way we want to and sometime they don't and have to use something more elaborates to go around it. so i think it is depending on the circumstances. just can't think a simple solution will solve everything but can't also think an elaborate ones needed to solve everything..well..it just my thought ;D specially for someone who is totally blind in any of this like me starting with something simple is the best way for me to understand things, and gradually develop into thing that are more complicated when i facing problems that can't be solved with simple commands . and tbh the learning script i am working right now consist little bit of everything i got from all of you in here that already help me tremendously. i truly thank you all very very much.. and please expect alot more questions from me cos sure i'll have a bunch of them along the way ;D @

    • Like 2
  8. 44 minutes ago, NawaliaTrea said:

    hmmmmmm...okay....i tried the llSensorRepeat like @Rolig Loon suggest, and it worked.. but somehow the 2nd animation just wont stop even i already put a llStopAnimation for it.what do i do wrong ;(

    okay...solved with a llSensorRemove ;D but now another problem...after the last anim pose  stopped by the sensorRemove the av went back to the first anim and freeze there lol....eventho i already put a stopanimation for that anim. ;D

  9. i used llSleep in this script after a suggestion in my previous question. using like 4 llSleep command in 2 different command set ;D so far it worked just fine for me everythn=ing working in order the way i want to ( since i use them to delay sound, and objects alpha to fire to match the movement of the animation)

    For the current problem the only thing i know that can do what i want to do is a timer() but as you all said there'sonly 1 timer possible in 1 script. @Rolig Loon said about the no sensor thing with llSensorRepeat , i'm going to try that. and also going to try what @Innula Zenovka suggest since it looked like it can solve the problem i have right now eventho the whole script looks a little too advance for my current scripting skill ;D. also trying what @Berksey suggest about the llsleep betwen 2 animation.so the command like hibernate the 2nd animation when the first 1 fires. hopefully i can get it right...;D will let you all know how it goes since i will have alot more question about this ;D

  10. Hi again,

    I have another question since i think it never been mentioned in the wiki about this in the timer()section. Is it possible to have 2 timer() in 1 script? i want to put timer for 2 different animation. i am gutting a draw/sling script i found in the wiki adding stuff and modifying some stuff in it. i put 1 animation in the draw command with a llSetTimerEvent timer() to sequence with another anim pose.

     and then i add another animation into the sling command and trying to add timer to sequence it with another pose but i am stuck so far cos the second timer just won't  firing.

    so i am wondering if it is even possible to add second timer in 1 script.if not then is there a way for me to do what i meant to do.

    Thank you all ;D

     

  11. 3 hours ago, Rachel1206 said:

    Just remember llSleep() delay the whole script the specified amount of time. The timer event is simple to make and should always preferred:

     

    ...

    Yes you're right, the sound in my script is together with an animation and draw/sling script. the draw/sling is fine but sound and animation got delayed. have to try with timer.

  12. Hi there,

    I have a question..is it possible to play a sound with a delay? i mean the sound will play immediately after the trigger is triggered, in my my case is triggered by a chat command. i am wondering if it is possible for the sound being played like  maybe 0.5 sec after the trigger is posted? i haves been searching the wiki about this but i think i didn't find any. thank you soo much

  13. 11 hours ago, Rolig Loon said:

    Ah.... one reason it's not working is that you haven't been careful with marking the scope of various actions in the script.  Specifically, you wrote

     

    , leaving out all the important {curly brackets} that tell where the if and else blocks start  and end.  As a result, the if block will work, because it only has one statement in it, but the script will fail after that because the else is missing brackets. The animation will only start unpredictably, if at all. Get in the habit of always putting curly brackets around the scope of any block of commands, even if it's just one line. 

    Other than that, the script ought to work.  I don't see any syntax errors, and the logic seems OK.  If you try sending your two trigger messages in chat, the script ought to recognize them and play one anim or the other.  When you are though testing, of course, replace your ChatChan with something other than PUBLIC_CHANNEL so that you don't overwork the servers and contribute to local lag.

    Thank you for the tips i'll change the chat channel to more private that's just because i am too lazy to type/#chan before type the trigger ;D. this script i posted is working just fine what i am wondering is if its possible to play another animation after 1 animation finished. i read in wiki it is possible using timer but i tried that and still only play 1 animation instead of 2 in sequence. i want to play another animation after the first animation fires (in this case another one after the ("dualdrawblades") fires.

    anyway thank you very much for your help.

     

  14. On 5/26/2018 at 7:14 AM, Berksey said:

    @NawaliaTrea: Message me sometime, I have working side-and-front-opening models, with draw/hide/open/close via simple chat, and my models are made differently, which might give you some fun ideas on construction, too.

    @Wulfie Reanimator: You said what I would say a hundred times a day on this forum if it wouldn't make me look like a Spammy Spammerson; There are times I just want to scream "READ THE WIKI!!!", because so much time can be saved, and so many questions wouldn't have to be asked, if people realized it's an actual study source, and you can learn from it.

    It isn't just a collection of stuff about LSL. Everything a beginner needs to know is there, and you can look further and learn even more if you want. When I was brand-new here, I wouldn't even ask a question on the forums until I hit a dead-end, and it usually came down to simply not knowing which function to look up on the wiki.

    @Berksey i definitely would message you sometime..and i did read the WIKi before actually posted this thread...since it is my last resort cos i really was stuck ;))

  15. Hey there, 

    so i just started to learn scripting and start with a simple draw/holster script and now trying to put animation in it. actually i managed to insert an animation and work just fine. what i am wondering is is it possible to insert another animation/pose after the first one. so the script goes like this (i tried several option after browsed the wiki and all over internet but still didnt work most of the time the script only run 1 animation.) :

     
    integer IsBowie_L       = TRUE;          
    integer ChatChan    = 0;              
     
    string DrawCmd      = "pull";
    string HolsterCmd   = "bag";       
     
    integer IsVisible;
    integer hListen;
     
    default
    {
        state_entry()
        {
            llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION);
        }
     
        attach(key id)
        {
            if (id != NULL_KEY) {
                hListen = llListen(ChatChan, "", id, "");
            } else {
                llListenRemove(hListen);
            }
        }
     
        listen(integer chan, string name, key id, string msg)
        {
            if (chan == ChatChan) {
                if (llToLower(msg) == llToLower(DrawCmd)) {
                    if (IsBowie_L) {
                        if (llGetLinkNumber() == LINK_ROOT)
                            llSetLinkAlpha(LINK_SET, 1.0, ALL_SIDES);

                        else
                           llSetAlpha(1.0, ALL_SIDES);
                           llStartAnimation("dualdrawblades");
                          
                                          } else {
                        if (llGetLinkNumber() == LINK_ROOT)
                            llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES);
                        else
                            llSetAlpha(0.0, ALL_SIDES);
                    }
                } else if (llToLower(msg) == llToLower(HolsterCmd)) {
                    if (IsBowie_L) {
                        if (llGetLinkNumber() == LINK_ROOT)
                            llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES);
                        else
                            llSetAlpha(0.0, ALL_SIDES);
                             llStopAnimation("dualdrawblades");
                    } else {
                        if (llGetLinkNumber() == LINK_ROOT)
                            llSetLinkAlpha(LINK_SET, 1.0, ALL_SIDES);
                        else
                            llSetAlpha(1.0, ALL_SIDES);
                    }
                }
            }
        }
    }

    is it possible to add another animation after the first one that already here . Thank you soo much for any input...

  16. 10 hours ago, Innula Zenovka said:

    @NawaliaTrea  In practice, I'd recommend simply switching the knife's alpha (and starting and stopping a knife-holding animation) when you want to threaten someone with your knife. 

    You specifically asked, though, about attaching and detaching things, so I explained how to do that, but if you want to draw/sheath knives, then I think switching the knife's visibility is the way to do it.

    yes i think so. i dcurious if i can replace the touch command with a chat command. cos the knife will swing open on touch which is very nice in my opinion. instead just appear and disappear. But your explaination is really help me with something else i have in mind, sometimes i just detach something in sim and reattach it when needed it would be great if i can do that with a chat command. like you explained thanks soo much ;) 

  17. wow...and i thought this would be a good simple script where i can learn the basic..i sure going to try the tips from Innula  Thank you soo much for all the replies...at the moment i just delete the whole script and made one set link alpha script like the one usually used on guns draw/sling ended up attaching 2 knives.. ;) looked like working the way i wanted but just not the same. so imma try till i get it...wish me luck ;) 

  18. Hi ....

    so just like the title of the topic i am totally new with LSL, so i experimenting with the stuff i have. i got this nice cheap switchblade which has touch script which i am trying to replace it with chat command . the original script in the item make the blade of the switchblade swing open on touch

    default
    {
    touch_start(integer tnum)
    {
    rotation rot = llEuler2Rot(<0 * DEG_TO_RAD, 0 * DEG_TO_RAD, 180 * DEG_TO_RAD>);
    llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_ROT_LOCAL, rot]);
    llSleep(0.2);
    llPlaySound("switchblade-in", 1.0);
    state open;
    }
    }
    state open
    {
    touch_start(integer tnum)
    {
    rotation rot = llEuler2Rot(<0 * DEG_TO_RAD, 0 * DEG_TO_RAD, 0 * DEG_TO_RAD>);
    llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_ROT_LOCAL, rot]);
    llSleep(0.2);
    llPlaySound("switchblade-out", 1.0);
    state default;
    }
    }

    Been experimenting with a attach/detach script listen command to replace the touch command but still no luck.

    could someone please help me out...i am really blind here but really want to learn ;)

    Thank you

  19. Hi ....

    so just like the title of the topic i am totally new with LSL, so i experimenting with teh stuff i have. i got this nice cheap switchblade which has touch script which i am trying to replace it with chat command . the script goes like this 

    default
    {
    touch_start(integer tnum)
    {
    rotation rot = llEuler2Rot(<0 * DEG_TO_RAD, 0 * DEG_TO_RAD, 180 * DEG_TO_RAD>);
    llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_ROT_LOCAL, rot]);
    llSleep(0.2);
    llPlaySound("switchblade-in", 1.0);
    state open;
    }
    }

    the rest of the script is reversal of above

    Been experimenting with a attach/detach script and tried to replace the touch start with chat command but still no luck.

    could someone please help me out...i am really blind here but really want to learn ;)

    Thank you

×
×
  • Create New...