Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripting windlight environment settings

Nih Grun
Registered User
Join date: 30 Apr 2008
Posts: 58
05-22-2008 19:16
Heya everyone

I was wondering if it's possible to script in a change in windlight environment settings. I'm partial to "Sailor's delight" and most people don't seem to know the advanced presets exist. Being able to touch an object to alter your settings would be pretty cool.

Further to that, if you own an entire sim is there a way to force incoming agent's settings to match a specific setting you want for your island?
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
05-22-2008 19:21
From: Nih Grun
Heya everyone

I was wondering if it's possible to script in a change in windlight environment settings. I'm partial to "Sailor's delight" and most people don't seem to know the advanced presets exist. Being able to touch an object to alter your settings would be pretty cool.

Further to that, if you own an entire sim is there a way to force incoming agent's settings to match a specific setting you want for your island?

You can force time setting to remain the same, or to cycle normally, but you can't force a preset.

And I don't believe you can script it either, unless there's a LSL function for each individual property, and/or name. Presets, you see, are files saved on your computer. If you wanted to use one they didn't have (Which for most is any but the basic, and unless you share them they will never have yours exactly in all likelihood, down to the name).

Basically, you'd be attempting to activate a specific file, and if that isn't on the computer you'd be telling it which settings to use. I don't think this is possible in JUST LSL, but maybe a custom veiwer could manage it, I'm not sure.

It's been said that eventually environment settings will be sharable in-world, at which point you could just make a box with it and say 'use this setting for full effect', but unfortunately we can't yet do that.

You could have a box say a link to a website where they could download it and give instructions for installation and use, but that's going a bit too far in my opinion.
_____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL
Nih Grun
Registered User
Join date: 30 Apr 2008
Posts: 58
05-22-2008 19:27
Pretty big oversight not to include script support for adjusting settings IMO, but I guess they'll get to it at some stage.

Still, Sailor's Delight is included in the basic presets, so there's hope yet!
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
05-23-2008 02:08
From: Nih Grun
Pretty big oversight not to include script support for adjusting settings IMO, but I guess they'll get to it at some stage.

Still, Sailor's Delight is included in the basic presets, so there's hope yet!


It's not really an oversight, LL simply decided that the user would have control over client side settings, not scripters. Estate owners can force sun position manually, be even so, a user can set whatever they want in the client. If you gave scripters the ability to force client settings, you'd likely piss alot of people off who want to set a particular setting, and leave it there without having to constantly override scripts changing settings.
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
05-23-2008 05:13
they claimed early that they want windlight presets to be exchangeable like gestures/notecards

There is no sctipt command for windlight except for scripted glow, and the constant "PRIM_GLOW"=25 for llSetPrimitiveParams([25,0.5]); still only exists in the release candidate.

The settings wolud be for estate owners anyways, while exchangeable presets are a client side solution.
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
05-23-2008 07:29
there is talk that "eventually" environment settings will be accessable in estate tools, so you can set your sim as a "dark foggy film noir" sim.. and people can of course override that, the same way they can now override time of day.
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura