oc_leashaddon - replacement leash point as a collar addon#1171
oc_leashaddon - replacement leash point as a collar addon#1171NikkiLacrima wants to merge 2 commits intomainfrom
Conversation
Medea-Destiny
left a comment
There was a problem hiding this comment.
Have been working with this code in world for a while (and done a few tweaks!), it's good, and a great addition to OC. Has been tested in world by myself and Clover -- Clover's comments: "We used oc_leashaddon in an object by itself and as part of a larger object with a linked "leashpoint" prim and it worked perfectly each time. It even knew to let the leash go back to my collar automagically if I detached the scripted object while it had the leash drawn to it."
I'm happy with this code and we're going to put this out into R&D for general testing now. Doesn't require any code changes to the collar to work, so any v8 collar will do with it.
We should think about what the best name for this is, and put some instructions at the top of the script. Perhaps we should provide this at the HQ with a physical object as an example?
|
An additional note about the autohide function. With this active, when the attachment containing this script connects to the collar, it will autohide the collar. This allows it to be used for single script "visuals only" collars for people who would like to wear different styles of collar with different outfits, which I feel will be a popular usage. Basically just drop this single script into another collar and wear it without worrying about your locked collar. |
|
regarding the name, what's wrong with addon leashpoint? |
|
@SilkieSabra Nothing so much wrong as that it may not fully convey the range of uses it can have. While primarily it's exactly that, an add-on leash point, it will also bring up the collar's menu when clicked. So all those people who want to wear two collars because their main one doesn't match their outfit, all the people who want to wear two collars because they want to be leashed by some alternative body part, are equally catered to. So maybe there's a name that better conveys that to people? I dunno. :D |
|
We do need instructions. I tried to generate an addon using just the conversation here and I get 2 leashes, one from the collar and another from the nose ring addon i used Another idea about the name... remember what ever you call the Addon will show up as the button name in the addon menu, so you want to be simple, and concise |
|
Naming scheme is a bit more complex actually: The default is to have g_sAddon = "PRIMNAME"; in this case the name of the prim is used as addon name in the addon menu. Setting g_sAddon = "OBJECTNAME" uses the object name, ie the root prim Setting g_sAddon = "something else"; uses "something else" as addon name with no change Line 37: Lines 428/429: |
Replaces collar leashpoint Collar still handles leashing, unleashing, physics and leash settings. The addon leashpoint only redirects the particle chain from collar to the addon prim. Menu with Active(on/off), Lock(on/off) and AutoHide(on/of). The leashpoint lock is released once the leashpoint loses contact with the collar, this can take 5 minutes. To use it simply drop the script into something like a septum ring and then wear it while the collar is used. The script will then connect as an addon for the collar. For detach functions, and autohide to work the script should be added to the root prim. If the intended leash prim is not the root, simply rename to “leashpoint”.
Proposed some instructions text
0bc8d32 to
0486c70
Compare
Replaces collar leashpoint
Collar still handles leashing, unleashing, physics and leash settings. The addon leashpoint only redirects the particle chain from collar to the addon prim.
Menu with Active(on/off), Lock(on/off) and AutoHide(on/of). The leashpoint lock is released once the leashpoint loses contact with the collar, this can take 5 minutes.
To use it simply drop the script into something like a septum ring and then wear it while the collar is used. The script will then connect as an addon for the collar. For detach functions, and autohide to work the script should be added to the root prim. If the intended leash prim is not the root, simply rename to “leashpoint”.