Search found 91 matches

by John Mela
Tue Feb 25, 2020 3:55 pm
Forum: Scripting
Topic: Static Particle Image
Replies: 6
Views: 4572

Re: Static Particle Image

As far as I know, that isn't possible. Particle sprites are always rendered as facing the viewer on both axes (ie perpendicular to the camera direction). Incidentally, that script places more load on the particle system than it needs to, by putting out 80 particles per second. I'd suggest something ...
by John Mela
Tue Feb 18, 2020 7:30 pm
Forum: Scripting
Topic: This could be a good train script, but..
Replies: 6
Views: 10956

Re: This could be a good train script, but..

Those are interesting scripts. I notice that the dataserver event in the first script doesn't check the "requested" ID against the id returned by the notecard functions. This presumably means that it would be possible to control the object by sending messages to it from another object, using osMessa...
by John Mela
Wed Dec 04, 2019 3:33 pm
Forum: Other Support
Topic: How to get rid of NPCs
Replies: 3
Views: 3550

Re: How to get rid of NPCs

For anyone searching the forums for a script like that in future: default { touch_start(integer n) { llSensor("", NULL_KEY, OS_NPC, 500.0, PI) ; } sensor(integer n) { integer i ; for (i = 0 ; i < n ; i++) { key Detected = llDetectedKey(i) ; llSay(0, "Removing " + llKey2Name(Detected)) ; osNpcRemove(...
by John Mela
Fri Jun 14, 2019 3:15 pm
Forum: Scripting
Topic: Garage Door Script
Replies: 2
Views: 5888

Re: Garage Door Script

Hi Greg. At a glance, there are a couple of things very wrong with this script. I've made a couple of changes that may help, but I've not tested it: //door script vector gPos; rotation gRot; default { touch_start(integer total_number) { gPos = llGetPos(); gRot = llGetRot(); llSetRot(llEuler2Rot(<0.0...
by John Mela
Sun Jun 02, 2019 7:54 pm
Forum: Worlds Support
Topic: Scripts Not Running After Restart
Replies: 19
Views: 16621

Re: Scripts Not Running After Restart

Thanks, Tonia. I've run OSGrid regions myself, and other grids too, so I'm familiar with the OpenSim.exe console. What I don't understand is the difference between the two scenarios you describe here: if I re-started a region from the console many scripts would fail to start. Anyway if I re-started ...
by John Mela
Sun Jun 02, 2019 5:57 pm
Forum: Worlds Support
Topic: Scripts Not Running After Restart
Replies: 19
Views: 16621

Re: Scripts Not Running After Restart

if I re-started a region from the console many scripts would fail to start. Anyway if I re-started the simulator Xengine would tell me that all the scripts had been started and then I had no further problems. Hi Tonia. Could you clarify this please? How exactly are you restarting the region in thes...
by John Mela
Thu May 23, 2019 6:27 pm
Forum: Scripting
Topic: Need help re Material Alignment Script
Replies: 2
Views: 5625

Re: Need help re Material Alignment Script

I've done a bit of experimentation with this code, and it looks to me like what you're trying to do is not currently possible in OpenSim. This Mantis report seems to describe what I'm seeing, and it's still flagged as an open issue, even in OpenSim 0.9. In short, you still can't set the properties o...
by John Mela
Wed May 22, 2019 3:12 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 16246

Re: Object centre moving between Blender and OpenSim

I think we have a success here, thanks to Zed. He demonstrated to me how to create a dummy geometry that forces the centre of the exported object to be in exactly the same position as the geometric centre of the tetrahedron, as he described above. All I had to do was figure out how to do that in Ble...
by John Mela
Wed May 22, 2019 12:52 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 16246

Re: Object centre moving between Blender and OpenSim

Thanks, Zed! You're definitely on to something with that method. The origin is centred horizontally, which is great for rotations around Z. Unfortunately, it's not in the centre in other axes, but slightly higher than that. You can check that easily by positioning a slightly smaller sphere in precis...
by John Mela
Tue May 21, 2019 3:10 pm
Forum: Building and Texturing
Topic: Object centre moving between Blender and OpenSim
Replies: 14
Views: 16246

Re: Object centre moving between Blender and OpenSim

Hi Zed. Thanks for getting back to me. Replies to your points (numbers don't relate to your numbers): 1. The vertical axis in Blender is Z by default, so normally objects imported into SL/OS have the same orientation. This has caused problems when I've made objects for Unity (with its Y vertical), s...