Azazellz Posted July 25, 2018 Posted July 25, 2018 Anyone know how "Slider Groups" ("Torso", "Belly", "Arms" and other) in Bodyslide works in terms of sorting and order? (Imgur picture) Spoiler I ask this because I'm trying to make some king of port of JaneBod sliders (from Fallout 4) on top of existing UUNP. But because JB have a ton of sliders (~380 actually) - I need a proper sorting of all those stuff. Right now my new "Slider Groups" appears in random order, even between existing UUNP groups , like this Spoiler In .xml file my groups looks like: Spoiler So, as you can see, there is no system between the order in the XML file and in the program itself. I can't understand which system is used for sorting groups. Any ideas?
Andy14 Posted July 27, 2018 Posted July 27, 2018 Actually, according to this scheme. Maybe unsorted, because no sliders ... I do not know
Azazellz Posted July 27, 2018 Author Posted July 27, 2018 37 minutes ago, Andy14 said: Actually, according to this scheme. Maybe unsorted, because no sliders ... I do not know I just collapsed all categories - they are full of sliders. You can see it by numbers nearby category name - they mean number of the row inside file. UUNP-JB.xml
Andy14 Posted July 27, 2018 Posted July 27, 2018 Yes, I saw it too late. In the meantime I have tested how the sorting is. My slider category for in-game high heels is not in the right position either. The category should be the last - but it is not. Neither the order of Slider in Outfitstudio nor the date of the bsd seem to play a role. It's not so bad for me, but for Jane Bod it would be nice if the order is correct and the main categories are at the top of the list. Ousnius could answer the question.
Azazellz Posted July 27, 2018 Author Posted July 27, 2018 Ok, for everyone who wants to figure out how the sorting of sliders works, I post the files of this project.There are only the names of the sliders. There is no data for them, so they will not have any effect when you move them (because I still working on it). I will be very grateful to anyone who can find out how this works, or at least be able to put new sliders at the very end of the list. UUNP-JB.7z @ousnius answered me only this (on the nexus forums) Quote The categories are always sorted by name. The sliders within the categories are sorted by the order they appear in the slider set project file of the body/outfit. To add sliders to a new category, you first have to remove them from the old (CBBE.xml). So, I think he also does not know, because even UUNP categories are not sorted by name ?
Andy14 Posted July 27, 2018 Posted July 27, 2018 It works for me now. The reason was, in the folder SliderCategories were several xml. I've rewritten everything in just one XML and it works. PS: I deleted all xml before and started 1x BS - because of suspicion on caching.
Azazellz Posted July 27, 2018 Author Posted July 27, 2018 For me nothing changed, even when I removed all .xml files exepct of this one. CBBE-UUNP-JB.xml
Victor14 Posted July 28, 2018 Posted July 28, 2018 I'm not sure that I understand the request. I do not have the latest version of Bodyslide. However, I never use groups, only the SliderSets. Whenever I've acquired a new .BSD file, I've just written that file directly into the SliderSet that I want to place it in. If I write it at the top, it stays at the top. If I write it at the bottom, it stays at the bottom. One possibility would be to just create two SliderSets: One with just JaneBod sliders and one with JaneBod + UUNP regular sliders. Again, I'm using a Bodyslide that's about a year and a half behind the latest version (although the latest version doesn't have any new sliders AFAIK so there's no reason for me to upgrade) so maybe something has changed within the past 1+ year. Thanks for all of the effort in creating JaneBod sliders for Skyrim.
Azazellz Posted July 28, 2018 Author Posted July 28, 2018 6 minutes ago, Victor14 said: Whenever I've acquired a new .BSD file, I've just written that file directly into the SliderSet that I want to place it in. If I write it at the top, it stays at the top. If I write it at the bottom, it stays at the bottom. I have no problems with the order of the sliders inside the groups (like "breasts small", "breasts big". etc.)I have problems with the order of the groups themselves (like "breasts", "butt", "torso", etc.) You can see what I mean if you look on the picture inside second spoiler in first post.
foreveraloneguy Posted July 28, 2018 Posted July 28, 2018 I think the answer you got earlier is based on the newer version of bodyslide. Groups were removed. Still doesn't cause sliders to display alphabetically though. What I see is that when you add a slider in outfit studio, that's where the slider appears.
Azazellz Posted July 28, 2018 Author Posted July 28, 2018 2 hours ago, foreveraloneguy said: I think the answer you got earlier is based on the newer version of bodyslide. Groups were removed. Still doesn't cause sliders to display alphabetically though. What I see is that when you add a slider in outfit studio, that's where the slider appears. Is it hard to understand what I'm trying to say? Is my English so bad? I do not care what order the sliders are in the categories.I'm worried about the order in which the categories themselves go. (Thanks to Google for translating this) Okay, just two pictures. What I have now. What I would like to see.
Akzyra Posted July 28, 2018 Posted July 28, 2018 You cant really control the order because of how Categories are handled. They are saved in a "unordered map", where no order is mantained. Edit: inital comment was wrong
foreveraloneguy Posted July 28, 2018 Posted July 28, 2018 3 hours ago, Azazellz said: Is it hard to understand what I'm trying to say? Is my English so bad? I had the exact same question... Put the damn sliders where you want them in outfit studio by importing them via slider > new slider. Stop trying to just edit the xml and make it go how you want. It doesn't work that way.
Azazellz Posted July 28, 2018 Author Posted July 28, 2018 2 hours ago, foreveraloneguy said: It doesn't work that way. Yes, it doesn't. Because you trying to say me how sort sliders inside OutfitStudio project. I know how to do it - and I already did it. UUNP-JB.xml All sliders in one single list, from UUNP and JB. When I open this project in OutfitStudio - they all go exactly in this order. First UUNP, then JB. But categories is a BodySlide feature. If I delete my file with categories - JB sliders go in the same order, but with a huge single block and at the very beginning of the list (and this is not good). I think you have no idea how to get Bodyslide to do the right sorting of categories. 4 hours ago, Akzyra said: You cant really control the order because of how Categories are handled. They are saved in a "unordered map", where the order is based on the hash of the "category name". if you know how to calculate the hash, you could create special category names where the hash order is the alphabetical order. Finally a good answer! Thanks a lot! I'll try to play with the category names, so that my categories move to the end of the list.But I think that I will have to upload project "as is" - and just wait until @ousnius make a good mechanic for sorting slider categories in the new version of BodySlide (IF he make it, of course).
Andy14 Posted August 2, 2018 Posted August 2, 2018 As I said - my order is correct now, probably just luck. If it is sorted alphabetically/by name, the following syntax (numbered) might help? <Category name="1 JaneBod Full Body" defaultHidden="false"> ... ... </Category> <Category name="2 JaneBod Breasts" defaultHidden="false"> ... ... </Category> <Category name="3 JaneBod Breast Adjustments" defaultHidden="false"> ... ... </Category>
Azazellz Posted August 2, 2018 Author Posted August 2, 2018 No, it is sorted not alphabetically/by name. Looks like Akzyra was right - it sorts by some "cached name" or something similar. For example, if you add something like "___x" at the end of the category name, it may appear at the top of the list. Right now my xml file looks like this: UUNP+JB.xml With categories like this, in BodySlide they goes in the same order as in .xml file (except for Butt and Hips - this two categories is swapped).
Andy14 Posted August 2, 2018 Posted August 2, 2018 As I said, I deleted the xml, then started BS - everything was without category. BS closed -> my xml inserted again. BS started -> and everything in the right place. Maybe just a coincidence - I do not dare to do a test. This is my xml: Default Body.xml
Azazellz Posted August 2, 2018 Author Posted August 2, 2018 44 minutes ago, Andy14 said: Maybe just a coincidence Maybe. Because before I achieved the order's identity between how it is displayed in the .xml file and how it is displayed in the Bodyslide, I spent couple of hours, renaming categories. Just leave all these sliders from JB "as is" is a bad idea. Too many of them.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.