Jump to content

Search the Community

Showing results for tags 'lsl'.

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
  • Places and Events Forum
    • Favorite Destinations
    • Upcoming Events and Activities
    • Games in Second Life
  • Official Contests & Events
    • 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
    • Sansar for Second Life Residents
  • 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


  • 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 88 results

  1. Hi AS with everything else I know about LSL, I am self taught by looking at other's work and experimenting from there. In this way I've become 'average to good' with LSL, but every now and then I'm completely stuck, so I hope you guys and girls can help - even if I struggle to find the right way to describe the problem. Here goes. I was examining a mesh animal which when it's script runs, appears to move it's legs through about 8 positions, in a cycle. I have seen it done in the past using multiple meshs, each in turn being switched to visibility on or off, to create the effect, and I understand exactly how to do that. However, what new voodoo is this?! Now these mesh objects consict of only one mesh prim and worse, only 2 faces (0 and 1), and yet they have the shape and textures for 8 changes in leg position! So - how on earth would I address them to switch each on and off in turn, when the limit of apparent addressability is (assuming prim number / face number) is just 0,0 and 0,1? How do I switch any 7 of them off and one on, in turn, to create such animated illusions? Thank you for your insights! Frankie.
  2. I'm working on a script but seem to be running into issues when it comes to having multiple requirements without having a specific order to which they are completed or confirmed as met to getting the script to work. For example, I am trying to design a breakable window, but I don't want anything under "x" amount of velocity to be allowed to damage the hit points. (this is only part of the script) collision(integer num) { if(vel < llVecMag(llDetectedVel(0)) && hp > 0) { llSetTexture("Broken",ALL_SIDES); } } If any of you can help I would greatly appreciate it, if you need more to help I'll be happy to give it and if you see that I'm doing anything wrong PLEASE let me know.. I'm getting frustrated with it.
  3. Hello everyone! [ My knowledge with LSL Scripting is at a beginner level, so please bare with me! :) ] Recently, I purchased a texture changing script from Renderworks, I'm not having trouble with creating a HUD with texture changes. However, I was wondering if it was possible to add to the script an option to control the visibility of a particular face of a mesh and/or combine two faces for one on and off toggle.
  4. Hello, is it possible to get a group invitation looking like in the screenshot by clicking on an object? How to achieve that? Regards
  5. Greetings, I have a project in which a Particle is to be emitted showing a bounding box. Desire to have particles emitted from an attached object and give a "range" for the player to set forth upon. Can easily determine the start point as the players getPos but when I begin to emit the particles, they move with the player. Want them to not leave the origin of emission. Would like to know if this is possible. Thank you all the brilliant minds out there that have answered so many of my questions here on these forums ❤️
  6. Hi everyone, I'm a beginner scripter, looking for some advice. I've created a HUD that I am looking to attach to visiting Avatars to my sim, then to detach when they leave the sim. Im wondering how this could be made possible. Any advice welcome, I have experiences set up on my region already just need the attach and detach assist please.
  7. Looking for a Code Ninja to help develop a new rental system. (based of an old one that no longer works) Contact me in world for details. (I'm afk a lot but will respond as quickly as possible, or use the discord link in my away message for a faster response.) Thanks DJLisa Rieko
  8. In general, I do not understand why the script does not work. The button (cross) has number 2. I checked it using this script: default { state_entry() { } touch_start(integer num_detected) { llOwnerSay("Link number clicked: " + (string)llDetectedLinkNumber(0) ); } } Here is the script of the button itself (cross) integer close_button = 2; default { touch_start(integer n) { if(llDetectedLinkNumber(0) == close_button) { llRequestPermissions(llGetOwner(), PERMISSION_ATTACH); } } run_time_permissions(integer permission) { if(permission) { llDetachFromAvatar(); } } changed(integer change) { if(change & CHANGED_OWNER) { llResetScript(); } } } The problem is that when I press the button, nothing happens.
  9. If we upload a sound clip, use its uuid in a script and delete the sound from inventory. It will still work in script, right ?
  10. Hi everyone! Total noob here!!! I am trying to make a recipe board, which shows people different recipes (textures) depending on their choice in the menu. Now of cause there are more recipes released all the time, so I need to be able to add "unlimited" textures. That also means that I need to be able to change the main text (describing the buttons) on each page. The way my script is set up now, I run out of characters when adding new recipe names. The best way I learn is by having comments added to changes made in the script. At this point I am still figuring out how things work together and learning operators. So if I could ask questions after reviewing changes, that would be very helpful as well. https://pastebin.com/FPCeaZxg So if you are interested in helping a total noob, I would really appreciate it. I can pay a little
  11. What do I have wrong here, I'm trying to do an auto light that people trigger going to the lift and once they leave it turns back off, I using volume detect but while that kinda worked, I have no idea how to make it turn back off lol. Any ideas? integer isLightTurnedOn; default { state_entry() { llSensor("", NULL_KEY, AGENT, 2.0, PI); } sensor( integer detected ) { { // toggle isLightTurnedOn between TRUE and FALSE isLightTurnedOn = !isLightTurnedOn; if (isLightTurnedOn) { llSetPrimitiveParams([ //PRIM_FULLBRIGHT, ALL_SIDES, FALSE, PRIM_POINT_LIGHT, FALSE, ZERO_VECTOR, 1.0, 5.0, 0.6]); } else { vector COLOR_WHITE = <1.000, 1.000, 1.000>; llSetPrimitiveParams([ // PRIM_FULLBRIGHT, ALL_SIDES, TRUE, PRIM_POINT_LIGHT, TRUE, COLOR_WHITE, 1.0, 5.0, 0.6]); } } }
  12. Hello! Im a professional scripter with years of experience that offers a unique scripting service for second life, almost everything can be scripted or modified. Vehicles, breedables, RP systems, gambling, clothing , visuals, HUDs, tools, weapons, etc... As well, web development services are offered with JS/PHP/SQL as main languages for web external display and communication with databases. Contact me inworld with your request : Hao Zaytsev ( by notecard if possible ) Please do not reply this message or contact me throught the forum, better inworld. Cheers, Hao Zaytsev
  13. Hello folks, As the title say, i'm looking to be hired as scripter. I know well the Linden Scripting Language (LSL) and many others (especially web languages like PHP, HTML5, ASP.NET with MVC, JavaScript, NodeJS, Angular). If you need, i can also create projects in: C, C++, C#, Delphi, Perl, Python... I have many customers in SL (since approx 3 years) for custom full permissions LSL scripts mainly. I'm available for any small or mediums projects. I speak mainly French but i'm able to tchat in English (No english voice). I'm also good for security and hacking if you need these types of skills. If you are interested to work together, you can contact me directly in-world (UnderFawkes Resident).
  14. Hi, Is there a need to use SQL Server database functionality in LSL Scripting? I know some poor solutions already exists, but you need to have your own hosting environment. So I'm talking about some kind of cloud provided SQL Server service that LSL developers can use without having any personal infrastructure. Paid service, of course. SQL server hosting doesn't come for free, so it should be something that cost few L$, very affordable, but paid. Developers will receive libraries to use in LSL scripts to access databases. Web UI will be provided for SQL Administrations. Please, opinions, advise, feedback? Thanks!
  15. I'm trying to make a script for a rodeo game, so random movement (rotation wise) on a random timer to stop animation and make the avatar stand, i just dont know where to start on this one as never done a timer let alone a random timer before >.<
  16. First, I will say: This really is not a rant, not at all. I'm being responsible & making a gesture for responsible community interaction & development. I am making & releasing a Composits HUD on the Marketplace, with the OcculTek Store. The scripts will be modifiable. The object will be no transfer. The intention of making the scripts modifiable is so that other developers can use the Composits HUD in their own creations. Note about GPL: A bunch of American attorneys & judges get tripped up & "believe they merely act dumb" about GPL. It's really obvious that's not a legal license, not at all. It doesn't matter whom touches my work before or after me, I have a right to earn a financial reward for my work. We're talking about programming languages & science, & accomplishing a task. It's like folk songs at best: GCD, GCD Chord progressions, & nearly all folk musicians have their own song with a GCD progression. It's like Gravity in truth: You can't tell me that you own Gravity, not at all, & you surely can't tell me that I don't own my own fair share of it!! I will release the scripts for the Composits HUD, along with other comments specific to the Composits HUD itself within this posted column of appended & separate post upon releasing the Composits HUD in my Store. It'll be priced moderately. It's quite a lot of effort to write out details about people acting with common integrity & respect. Really, it's simple: Don't give my stuff away for free, not at all. You can modify it & use it in your own creations, though it's mine & I have a right to earn a financial reward for my work. So do you. Treat me with respect. That's the point.
  17. I am trying to make an object usable by anybody, but only one person at a time. I've seen sales boards that will go to a busy more while one person makes a purchase. How do I set up this busy mode?
  18. Hi, i have a question and hopefully it is easy to fix. I does have a HUD and if i clikc on it, it will scan the people witin 10m. A Dialog menu will popup and shows me all the people. If i click on a name i would like to send the person a message in local chat and some particles to that person. Till now everything went well except the particles. I am not able to get the ID of the avatar i selected from the list, i hope i just making a stupid "beginning" mistake. Can somebody please give me tips how i can solve this. Thanks in advance! // Keknehv's Particle Script v1.2 // 1.0 -- 5/30/05 // 1.1 -- 6/17/05 // 1.2 -- 9/22/05 (Forgot PSYS_SRC_MAX_AGE) // This script may be used in anything you choose, including and not limited to commercial products. // Just copy the MakeParticles() function; it will function without any other variables in a different script // ( You can, of course, rename MakeParticles() to something else, such as StartFlames() ) // This script is basically an llParticleSystem() call with comments and formatting. Change any of the values // that are listed second to change that portion. Also, it is equipped with a touch-activated off button, // for when your particles go haywire and cause everyone to start yelling at you. // Contact Keknehv Psaltery if you have questions or comments. MakeParticles(key target) //This is the function that actually starts the particle system. { llParticleSystem([ //KPSv1.0 PSYS_PART_FLAGS , 0 //Comment out any of the following masks to deactivate them //| PSYS_PART_BOUNCE_MASK //Bounce on object's z-axis //| PSYS_PART_WIND_MASK //Particles are moved by wind | PSYS_PART_INTERP_COLOR_MASK //Colors fade from start to end | PSYS_PART_INTERP_SCALE_MASK //Scale fades from beginning to end | PSYS_PART_FOLLOW_SRC_MASK //Particles follow the emitter | PSYS_PART_FOLLOW_VELOCITY_MASK //Particles are created at the velocity of the emitter | PSYS_PART_TARGET_POS_MASK //Particles follow the target | PSYS_PART_EMISSIVE_MASK //Particles are self-lit (glow) //| PSYS_PART_TARGET_LINEAR_MASK //Undocumented--Sends particles in straight line? , PSYS_SRC_TARGET_KEY , target , //Key of the target for the particles to head towards //This one is particularly finicky, so be careful. //Choose one of these as a pattern: //PSYS_SRC_PATTERN_DROP Particles start at emitter with no velocity //PSYS_SRC_PATTERN_EXPLODE Particles explode from the emitter //PSYS_SRC_PATTERN_ANGLE Particles are emitted in a 2-D angle //PSYS_SRC_PATTERN_ANGLE_CONE Particles are emitted in a 3-D cone //PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY Particles are emitted everywhere except for a 3-D cone PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE_CONE ,PSYS_SRC_TEXTURE, "" //UUID of the desired particle texture, or inventory name ,PSYS_SRC_MAX_AGE, 5.0 //Time, in seconds, for particles to be emitted. 0 = forever ,PSYS_PART_MAX_AGE, 1.0 //Lifetime, in seconds, that a particle lasts ,PSYS_SRC_BURST_RATE, 0.02 //How long, in seconds, between each emission ,PSYS_SRC_BURST_PART_COUNT, 2 //Number of particles per emission ,PSYS_SRC_BURST_RADIUS, 2.0 //Radius of emission ,PSYS_SRC_BURST_SPEED_MIN, 5.5 //Minimum speed of an emitted particle ,PSYS_SRC_BURST_SPEED_MAX, 6.0 //Maximum speed of an emitted particle ,PSYS_SRC_ACCEL, <0.0,0.0,-0.8> //Acceleration of particles each second ,PSYS_PART_START_COLOR, <0.0,0.0,1.0> //Starting RGB color ,PSYS_PART_END_COLOR, <0.6,0.6,1.0> //Ending RGB color, if INTERP_COLOR_MASK is on ,PSYS_PART_START_ALPHA, 0.9 //Starting transparency, 1 is opaque, 0 is transparent. ,PSYS_PART_END_ALPHA, 0.0 //Ending transparency ,PSYS_PART_START_SCALE, <2.4,2.4,0.0> //Starting particle size ,PSYS_PART_END_SCALE, <1.3,2.3,0.0> //Ending particle size, if INTERP_SCALE_MASK is on ,PSYS_SRC_ANGLE_BEGIN, PI //Inner angle for ANGLE patterns ,PSYS_SRC_ANGLE_END, PI //Outer angle for ANGLE patterns ,PSYS_SRC_OMEGA, <0.0,0.0,0.0> //Rotation of ANGLE patterns, similar to llTargetOmega() ]); } integer dlgHandle = -1; integer dlgChannel = -9999; list avatarList = []; reset() { llSetTimerEvent(0.0); llListenRemove(dlgHandle); dlgHandle = -1; } default { touch_start(integer total_number) { llOwnerSay("Scanning..."); avatarList = []; // Look for any avatars within 10m. llSensor("", NULL_KEY, AGENT, 96.0, PI); } sensor(integer num_detected) { integer i; while((i < num_detected) && (i < 9)) { if (llDetectedKey(i) != llGetOwner()) { avatarList += [llDetectedName(i)]; } ++i; } if (llGetListLength(avatarList) > 0) { state dialog; } } } state dialog { state_entry() { // Set up a listener to detect button clicks. dlgHandle = llListen(dlgChannel, "", llGetOwner(), ""); // Start a new timer. llSetTimerEvent(30.0); // Add a 'Cancel' button. avatarList += ["Cancel"]; // Display the dialog. llDialog(llGetOwner(), "Please select an avatar.", avatarList, dlgChannel); } listen(integer channel, string name, key id, string message) { // The message parameter holds the caption of the // button that was clicked. Search the menu options // list for it. if ((channel == dlgChannel) && (llListFindList(avatarList, [message]) != -1)) { if (message != "Cancel") { llSay(0, llKey2Name(llGetOwner()) + " pokes " + message); MakeParticles(id); } reset(); state default; } } timer() { reset(); state default; } }
  19. Somewhere along the line, I lost track of what I was doing. My goal is a simple two-way radio. but I'm lost in the Region Say where I want it to send a message containing "user" which is defined by llGetObjectName followed by the message from channel 4. Heres where I left it after I think making it worse. string message; integer channel; integer user; integer channel2 = 4; integer listen_handle; default { state_entry() { channel = (integer)llGetObjectDesc(); user = (integer)llGetObjectName(); listen_handle = llListen(channel2, "", llGetOwner(), ""); } listen(integer channel2, string name, key id, string message) { llRegionSay(channel, "--" + user +","+ message); llPlaySound("",1.0); } }
  20. I am looking for an experienced, fast and professional scripter to help me script a simple mesh gumball machine. We want a light show mechanism built into the machine as well as an animated ball spinning down the machine and out of the prize door. Please send a notecard with your name and best quote for this job to resident : Eilfie Sugarplum. Thanks!
  21. Hi. Want to make a place were people can create and enjoy a peaceful surrounding. I would lean such a concept towards a programming friendly place. Some ideas to what i like the place to have is lsl resources, link to script groups, small sub parcels to control sound and environment setting for a pleasant time, small place to expose they're creations to visitors, sub parcel for ground edit permissions to test lsl code. Why i posted this is in hope that someone would like to setup an adjacent parcel towards inventive atmosphere, not necessary for programming. The parcels will not be joined together but managed by respective owner. My limitations are at the moment maximum 1024m2 that is the premium free land, so the place would need to be on the main land and have an expiration time at the end of April.
  22. We have designed a new table game for SL and are seeking interest from scripters to code the required script. If you have had experience in SL table games, in particular algorithms using dice in sl, then this new game should be something that will interest you. To discuss this project and receive a scope regarding the game play and other rules, please im me Must be available to take on this work and have access to reliable communication Contact Shane Foresight in world to discuss
  23. greetings, I am a SecondLife mesh creator, and lsl scripter currently looking for some new projects to take on. Find out more about Pricing, Examples, and my guidelines here: https://kiraalena.wixsite.com/website Please contact me in world, or through my website and I will get back to you Asap.
  24. Hi so I've never posted here before but I've made a few scripts in the past (though not for about 2 years, so I'm a bit out of practice!) Anyway, I've been trying to update an old HUD of mine which can scan a region as one of its functions, and return a list of names plus how far away the avi is - eg: Emilee Edenflower [96m] What I want to do now is add the group name of the detect avi to that output. I've pieced together a script (from various other topics on this forum, so it probably needs tidying up later!) which can get the group name from someone clicking on an item, which is all good and well if I just want to print out info into chat. But what I can't seem to figure out is how to get the variables made in http_response back into other output. Here's my script so far (for just detecting group names). You'll see at the end, http_response makes a variable called groupname which is output via llSay and llSetText. But I want to be able to use this variable elsewhere in the script. Is it possible to create a function I can pass the URL and group UUID to which contains the http_response and return the groupname as the functions return value and assign it to a variable to be use within other strings? // Get the active group from the avatar specified by inAvatar. // return the group key, a NULL_KEY is returned if the group // cannot be determined key getAvatarGroup (key inAvatar) { key result = NULL_KEY; // get the the list of attachments for the avatar list parts = llGetAttachedList (inAvatar); if (llGetListLength (parts) > 0) { // If the avatar has any attachments then just get the // group key for the first attachment. list parts2 = llGetObjectDetails (llList2Key (parts, 0), [OBJECT_GROUP]); result = llList2Key (parts2, 0); } return (result); } string groupname; // ------------------------------------------ default { touch_start (integer total_number) { key av = llDetectedKey (0); key groupId = getAvatarGroup (av); //list dets = llGetObjectDetails(llGetKey(),[OBJECT_GROUP]); //key uuid = llList2Key(dets,0); string url = "http://world.secondlife.com/group/"+(string)groupId; //llInstantMessage (av, "group = " + (string) groupId); llSay(0,llGetDisplayName(llDetectedKey(0)) + " is in the group..."); llHTTPRequest(url,[],""); llReleaseURL(url); llSay(0,groupname); } state_entry() { //604f9b3c-a72f-a7a1-421a-3f5d83037218 -> Xoco Reborn (2) llSetText("Touch me!",<255,255,255>,1.0); } http_response(key id, integer status, list data, string body) { list parsed = llParseString2List(body,["<title>","</title>"],[]); string groupname = llList2String(parsed,1); list parsedname = llParseString2List(groupname,[],["&lt;","&rt;","&quote;","&amp;","&cent;","&pound;","&yen;","&eu;","&copy;","&reg;"]); integer len = llGetListLength(parsedname); integer i; list replace = ["&lt;","<","&rt;",">","&quote;","\"","&amp;","&","&cent;","¢","&pound;","£","&yen;","¥","&euro;","€","&copy;","©","&reg;","®"]; for(i = 0;i < len;i++) { string substring = llList2String(parsedname,i); integer idx = llListFindList(replace,[substring]); if(~idx && !(idx%2)) { parsedname = llListReplaceList(parsedname,llList2List(replace,idx+1,idx+1),i,i); } } groupname = llDumpList2String(parsedname,""); llSetText("Last group detected: "+groupname,<255,255,255>,1.0); llSay(0,groupname); } }
  25. Question for the experts: What is a reasonable amount of total script time for each type of region? Like an amount beyond which you'd start to see noticeable region performance degradation (sim lag) if we assumed each region on a processor is the same region type with the same total script time?
  • Create New...