sbox-issues icon indicating copy to clipboard operation
sbox-issues copied to clipboard

Add a CitizenDresserHelper component to base library

Open badandbest opened this issue 1 year ago • 4 comments

For?

S&Box

What can't you do?

I believe a CitizenDresserHelper would see enough use to justify a base library component.

It'd be up there with the CitizenAnimationHelper in terms of usefulness. At least for me.

How would you like it to work?

Similar to the CitizenAnimationHelper, it would go into the Citizen category.

example

What have you tried?

I considered making my own dresser helper library to put up on asset.party. Although one problem I did have is that Connection.GetUserData() doesn't work for singleplayer games with no networking. (obviously)

It would probably be better to have this in base library anyway instead of a third party addon.

Additional context

No response

badandbest avatar Jan 19 '24 22:01 badandbest

What would this component do? Does it automatically dress the GameObject using the avatar data of its owner?

chrisspieler avatar Jan 19 '24 22:01 chrisspieler

I imagine it could also be used the same way as that one Clothing Dresser widget Bak made? A two in one sort of thing, manual and automatic, a real Helper.

Retroeer avatar Jan 19 '24 23:01 Retroeer

I imagine it could also be used the same way as that one Clothing Dresser widget Bak made? A two in one sort of thing, manual and automatic, a real Helper.

That'd be awesome.

badandbest avatar Jan 19 '24 23:01 badandbest

I think our move on this would be to add an "attire" gameresource, in which you can define a set of clothes, then have this take one of those, but also have a checkbox for "use owner's avatar"

garrynewman avatar Jan 20 '24 06:01 garrynewman

In the past few weeks more and more people are asking about this exact thing in the beginner channel, and I always tell people to look at the Dresser code in walker, it would really make sense to integrate this directly as a component in sbox, so people don’t have to copy the walker code over and over again.

MenschlichTv avatar Nov 12 '24 08:11 MenschlichTv

I have a component for this ready, but I want to do a bit more testing before setting it free

garrynewman avatar Nov 12 '24 08:11 garrynewman