Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Universal Permissions Suite

Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-29-2005 09:18
Yep, it's me again with another stage of my long scripting project. Ever since the prim mirror caused some dissent regarding making it easy for people to "copy" others' work, I decided it might be a good idea to put out a free solution to the problem. Before I get to that though, let me recap on where I am now:

Milestone 1: 3D Model Importer
Status: Completed!


Milestone 2: BVH-to-Prim Importer
Status: Completed!


Milestone 3: Prim Tools -

Part 1: Prim Mirror
Status: Completed; Rez Code Currently Withheld

Part 2: Touch-to-Face
Status: Completed!

Part 3: Universal Permissions Suite
Status: Open Beta


Milestone 4: External Prim Support
Status: Not yet started
ETA: Several Months from now, depending on if I Actually do it!


Part 4 is still a long ways off, but I'm getting there.

---

This script is designed for No Modify objects. The idea is to build in modification features that content creators can use on their objects, without the threat that John H. CopyBody can come along, copy someone else's prim setup, and happily resell it. Wild West indeed.

With this, you can be reasonably sure that the end-user has a huge margin of control over what their version of the object looks like, without the fear of losing credit for your work. Because No Modify prevents changes in links, hides the orientation of child objects, yet allows scripts to change features within the object itself, all one really needs is a scripted solution to the problem. This is that solution.

Some statistics:
- No static listeners (listeners are started once the user touches a prim
- Two scripts/prim/object - with the ability to remove them when done
- Dialog-based editing, to prevent users from redundantly using the same property (laggy)
- Undo queue that holds up to three entries
- Modifiable design allows for creators to "pick and choose" the permissions they want with a single list

To use, simply place these scripts into every prim of an object (not the Prim Copy script). Then, simply click any prim but the root (unless edited) to start up the script! I strongly advise that advanced users add llSetRemoteScriptAccessPin(#); to state_entry - this will make it easier to add new scripts or versions if any problems with this one are found, and since the number is held confidential and No Modify prevents external scripts, anyway, your stuff is safe.

When touched, you should see a dialog pop up that has the following options:

- Position: Change the position of a prim or the entire set
- Rotation: Change the rotation of a prim or the entire set
- Scale: Change the scale of a prim or the entire set
- Material: Change a prim's material type (some work for SL v1.6+ only!)
- Color: Change a prim face color
- Alpha: Change a prim face alpha
- Texture: Change a prim's texture options
- Bumpiness: Change the bumpmap of a prim face
- Shine: Change the shininess for a prim face
- Copy a Prim: Copy Mode (does NOT work with root unless edited)
- Undo Last: Undo last operation
- Remove Edit: Remove these scripts from selected prims

Certain Dialogs may also have additional options, including:

- Input a Position: Input a position directly
- Input a Rotation: Input a rotation directly
- Input a Scale: Input a Scale directly
- Copy a Prim: Select a prim to copy by dragging the "Prim Copy" script into the desired prim. Note that contents will NOT be copied!

- Select a Prim: Select the desired prim for an operation
- Example: Root Prim, This Prim, All Prims, All Others

- Select a Face: Select the desired face for an operation
- Example: 0, All Faces

- Select a Material: Select the desired material
- Example: Wood, Stone, Light
- More...: More options are available


- Select a Color: Select the desired color
- Example: Blue
- Advanced...: Input a value directly

- Select a Texture: Select the desired texture option
- Tex: Default: Select the SL Default Texture
- Tex: Blank: Select the SL Blank Texture
- Tex: This: Use this selected texture for entire prim or set
- Tex: Key: Input a texture key directly
- Offset: Input texture offset directly
- Rotation: Input texture rotation directly
- Scale: Input texture scale directly

- Select a Bumpmap: Select the desired bump option
- Example: Wood, Tile, Stucco

- Select a Shine: Select amount of desired shininess
- Example: None, Low, Medium, High

- Confirmation Dialog: Occasionally you will be asked to confirm an option. Select "Yes" or "No" in these cases

Enjoy!

"Prim Copy" feature enabled. Please IM me if you have any concerns or trouble with abusers of this script, and I'll show you how to put them to rest.

Shamelessly creating repeat business? Me? Naaahhhhh.... :D

Note ALSO that this is meant to build in functionality to No Modify objects, NOT tamper with the existing permissions system. One cannot toy with permissions themselves with LSL.
_____________________
---
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Universal Permissions Suite
03-30-2005 00:16
/54/df/40370/1.html
_____________________
i've got nothing. ;)
Byron McHenry
Registered User
Join date: 21 Sep 2004
Posts: 204
Well..
03-30-2005 11:33
isnt there an option to set script to no mod and no transfer
Caliandris Pendragon
Waiting in the light
Join date: 12 Feb 2004
Posts: 643
04-25-2005 01:07
From: Jeffrey Gomez
Yep, it's me again with another stage of my long scripting project. Ever since the prim mirror caused some dissent regarding making it easy for people to "copy" others' work, I decided it might be a good idea to put out a free solution to the problem. Before I get to that though, let me recap on where I am now:
[snipped]
To use, simply place these scripts into every prim of an object (not the Prim Copy script). Then, simply click any prim but the root (unless edited) to start up the script! I strongly advise that advanced users add llSetRemoteScriptAccessPin(#); to state_entry - this will make it easier to add new scripts or versions if any problems with this one are found, and since the number is held confidential and No Modify prevents external scripts, anyway, your stuff is safe.

[snipped]
Enjoy!

"Prim Copy" feature enabled. Please IM me if you have any concerns or trouble with abusers of this script, and I'll show you how to put them to rest.

Shamelessly creating repeat business? Me? Naaahhhhh.... :D



Dear Jeffery
I am so glad you think this is soooo damn amusing. Guess what? I don't WANT to have to stick your script in everything I make to prevent people using your script to duplicate them. I do NOT find it funny that you have created a script which allows people to do this.

I like to create things. I do not charge vast amounts of money for them, and I make a fair proportion of what I make free to copy. But I object, really object, to you having dreamed up the prim mirror script (and I would like to know how there is ANY way that this could be used in a moral and legal way in game) and then showing me how to protect myself from a problem you dreamed up, by having to insert your scripts in all my objects. Shan't do it. Can't make me.

You should realise how angry this is making your fellow players.
Cali