Jump to content

MIVIMEX

Resident
  • Posts

    177
  • Joined

  • Last visited

Everything posted by MIVIMEX

  1. @Beq Janus so can I use a firestorm without an os to upload a mesh with analyze?
  2. @ChinRey Oh, I didnt knew that! Can I use official LL Opensim enabled viewer for this?
  3. @Kyrah Abattoir when I uploaded the first model, I could not pass through the passage, the physics was solid, then I uploaded more and more models, trying various versions of physics, etc. waiting for when in physics the passage will be visible. and now quite desperate, I asked a question on the forum and was already going to go out, and decided to try to go through and I got it! although the passage in physics was never seen. so I do not know what really caused the problem and its solution ...
  4. I do not know why the physics of the passage was not visible on this horizontal surface. it is still displayed as a solid object, although it could be passed through it. but when I uploaded the walls the doorways were visible. and you can go through them. and their physics is displayed correctly. by the way nice new profile picture!
  5. Hello! The problem solved! Hello! Help please I have a problem. I'm trying to upload through the Firestorm the roof with an exit to the top, but I can not do physics. I tried a simplified cubic physics and the same model. But the passage is not formed. Applied rotation and scale. Prim / Convex hull don't work. I press the analyze and without, it does not help. It will be the roof of the moving object, so I think the analyze needs to be done. I will be grateful for any help! Thank you! P.S. When uploading with cubic physics, I do not even see the outlines of these cubes. Two months ago I uploaded another model and every cube could be seen.
  6. Hello! Please help to create loop single sound script with volume control via pop-up menu. So far I managed to create this script, but maybe there is the way to simplify it? I will be grateful for any help! Thank you! list MENU_MAIN = ["100%VOL", "50%VOL" , "25%VOL" , "OFF"]; //up to 12 in list string sound = "a78fd32e-0179-437b-9a39-6b24916aa433"; integer menu_handler; integer menu_channel; menu(key user,string title,list buttons) { llListenRemove(menu_handler); //BugFix 5/2008 menu_channel = (integer)(llFrand(99999.0) * -1); menu_handler = llListen(menu_channel,"","",""); llDialog(user,title,buttons,menu_channel); llSetTimerEvent(30.0); //how long to wait for user to press a button before giving up and closing listen } default { state_entry() { //nada } touch_start(integer total_number) { menu(llDetectedKey(0), "\nText for Menu.", MENU_MAIN); } listen(integer channel,string name,key id,string message) { if (channel == menu_channel) { llListenRemove(menu_handler); //close listen llSetTimerEvent(0); //stop timeout timer if (message == "100%VOL") { llStopSound(); llLoopSound(sound, 1.0); } else if (message == "50%VOL") { llStopSound(); llLoopSound(sound, 0.5); } else if (message == "25%VOL") { llStopSound(); llLoopSound(sound, 0.25); } else if (message == "OFF") { llStopSound(); } //else if (message == "Button") //{ //do something //} } } timer() //VERY IMPORTANT menu timeout { llListenRemove(menu_handler); //close listen llSetTimerEvent(0); //stop timeout timer } }
  7. @Wulfie Reanimator Thank you very much for the quick response! what if i move the script and sounds in the prim where the sound should come from, how do I make it turn on only when I click on a specific prim (button) in the linkset?
  8. Hello! Help please to do so that the sound does NOT come from the ROOT prim BUT from a certain CHILD PRIM in the link set. (In this script it's a prim 2) This is the script of generator, when you click on the button it makes a sound, the lamp lights up and the engine smokes. I will be grateful for any help! Thank you! //* script_starts_here // integer run; integer PARTICLES_PRIM = 2; default { touch_start(integer total_number) { if(llDetectedKey(0)==llGetOwner()) { if(run) { run = FALSE; llLinkParticleSystem(PARTICLES_PRIM,[]); llStopSound(); llPlaySound("Switch 08 On", 1.0); llSetLinkPrimitiveParamsFast(LINK_SET, [ PRIM_FULLBRIGHT, ALL_SIDES, FALSE]); llSetLinkPrimitiveParamsFast(3, [ PRIM_GLOW, ALL_SIDES, FALSE ]); } else { run = TRUE; llPlaySound("Switch 08 On", 1.0); llSetLinkPrimitiveParamsFast(3, [ PRIM_FULLBRIGHT, 1, TRUE]); llSetLinkPrimitiveParamsFast(3, [ PRIM_GLOW, 1, 0.2 ]); llSleep(1.0); llLinkParticleSystem(PARTICLES_PRIM,[PSYS_PART_MAX_AGE,1.46, PSYS_PART_FLAGS, 263, PSYS_PART_START_COLOR, <1, 1, 1>, PSYS_PART_END_COLOR, <1, 1, 1>, PSYS_PART_START_SCALE,<0.75, 0.39, 0.00>, PSYS_PART_END_SCALE,<1.00, 0.88, 0.00>, PSYS_SRC_PATTERN, 2, PSYS_SRC_BURST_RATE,0.00, PSYS_SRC_BURST_PART_COUNT,4, PSYS_SRC_BURST_RADIUS,0.26, PSYS_SRC_BURST_SPEED_MIN,0.04, PSYS_SRC_BURST_SPEED_MAX,0.93, PSYS_SRC_ANGLE_BEGIN, 1.65, 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.41, PSYS_PART_END_ALPHA, 0.00, PSYS_SRC_ACCEL, <0.00, 0.00, -0.92>]); //llPlaySound("Switch 08 On", 1.0); //llSetLinkPrimitiveParamsFast(3, [ // PRIM_FULLBRIGHT, 0, TRUE]); //llSleep(1.0); llPlaySound("harley_start", 1.0); llSleep(2.0); llLoopSound("idle", 1.0); } } } } //* script_ends_here
  9. @Innula Zenovka @Wulfie Reanimator Thank you very much guys! It was just what I need! Everything works like magic!
  10. Hello! Help please create an effect script for the old generator (link set). everything should happen in a sequence: pressing the on/off button - prim 1 lights up a lamp - prim 2 >done starter sound - one time ..........................remains??? sound generator - loop >done goes smoke - particles - from prim 3 >done pressing the on/off button - prim 1 smoke does not go the generator's sound stops >done starter stalls .......................................... remains??? the light goes out - prim 2 while I was able to create such a script: //* script_starts_here // integer run; integer PARTICLES_PRIM = 3; default { touch_start(integer total_number) { if(llDetectedKey(0)==llGetOwner()) { if(run) { run = FALSE; llLinkParticleSystem(PARTICLES_PRIM,[]); llStopSound(); llSetLinkPrimitiveParamsFast(LINK_SET, [ PRIM_FULLBRIGHT, ALL_SIDES, FALSE]); } else { run = TRUE; llLinkParticleSystem(PARTICLES_PRIM,[PSYS_PART_MAX_AGE,1.46, PSYS_PART_FLAGS, 263, PSYS_PART_START_COLOR, <0.99, 0.74, 0.73>, PSYS_PART_END_COLOR, <0.79, 0.65, 0.20>, PSYS_PART_START_SCALE,<0.75, 0.39, 0.00>, PSYS_PART_END_SCALE,<1.00, 0.88, 0.00>, PSYS_SRC_PATTERN, 2, PSYS_SRC_BURST_RATE,0.00, PSYS_SRC_BURST_PART_COUNT,4, PSYS_SRC_BURST_RADIUS,0.26, PSYS_SRC_BURST_SPEED_MIN,0.04, PSYS_SRC_BURST_SPEED_MAX,0.93, PSYS_SRC_ANGLE_BEGIN, 1.65, 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.41, PSYS_PART_END_ALPHA, 0.00, PSYS_SRC_ACCEL, <0.00, 0.00, -0.92>]); llLoopSound("idle", 1.0); llSetLinkPrimitiveParamsFast(2, [ PRIM_FULLBRIGHT, 0, TRUE]); } } } } //* script_ends_here Ok I managed to make it so that the particles were coming from a separate prim. remains to understand how to insert the sound of a starter and a stalling generator. and the main thing is not clear why it turns on when you click on any place of the generator. how to make it work only when you click the on/off button? I will definitely continue to try to do everything myself, but if there are any tips I will be very grateful! Thanks for any help!
  11. @Xiija The reward was sent as promised.
  12. Thank you all very much! The problem was solved!
  13. Thank you so much! The problem is solved thanks to you! tell me which account to send money to?
  14. Hello! Thanks for responce! Yes it can be a multiscript, but what is texture transmitter? Tell me please?
  15. Wow! Thank you so much! Two heads is better than one! So thats what I got but it says: name not defined (link1,2,3) How do i define this names? default { state_entry() { llListen(-25, "", "", ""); } listen(integer channel, string name, key id, string message) { if( message == "vis1") { llSetLinkAlpha(link1, 1.0, ALL_SIDES); llSetLinkAlpha(link2, 0.0, ALL_SIDES); llSetLinkAlpha(link3, 0.0, ALL_SIDES); } if( message == "vis2") { llSetLinkAlpha(link1, 0.0, ALL_SIDES); llSetLinkAlpha(link2, 1.0, ALL_SIDES); llSetLinkAlpha(link3, 0.0, ALL_SIDES); } if( message == "vis3") { llSetLinkAlpha(link1, 0.0, ALL_SIDES); llSetLinkAlpha(link2, 0.0, ALL_SIDES); llSetLinkAlpha(link3, 1.0, ALL_SIDES); } } } Please help!
  16. Hello! I was given two such scripts for HUD and for objects. But they do not work exactly the way I want. Could you help me fix them? The click on a button makes the object visible and the second button invisible. But I need that when you click on a certain button, the selected object in the link set becomes visible and the other two are invisible. If you are interested please let me know. Thank you so much. HUD integer numberOfColumns = 1; integer numberOfRows = 3; integer currentCellNumber; default { on_rez(integer rez) { if (!llGetAttached() ) llResetScript(); } state_entry() { llSetScale(<0.03, 0.15, 0.15>); llSetObjectName("HUD test 4"); llSetLinkPrimitiveParamsFast(LINK_THIS, [ PRIM_COLOR, ALL_SIDES, <1.0, 1.0, 1.0>, 1.0, PRIM_TEXTURE, ALL_SIDES, "5748decc-f629-461c-9a36-a35a221fe21f", <1.0, 1.0, 0.0>, ZERO_VECTOR, 0.0, PRIM_TEXTURE, 4, "ac6b1c32-509c-eb96-107c-cc378669d8fd", <1.0, 3.0, 0.0>, ZERO_VECTOR, 0.0, PRIM_LINK_TARGET, LINK_THIS, PRIM_COLOR, 4, <0.0, 1.0, 1.0>, 1.0]); llRequestPermissions( llGetOwner(), PERMISSION_ATTACH ); } run_time_permissions( integer vBitPermissions ) { if ( vBitPermissions & PERMISSION_ATTACH ) { llAttachToAvatar( ATTACH_HUD_TOP_CENTER ); llSetPos( <0,0,-0.1>); } else llOwnerSay( "Permission to attach denied" ); } attach(key id) { if (id) { llOwnerSay( "The object is attached. "); llSetPos( <0,0,-0.1>); llReleaseCamera( llGetOwner() ); } else { llOwnerSay( "The object has been detached"); } } touch_start(integer total_number) { integer face = llDetectedTouchFace(0); vector touchST = llDetectedTouchST(0); if (face == -1) llInstantMessage( llGetOwner(), "Sorry, your viewer doesn't support touched faces. Please update it!"); else if (touchST == TOUCH_INVALID_TEXCOORD) llInstantMessage( llGetOwner(),"Sorry, a touch position could not be determined."); else if (face != 4) llInstantMessage( llGetOwner(),"Please touch the front!"); else //we flip vertically and calculate a cell number { currentCellNumber = llFloor(touchST.x*numberOfColumns) + (numberOfRows -llCeil(touchST.y*numberOfRows))*numberOfColumns + 1; } if( currentCellNumber == 1) { llRegionSay( -25,"invis" ); } if( currentCellNumber == 2) { llRegionSay( -25,"vis" ); } if( currentCellNumber == 3) { } } } LINK SET default { state_entry() { llListen(-25, "", "", ""); } listen(integer channel, string name, key id, string message) { if( message == "invis") { llSetLinkAlpha(LINK_THIS, 0.0, ALL_SIDES); } if( message == "vis") { llSetLinkAlpha(LINK_THIS, 1.0, ALL_SIDES); } } }
  17. @Xiija Wow! Thank you so much! Almost what I need! But I apologize incorrectly expressed, it is necessary that only one of the three objects is visible. The other two became invisible. so that when the button is clicked, you can select which object is visible. Please, help! And if it is possible for a mesh with three faces. Although the construction of the HUD is not so important, maybe simply take three - four prims. Thank you in advance. I am very sorry. I'm very, very sorry! All the hope for you!
  18. Do I understand correctly that two scripts are needed: for the object and for the HUD? I'm afraid of HUDs like fire! I know it too much but can you give a simple example? Please!
  19. Hello! I need a script for the animal, so that it move freely, wandered along one plane. (Did not fly!) With certain limits. Please, advise something! Thank you!
  20. Hello! Please help to make a script for three button HUD to make one of the objects in the linkset visible. Thanks for any help! Im noob to scripting and already posted at wanted too, please pardon for double post! Very needed!
  21. Hello! Need a script for three-button HUD to make one of the objects in the linkset visible. Reward 1000 Ls.
  22. Hello! I build a seaplane, but it takes off very shortly (I can takeoff even at the first gear (10% throttle) ) and quickly loses altitude even at top speed, it does not hold altitude, I have to constantly raise it, pitch, I made such parameters that it was possible to make a loop and roll. But how can I keep the ability to do tricks (stunts?), and make takeoff and landing more smooth and keep altitude for longer? llSetVehicleFloatParam(VEHICLE_LINEAR_MOTOR_TIMESCALE, 1.50); llSetVehicleFloatParam(VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE, 10.0); llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_TIMESCALE, 7); llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE, 3); llSetVehicleFloatParam(VEHICLE_LINEAR_DEFLECTION_EFFICIENCY, 1.00); llSetVehicleFloatParam(VEHICLE_LINEAR_DEFLECTION_TIMESCALE, 0.50); llSetVehicleFloatParam(VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY, 1.00); llSetVehicleFloatParam(VEHICLE_ANGULAR_DEFLECTION_TIMESCALE, 1.00); llSetVehicleFloatParam(VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY, 0.20); llSetVehicleFloatParam(VEHICLE_VERTICAL_ATTRACTION_TIMESCALE, 5.00); llSetVehicleFloatParam(VEHICLE_BANKING_MIX, 0.70); llSetVehicleFloatParam(VEHICLE_BANKING_EFFICIENCY, 1.00); llSetVehicleFloatParam(VEHICLE_BANKING_TIMESCALE, 2.00); llSetVehicleFloatParam(VEHICLE_HOVER_HEIGHT, 0.00 ); llSetVehicleFloatParam(VEHICLE_HOVER_EFFICIENCY, 0.50 ); llSetVehicleFloatParam(VEHICLE_HOVER_TIMESCALE, 2.00 ); llSetVehicleFloatParam(VEHICLE_BUOYANCY, 1 ); llSetVehicleVectorParam(VEHICLE_LINEAR_FRICTION_TIMESCALE, <10.0, 10.0, 10.0>); llSetVehicleVectorParam(VEHICLE_ANGULAR_FRICTION_TIMESCALE, <20.0, 20.0, 20.0>); llRemoveVehicleFlags(-1); llSetVehicleFlags(VEHICLE_FLAG_LIMIT_ROLL_ONLY|VEHICLE_FLAG_CAMERA_DECOUPLED); Also for what these parameters? llSetVehicleVectorParam(VEHICLE_LINEAR_FRICTION_TIMESCALE, <10.0, 10.0, 10.0>); llSetVehicleVectorParam(VEHICLE_ANGULAR_FRICTION_TIMESCALE, <20.0, 20.0, 20.0>); Please help! Thank you so much!
  23. @Xiija @Wulfie Reanimator Thanks for your answers! I tried the ribbon, but for some reason I can see it only when I turn. can you give an example of how it should look like please?
  24. @KT Kingsley Hello! unfortunately did not work ... any more ideas?
×
×
  • Create New...