[SD003] Linked Prim Controller Script

Linked Prim Controller is very useful script for designers that make Glasses, Hair, Prim Skirt, Belt, Necklace, Piercing, etc.
I am working to add more many new features and enhance perfomance of scripts.
New update version will be continued to enable designers to do a lot of things.
Have a nice day. 🙂

Linked Prim Controller Script contains the following features :

  • All-in-One Linked Prim Controller Script,
    – Scale Resizer
    – Position Changer
    – Rotation Changer
    – Texture Changer
    – Color Changer
    – Transparency(Alpha, Visibility, Show/Hide) Changer
    – Shiny(Shine, Shininess) Changer
    – Glow Changer
    – Full Bright Changer
  • All child prims at the same time or selected individual prim control function.
  • Group Prim Control function.
  • Notecard Configuration for fully optimizing.
    – All options are editable.
    – Supports user defined menu, option label and value.
  • Walk Animation Override ON/OFF function for SHOES Designer.
  • Walk Sound ON/OFF function for SHOES Designer .
  • Pose function.
  • Revert function.
  • Menu On/Off function for End User.
  • Delete function for End User and Designer.
  • Reset function for Designer.
  • Child Prim Renamer function for Designer.
  • Free Update.
  • And more…

———————————————————————————————————————————-
[IMPORTANT!!!] Please check following restrictions and FREE DEMO before use this scripts.
———————————————————————————————————————————-
* This scripts can be used to make your product for sales.
But it is not permitted to resell the script itself or full perm template product with this scripts.

* This product is not a script for personal user, but is a script for designer that make glasses, prim skirt, hair, etc.

* This scripts can not resize, move, change ROOT prim itself becuase these are designed to control child prims.
Therefore, you have to make transparent(invisible) root(parent) prim as a base prim of whole object.
Please check ROOT prim of “Glasses (Sample 1.6)” in the package.

* Rotation configuration for All Prims at attached object to avatar enables more than 5 degrees.

* Group rotation function is current not available in this version.
———————————————————————————————————————————-

How to get FREE DEMO version?
– Please visit to my in-world shop at Omer(112,16,110). –> http://slurl.com/secondlife/Omer/112/16/110
Permission of FREE DEMO version is modify-no, copy-ok, transfer-no.

1. What is in the package?

To unpack the package, Rez and click your product package([SD003] Linked Prim Controller).
And then, Click [Copy To Inventory] button in the “Object Contents” window, and it will unpack to a “[SD003] Linked Prim Controller” folder in your inventory.

The package contains following contents :

  • SD_LinkedPrimController 1.6 Script
    This is the script that will control resize, property change.
    Permission of this script is modify-no, copy-ok, transfer-ok.
  • SD_LinkedPrimControllerHelper 1.6 Script
    This is the script that will control resize, property change.
    Permission of this script is modify-no, copy-ok, transfer-ok.
  • SD_LinkedPrimModule 1.6 Script
    This is the script that will be inserted in all child prims.
    Permission of this script is modify-no, copy-ok, transfer-ok.
  • SD_LPM_Dropper 1.6 Script
    This is the script that is used for automatically dropping SD_LinkedPrimModule to all child prims.
    Permission of this script is modify-no, copy-ok, transfer-no.
  • _config Notecard
    This is the basic configuration notecard that is used for fully optimizing.
  • _config (Sample 1.x) Notecard
    This is the preset notecard configuration that is used for making Glasses, Prim Skirt, Hair, etc.
    [e.g.] _config (Glasses Sample 1.6), _config (Prim Skirt Sample 1.6), _config (Hair Sample 1.6)
  • Glasses (Sample 1.6)
    This is the sample product that made by Linked Prim Controller Script.
  • SD LPCS Updater 1.6
    Simply rez this updater, and you will automatically receive a new update via “SD Product Update Server”.
  • [ARP] SD Vector Color Table 1.1
    This is a texture that contains 216 web safe color(vector color format).
  • [ARP] SD_AlphaController(for Single Prim) 1.0
    This is a script that can control Alpha Property of Single Prim.
  • [ARP] SD_LPCS_Deleter(for v1.1)
    This is a thing for LPCS v1.1 user. This is a script that can delete scripts of all prims using v1.1 LPCS.
  • SD Linked Prim Controller Guide Notecard
  • Landmark to the Socool Destiny Shop

2. Using the LPCS(Linked Prim Controller Script)

2.1 Installation Procedure

Please do following steps :

[1] Rez the object that you want to use the LPCS(Linked Prims Controller Script).
[2] Put all 4 scripts and “_config” notecard in the content of the prim
[3] Change the permission of the scripts.
[4] Touch the object and press “Drop Module” button in the pop-up menu.
[5] Take the object back in your inventory.
[6] Rez the object again.
[7] Go Edit mode of the object and choose [Tools] > [Set Scripts to Running in Selection] in the menu at the top of your screen.
[8] Touch the object again and press “Load” button in the pop-up menu.
[9] Take the object again back in your inventory. FINISH!

[4]~[8] step is really important. Without step 5 and 6, 7 will fail. Especially step 7 is very important.

2.2 How many options can be used in the pop-up menu?

– Scale Option : Maximum 9
– Position Option : Maximum 9
– Rotation Option : Maximum 9
– Shininess Option : Maximum 4
– Glow Option : Maximum 9
– Full Bright Option : Maximum 2
– Transparency(Alpha) Option : Maximum 9
– Color Option : Maximum 10
– Texture Option : Maximum 9 (Every each group user can set different texture options.)

[Note] Except for Texture Option, All Options use same option every control target(All Prims, This Prim, Group that user defined).

2.3 When did script store initial properties of each prim for REVERT?

This scripts store initial properties of each prim when user run “Load” or “Reload” menu on the pop-up menu.

2.4 Using an option menu

Now “Pose”, “Revert”, “Menu Off”, “Delete”, “Reload”, “Rename” options are exist in the “Options >>” menu.

(1) Using a “Pose” function

Pose option enables to edit product more easily.
Select a [Options >>] – [Pose] on the pop-up menu, and show up [Start] and [Stop] menu.

(2) Using a “Revert” function

Revert option enables to return to initial product status.
Select a [Options >>] – [Revert] on the pop-up menu, and show up [OK] menu.
If you select [OK] menu, product will return to initial status.

(3) Using a “Menu Off/On” function

Select a [Options >>] – [Menu Off] on the pop-up menu, and pop-up menu does not open when user clicked the product.
If you want to use again a pop-up menu, please do double-clicking on your object.

(4) Using a “Delete” function

Select a[Options >>] – [Delete] on the pop-up menu, and it will delete all scripts in the prims.

(5) Using a “Reload” function

If you want to reload “_config” or store properties of all prims after editing, Please select [Options >>] – [Reload] in the pop-up menu.

When select “Reload” menu on the pop-up menu, it now store initial properties of child prims in linkset for Reverting.
Therefore, after you finished setting of LPC script in the product, If you change properties of object,
You don’t need to set a LPC script again or select “Reset scripts in Selection” in the menu at the top of your screen.
Now just select “Reload” menu, and it will reset scripts all of child prims.

[Note] This option menu can only see LPC scripts owner. End user can’t see that menu.

(6) Using a “Child Prim Renamer” function in the linkset

Please select [Options >>] – [Rename] in the pop-up menu.
And then say “/9 lpcren CurrentName NewName” in the chat window.

If current name of child prim is “Box” and new name that you want is “Cube”, say “/9 lpcren box Cube” in the chat window.
[Note] Current name is not case sensitive, but New name is case sensitive.

If you want to rename of child prims to same thing at the same time, please say “/9 lpcren * NewName”.

* Chat command format : /<Channer Number> <Command> <Old Name> <New Name>
* The number of default chat command channel is 9.

[Note] This option menu can only see LPC scripts owner. End user can’t see that menu.

2.5 What is ARP(Additional Resource Pack)?

ARP is an Additional Resource item for designer. A part of ARP does not support in FREE DEMO version.

* [ARP] SD Vector Color Table 1.1
This is a texture that contains 216 web safe color(vector color format).

* [ARP] SD_AlphaController(for Single Prim) 1.0
This is a script that can control Alpha Property of Single Prim.
If you use this script, you can change alpha of a face or all prim. It is used to make transparent(invisible) root prim.

* [ARP] SD_LPCS_Deleter(for v1.1)
This is a thing for LPCS v1.1 user.
This is a script that can delete scripts of all prims using v1.1 LPCS.
If you are considering that change v1.1 version scripts to the latest version, please put this script into your product.

2.6 How to make transparent(invisible) root prim?

Just put “[ARP] SD_AlphaController(for Single Prim) 1.0” script into your product.
And then, Touch on object, and you can change alpha of a face or all prim using pop-up menu.

2.7 How to delete scripts all of linkset in the v1.0 and v1.1?

If you v1.1 user, just put “[ARP] SD_LPCS_Deleter(for v1.1)” script into your product.
And then, it will automatically show up a pop-up menu, select “Delete” menu.

If you v1.0 user, just say “/3 deletelpm <ObjectName>” in the chat window.
And then, please delete scripts of root prim manually.

2.8 How to use “Walk AO” and “Walk Sound” function?

It is very easy to use “Walk AO” and “Walk Sound” function. Just put walk animation, sound into your product.
This function don’t need to set in “_config” notecard.
If you put animation, sound into your product, “Walk AO”, “Walk Sound” menu automatically show up on blue pop-up menu.
In your product if you delete animation or soud, “Walk AO”, “Walk Sound” menu does not show up on blue pop-up menu.
Also “Walk AO”, “Walk Sound” menu does not show up in rezzed object.

3. Setting up “_config” notecard configuration

Options in the “_config” notecard consist of a command, then a colon, the specific details. E.g. Use Color Option : Y.
Please see “_config” and “_config (Glasses Sample 1.5)” notecard for more information.

[Note] Don’t insert space, slash(/), comma(,) letter in the option value.
[Note] Don’t change configuration order.
[Note] Don’t edit command(variable name) like “Use Scale Option”.
[Note] Don’t delete hyphen(-) in front of command(variable name).

3.1 How to set Using or Unusing?

* If you want to use Scale Option, set to “Y”. Like this –> Use Scale Option : Y
* If you want to unuse Scale Option, set to “N”. Like this –> Use Scale Option : N
When you do this, the Scale menu does not show up on the pop-up menu.

3.2 How to set MAIN MENU LABEL?

If you want to change “Scale” label of Main Menu to “Resize”, set to “Resize”. Like this –> Main Menu Label : Resize

3.3 How to set target for controlling?

(1) All Prims

* If you want to control All Prims, set to “Y”. Like this –> Control All Prims : Y
When you do this, it is added as a “All Prims” menu.
* If you don’t need to control All Prims, set to “N”. Like this –> Control All Prims : N

(2) Individual Prim

* If you want to control This Prim, set to “Y”. Like this –> Control This Prim : Y
When you do this, it is added as a “This Prim” menu.
* If you don’t need to control This Prim, set to “N”. Like this –> Control This Prim : N

(3) Group Prims

To use group function, please write group name in the Name field of the General tab every child prim.
And write a group name in the “Control Group Prims” option of “_config” notecard.

* If you want to set Frame and Lens group in the Glasses creation… Like this –> Control Group Prims : Frame, Lens
When you do this, it is added as a “Frame” and “Lens” menu.

* If you want to set Frame group in the Glasses creation… Like this –> Control Group Prims : Frame
When you do this, it is added as a “Frame” menu.

[Note] Since the script uses comma(,) and space letter(” “) to seperate each group, please don’t use a comma and space letter in your group names.
[Note] Controlling Group can be used up to 9.
[Note] Please see “_config” and “_config (Glasses Sample 1.5)” notecard for more information.

3.4 How to use Tag Function?

User can control child prims with keyword. Therefore, user can simultaneously control more than two groups.

[E.g.] When user set name of child prim as a “Lens”, “Lens(R)”, “Lens(L)”.
User can set name of group as a “Lens”, “Lens(R)”, “Lens(L)” in the “_config”. Like this –> Control Group Prims : Lens, Lens(R), Lens(L)
When you do this, it is added as a “Lens”, “Lens(R)”, “Lens(L)” menu.
Therefore, when user select “Lens” menu, LPC script can control all prims including “Lens” keyword.
If select “Lens(R)” menu, LPC script only control prims including “Lens(R)” keyword.

3.5 What is “Option Label” and “Option Value”?

If you want to use resize option like “+1%, +3%, +5%, -1%, -3%, -5%”, set to “+1% / +3% / +5% / -1% / -3% / -5%”.
Like this –> Scale Option Label : +1% / +3% / +5% / -1% / -3% / -5%

And set option value correspond to option label.
Like this –> Scale Option Value (%) : 1 / 3 / 5 / -1 / -3 / -5

[Note] Don’t insert space(” “), slash(/), comma(,) letter in the option value.

3.6 How to set Texture Option Value?

Texture options for each group can be used up to 9.
Each group can use different textures because support a different texture of 27 in the “Texture Option Value 01″~”Texture Option Value 27”.

First of all, write UUID or name of texture that you want to use in the “Texture Option Value 01″~”Texture Option Value 27”.
If your texture UUID is “5748decc-f629-461c-9a36-a35a221fe21f ” and Option Label is “Blank”, please set to “Blank / 5748decc-f629-461c-9a36-a35a221fe21f “.
Like this –> Texture Option Value 01 : Blank / 5748decc-f629-461c-9a36-a35a221fe21f

[Note] Don’t insert space(” “), slash(/), comma(,) letter in the option value.
[Note] If you want to use texture name, set to “Blank / Your Texture Name”. When you do this, you must put texture file in the object inventory.
[Texture option value FORMAT] Texure Option Lable Name / Texure UUID or Name in the object (Blank / 5748decc-f629-461c-9a36-a35a221fe21f ) OR (Blank / BlankTexture)

3.7 How to set Texture Option Label?

If you finished configuration for Texture Option Value, you must write texture option label.

When you set Target for controlling and Texture Option Value Like this,

——Control All Prims(Use Label For All Prims) : N
——Control This Prim(Use Label For This Prim) : N
——Control Group Prims(Group1, Group2, …, Group9) : Frame

// Please write your texture option value.
———Texture Option Value 01 : Blank / 5748decc-f629-461c-9a36-a35a221fe21f
———Texture Option Value 02 : Wood / 89556747-24cb-43ed-920b-47caed15465f
———Texture Option Value 03 : Plastic / 076ab157-3aa7-f2e8-7359-ecf8497bc474
———Texture Option Value 04 : Silver / d96b54da-ae84-d7f5-15e9-7d611561fcde
———Texture Option Value 05 : Gold / 867657f3-8db2-a04e-1116-4b8ff1d3a52f
———Texture Option Value 06 : Pink / e4399526-d360-2a78-0376-aa45882789c6

If you want to use “Blank, Wood, Gold” texture options for “Frame” group, set like this.

// Please write your texture option label.
———Texture Option Label (For All Prims) :
———Texture Option Label (For This Prim) :
———Texture Option Label (For Group1) : Blank / Wood / Gold
———Texture Option Label (For Group2) :
———Texture Option Label (For Group3) :
———Texture Option Label (For Group4) :
———Texture Option Label (For Group5) :
———Texture Option Label (For Group6) :
———Texture Option Label (For Group7) :
———Texture Option Label (For Group8) :
———Texture Option Label (For Group9) :

[Note] Texture Option Label and Value name have to match because of case sensitive.
[Note] Don’t insert space(” “), slash(/), comma(,) letter in the option label.

4. Free Update

I can not send an update package or news to all of my customer manually. I’m so sorry.
Please do rez “SD LPCS Updater 1.x” that can find in your product package, and you will receive the latest version via “SD Product update Server”.

[Note] Please sometimes visit to this web page for checking the latest version.

5. Contact

Do you have problems or suggestions or questions using this product?
Please send notecard or IM to Socool Destiny. I’ll do my best to help you. 🙂

Inworld Store : http://slurl.com/secondlife/Omer/112/16/110

Revision History

v1.6 : 5 September 2009 (Current)

– New : Walk Sound on/off function FOR SHOES DESIGNER (Special Thanks to Patje Oh, Stephanie Kazyanenko)
Please put walk sound into your shoes product. This function don’t need to set in “_config” notecard.
– New : Walk Animation Override function FOR SHOES DESIGNER (Special Thanks to Stephanie Kazyanenko)
Please put walk animation into your shoes product. This function don’t need to set in “_config” notecard.
– New : Added Chat Command for “Renamer” function. (Special Thanks to Eleanora Newell, Jenette Ellison)
If you want to rename of child prims to same thing at the same time, please say “/9 lpcren * NewName”.
– Fixed : When Reposition and Resizing, occured position error. This error occur in v1.4 and v1.5. (Special Thanks to hami Looming)
– Fixed : Final Permission Information Notification for Copy. (Special Thanks to Patje Oh)
– Fixed : “Reload” and “Rename” option menu access. (Special Thanks to Eleanora Newell)
Now, if object owner has full permission for object, owner can use “Reload” and “Rename” option menu.

v1.5 : 25 August 2009

– New : Permission Information Notification.
– Fixed : When reverting and resizing, occured resize calculation error. This error only occur in v1.4.
– Changed : When “Load” or “Reload”, LPC script does not block load process of object with modify permission any more.

v1.4 : 19 August 2009

– New : Added SD_LinkedPrimControllerHelper script.
– New : When select “Reload” menu on the pop-up menu, it now store initial properties of child prims in linkset for Reverting.
– New : Permission alarm function.
– New : More Fast Loading of “_config”
– New : Supports various floating prim message.
– Fixed : Sometimes color option did not show up on the pop-up menu in various option combination.
– Fixed : Individual prim rotation bug when root prim is rotated.
– Fixed : After delete all script of rezzed object using “Delete” option menu, showed up “Animate your avatar” pop-up menu.
– Changed : Resize factor operation.
– Changed : Integrated OPTIONS Menu
– Changed : Now “Reload”, “Rename” option menu can only see LPC scripts owner.

v1.3 : 3 August 2009

– New : Child Prim Renamer function
– New : Performance enhancement for more fast running.
– Fixed : Fixed a wrong spell in the pop-up menu.
– Changed : Supports maximum 10 different color option.(Older version : supported maximum 9 color option.)

v1.2 : 7 July 2009

– New : Texture Options Performance Enhancement. Now user can use different texture option every each prim or group.
– New : Tag function. Now user can control child prims with keyword.
– New : Added Delete option menu that delete all scripts in the prims. Please select [-OPTIONS-] > [Delete] in the blue pop-up menu.
– Changed : It is not support [X] menu anymore.
– Changed : Option order and variable name changed in the “_config” notecard.

v1.1 : 25 May 2009

– New : Added a Shiny Changer function.
– New : Added a Glow Changer function.
– New : Added a Full Bright Changer function.
– Changed : Global Group option in the top of “_config” notecard is moved to Local Option.
– Changed : Scale and Position options can not move root(parent) prim at attached object to avatar.

v1.0 : 6 May 2009

– Initial release