News: SMF - Just Installed!
Welcome, Guest. Please login or register.
Did you miss your activation email?

 Raglan Shire ForumsRaglan ShireThe VaultScriptsTopic: SafetyPin Attachment Helper Script
Poll
Question: Please delete this poll  (Voting closed: August 06, 2010, 05:17:43 AM)
Please delete - 0 (0%)
this poll - 0 (0%)
Total Voters: 0

Pages: 1 2 [3]   Go Down
Print
Author Topic: SafetyPin Attachment Helper Script  (Read 4666 times)
Tapple Gao
Raglan U
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #30 on: August 12, 2010, 11:49:08 PM »

New release: 0.1.4. New shape: Wynx Tiny Pony. Also fixes a permission bug in the pony posestand (it was no copy).
Logged
Awenbunny Lisle
Friend of the Shire

Offline Offline

Posts: 18


Awesome Possum


View Profile
« Reply #31 on: August 13, 2010, 05:50:56 AM »

What happens if i position something with the Safety pin and when my customer wears it, it needs to be adjusted a bit for them into a different position?
  Will they need to adjust it every time they rewear the outfit as it will remember my original positioning?
   Thanks Tapple
Logged
Tapple Gao
Raglan U
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #32 on: August 13, 2010, 08:56:41 PM »

Once safetypin positions an object on an attach point, it will keep the attach offset saved in the script in sync with the attach point saved with the prim, even when not near a posestand. It does not care who is moving the object; it will keep saving its position across an owner change. However, if you move the object to another attach point while not near a posestand, I think the script will keep remembering the position it was at the previous attach point, and so the object will jump back there next time it is rezzed or worn near a posestand. However, until it is rezzed or worn near a posestand, the script will never move the object, so you should never see the script continually fighting with the user.

That said, I haven't really tested the script in the event where you modify an object extensively away from a posestand; that's not how I expected safetypin to be used, so the code does not really anticipate that. I'm not sure whether this is a bug, or if I should just say "don't do that". All in all, I think it's best to remove the safetypin scripts from your objects once you are done using its features. You can remove all scripts quickly by chatting /74safetypinclean. This will remove the safetypin scripts from everything you own within 20 meters.

However, if you and another person are working on something together, go ahead and leave the script in until you are both done using safetypin. Safetypin is designed to help you build stuff for an avatar you don't own by having someone else use your posestand while you build stuff on them.

I would appreciate it if you could explain what you are trying to do a bit more; I'm not sure I understood your question
« Last Edit: August 13, 2010, 09:24:37 PM by Tapple Gao » Logged
Awenbunny Lisle
Friend of the Shire

Offline Offline

Posts: 18


Awesome Possum


View Profile
« Reply #33 on: August 14, 2010, 09:25:39 AM »

ok.. so I thought i could make sleeves for an outfit i want to sell and position them on lower arms, toss in SafetyPin.  Take them off then rewear on shoulders  so that would leave lower arms free to wear other tiny items like drinks, waffle shooters, or whatever without removing a sleeve which is normally worn on the lower arm.
  Then i could box up the outfit with the sleeves set to be worn on shoulders but Safetypin script positioned to wear in the lower arm position where i set it.
   What i wanted to know is if the customer then puts on the sleeve and finds his or her arm is slightly more forward than mine and needs to adjust the sleeve on their body, will they have to move it each time they wear the outfit?
   Do i have to tell customers they have to rez a posestand anytime they want to wear an outfit i have used safetypin in to position the sleeves?

Logged
Tapple Gao
Raglan U
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #34 on: August 14, 2010, 12:35:13 PM »

hmm. I have a script specifically designed to do what you are thinking. It saves several attach points in one object. Wear it on shoulders, position, detatch, wear on lower arm, position, detatch. Then it will put it where you left it when attached to either point. I sell my glasses with this script in it, so you can wear them on any of the 6 head attach points without adjusting. It's called Multipoint Attach, and served as the primary inspiration for Safetypin.

Unfortunately, it and safetypin don't work together; both will try to move the attachment when you wear it, probably to different locations, with no guarantee which will win. I've thought briefly about integrating it with safetypin but can't think of a good way. Maybe if it ran only when not near a safetypin posestand... I dunno. It seems like too much magic and would make the script a lot less simple for people to understand. I could do a chat command or make some kind of menu, but I really like the current simplicity of the tool.
Logged
Tapple Gao
Raglan U
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #35 on: August 14, 2010, 12:56:44 PM »

The above post didn't address your question at all. attachments are attachments. the customer just adjusts them normally. If they want to move their sleeves to another attach point, they can get their own copy of safetypin, put the script in their sleeves, and adjust it how they like.

I would really advise against selling stuff with the safetypin still in it. It changes the way attachments work somewhat subtly and in ways a customer unfamiliar with the script may not understand.

I have considered making a version of safetypin that works everywhere, independent of whether a posestand is nearby or not: just drop in safetypin and move things around. In such a script, the clothes themselves would have all the data about the tiny shape, not the posestand. I would feel much better about someone selling stuff with that version of safetypin inside than the curent one, since there isn't the magic bit of needing to be near a posestand. It would only work with the owner's clothes and avatar; one would not be able to build on other people's body in that version.

Another option I've thought of is putting the script from the posestand into a hud that you can wear like an AO, and would be able to tell any safetypin-enabled attachments what shape you currently are, and possibly let you snap clothes to posestands I didn't make. It would have the same problem the current version does of doing probably unexpected things when you weren't wearing the hud though.

If you think either of those would be useful, let me know. The script that worked independent of a posestand or hud could be even easier to use than the current version, and would be pretty easy for customers to use (assuming they are the shape you made the clothes for). Let me know.

So, in short, I don't think safetypin currently does what you want it to do. If the above options sound like they would serve you better, I will consider implementing them. Let me know
Logged
Tapple Gao
Raglan U
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #36 on: August 14, 2010, 04:27:36 PM »

I went ahead and glued together the attachment and posestand scripts so that you can move stuff between attach points without the hassle of rezzing a posestand. I sent it to you Awen; IM me if you didn't get it.

The resulting script is rather big and I've been having problems with it crashing due to running out of memory. I shrunk it as much as I possibly could, which seems to have fixed the problem, but please test
Logged
Tapple Gao
Raglan U
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #37 on: September 10, 2010, 11:06:37 PM »

New Release: 0.1.5. Supports micro avatars made with the NotSoBIGAVS Micro kit, and the SEC Micro Fox by Thrice Skyward in particular
Logged
Tapple Gao
Raglan U
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #38 on: October 05, 2010, 07:03:00 AM »

New Release: 0.2.0 is available only on Inworldz grid at the raglan shire welcome center. I haven't updated the box in Second Life yet; there aren't any behavior-changing bug fixes. I'll update both in tandem next time I release an update

Currently only the wynx tiny shape is supported in Inworldz
« Last Edit: October 05, 2010, 09:18:05 AM by Tapple Gao » Logged
Eren Padar
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #39 on: January 07, 2011, 03:49:58 PM »

Does Safety Pin work in INworldz?  that would be great since Inworldz forgets the attach points of rezzed objects.
Logged
Tapple Gao
Raglan U
Friend of the Shire

Offline Offline

Posts: 1



View Profile
« Reply #40 on: January 08, 2011, 12:25:30 PM »

yes. I put it at the raglan shire welcome center, which was a diner on the wynx platform when I was last there, which was a few months ago
Logged
Pages: 1 2 [3]   Go Up
Print
 Raglan Shire ForumsRaglan ShireThe VaultScriptsTopic: SafetyPin Attachment Helper Script
Jump to: