Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2017-03-29 22:55:43



Reply to topic  [ 3 posts ] 
#RLV folders issue 
Author Message

Joined: 2012-02-09 21:01:50
Posts: 284
Reply with quote
Hello Henri,

Cool VL Viewer 1.26.13 (13) May 30 2015 10:50:08 (Cool VL Viewer)

I just tried to use the #rlv folder stuff.

What I have is:
Code:
#rlv/
   outfitname/
        +part1/
                item
        +part2/
                item
        +part3/
                item


If I now rightclick/wear folder on any of the parts, the clicked folder gets named .(spine). If I do this for all three, they all are named like that, that, ending up in:

Code:
#rlv/
   outfitname/
        .(spine)/
                item
        .(spine)/
                item
        .(spine)/
                item


Even unwearing the items doesn't restore the foldername.

Maybe items in #rlv are not meant to be worn "manually" but only by script? I was wearing them manually while trying to complete the outfit. And the items are all meant to go to spine attachment point, yes, but I thing the folder name should change to +itemx (spine)/ then?


Do I do something completely wrong or is there an issue?


2015-06-06 10:25:00
Profile

Joined: 2009-03-17 18:42:51
Posts: 3505
Reply with quote
This is how it is expected to work for no-mod items... The algorithm is a bit confusing, however, and I think you still can find the explanation for it on Marine's blog (it's a very old post, dating from the first RLV year back in 2007 or so).

Here is how it works: when an object is attached from inside the #RLV folder, RestrainedLove attempts to rename the object so that the name contains "(attachment_point)" (this is to keep track of where each object is supposed to be attached by the server on "attach on default joint" request and find out by looking at its name before sending that request or not to the server, depending on what other objects are worn on the same attachment point and their locked status).
Of course, this cannot work for no-mod items (since you can't rename them). In the latter case, RestrainedLove checks whether the item is at least two levels under the #RLV folder (i.e. whether it's an outfit sub-folder) and if so, renames that folder into ".(attachment_point)" (the "." got a special meaning for RestrainedLove: it denotes an "invisible" folder that will not be taken into account by folder-browsing RLV commands).

So, when using no-mod objects (that don't already have their name with "(attachment_point)" in them, which could happen...) in #RLV outfits, you should place them inside a sub-folder of that outfit (simply create a "New Folder" and place the no-mod object in it: that sub-folder will be renamed on first attachment).

In your case, you should use:
Code:
#RLV/
   outfitname/
      +part1/
         New Folder/
            no-mod object1
      +part2/
         New Folder/
            no-mod object2
      +part3/
         New Folder/
            no-mod object3
      +part4/
         mod-ok object4


Which, once "outfitname" worn the first time, will turn into:
Code:
#RLV/
   outfitname/
      +part1/
         .(spine)/
            no-mod object1
      +part2/
         .(spine)/
            no-mod object2
      +part3/
         .(spine)/
            no-mod object3
      +part4/
         mod-ok object4


2015-06-06 15:26:58
Profile WWW

Joined: 2012-02-09 21:01:50
Posts: 284
Reply with quote
Oh, ok. Understood, thanks so much! :D


2015-06-06 15:45:47
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.