Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

70 Excellent

About Sunbleached

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Why when old forum users criticize LL they call it "opinion" and support each other but when I try to criticize LL, they attack me with accusations and humiliate me in every possible way? Is that local Nazism? noobonazism? social inequality? lolll! fffuuuu!
  2. @Rolig Loon could you please stop spamming in my questions with your emoticons?
  3. Strange, isn't it obvious? The question is in lsl scripting category. Whats not clear?
  4. Hello! How to make vehicle move sideways with Shift + arrow keys?
  5. it maybe too late to answer and you might find it already, but thats what you looking for i guess https://marketplace.secondlife.com/p/CYRC-Follow-Grab-Hug-HUD/8121470 you should search something similar, there is a lot of stuff like that on mp. requires no permission.
  6. Hello! I'm trying to create an unpacker script for gacha (no copy items). is there any way to make the content appear in the folder and not in the objects? while it gives out just objects one by one. string START_TEXT = "Touch To Unpack"; // Text on rez string END_TEXT = "Item Is In Your Inventory"; // Text on completion string OPEN_SOUND = "6f61a589-b000-b685-d198-8c50d35dc926"; // Opening sound UUID default { state_entry() { llSetMemoryLimit(llGetUsedMemory()+1024); llSetText(START_TEXT, <1.0,1.0,1.0>, 1); } touch_start(integer n) { if(llDetectedKey(0)==llGetOwner()) // Detect owner { for (n--;n>=0;n--) { integer j=llGetInventoryNumber(INVENTORY_ALL); for (j--;j>=0;j--) { string name=llGetInventoryName(INVENTORY_ALL,j); if (llGetInventoryType(name)!=INVENTORY_SCRIPT) { llGiveInventory(llDetectedKey(n),name); llTriggerSound(OPEN_SOUND, 1.0); llSetText(END_TEXT, <1.0,1.0,1.0>, 1); llRemoveInventory(llGetScriptName()); // Script self-delete } } } } } }
  7. Why separate control for mouselook at all? I used to work with a boat scripts and as far as I remember there was no separate ML control. the problem is that it flies perfectly and does both banking and yawing from a third face view, but there is only one of these things in the ML. maybe the problem is really in the parameters, and not in the control. this is all very strange...
  8. Thank you, I did everything as you wrote, assigned each key separately for each case - mouselook and non. but now it ...ehhh... it does yaw, but does not do banking, and I returned to where it all began and why this moment was added if (mode!=-2 && (level & CONTROL_ROT_LEFT || llGetAgentInfo(owner) & AGENT_MOUSELOOK)) { angular_motor.z = 10.0; angular_motor.x = -50.0; llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_TIMESCALE, ANGULAR_START_TIME*.2); } In this case, the script in mouselook does banking, but not yaw since i considered it is preferable. I mean it does eather - eather, not both in mouselook... Maybe i am doing something wrong. Is there any other way? For example check if... Is this a working option? And if yes (oh please!) it will look like?.. if (mode!=-2 && (level & CONTROL_ROT_LEFT) || ((level & CONTROL_ROT_LEFT) && llGetAgentInfo(owner) & AGENT_MOUSELOOK)) {...} if ((level & CONTROL_LEFT) || ((level & CONTROL_LEFT) && llGetAgentInfo(owner) & AGENT_MOUSELOOK)) {...} EDIT: Nope just tried - dont work
  9. Hello! Thank you for your answer! It supposed to be: 1. If mode is not -2 and (Control_rot_left) or (Control_rot_left in mouselook) pressed then "A". 2. If (mode doesnt matter - for all mods, so nothing here...) (Control_left) or (Control_left in mouselook) pressed then "B". Mode -2 is on water here. Thats why i dont need banking at the first sentence.
  10. @Mollymews Could you help a little bit more please? I'm working with a modification here and now it is not doing the yaw in the mouselook, only banking. And I am really confused in lsl operators... if (level & (CONTROL_ROT_LEFT|CONTROL_LEFT)) { if (mode!=-2 && (level & CONTROL_ROT_LEFT || llGetAgentInfo(owner) & AGENT_MOUSELOOK)) { angular_motor.z = 10.0; angular_motor.x = -50.0; llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_TIMESCALE, ANGULAR_START_TIME*.2); } else { angular_motor.z = 10.0; angular_motor.x = -0.0; llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_TIMESCALE, 5); } if (edge & (CONTROL_ROT_LEFT|CONTROL_LEFT)) { setRudder(-1); } }
  11. Thank you very much! I only had to change if (level & CONTROL_RIGHT) // Shift+RightArrow keys { angular_motor.z = TWO_PI; } else if (level & CONTROL_LEFT) // Shift+LeftArrow keys { angular_motor.z = -TWO_PI; } But basically it works! HAPPY HOLIDAYS!
  12. Hello! How to add YAW to Cubey Terra's Plane Airplane script? I got this wonderful control section but no idea on how this could be done. And the most important thing: yaw should be done with the Shift or LMB held and turn. //FLIGHT CONTROLS control(key id, integer level, integer edge) { integer throttle_up = CONTROL_UP; integer throttle_down = CONTROL_DOWN; integer yoke_fwd = CONTROL_FWD; integer yoke_back = CONTROL_BACK; vector angular_motor; // THROTTLE CONTROL-------------- if (level & throttle_up) { if (fwd < maxThrottle) { fwd += 1; } } else if (level & throttle_down) { if (fwd > 0) { fwd -= 1; } } if (fwd != fwdLast) { llSetVehicleVectorParam(VEHICLE_LINEAR_MOTOR_DIRECTION, <(fwd * thrustMultiplier),0,0>); // calculate percent of max throttle and send to child prims as link message float thrustPercent = (((float)fwd/(float)maxThrottle) * 100); llMessageLinked(LINK_SET, (integer)thrustPercent, "throttle", ""); llOwnerSay("Throttle at "+(string)((integer)thrustPercent)+"%"); fwdLast = fwd; llSleep(0.15); // crappy kludge :P } // PITCH CONTROL ---------------- if (level & yoke_fwd) { angular_motor.y = 3.0; } else if (level & yoke_back) { angular_motor.y = -3.0; } else { angular_motor.y = 0; } // BANKING CONTROL---------------- if ((level & CONTROL_RIGHT) || (level & CONTROL_ROT_RIGHT)) { angular_motor.x = TWO_PI; } else if ((level & CONTROL_LEFT) || (level & CONTROL_ROT_LEFT)) { angular_motor.x = -TWO_PI; } else { angular_motor.x = 0; } llSetVehicleVectorParam(VEHICLE_ANGULAR_MOTOR_DIRECTION, angular_motor); }
  13. Seriously, guys, I'm already afraid to go into this project, because all that it brings to me is negative emotions and waves of hatred, and those who agree are silent, because they are afraid... I no longer expect any support or help from you. and in general, sl turned into a paradise for perverts (or was it always like that?). I won’t read your answers, but if you want to show off to people like you, please.
  14. you just confirmed my words about double standards... lol you seriously think nintendo care about this freebie? you have paranoya? YIKES what double post?
  • Create New...