Jump to content

Search the Community

Showing results for tags 'script'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • People Forum
    • Your Avatar
    • Make Friends
    • Lifestyles and Relationships
    • Role Play
    • General Discussion Forum
    • Forums Feedback
    • Missed Connections
    • Second Life Education and Nonprofits
  • Places and Events Forum
    • Favorite Destinations
    • Upcoming Events and Activities
    • Games in Second Life
  • Official Contests, Events & Challenges
    • Challenges
    • Leap Into Love Snapshot Contest
  • Creation Forum
    • Fashion
    • Art, Music and Photography
    • Animation Forum
    • Bakes on Mesh
    • Environmental Enhancement Project
    • Machinima Forum
    • Building and Texturing Forum
    • Mesh
    • LSL Scripting
    • LSL Library
    • Experience Tools Forum
  • Technology Forum
    • Second Life Server
    • Second Life Viewer
    • Second Life Web
    • General Second Life Tech Discussion
  • Commerce Forum
    • Merchants
    • Inworld Employment
    • Wanted
  • Land Forum
    • General Discussion
    • Mainland
    • Linden Homes
    • Regions for Sale: Full Private Island
    • Region for Rent: Full Private Island
    • Regions for Sale: Homesteads
    • Region Rentals: Homestead
    • Parcels for Sale: Mainland
    • Parcels for Rent: Mainland
    • Wanted: Full Private Island
    • Wanted: Homesteads
    • Wanted: Mainland
  • International Forum
    • Deutsches Forum
    • Foro en español
    • Forum in italiano
    • Forum français
    • 日本語フォーラム
    • 한국어 포럼
    • Fórum em português
    • Forum polskie
    • المنتدى العربي
    • Türkçe Forum
    • Форум по-русски
  • Adult Content Forum
    • Highlight Upcoming Events
    • General Discussion
    • General Announcements
  • Answers
    • Abuse and Griefing
    • Account
    • Avatar
    • Creation
    • Inventory
    • Getting Started
    • Controls
    • Land
    • Linden Dollars (L$)
    • Shopping
    • Technical
    • Viewers
    • Everything Else
    • International Answers


  • Commerce
  • Featured News
  • Inworld
  • Tools and Technology
  • Tips and Tricks
  • Land
  • Community News


  • English
  • Deutsch
  • Français
  • Español
  • Português
  • 日本語
  • Italiano
  • Pусский
  • Türkçe

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

Found 298 results

  1. Hello! I am trying to create a simple slideshow script with preload option based on this awesome example kindly given by Mollymews. integer index; integer number = llGetInventoryNumber(INVENTORY_TEXTURE); if (number) { string name = llGetInventoryName(INVENTORY_TEXTURE, index); if (name != "") llSetTexture(name, ALL_SIDES); index = (++index) % number; } Thats what i got now, but i have some concerns: ==> it supposed to preview on face 0 and show on face 2 (at least i thought so), but its vice versa. ==> i am not sure if llGetInventoryNumber(INVENTORY_TEXTURE); needed here. ==> preloading is going too fast. Please correct me if I was wrong? Is it enough to just swap faces? because the script works in general. integer index; string name; default { state_entry() { llSetTimerEvent(3.0); } timer() { integer number = llGetInventoryNumber(INVENTORY_TEXTURE); if (number) { string name = llGetInventoryName(INVENTORY_TEXTURE, index); if (name != "") llSetTexture(name, 2); index = (++index) % number; llSubStringIndex(name, "") != -1; llSetTexture(name, 0); } } }
  2. Hello! Please help to remake the random order multiple GIF animation script into a script playing it in a strict order, one after another. I suspect this line but I can’t fix it yet gTexture = llGetInventoryName( INVENTORY_TEXTURE, (integer) llFrand(llGetInventoryNumber(INVENTORY_TEXTURE)) ); integer gFrameX = 0; integer gFrameY = 0; float gRate = 0.0; string gTexture; setTex() { gTexture = llGetInventoryName( INVENTORY_TEXTURE, (integer) llFrand(llGetInventoryNumber(INVENTORY_TEXTURE)) ); llSetTexture(gTexture, 2); if (llSubStringIndex(gTexture, ".anim") != -1) { list lParams = llParseString2List(gTexture, [";"], []); gFrameX = llList2Integer(lParams, 1); gFrameY = llList2Integer(lParams, 2); gRate = llList2Float(lParams, 3); llSetTextureAnim(ANIM_ON | LOOP, 2, gFrameX, gFrameY, 0, 0, gRate); } else llSetTextureAnim(LOOP, 2, gFrameX, gFrameY, 0, 0, gRate); } default { state_entry() { llAllowInventoryDrop(TRUE); llSetTimerEvent (10.0); setTex(); } timer() { setTex(); } touch_start(integer touches) { llSetTimerEvent (10.0); setTex(); } changed(integer change) { if (change & (CHANGED_ALLOWED_DROP | CHANGED_INVENTORY)) setTex(); } }
  3. Hello, I want to create a simple teleporter script for myself using the RLV in Firestorm. My problem is every single time I try the debug channel returns with "failed : (thingy error). I would like to have it TP me to camera position but I can not find how to do it. I thought look_at is a possible, but apparently it is not. There are HUDs available that can do this but I wanted to create my own just for my personal use. Any ideas?
  4. Hi! I want to share some particle systems: FIRE //* script_starts_here: FIRE SCRIPT ON/OFF TOUCH PUBLIC // integer run; default { touch_start(integer total_number) { if(run) { run = FALSE; llParticleSystem([]); } else { run = TRUE; llParticleSystem([PSYS_PART_MAX_AGE,2.50, PSYS_PART_FLAGS, 259, PSYS_PART_START_COLOR, <0.18, 0.16, 0.13>, PSYS_PART_END_COLOR, <0.59, 0.65, 0.62>, PSYS_PART_START_SCALE,<0.15, 0.15, 0.00>, PSYS_PART_END_SCALE,<0.77, 1.21, 0.00>, PSYS_SRC_PATTERN, 2, PSYS_SRC_BURST_RATE,0.00, PSYS_SRC_BURST_PART_COUNT,4, PSYS_SRC_BURST_RADIUS,0.00, PSYS_SRC_BURST_SPEED_MIN,0.07, PSYS_SRC_BURST_SPEED_MAX,0.35, PSYS_SRC_ANGLE_BEGIN, 1.65, PSYS_SRC_ANGLE_END, 0.00, PSYS_SRC_MAX_AGE, 0.0, PSYS_SRC_TEXTURE, "006d9758-81da-38a9-9be3-b6c941cae931", PSYS_PART_START_ALPHA, 0.40, PSYS_PART_END_ALPHA, 0.00, PSYS_SRC_ACCEL, <0.00, 0.00, 1.14>]); } } } //* script_ends_here SMOKE //* script_starts_here: SMOKE // default { state_entry() { llParticleSystem([PSYS_PART_MAX_AGE,2.50, PSYS_PART_FLAGS, 259, PSYS_PART_START_COLOR, <0.18079, 0.16000, 0.13761>, PSYS_PART_END_COLOR, <0.59811, 0.65541, 0.62564>, PSYS_PART_START_SCALE,<0.15062, 0.15062, 0.00000>, PSYS_PART_END_SCALE,<0.77423, 1.21800, 0.00000>, PSYS_SRC_PATTERN, 2, PSYS_SRC_BURST_RATE,0.00, PSYS_SRC_BURST_PART_COUNT,4, PSYS_SRC_BURST_RADIUS,0.00, PSYS_SRC_BURST_SPEED_MIN,0.07, PSYS_SRC_BURST_SPEED_MAX,0.35, PSYS_SRC_ANGLE_BEGIN, 1.65, PSYS_SRC_ANGLE_END, 0.00, PSYS_SRC_MAX_AGE, 0.0, PSYS_SRC_TEXTURE, "006d9758-81da-38a9-9be3-b6c941cae931", PSYS_PART_START_ALPHA, 0.40, PSYS_PART_END_ALPHA, 0.00, PSYS_SRC_ACCEL, <0.00, 0.00, 1.14>]); } } //* script_ends_here RAIN //* script_starts_here: RAIN / ON/OFF CHAT COMMAND Say : /10 start / stop // default { state_entry() { llListen(10,"","",""); } listen(integer chan, string name, key id, string msg) { if(msg=="stop") { llParticleSystem([]); } else if(msg=="start") { llParticleSystem([PSYS_PART_MAX_AGE,1.20, PSYS_PART_FLAGS, 259, PSYS_PART_START_COLOR, <0.73, 0.84, 0.79>, PSYS_PART_END_COLOR, <0.61, 0.76, 0.82>, PSYS_PART_START_SCALE,<0.10, 0.00, 0.00>, PSYS_PART_END_SCALE,<0.10, 3.69, 0.00>, PSYS_SRC_PATTERN, 8, PSYS_SRC_BURST_RATE,0.10, PSYS_SRC_BURST_PART_COUNT,25, PSYS_SRC_BURST_RADIUS,5.57, PSYS_SRC_BURST_SPEED_MIN,0.11, PSYS_SRC_BURST_SPEED_MAX,0.64, PSYS_SRC_ANGLE_BEGIN, 0.00, PSYS_SRC_ANGLE_END, 0.78, PSYS_SRC_MAX_AGE, 0.0, PSYS_SRC_TEXTURE, "06675bc5-e9b9-0557-7179-fbf7779faed8", PSYS_PART_START_ALPHA, 0.20, PSYS_PART_END_ALPHA, 0.75, PSYS_SRC_ACCEL, <-0.37, 0.45, -12.00>]); } } } //* script_ends_here Have fun!
  5. Hello! How to set a price on object and allow to buy it's content to group members only by script?
  6. Hello! I continue to struggle with my seaplane script. and I got a little problem. the fact is that in the script there are several states - above water, on water, above the ground and on the ground. the problem is that when driving (taxiing) on "above water surfaces", the script thinks that I am in the air above the water. Such surfaces are common at many airports. it's a little uncomfortable. is there a way how to make the script think or act like I'm on LL default land at such a moment? I set a separate buoyancy for each throttle. I have not found any other solution at the moment except to set buoyancy to 0 up to 4th throttle.
  7. Hello! I am trying to make light script with the menu so that it activates on the chat command, but something does not work. where I was wrong, tell me please! vector LIGHT_COLOR = < 1.0, 1.0, 1.0 > ; //Light color integer LIGHT_PRIM = LINK_THIS; //LINK_SET or prim number integer LIGHT_FACE = 0; //light face <<<<<<<<<<< list MENU_MAIN = ["MIN","MID","MAX","ON","OFF","DELETE"]; integer menu_handler; integer menu_channel; menu(key user,string title,list buttons) { llListen(10,"","",""); llListenRemove(menu_handler); menu_channel = (integer)(llFrand(99999.0) * -1); menu_handler = llListen(menu_channel,"","",""); llDialog(user,title,buttons,menu_channel); llSetTimerEvent(30.0); //how long to wait for user to press a button before giving up and closing listen } default { state_entry() { llListen(10,"","",""); } listen(integer channel,string name,key id,string msg) { if(msg=="glow") { menu(llDetectedKey(0), "\nText for Menu.", MENU_MAIN); } if (channel == menu_channel) { llListenRemove(menu_handler); //close listen llSetTimerEvent(0); //stop timeout timer if (msg == "MIN") { llSay(0, "Min Light"); llSetLinkPrimitiveParamsFast(LIGHT_PRIM, [PRIM_GLOW, LIGHT_FACE, 0.25, PRIM_POINT_LIGHT, TRUE, LIGHT_COLOR // START COLOR , 0.25 // START INTENSITY , 5.0 // START RADIUS , 1.0 // START FALLOFF ]); } else if (msg == "MID") { llSay(0, "Mid Light"); llSetLinkPrimitiveParamsFast(LIGHT_PRIM, [PRIM_GLOW, LIGHT_FACE, 0.50, PRIM_POINT_LIGHT, TRUE, LIGHT_COLOR // START COLOR , 0.5 // START INTENSITY , 10.0 // START RADIUS , 0.5 // START FALLOFF ]); } else if (msg == "MAX") { llSay(0, "Max Light"); llSetLinkPrimitiveParamsFast(LIGHT_PRIM, [PRIM_GLOW, LIGHT_FACE, 1.00, PRIM_POINT_LIGHT, TRUE, LIGHT_COLOR // START COLOR , 1.0 // START INTENSITY , 20.0 // START RADIUS , 0.0 // START FALLOFF ]); } else if (msg == "ON") { llSay(0, "Light is ON"); llSetLinkPrimitiveParamsFast(LIGHT_PRIM, [PRIM_GLOW, LIGHT_FACE, 1.00, PRIM_POINT_LIGHT, TRUE, LIGHT_COLOR // START COLOR , 1.0 // START INTENSITY , 20.0 // START RADIUS , 0.0 // START FALLOFF ]); } else if (msg == "OFF") { llSay(0, "Light is OFF"); llSetLinkPrimitiveParamsFast(LIGHT_PRIM, [PRIM_GLOW, ALL_SIDES, FALSE, PRIM_POINT_LIGHT, FALSE, ZERO_VECTOR // COLOR , 0.0 // INTENSITY , 0.0 // RADIUS , 2.0 // FALLOFF ]); } else if (msg == "DELETE") { llSay(0, "Script Deleted"); llRemoveInventory(llGetScriptName()); } //else if (msg == "Button") //{ //do something //} }} timer() //VERY IMPORTANT menu timeout { llListenRemove(menu_handler); //close listen llSetTimerEvent(0); //stop timeout timer } }
  8. Hello! how to make the plane begin to fall in accordance with the throttle (or speed)? the lower the gear, the faster the plane begins to fall, but with a certain gear, for example, a 50% fall stops. I tried due to gravity, but I did not see any aircraft with gravity greater than 1. and is it possible to set gravity using a script? I don’t know how such a mechanism works in modern airplane scripts, and scripts I have come across such an effect is missing. and the plane in zero throttle just freezes in the air and even flies backwards when reversed! Also, the plane takes off right even in first gear. how to make it take off at a certain speed and also fall at a certain speed, should it be the same action or two different?
  9. Hello! looking for a vice smg bullet script for vehicles. Does anyone know where to get it? there is a script for the gun to be worn, but i need it to work for the tank, i.e. when someone is sitting in it. is it possible and how difficult is it to remake such a script?
  10. Hello! please help with scripts! i need to turn the texture changer scripts(sender/receiver) into material texture changer. it uses uuids. There are two scripts. for primmy hud with 3 buttons. I have already posted this request in the job section, but just in case, here too. I understand scripts quite a bit. maybe just tell me what needs to be done, if not difficult.
  11. SOLVED! Hello! Scripter wanted! Need to modify texture changer (uuids) hud/reciever scripts to materials texture changer hud/reciever. I have two scripts for non mesh hud/mesh clothing. Please, leave your message here! Reward 1000 ls. edit: i will explain for now i have two scripts - sender and receiver. sender is in primmy (not mesh) hud with 3 buttons, uses simple (diffuse only) textures uuids list. receiver is in mesh clothes. but i need it to work with materials textures uuids (diff, norm, spec). of course, will send scripts full perm. please, help!
  12. Hello! my vehicle has a light system called from the menu. how to add to the script also the option to turn on the light when you click on a specific prim/face in the vehicle linkset? and how resource-consuming is this change? is it worth doing?
  13. Hello! I script a helicopter, it flies very well, but I would like it to fly a little faster. and also so that it flew forward, I constantly press the forward button W. when I release it, the helicopter flies a little forward, but stops pretty quickly. how to make it fly faster and continue to fly much longer ahead after releasing the key? and I don’t know if the parameters section or control affects this. help me please! Edit: And how to make that when i turn off the engine, the helicopter does not hang in the air, but falls to the ground? or maybe I want the impossible?
  14. Hello! I want to try to create a particle system script with a glitch effect that appears and distorts colors behind it. I saw it several times inworld, and on the market. Does anyone know how this works and how to do it?
  15. anyone has skilled talent to script the Easy and Realistic Vehicle Script that applies on the cars,truck and van with NTBI GFS Fuel System Integration. with the low rpm decay like most GEMC Cars and the Euro Truck Simulator 2 Simulation Game. not TX Vehicles. and also. touchable dashboard support like the Shergood Aviation Helicopters with GPS Support. and It's had GTFO support as well these vehicle will be sold on sl marketplace. for profitable. any research needed to build the best vehicle ever made in SL. surpasssing the GEMC.
  16. Greetings, I would love to create an object that once attached to my avatar reproduces a complete gesture from my inventory when my avatar and another collide, so she complaints like the old lady she is. No pushing, just reproduce my old lady gestures that are already made and inside my inventory. I guess it is easy but i no nothing about scripting.
  17. Hello! when using the unpacker script (or item giver), I get a message in the chat: [12:22] Second Life: Object owned by Sunbleached gave you 'test item' ( Blahblah (82,146,3000) ). it is not written anywhere in the script. Is it possible to remove this message using a script? I understand it given by the viewer itself...
  18. Hello! I'm trying to create a script to turn on/off the option to automatically play the school bell twice a day at 1.30pm and 3pm. With the turn on/off everything is clear, but how to configure the rest is not clear. I would appreciate any help!
  19. Hello, I'be been looking for a script that would be able to change the color of the avatar idly. like slowly fading throughout the rainbow or a bunch of colors listed inside the script to appear across the body. Been having no luck trying to get it to work myself. I'm not to familiar with coding myself, more so I'm looking for someone to make it for me. I'll pay someone to make the script for me if they'd prefer that instead. If more detail is need, feel free to ask https://gyazo.com/a6a6346f79fba90bbe62a88cd77197ae _ basic visual of what i mean
  20. hello, i want to know if can i get some help with a simple color change script that works like this: -touch the object -menu appears with the colors p/e: black, white, blue, green,etc... -i choose the color -object color changes that's all, just simple, because i already made it worth with avsitter but i want one that works with a touch, not after i sit on it.
  21. Hello! Found this script on the forum. (Unfortunately I do not remember the author, I'm sorry, but thank you very much! I hope I didn’t spoil it.) And I am trying to simplify its configuration so that all changes are made at the beginning of the script. Did i do it right? What can be changed? How else can I simplify the configuration? Thank you! string door_sound = "736a1c0a-4749-e7e9-6d28-a95d7fc10068";//sound uuid integer intSwing = 90;//opening angle float HINGE_X = -0.5;//hinge position by x axis float HINGE_Y = 0.1;//hinge position by y axis float HINGE_Z = 0.0;//hinge position by z axis //choose opening axis: float AXIS_X = 0.0; float AXIS_Y = 0.0; float AXIS_Z = intSwing; rotation rotSwing; vector vOffset; default { state_entry() { rotSwing = llEuler2Rot( < (float) AXIS_X, (float) AXIS_Y, (float) AXIS_Z > * DEG_TO_RAD); vector size = llGetScale(); vOffset = < size.x * HINGE_X, size.y * HINGE_Y, HINGE_Z > ; } touch_start(integer total_number) { llPlaySound(door_sound, 1.0); list l = llGetPrimitiveParams([PRIM_POS_LOCAL, PRIM_ROT_LOCAL]); vector v = llList2Vector(l, 0); rotation r = llList2Rot(l, 1); llSetPrimitiveParams([PRIM_POS_LOCAL, v + (vOffset - vOffset * rotSwing) * r, PRIM_ROT_LOCAL, rotSwing * r]); rotSwing.s *= -1; } }
  22. Hello! Please help to add idle engine sound to the hover board script. There are start up, shut down, jump, prejump, land, brake sounds in it, but the most necessary one is missing. Any suggestions how to do this? I would like it to sound when the avatar sits on it after the start up sound and off after the shut down when the avatar gets up. I would appreciate any help!
  23. Hello! I need to add a dynamic camera to the vehicle script. How to do it? When I just add the parameters I get an error Script trying to set camera parameters but PERMISSION_CONTROL_CAMERA permission not set! Thats the vehicle camera i have: llSetCameraEyeOffset(<-10.0, 1.0, 3.0>); llSetCameraAtOffset(<0, 1.0, 0>); (Do I need to keep it?). I need to make it: llSetCameraParams([CAMERA_ACTIVE, TRUE, CAMERA_BEHINDNESS_ANGLE, 24.00, CAMERA_BEHINDNESS_LAG, 0.10, CAMERA_DISTANCE, 5.00, CAMERA_PITCH, 18.00, CAMERA_POSITION_LAG, 0.00, CAMERA_POSITION_THRESHOLD, 0.00, CAMERA_POSITION_LOCKED, FALSE, CAMERA_FOCUS_LAG, 0.00, CAMERA_FOCUS_THRESHOLD, 0.00, CAMERA_FOCUS_LOCKED, FALSE, CAMERA_FOCUS_OFFSET, <0.0, 0.0, 0.0> ]); What did i missed?
  24. Hello! Here is such a script that allows to zoom in/out pictures, but there is a problem, it inverts the picture upside down. Is there a way to solve the problem, except how to turn the object itself? default { state_entry() { llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP, ALL_SIDES, 1, -1, -1, 0.5, 0.1); } }
  25. Hello! I want to create a hoverboard (YEAH!) using a Ferd Frederix's open source script. I guess will have a lot of questions about this later. here is the first one. In addition to the main script, there is such a short script, which seems to be placed in child prim. What is it for and why does it not do anything for me? integer stuck = 0; default { timer() { if (!llGetStatus(STATUS_PHYSICS)) { if (stuck < 1) { llSetStatus(STATUS_PHYSICS, TRUE); stuck++; } else { llSetPos(llGetPos() + <0.0, 0.0, 0.5>); llSetStatus(STATUS_PHYSICS, TRUE); } } else { stuck = 0; } } link_message(integer sender, integer num, string str, key id) { if (str == "idle") { llResetScript(); } else if (str == "get_on") { llSetTimerEvent(1.0); } } } Actually it does something. It makes hoverboard physical, when i rez it, but what is the purpose of this? and perhaps it does something else?
  • Create New...