Jump to content

BEGOCER Lehmann

Resident
  • Posts

    29
  • Joined

  • Last visited

Reputation

2 Neutral

Recent Profile Visitors

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

  1. CmpZ You are my savior! It works perfectly after I incorporated it into the vehicle! I was up till like 4am last night just fuming at the script!
  2. Oh snap its ya boy back at it again with a probably easy fix to a problem that is causing him a ton of issues. I have yet another vehicle script (how original) that has voice commands on it as it has guest/owner modes. I've got a combat system installed and working and that is where the two voice commands that use channel 0 to turn the system on and off. However the script listens to all avatars, not just the seated one. I've got in my state_entry this: state_entry() { sitting = llAvatarOnSitTarget(); llListen(0,"",sitting,""); then in my listen area this: listen(integer c,string n,key i,string msg) { if(msg == "cs on") { cson(); } Technically shouldn't that listen to just the person sitting? Not everyone? As what I've googled up across the forums here llListen(0,"",llGetOwner()""); just listens to the owner, as it should. I've tried adding things like if(sitting == sitting) from other scripts I've found and nothings worked yet (Imagine a fly bumping into a window trying to get out despite the window being open next to it- thats me and how I look when I script. I've probably overlooked so much correct stuff) And I'm probably forgetting something in my script like grabbing keys or something... I really have no idea how this stuff works after all these years still lol. Once more I come to the forums for help!
  3. Ok! I got it working! Oh man you guys saved me so many hours of screaming and swearing! Changed the "experience_permissions(key target_id)" to "run_time_permissions(integer target_id)" and changed the RequestExperiencePermissions to llRequestPermissions(llDetectedKey(n), PERMISSION_ATTACH); and that made it work! I appreciate it!
  4. Sorry for the long response time. Gonna check that post out now!
  5. Currently I'm using AttachTAttachToAvatarTemp. For turret positions it's just for a vehicle with one turret. (Driver + gunner). I've seen it been done before where I've sat on other people's combat vehicles and it asks to attach HUD that lets me toggle settings and what not.
  6. Oh boy here I go again getting lost/confused/angry at something that is probably simple to do but I have no idea what to do. So I've got a HUD that will be able to control a turret on a vehicle that has to be worn for it to 'fire' the turret. I'm using a HUD as opposed to having fire controls in the turret itself using key commands as that method just totally messes up my vehicle's driving scripts despite not being in the same prim for some reason... I've got everything working up to a certain point- firing controls, the turret will rez the HUD on sit and that HUD will then request to be attached to owner only then detach on stand etc. But what I cannot figure out is how to make the turret when sat on rez the control prim and attach to ONLY the user of the turret rather than owner only (which it is currently at the moment as I'm using some open source script). I'm not sure how to make the rezzer spawn the control HUD with the right request attach lines and know to attach to the seated user. WHAT DO!?
  7. Though the weird thing is that the physics is showing its all there but its reacting like its a convex physics shape type when its definitely set to a prim shape...
  8. Hey thanks for the help! So I'll post a pic of my upload window and what is happening in it. For uploading, I always click the Analyze button as I've had other physics shapes go wonky if I didn't. Here's the .blend file with the physics shape I'm trying to get to work. https://pasteall.org/blend/e4ebce5db836492293b771ac866caa2e Now this is right after I calculate the fees and what not. ...and this is using the official SL viewer. I've never gotten this result on Firestorm lol This is the lowest physical number I've gotten in any of for just the physics shapes....man lol But alas when I link it to my ship it goes from a 180LI to a 327LI The only other things that have physics shapes are two landing gear struts and a front landing gear wheel, all with super basic physics shapes. And when I set their physics shapes to none the LI doesn't jump from the 180LI when physical. I should try to reupload them in the official SL viewer since I got this result....
  9. So I'm feeling pretty noobish right now. I've got an issue with a physics shape I'm working on for a ship, but its being a right piece of work when it comes to uploading it. I made it super low detail, just enough to encircle the ship and give it basic interior walking space, but whenever its uploaded and set to prim physics shape it goes from the calculated 4LI when physical to 160+LI... Now it is long, about 30M but I've seen ships larger than this with their own, much more detailed physics shape have nearly a quarter of the LI of what I'm getting with mine. I've checked 2309572039 times that there are no small faces in the .dae file that would cause it to flip out, but nothing is coming up or even appearing to be wrong. Also I noticed when I view the physics shape in Firestorm the opposite sides of the exterior faces are calculated on the inside as well, which is something that is definitely not needed...I don't know what I'm doing wrong. I've uploaded about 30 (seriously) different tests and they all result in the same issue. I uploaded the shape with the custom physics shape of the actual model shown here as a tester too This pic is in the tail end, where it should've only had that small walkway as a shape you can interact with. What on earth am i doing wrong...?
  10. So I resolved the issue. Lesson I learned: Firestorm bloody sucks for uploading mesh. Installed the normal viewer and bam! The Method options and etc actually work and the physics are fine when uploaded. I gotta stop just relying on 1 freaking viewer...
  11. So I've been having this issue for quite a while. The quick run down is that I have a block I'm needing to use as a physics barrier for a vehicle I'm making. The truck rides on suspension struts and needs a physics shape that 'follows' so the vehicle can climb over stuff and won't end up hovering due to a physics bock that doesn't match its suspension shape. Basically this is how I want the end result to be, just like the un-analyzed shape.  But that doesn't work in world as it reacts how it would be as if its analyzed. See below for the analyzed shape:  The hollow areas I want to remain open for phsyical interaction are now closed over with and no settings allow me to change that. I literally have no idea and past experiments of multiple uploads of the same mesh with custom physics have each given different results. Any suggestions (or in proven past instances, any obvious reasons that I haven't taken into accordance?)
  12. So far I haven't seen any loops or anything but I had a line to check the memory and it had none left when it gave me the error.
  13. Great news: I got it working to how I wanted it. Turns out a script I have had the lines about making something move by prim name in it all along.... Damn you life for stressing me out... So the scripts in top notch working order (probably can be refined but at the moment I don't care) but the only issue is that I have too much in it and it's giving a stack heap error lol No biggie as I can halve it into 2 scripts that will resolve the issue. Thanks again Rolig/Everyone who helped me with my irritating questions!!
  14. I literally have no freaking idea what to do. I've been trying for a week straight! I thought I had a breakthrough last night but it fell flat as the ways I tried only changed the name of the root prim so the idea failed. I have no idea how to make this script identify a prim (and others due to the different parts that need to move) in a link set and have the prims move when a command (that isn't the link's name) is given.
  15. Lol It's a definite conundrum. It bugs me that Scripting sticks with me after I log off as it's the thing I'm least talented in SL
×
×
  • Create New...