Welcome to
Mod The Sims
Online: 5424
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 2 (Who?), Viewed: 2234 times.
Search this Thread
Old 30th Jan 2019, 3:40 PM DefaultCustom Categories for the Set To Next obj with category primitive #1
LazyDuchess
Original Poster

Test Subject

Join Date: Jan 2019
Posts: 4
Thanks: 18 in 2 Posts
2 Achievements


Hello
So the Set To Next primitive has a obj with category option that lets you find objects by the categories specified in the BCONs 0x0106 & 0x016C, for example 4 returns beds, 28 sinks etc.
So what i want to o is make my own category for my own objects, and so far, i haven't found any value in the OBJD that sets this category. There's Selector Category, but that's used for something else entirely and if you check a bed for example you'll see that it's category is set to 0, not 4.
I'm puzzled, so if anyone's got any ideas i'd love to know
Old 30th Jan 2019, 11:44 PM #2
maybesomethingdunno
*shrugs*



Join Date: Apr 2005
Posts: 2,700
Thanks: 7825 in 20 Posts
28 Achievements

View My Journal


You might be interested in looking at Echo and Phae's costume trunk. IIRC, the trunk is able to expand its catalog of costumes because they created their own "Costume" type and the trunk searches for objects (costumes) of that type to create its menu and then dress the Sim(s).

I don't mind if you call me "MSD" or something for short.
Tumblr
Perhaps someday I'll have leisure time back...
Old 31st Jan 2019, 3:10 AM #3
LazyDuchess
Original Poster

Test Subject

Join Date: Jan 2019
Posts: 4
Thanks: 18 in 2 Posts
2 Achievements


Quote:
Originally Posted by maybesomethingdunno
You might be interested in looking at Echo and Phae's costume trunk. IIRC, the trunk is able to expand its catalog of costumes because they created their own "Costume" type and the trunk searches for objects (costumes) of that type to create its menu and then dress the Sim(s).

This worked! i hadn't noticed the category variable before
Thanks a lot
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.