Jump to content

Tattooshop

Resident
  • Posts

    365
  • Joined

  • Last visited

Everything posted by Tattooshop

  1. Hello! in some places there are devices that clear the landing point, slightly raising the avatar and moving aside then put on the ground. how do such landing sweepers work in theory?
  2. Hello! What are the windlight settings on these photos? need a similar effect. or how to achieve a similar effect, at least approximately?
  3. lol I simply used else if and it started to work normally! But still how to add owner check here? I added a check but the menu now does not appear when I click it. how to make the check be for doors and curtains but not for the menu itself? and is it possible to make two toggles in one? touch_end(integer llRequestPermissions) { integer prim = llDetectedLinkNumber(0); if (llDetectedKey(0) == llGetOwner()) { if (prim == 3) { llTriggerSound(CURTAIN_SOUND, VOL); if (run1) { run1 = FALSE; llSetLinkPrimitiveParamsFast(CURTAINS_PRIM, [18, 0, < 0.0, 0.0, 0.0 >, 0.6, 34, CURTAINS_PRIM_2, 18, 0, < 0.0, 0.0, 0.0 >, 0.6, 34, CURTAINS_PRIM_3, 18, 0, < 0.0, 0.0, 0.0 >, 0.6]); } else { run1 = TRUE; llSetLinkPrimitiveParamsFast(CURTAINS_PRIM, [18, 0, < 1.0, 1.0, 1.0 >, 1.0, 34, CURTAINS_PRIM_2, 18, 0, < 1.0, 1.0, 1.0 >, 1.0, 34, CURTAINS_PRIM_3, 18, 0, < 1.0, 1.0, 1.0 >, 1.0]); } } else if (prim == 42) { llTriggerSound(DOOR_SOUND, VOL); if (run2) { run2 = FALSE; llSetLinkPrimitiveParamsFast(DOOR_PRIM, [PRIM_POS_LOCAL, llList2Vector(llGetLinkPrimitiveParams(DOOR_PRIM, [PRIM_POS_LOCAL]), 0) + DOOR_OFFSET_LEFT]); } else { run2 = TRUE; llSetLinkPrimitiveParamsFast(DOOR_PRIM, [PRIM_POS_LOCAL, llList2Vector(llGetLinkPrimitiveParams(DOOR_PRIM, [PRIM_POS_LOCAL]), 0) + DOOR_OFFSET_RIGHT]); } } } else { if ((!(gF | N)) & gE < 3) { llMessageLinked(((integer) - 1), 90005, "", llDetectedKey(0)); } } }
  4. Hello! I am trying to add a door and curtains to the AVsitter script's touch_end event, everything works, but when I click the curtains a menu pops up, this does not happen with the door. what is the problem? And how to make a curtain / door part clickable only for an owner? It’s clear that I need to check if (llDetectedKey(0) == llGetOwner()), but after that the menu stopped appearing at all (Obviously I put it in the wrong place). And is it possible to combine these two toggles into one? touch_end(integer llRequestPermissions) { integer prim = llDetectedLinkNumber(0); if (prim == 3) { llTriggerSound(CURTAIN_SOUND, VOL); if (toggle1) { toggle1 = FALSE; llSetLinkPrimitiveParamsFast(CURTAINS_PRIM, [18, 0, < 0.0, 0.0, 0.0 >, 0.6, 34, CURTAINS_PRIM_2, 18, 0, < 0.0, 0.0, 0.0 >, 0.6, 34, CURTAINS_PRIM_3, 18, 0, < 0.0, 0.0, 0.0 >, 0.6]); } else { toggle1 = TRUE; llSetLinkPrimitiveParamsFast(CURTAINS_PRIM, [18, 0, < 1.0, 1.0, 1.0 >, 1.0, 34, CURTAINS_PRIM_2, 18, 0, < 1.0, 1.0, 1.0 >, 1.0, 34, CURTAINS_PRIM_3, 18, 0, < 1.0, 1.0, 1.0 >, 1.0]); } } if (prim == 42) { llTriggerSound(DOOR_SOUND, VOL); if (toggle2) { toggle2 = FALSE; llSetLinkPrimitiveParamsFast(DOOR_PRIM, [PRIM_POS_LOCAL, llList2Vector(llGetLinkPrimitiveParams(DOOR_PRIM, [PRIM_POS_LOCAL]), 0) + DOOR_OFFSET_LEFT]); } else { toggle2 = TRUE; llSetLinkPrimitiveParamsFast(DOOR_PRIM, [PRIM_POS_LOCAL, llList2Vector(llGetLinkPrimitiveParams(DOOR_PRIM, [PRIM_POS_LOCAL]), 0) + DOOR_OFFSET_RIGHT]); } } else { if ((!(gF | N)) & gE < 3) { llMessageLinked(((integer) - 1), 90005, "", llDetectedKey(0)); } } }
  5. Genious! llSetLinkPrimitiveParamsFast(3, [18, 0, < 1.0, 1.0, 1.0 >, 1.0, 34, 4, 18, 0, < 1.0, 1.0, 1.0 >, 1.0, 34, 5, 18, 0, < 1.0, 1.0, 1.0 >, 1.0]); Thank you!
  6. Hello! how to simplify this part? llSetLinkColor(3, < 1.0, 1.0, 1.0 >, 0); llSetLinkColor(4, < 1.0, 1.0, 1.0 >, 0); llSetLinkColor(5, < 1.0, 1.0, 1.0 >, 0); llSetLinkAlpha(3, 1.0, 0); llSetLinkAlpha(4, 1.0, 0); llSetLinkAlpha(5, 1.0, 0); There is an opportunity to use PRIM_LINK_TARGET in SLPPF, but is there anything like this in SetLinkAlpha and SetLinkColor?
  7. @Qie Niangao @Wulfie Reanimator Thank you! And if I delete this commented unprocessed code will it speed up performance? I noticed that the script loads for a very long time when I try to open it, and it makes it twice longer, and do comments affect performance at all?
  8. Thank you! So this comment can be deleted? So any script can be optimized like that in Firestorm? Do you know how to do this? Really want to try!
  9. Question about AVsitter scripts. why at the beginning of the script is a long comment representing the code partially or completely repeating the code itself? can this comment be removed and will it affect performance? I noticed that the script has been loading for quite long time when you try to open it. Is it also possible to rename scripts in this set?
  10. Hello! I'm trying to make a script for window curtains - a simple plane mesh and curtain texture. The curtains should "open / close" by click. but I don’t know how to do it better. I want to keep the ability to change the texture simply by applying a new texture to the windows. Thought to make a shift with a two halfs texture curtain / glass. But I have doubts about alpha blending... Advise how else can be done? Added: and if I do this option with a two halfs texture, how to shift from one half to the other?
  11. Hi! Find an animator, check their profile and if it does not say "we dont make custom animations" then give it a try. But it will be VERY expensive! Think of making it yourself maybe
  12. Thanks so much! It worked! 🙂
  13. Hello! Is this possible to make a tipjar script give an object (gift) when someone pays it any ammount?
  14. Hello there! Looking for script for "engraving" custom text on the pendant through the HUD or chat message or textbox... I couldnt find anything on MP, advise anything? And if to do it yourself what is approximate logic of such a script? Thank you! Added: for example, I’ll make a mesh with 8 faces for a word of maximum 8 letters, and create an alpha texture with an alphabet ... what to do next?
  15. Hey! I have this gesture, it starts the animation by the voice. Is it possible to make the gesture animation to be triggered while typing anything in the chat instead, and not when typing a keyword and pressed enter?
  16. Oh also Akeyo makes super cool AOs (non-bento).
  17. Hi! If you need bento AO try Vista, "simple" AO: Abranimations, Tuty's, Oracul...
  18. @Rolig Loon I apologize for pulling you into this topic again. But is it possible to somehow start the process without a sensor with a timer, since it is already here? I tried to move the line llPushObject(llDetectedKey(detected), 6000.0 * llGetObjectMass(llDetectedKey(detected)) * (llDetectedPos(detected) - llGetPos()), ZERO_VECTOR, FALSE); to timer event but I didn’t succeed.
  19. I’ll just notice that I duplicated llTriggerSound and particles in no_sensor by mistake, because the particles and sound seem to go even without it.
  20. Woah! This is super cool! 😎 Yes, no_sensor event was really missing! I'm not sure that I did everything right but it works great for now! Thanks a lot! 💖 string EXPLODE3 = "fd5e5c93-691c-eadb-ee27-8972af741823"; iParticles() { llParticleSystem([PSYS_PART_MAX_AGE,1.50, PSYS_PART_FLAGS, 291, PSYS_PART_START_COLOR, <0, 0, 0>, PSYS_PART_END_COLOR, <1, 1, 1>, PSYS_PART_START_SCALE,<1, 1, 0>, PSYS_PART_END_SCALE,<4, 4, 0>, PSYS_SRC_PATTERN, 2, PSYS_SRC_BURST_RATE,0.00, PSYS_SRC_BURST_PART_COUNT,20, PSYS_SRC_BURST_RADIUS,0.30, PSYS_SRC_BURST_SPEED_MIN,0.10, PSYS_SRC_BURST_SPEED_MAX,5.00, PSYS_SRC_ANGLE_BEGIN, 3.14, PSYS_SRC_ANGLE_END, 0.00, PSYS_SRC_MAX_AGE, 0.0, PSYS_SRC_TEXTURE, "74e8631c-33a9-bc1a-03d3-ede886272a21", PSYS_PART_START_ALPHA, 0.80, PSYS_PART_END_ALPHA, 0.00, PSYS_PART_START_GLOW, 0.05, PSYS_PART_END_GLOW, 0.00]); } default { state_entry() { llParticleSystem([]); } on_rez(integer num) { llSetTimerEvent(3); } sensor(integer detected) { while (detected--) { llPushObject(llDetectedKey(detected), 6000.0 * llGetObjectMass(llDetectedKey(detected)) * (llDetectedPos(detected) - llGetPos()), ZERO_VECTOR, FALSE); } llSleep(1); llDie(); } no_sensor() { iParticles(); llTriggerSound(EXPLODE3, 1.0); llTriggerSound(EXPLODE3, 1.0); llTriggerSound(EXPLODE3, 1.0); llSleep(1); llDie(); } timer() { iParticles(); llSensor("", NULL_KEY, (AGENT | PASSIVE), 5.0, PI); llTriggerSound(EXPLODE3, 1.0); llTriggerSound(EXPLODE3, 1.0); llTriggerSound(EXPLODE3, 1.0); } }
  21. I managed to do everything quite quickly, so the problem was solved. but if there is any way to do this through a script, please share it! Thank you all again!
  22. string EXPLODE3 = "fd5e5c93-691c-eadb-ee27-8972af741823"; iParticles() { llParticleSystem([PSYS_PART_MAX_AGE,1.50, PSYS_PART_FLAGS, 291, PSYS_PART_START_COLOR, <0, 0, 0>, PSYS_PART_END_COLOR, <1, 1, 1>, PSYS_PART_START_SCALE,<1.01000, 1.01000, 0.00000>, PSYS_PART_END_SCALE,<1.91139, 2.00179, 0.00000>, PSYS_SRC_PATTERN, 2, PSYS_SRC_BURST_RATE,0.00, PSYS_SRC_BURST_PART_COUNT,4, PSYS_SRC_BURST_RADIUS,0.30, PSYS_SRC_BURST_SPEED_MIN,0.10, PSYS_SRC_BURST_SPEED_MAX,2.06, PSYS_SRC_ANGLE_BEGIN, 3.14, PSYS_SRC_ANGLE_END, 0.00, PSYS_SRC_MAX_AGE, 0.0, PSYS_SRC_TEXTURE, "74e8631c-33a9-bc1a-03d3-ede886272a21", PSYS_PART_START_ALPHA, 0.79, PSYS_PART_END_ALPHA, 0.00, PSYS_PART_START_GLOW, 0.06, PSYS_PART_END_GLOW, 0.00]); } default { state_entry() { llParticleSystem([]); llSetTimerEvent(3); } on_rez(integer num) { llResetScript(); } sensor(integer detected) { while (detected--) { llPushObject(llDetectedKey(detected), 6000.0 * llGetObjectMass(llDetectedKey(detected)) * (llDetectedPos(detected) - llGetPos()), ZERO_VECTOR, FALSE); } llSleep(1); llTriggerSound(EXPLODE3, 1.0); llTriggerSound(EXPLODE3, 1.0); llTriggerSound(EXPLODE3, 1.0); llDie(); } timer() { iParticles(); llSensor("", NULL_KEY, (AGENT | PASSIVE), 5.0, PI); } }
×
×
  • Create New...