Jump to content

XxAmanexX

Resident
  • Posts

    24
  • Joined

  • Last visited

Posts posted by XxAmanexX

  1. 23 minutes ago, Frionil Fang said:

    Texture rotate animation doesn't have a pivot you can choose, it rotates around the midpoint of the texture (and I guess a corner for PBR materials, haven't checked). If what you're trying to animate isn't centered on the pivot on the UVs, it won't work. Best you could do is rotate the entire object with llTargetOmega, which may or may not be doable considering you said you didn't want to do that -- if you were concerned about performance, non-physics TargetOmega is a viewer-side effect and doesn't have much cost resource-wise.

    Ah, that's unfortunate! If I can't choose the pivot point of the texture to rotate on then it is what it is. If I separated the face depicted in the Gifs from the mesh and created a child object linked to the main mesh would I be able to rotate the child object specifically by using llTargetOmega? That would give me the effect I'm looking for without the need to rotate the entire object itself, as the outer ring of the object needs to remain stationary!

  2. 4 hours ago, Profaitchikenz Haiku said:

     

    You're almost there. You don't need to set the two scale figures for rotate. ALL_SUDES should be replaced by the specific face, and to change the direction it spins, either specify a REVERSE mode flag or set rate as a -ve number.

    Try this (not tested inworld) 

    llSetLinkTextureAnim(LINK_THIS, ANIM_ON | SMOOTH | ROTATE | REVERSE | LOOP, side, 0, TWO_PI, 2*TWO_PI);

    It might be worth while checking the value you have set for side is actually the face you are looking at. If for some reason side = 2 is pointing at a blank face you will see nothing hapenning :)

     

    // get the specified face number of a prim
    // drop this in the actal child to be worked on
    
    touch_start(integer num)
    {
      integer face = llDetectedTouchFace(num - 1);
      llOwnerSay("Face is " + (string) face);
    
    }

     

    I'm not sure I understand where the two scale figures are being set in the script? I tried putting in the line you gave me earlier and specifying the Face as 2 however the compiler threw me a "Function call mismatches type or number of arguments" error below. So I went ahead and added 0,0,0, and that caused the texture to move similar to how it was moving in my initial post. - I'd like the texture to remain centered on its face and rotate clockwise in place. The script seems like it's making it move around an axis that's not shown on the face itself. Thanks for the second script! I was able to get it working and can definitely confirm the face I am attempting to rotate is defined as 2. I just don't understand why the texture is moving like the way its shown in the gif instead of spinning to the right in place. Is there another parameter or value I'm not specifying correctly in the script?

     

    Function Call Error:

    https://gyazo.com/dc68d08b9c9459ba30d6c5b1a7a50d40

    Adding 0,0,0,

    https://gyazo.com/2d5b612683cda35bc3d7837c94be5748

    Second Script Face:

    https://gyazo.com/1cd3d32ffe47a10fe1f3467c0ff77e97

  3. Hello everyone!

    I'll be short and sweet here, I'm completely new to scripting and am attempting to figure out how to get a texture to spin clockwise on the face of an object. Kind of like in a spiral or hypnosis pattern in the direction the arrows are going in the image attached. I've tried using scripts from the marketplace to see if I can find something I can break down and understand myself, but the scripts I've found don't move the texture properly. - On this particular object the Face I am attempting to spin the texture on is Face 2. I have tried specifying the number 2 in place of ALL_SIDES in the script provided below, but that doesn't change how the texture moves on the object. I've been channeling my best Google-fu for the last couple of hours and I've come across a few posts on here suggesting that I can rotate the mesh object/prim instead of the texture itself. I figured it'd be best to reach out here before trying that for some advice, as I don't want to rotate the entire object itself, I think I can create some extra faces as child objects to spin over the main object if that's the case?

    Any pointers would be greatly appreciated!

    Here's an a GIF showing what one of the scripts I've found is causing the texture to do:

    https://gyazo.com/98abb559729c517bbb79d4a814fe95f9

    And the exact script written out here:

    //Rotate a texture.

    //Drop this script into the prim you want to rotate a texture on.

    //Adjust settings as needed and hit "Save".

    //For a simple texture rotation, delete this script after running.

    //For more advanced scripts, you may wish to turn the rotation on and off or change speeds.

    //To do more than one side, unless it is ALL_SIDES, you can put the face number directly in the function below, and use one function per face.


    //You can select one face number or use the constant "ALL_SIDES".
    integer side = 2;

    //A positive number rotates counter clockwise. A negative number rotates clockwise.
    float speed = 2.0;

    default
    {
        state_entry()
        {
            //Start rotation by using 1, TRUE, or ANIM_ON.
            llSetLinkTextureAnim(LINK_THIS, ANIM_ON | SMOOTH | ROTATE | LOOP, ALL_SIDES,1,1,0, TWO_PI, 2*TWO_PI);
            
            //Stop rotation by using FALSE;
            //llSetTextureAnim(FALSE | SMOOTH | ROTATE | LOOP, side, 1, 1, 0, TWO_PI, speed);
            
        }//End state_entry event handler.
    }//End default state.

     

    Example.png

  4. Hiya! I was wondering if anyone had a copy of the hairs Rain or Shine that they would like to part with or trade, the hair is a Gacha item from last years "The Arcade" (Which is going on now!!!) And I desperately want to own one, preferably in black buy any other color is great too.

     

    If you have this hair or know where to get it please contact me here or inworld!

  5. Hiya, I'm a SL roleplayer looking for a specific outfit or something like it (Here:) http://3.bp.blogspot.com/-bQvxVSfdwhs/UAF9oBQQuhI/AAAAAAAANLU/My5MwB0xqhU/s1600/Blade_And_soul_Wallpaper_1920x1200.jpg 

    That specific outfit is from a Korean MMORPG called Blade and Soul, and I happened to stumble across it. 

    Now, SL RPers who roleplay in fantasy sims are always in constant demand for new outfits, so if It absolutely comes down to it I'd like to have someone create a similar replica of the aforementioned outfit if need be.

    But is there an outfit that resembles the one I'm talking about on the MP? I've looked everywhere and cannot find a suitable one piece outfit like hers. And what's killing me is the cloak coming off of her. I can't seem to find a suitable one. Though I did find some feathers!

    I'm asking for the impossible here, What I really need is a dress like hers, below I pointed out the main outfit (In red) that I absolutely need to find/have made. Other pieces marked in blue I can probably find similar of in the marketplace.


    IN SHORT!!! I'm looking for an outfit that's the same as the one marked in Red on the picture below and would like it if someone had a store they could reccommend me too. If not, Then I'm willing to pay someone to have this made in SL. Probably even the whole outfit for some Lindens.

    Thanks for taking the time to read and deal with my over finickyness xD I hope to hear from some people soon!
    Blade and soul pointed out.jpg

  6. Im looking for a highly experienced person who works with mesh/sculpts, Im looking to have a cyber armor created for roleplay purposes, one that has lights attached to it and the lights can be changed. Down below is the armor I am trying to have built, or a picture of it atleast.

    http://scarletblade.aeriagames.com/guide/classes/shadowwalker#image-2

    Here is a video of the armor, Later in the video the armor is viwed from behind to show what it looks like.

    http://www.youtube.com/watch?v=uZ0p0kQHpfA

    The video shows the armor I want built, (The one with the blue lights) I would like it if those lights could be changeable to different colors.

    If you are interested then please reply here or contact me inworld. We can discuss this further from there on, Thankyou.

     

    ::Added in:: There will be a pay of course, We can discuss the price should you accept the build.

    Thankyou again for taking the time to read this and possibly consider it. As above you can either reply here or contact me inworld

  7. Im looking for a highly experienced person who works with mesh/sculpts, Im looking to have a cyber armor created for roleplay purposes, one that has lights attached to it and the lights can be changed. Down below is the armor I am trying to have built, or a picture of it atleast.

    http://scarletblade.aeriagames.com/guide/classes/shadowwalker#image-2

    If you are interested then please reply here or contact me inworld. We can discuss this further from there on, Thankyou.

  8. Hello, My name is Amane, --I have a huge appreciation for many Sci-Fi space ships flying airships and etc, Im looking for someone who can build me a space craft that can compare to the Spaceships air ships and etc being sold at SF-Labs or Spyker Industries, --Will pay top dollar for the best creation. --Thankyou for taking the time to read my post. --Amane.

  9. Hello Everyone, My name is Amane. --I am looking for employment jobs that'll pay me lindens, I can manage any job you can think of  (Though im most good at security & management & planning events.) --If your looking for someone who will get the job done efficiently, I would say im that person. --Thankyou for taking the time to read this post. --Amane.

×
×
  • Create New...