Bobbyb's texture changer

From Second Life Wiki

Second Life Wiki > Bobbyb's texture changer
Jump to: navigation, search

Contents

Description

The following is a compilation of several versions of scripts that will change the texture on an object or linked set in various ways. These were written by Bobbyb30 Swashbuckler in LSLEditor. Please Note: While they are slightly optimized, it is possible to make them slightly faster/smaller using different functions/hacks. They should work fine in mono & LSO.

Creator

Contributors

If you modify/improve upon the script, please add your name here.

License

They are hereby released into public domain.

Disclaimer

These programs are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Collection of texture changing scripts

There are two version of the scripts, one which will require the textures to be in inventory, and another which works off of an input list of texture UUIDS. (By using texture names however, you could use the input list scripts as loading from inventory.)

Compilation of Texture Changing Scripts

Using llSetTexture

This method is slower, and less efficient than llSetPrimitiveParams and llSetLinkPrimitiveParams

These scripts display the given textures on all the prims and all the sides within a linked set.

These scripts will display the given textures on all the sides of certain prims in a linked set.

These scripts will display the givn texture on certain sides of certain prims in a linked set.

These scripts will display the given textures on a single side or all sides of a given prim.

These scripts will display the given textures on more than one side of a given prim.

Using llSetPrimitiveParams & llSetLinkPrimitiveParams

This method is faster and more efficient than using llSetTexture or llSetLinkTexture

These scripts display the given textures on all the prims and all the sides within a linked set.

These scripts will display the given textures on all the sides of certain prims in a linked set.

These scripts will display the givn texture on certain sides of certain prims in a linked set.

These scripts will display the given textures on a single side or all sides of a given prim. -For these it doesn't matter...so I didn't include.

These scripts will display the given textures on more than one side of a given prim.

Remote Texture Loader

  • Remote Texture Loader- A set of script for remotely loading textures within a sim. Useful for billboards.

Texture Switchers

Personal tools