Jump to content

Sunbleached

Resident
  • Content Count

    48
  • Joined

  • Last visited

Community Reputation

16 Good

About Sunbleached

  • Rank
    Advanced Member

Recent Profile Visitors

619 profile views
  1. Sunbleached

    Automatic Light, Glow

  2. Sunbleached

    Automatic light script

    float sun_height;vector sun_position; default{ state_entry() { llSetTimerEvent(150); } timer() { sun_position = llGetSunDirection(); sun_height = sun_position.z; if(sun_height < 0.0) { llSetPrimitiveParams([PRIM_POINT_LIGHT,TRUE,<1.0, 1.0, 1.0>,1.0,15,0.750, PRIM_GLOW, ALL_SIDES, 0.4]); } else { llSetPrimitiveParams([PRIM_POINT_LIGHT,FALSE,<1.0, 1.0, 1.0>,1.0,15,0.750, PRIM_GLOW, ALL_SIDES, 0.0]); } }} float glow;float time; //------------------------------------- // Main program default { state_entry() { llSetColor(<1.0, 1.0, 1.0>, ALL_SIDES); state begin; }} //------------------------------------- // Begin state state begin { state_entry() { glow = (integer) llRound(llFrand(1)); // Random on or off time = (float) llFrand(2); // Random wait time llSetPrimitiveParams([PRIM_POINT_LIGHT, TRUE, <1.0, 1.0, 1.0>, glow, 5.0, 0.5, PRIM_GLOW, ALL_SIDES, glow]); // Set prim light on/of state wait; // Go to the Wait State } } //------------------------------------- // Wait state state wait { state_entry() { llSetTimerEvent(time); //Wait } timer() { llSetTimerEvent(0.0); //remove the timer state begin; // Go back to the Begin State } }
  3. Sunbleached

    Automatic Light, Glow

    Hello! How to make the second script react on sun too?
  4. Sunbleached

    Female skin for a standard avatar

    @Zeta Vandyke @Marianne Little @Claireschen Hesten @BilliJo Aldrin @moirakathleen Thank you all so much for your answers! I tried all the options you proposed and eventually settled on one of them. You helped me a lot! I hope this theme will also help others in choosing skins. Thank you!
  5. Sunbleached

    Female skin for a standard avatar

    Dedicated to all lovers of classics and old school. Hello! Please advise the female skin for a standard avatar for quality comparable to such men's brands as "SamuraiHQ" and "Aeros". Yes the question is a outdated and I already asked it, but I got only the answers: everyone has their own tastes. On this I decided to ask more specifically. Please, if you do not know such brands then you do not have to answer. I have a mesh avatar and I'm quite happy with it, but I'm interested in the standard skin. In general, such an impression of a woman's classic skin is so unfairly paid as little attention in comparison with the male. I apologize to all manufacturers of skins, but it seems they were all made for a copy using the templates (most of those that I tried, even at a cost of several thousand lindens). Just do not advise me to try to create a skin myself before criticizing others - I am too lazy do not have time for this. Hahaha! This why I quote these two examples above. Thank you for your time. ( Google translator used )
  6. Sunbleached

    Openstage Script for DJ

    Hello! Thanks for answer! Can you recommend any full perm. free jukebox?
  7. Sunbleached

    Openstage Script for DJ

    Hello! Anyone know where to get Openstage Script for DJ with full permission? Please, help!
  8. Sunbleached

    Animate the texture on the specified face

    Thanks a lot!
  9. Sunbleached

    Animate the texture on the specified face

    @Rolig Loon Ok, I got it working! I just put '4' (my face number) instead of ALL_SIDES. One more question. What if you need to animate on two sides only? Specify them in the same way either through a comma or in parentheses? Is there a difference?
  10. Sunbleached

    Working example of Mesh texture change script

    Thanks for tip!
  11. Sunbleached

    Animate the texture on the specified face

    Yes, thanks! But how? More specifically please? I'm a noob at scripting. In the beginning it is necessary to specify a line: "integer face;". And then what to do? Just replace ALL_SIDES with face number?
  12. Hello! How to make the texture be animated by script from here: llSetTextureAnim only on one face of the mesh with several materials - faces? Please, help! This wonderful script used; integer textureIsBeingAnimated; default { touch_start(integer num_detected) { if (textureIsBeingAnimated) llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP, ALL_SIDES, 0, -10, 1.0, .3, 5); else llSetTextureAnim(FALSE, ALL_SIDES, 0, 0, 0.0, 0.0, 1.0); // toggle back and forth between TRUE (1) and FALSE (0) textureIsBeingAnimated = !textureIsBeingAnimated; } }
  13. Sunbleached

    Script for loudspeaker

    I found answer already but any suggestions are welcome! Thanks! integer gON; default { touch_start(integer num) { gON = !gON; // Here's the switch ... if (gON) // So, let's test it .... { llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP, ALL_SIDES, 1, 1, 1.0, 3.0, 2.0); // It's on. } else { llSetTextureAnim(FALSE, ALL_SIDES, 0, 0, 0.0, 0.0, 1.0); // It's not. } } }
  14. Sunbleached

    modify script with on/off toggle with touch

    Hello! Please help! I used your tip and it works perfectly for my loudspeakers : https://community.secondlife.com/forums/topic/412976-script-for-loudspeaker/?tab=comments#comment-1677888 but I dont really like how my OFF line looks like. Is there any way to simplify it? integer gON; default { touch_start(integer num) { gON = !gON; // Here's the switch ... if (gON) // So, let's test it .... { llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP, ALL_SIDES, 1, 1, 1.0, 3.0, 2.0); // It's on. } else { llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP, ALL_SIDES, 0, 0, 0.0, 0.0, 0.0); // It's not. } } } Got it already! I found this line: llSetTextureAnim(FALSE, ALL_SIDES, 0, 0, 0.0, 0.0, 1.0); So script looks this way now: integer gON; default { touch_start(integer num) { gON = !gON; // Here's the switch ... if (gON) // So, let's test it .... { llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP, ALL_SIDES, 1, 1, 1.0, 3.0, 2.0); // It's on. } else { llSetTextureAnim(FALSE, ALL_SIDES, 0, 0, 0.0, 0.0, 1.0); // It's not. } } } Thanks! @Rolig Loon
  15. Sunbleached

    Script for loudspeaker

    Hello! I'm looking for a script to simulate the work of the loudspeakers. I managed to find two scripts that move the object forward backward. But they do not work on linked objects. I decided to try a method with texture animation. Question is how this script should look like slightly stretching - reducing the picture (speaker)? Please help! llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP, ALL_SIDES, 1, 1, 1.0, 3.0, 2.0); As I understand there must be this line. And I can not make it the on / off. integer textureIsBeingAnimated; default { touch_start(integer num_detected) { if (textureIsBeingAnimated) llSetTextureAnim(ANIM_ON | LOOP, ALL_SIDES, 1, 5, 0.0, 0.0, 1.0); else llSetTextureAnim(ANIM_ON | SMOOTH, ALL_SIDES, 1, 5, 5.0, 1.0, 1.0); // toggle back and forth between TRUE (1) and FALSE (0) textureIsBeingAnimated = !textureIsBeingAnimated; } }
×