Jump to content

Search the Community

Showing results for tags 'parameters'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Blogs

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

Categories

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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 2 results

  1. Hi I've been trying to incorporate bits into a texture change script (from wiki) so that I can set the parameters of the texture application via a notecard, but after adding the notecard bits into the script, the texture doesn't apply at all. The lines in my notecard are: gFace: ALL_SIDES gRepeats:<1.0,1.0,1.0> gOffsets:<1.0,1.0,1.0> gRotationInDegrees: 0.0 Anyone able to point out which part I got wrong please? Thanks so much. string notecardName; integer notecardLine; key query; list MENU1 = []; list MENU2 = []; integer listener; integer MENU_CHANNEL = 1000; integer gFace; vector gRepeats; vector gOffsets; float gRotationInDegrees; Dialog(key id, list menu) { llListenRemove(listener); listener = llListen(MENU_CHANNEL, "", NULL_KEY, ""); llDialog(id, "Select texture below: ", menu, MENU_CHANNEL); } default { state_entry() { notecardLine = 0; notecardName = llGetInventoryName(INVENTORY_NOTECARD,0); if (notecardName != "") { llOwnerSay("Getting configuration data..."); query = llGetNotecardLine(notecardName,notecardLine); } else { llOwnerSay("There is no notecard in object's inventory, please add a config notecard."); } } changed(integer change) { if (change & CHANGED_INVENTORY) // If notecard changes script is resetted. { llOwnerSay("Resetting script"); llResetScript(); } } on_rez(integer number) { llResetScript(); } touch_start(integer total_number) { llSay(0, "Touched: "+(string)total_number); } dataserver(key requested, string data) { if (requested == query) { if (data != EOF) { //ignore lines that start with # and blank lines if ( (llGetSubString(data,0,0) != "#") && (data != "") ) { list tempData = llParseString2List(data,[":"],[]); string command = llToLower(llList2String(tempData,0)); if (command == "gFace") { gFace = llList2Integer(tempData,1); llOwnerSay(command + ": " + (string)gFace); } else if (command == "gRepeats") { gRepeats = (vector)llList2String(tempData,1); // This converts a string to a vector // Set up the vector properly// gRepeats.x = gRepeats.x; gRepeats.y = gRepeats.y; gRepeats.z = gRepeats.z; llOwnerSay(command + ": " + (string)gRepeats); } else if (command == "gOffsets") { gOffsets = (vector)llList2String(tempData,1); // This converts a string to a vector // Set up the vector properly// gOffsets.x = gOffsets.x; gOffsets.y = gOffsets.y; gOffsets.z = gOffsets.z; llOwnerSay(command + ": " + (string)gOffsets); } else if (command == "gRotationInDegrees") { gRotationInDegrees = llList2Float(tempData,1); llOwnerSay(command + ": " + (string)gRotationInDegrees); } } notecardLine++; query = llGetNotecardLine(notecardName,notecardLine); } else { //End of notecard reached, we go to the ready state. state ready; } } } } state ready { on_rez(integer num) { // reset scripts on rez llResetScript(); } touch_start(integer total_number) { integer i = 0; MENU1 = []; MENU2 = []; // count the textures in the prim to see if we need pages integer c = llGetInventoryNumber(INVENTORY_TEXTURE); if (c <= 12) { for (; i < c; ++i) MENU1 += llGetInventoryName(INVENTORY_TEXTURE, i); } else { for (; i < 11; ++i) MENU1 += llGetInventoryName(INVENTORY_TEXTURE, i); if(c > 22) c = 22; for (; i < c; ++i) MENU2 += llGetInventoryName(INVENTORY_TEXTURE, i); MENU1 += ">>"; MENU2 += "<<"; } // display the dialog Dialog(llDetectedKey(0), MENU1); } listen(integer channel, string name, key id, string message) { if (channel == MENU_CHANNEL) { llListenRemove(listener); if (message == ">>") { Dialog(id, MENU2); } else if (message == "<<") { Dialog(id, MENU1); } else { // display the texture from menu selection llSetPrimitiveParams([PRIM_TEXTURE, gFace, message, gRepeats, gOffsets, gRotationInDegrees*DEG_TO_RAD] ); } } } timer() { llListenRemove(listener); llSetTimerEvent(0.0); } }
  2. Is there anyway I can log into SL / Firestorm via CMD prompt? I just want to idle in a sim without any background stuff like the game's engine running. Just pure text in a console. Thanx!
×
×
  • Create New...