Jump to content

QueenofChaos26

Resident
  • Posts

    9
  • Joined

  • Last visited

Posts posted by QueenofChaos26

  1. I still dont know how to do any of that stuff. I went to llsetregionpos page on wiki and that helped me none. I hate when ppl try to help and I dont even understand what they are telling me. The stuff ik how to script I had figure out on my own and even that nearly caused me to rip my own hair out. I probably should just stop scripting and hire ppl to do it for me cause nothing in the post has made any sense to me.

  2. 2 minutes ago, Mollymews said:

    try changing the prim physics state in collision_start

    typically what we do with thrown objects in collision_start

    1) 1st line of code get the X,Y,Z position of the object

    2) 2nd line of code, change the physics state, and any visual spin effects

    3) 3rd line of code, re-position the now non-physics object at X,Y,Z, and rotate the thrown object so is relative to the target

    ok say what now?

     

    4 minutes ago, Rolig Loon said:

    You have a couple of challenges.  llSetStatus isn't supposed to have a forced delay, but it does have one in practice.  Remember that server activity proceeds in frames, 45 times a second.  An object can travel a fair distance in that short time, so getting the timing right fo making your knife physical isn't easy.  The other challenge is that your spinning knife needs to arrive at the target point first or it will look silly if/when it really does stick.  

    You might try a rather complicated approach.  Schematically,

    1. Before you "throw" the knife, identify the target and the distance to it.

    2. Make the knife physical and throw it, with spin.

    3. When the knife is within some reasonably small distance of the target, 

    4.  Make it stop spinning

    5. Make it non-physical.

    6. Rotate it so it's pointing to the target.

    7. Move it the rest of the way with llSetRegionPos.

    If the target is moving or if you have some other compelling reason, you  can have the knife run a fast timer to update the target's position and adjust when it has arrived at step #3.

    im sorry but huh?!

     

  3. I'm making these throwing knives that rotate using PRIM_OMEGA as they soar through the air and I'm wanting them to stick to what they hit. So by doing that, I thought i'd change the physics of them as well as the rotation when they collide. My code is as followed:

    default
    {
        state_entry()
        {
            llSetPrimitiveParams([PRIM_OMEGA, <0,0,2>, 10, 1]);
        }
    
        collision(integer num_detected)
        {
            llSetPrimitiveParams([PRIM_OMEGA, <0,0,0>, 10, 1, PRIM_PHYSICS, FALSE]);
            llSetTimerEvent(10);
            }
        
        }

    However, when it hits an object, it just bounces off them and it doesn't stop spinning. How do I fix this?

  4. My best friend is a mesh maker and one thing he has tried getting hands on is a boomerang type of script. He has stuff that he could use it for and I want to make him happy the best I can and this would be really something he  would appreciate. I'll pay for it to be made with how much money I can gather up. I dont care if someone makes a no modify copy of the script as long as he can he use it to make weapons that he can sell. Plz message inworld

  5. Um.... I'm just gonna have it setup to where it resets to default state when clicking the show button. also if anyone knows where I can find a color picker script that is basically what u see on the catwa huds in the "Alpha, Lashes, Tint, Neck-Size" Tab then i'd appreciate it

     

  6. ik how to do that but im saying how can one make it memorize the face/linknumber that was non-transparent before hiding the object from sight. for instance; my genital mesh has six states one can choose from so there is six separate buttons that represent each one. Then u have two more buttons; one that completely hides the mesh and one that makes the last selected state visible ONLY while the others remain invisible. 

     

  7. I'm trying to figure out something. I made this male genitals which is a link set from flaccid to erect and im trying to make a hud and one of the things it will have is a show/hide button. But what I cant figure out is how to make it where it remembers the selected state when u hide it and only makes that selection non transparent without making the entire linkset non transparent. sorta like what you see on the huds for aeros, brandom designs, etc ettc

     

×
×
  • Create New...