Jump to content

Sunbleached

Resident
  • Posts

    264
  • Joined

  • Last visited

Reputation

76 Excellent

Recent Profile Visitors

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

  1. Hello! I would like to say thanks to the team of Linden Labs for your dedicated work and everything you have done for me and, I think, for many, especially during these difficult times! Thanks to all the good people who helped me on this forum! Thank you so much for your support to my friends and everyone, everyone! I also ask you to excuse me if I offended someone! I wish you Happy Holidays and all the best in the new year!
  2. The forum member's profile picture was a simple hypnotic spiral. after a complaint by another forum member, allegedly suffering from epilepsy, the picture was replaced with a heavily distorted static version. well, ok, delete the picture completely... , but do LL have the right to replace it with another? Imagine that one day you log into your account, and instead of your profile picture you will see another, and possibly heavily distorted, how would you like it?
  3. How to flag an item that uses the name of famous RL brands in tags, as well as products that resemble real products of famous brands? which is definitely a violation of the rules. Did I understand correctly what to press "Spam or disallowed listing practices - Gaming policy"?
  4. 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!
  5. @Rolig Loon could you please stop spamming in my questions with your emoticons?
  6. Strange, isn't it obvious? The question is in lsl scripting category. Whats not clear?
  7. Hello! How to make vehicle move sideways with Shift + arrow keys?
  8. 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.
  9. 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 } } } } } }
  10. 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...
  11. 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
  12. 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.
  13. @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); } }
  14. 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!
  15. 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); }
×
×
  • Create New...