Jump to content

texigor

Resident
  • Posts

    5
  • Joined

  • Last visited

Everything posted by texigor

  1. Here is the prim move code that I am trying to see if it will work, but so far it is not working integer gIntMove = 0; integer gIntVr; //key gKeyToucherID; float gFltX; float gFltY; float gFltZ; vector gVecPos; vector gEul = <0,0,0>; default { state_entry() { gVecPos = llGetPos(); gFltX = gVecPos.x; gFltY = gVecPos.y; gFltZ = gVecPos.z; gIntMove = 1; do { gVecPos = llGetPos(); gFltX = gVecPos.x; gFltY = gVecPos.y; gFltZ = gVecPos.z; // First move accross pad // First Move gFltY = gFltY - .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // Second Move gFltY = gFltY - .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // Third Move gFltX = gFltY - .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // Forth Move gFltY = gFltY - .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // first turn gIntVr = gIntVr - 90; gEul = <0,0,gIntVr>; gEul *= DEG_TO_RAD; rotation quat = llEuler2Rot(gEul); llSetRot(quat); // Move Forward gFltX = gFltX - .5; llSetPos (< gFltX,gFltY,gFltZ>); // second turn gIntVr = gIntVr - 90; gEul = <0,0,gIntVr>; gEul *= DEG_TO_RAD; rotation quat = llEuler2Rot(gEul); llSetRot(quat); // Second more accross pad // Fifth Move gFltY = gFltY + .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // Six Move gFltY = gFltY + .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // Seven Move gFltX = gFltY + .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // Eight Move gFltY = gFltY + .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // thrid turn gIntVr = gIntVr - 90; gEul = <0,0,gIntVr>; gEul *= DEG_TO_RAD; rotation quat = llEuler2Rot(gEul); llSetRot(quat); // Move Forward gFltX = gFltX - .5; llSetPos (< gFltX,gFltY,gFltZ>); // forth turn gIntVr = gIntVr - 90; gEul = <0,0,gIntVr>; gEul *= DEG_TO_RAD; rotation quat = llEuler2Rot(gEul); llSetRot(quat); // Third more accross pad // Nineth Move gFltY = gFltY - .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // tenth Move gFltY = gFltY - .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // eleveth Move gFltX = gFltY - .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // twelth Move gFltY = gFltY - .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // seven turn gIntVr = gIntVr - 90; gEul = <0,0,gIntVr>; gEul *= DEG_TO_RAD; rotation quat = llEuler2Rot(gEul); llSetRot(quat); // Move Forward gFltX = gFltX - .5; llSetPos (< gFltX,gFltY,gFltZ>); // eight turn gIntVr = gIntVr - 90; gEul = <0,0,gIntVr>; gEul *= DEG_TO_RAD; rotation quat = llEuler2Rot(gEul); llSetRot(quat); //Forth move accross pad // thirteenth Move gFltY = gFltY + .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // fourteenth Move gFltY = gFltY + .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // fifeenth Move gFltX = gFltY + .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // sixteenth Move gFltY = gFltY + .5; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) // fifth turn gIntVr = gIntVr - 90; gEul = <0,0,gIntVr>; gEul *= DEG_TO_RAD; rotation quat = llEuler2Rot(gEul); llSetRot(quat); // Move Forward gFltX = gFltX - .5; llSetPos (< gFltX,gFltY,gFltZ>); // sixth turn gIntVr = gIntVr - 90; gEul = <0,0,gIntVr>; gEul *= DEG_TO_RAD; rotation quat = llEuler2Rot(gEul); llSetRot(quat); // retrun to start gFltX = gFltX + .2; llSetPos (< gFltX,gFltY,gFltZ>); sleep(58) while (gIntMove == 1); } } }
  2. I tried the sequence, and was able to move the sitter at each pose to a different position, but it asked for every pose to reattach the shovel. I know if I use sittarget, the avatar will sit on a linked prim, I want to move that linked prim from left to right and than back left till the avatar unsits. Here is a link to the object I am making, the animation loops every 58 seconds, so I wanted to move the linked prim that the avatar was sitting on every 58 seconds either X + .5 or X - .5. This would make it look like the avatar was working their way back and forth across the pad of snow Firestorm-Releasex64 6.4.12.62831 - texigor (gyazo.com)
  3. I am building a pad with AVSitter and would like to move the sitter sitting on a sittarget to a different position and rotation on the pad everytime the animation is looped.
  4. Just loaded the latest build from the Corrade site 11.0.87.63 dated 11-24 and I still have the issue of my Bots being orange clouds and not being able to find their Current Outfit Folder
  5. I have seen a script that rotates a avatar on sit, but I would like to slow that rotation down. I am trying to use llSitTarget(ZERO_VECTOR,ZERO_ROTATION); and do a slow rotation of the avatar on the Z-axis but with no luck in finding an example on how this is done.
×
×
  • Create New...