Don't Starve Together
Оценок: 67
Sit On Anything
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
50.447 KB
2 июн. 2023 г. в 2:00
27 окт в 12:22
Обновлений: 12 (просмотреть)

Подпишитесь, чтобы загрузить
Sit On Anything

В 2 коллекциях, созданных 󰀏Niko
My favorite creations
Предметов: 9
Niko's gimmick collection
Предметов: 9
Описание
You can now plop your bottom onto any surface you please, including the faces of your friends and enemies!

To sit on anything that you normally can't hold the force inspect key (alt by default) and right click the object. Or if you are using a controller, hold both camera rotate buttons (left and right bumpers by default) and press the secondary action button (B by default on XBox, or O by default on PlayStation) to sit on the object in front of you.

Getting off of tall objects will cause you to fall off. Fall damage is enabled by default but can be disabled in the config. So uh... I do not recommend sitting on birds...

If you want to make the mod more balanced, there is a config option to force you to stop sitting when the chair your on teleports, and a config option to force your character to fall if they somehow bypass the falling state. Both are disabled by default.


Notice
Controller support is currently disabled because it caused issues.

Plans
- Add custom offset overrides for some objects that otherwise look strange.
- Play around with the new cave falling animation and see about using it for the falling animation.
- Consider altering where the player shows up when sitting on a equipped inventory item.
- Toy with the idea of custom visuals for when the player is sitting on an object in a pocket dimension.
- Toy with the idea of allowing ranged weapons to be used while sitting, and maybe other actions too. (Likely would require custom animations)

Known Issues
- Pearl will sit on anything as well. (Is this even a big problem?)
Комментариев: 45
JuanpisATM 14 сен в 15:48 
very good mod 10/10 <3
_杨易心 10 авг в 2:41 
你好,可以搬运到wg平台使用吗?
Hello, can it be moved to the wg platform for use?
󰀏Niko  [создатель] 24 сен. 2024 г. в 9:13 
Sorry everyone for the over-night major issues. This is what I get for uploading a update at midnight. :DSTpigman:

I have temporarily removed controller support to fix the right click issues, If you still have issues double check that your mod is up to date, then be sure to let me know! But everything should be fully functional again. (aside from the controller support.)
󰀜ZhiYu 24 сен. 2024 г. в 1:06 
右键能打开的东西都打不开了 比如书架
Anything that can be opened by right clicking cannot be opened, such as bookshelves
Wally 24 сен. 2024 г. в 0:43 
I cant perform some actions with right click. I cant mount my beefalo, turn on my flingo, but i can equip stuff from inventory with right click. I already tried reconnecting and it's still the case. Disabling this mod for now
󰀏Niko  [создатель] 24 сен. 2024 г. в 0:08 
Void equipment crashes have been fixed! :steamthumbsup:
Also I added controller support! (About time)

Anyone who had previously had issues with not being able to stop sitting, try the latest update and let me know if the issue is fixed for you and tell me if anything feels "off" about it.
Kin Tsio 26 мая. 2024 г. в 6:00 
good mod 10/10 would sit again
Nick 7 мая. 2024 г. в 9:58 
pretty sure the shadow reaper crashes with this mod (voidcloth_scythe)
󰀏Niko  [создатель] 26 янв. 2024 г. в 11:54 
@MySora, I am so sorry that it has taken me so long to get around to testing that out.
As you had mentioned doing things in that way causes the spawn code to run twice, and my AddPrefabPostInitAny running twice on one object causes problems when the prefab is removed. But the core of the problem is that your test mod is running the spawn code twice on one object which is unrelated to "Sit On Anything" and is likely to cause issues with almost any mod that uses "PrefabPostInit"s and after looking at the code, it seems to be caused by that you are both using SpawnPrefab (Which itself will run the spawn code for the given object) but then also returning that spawned prefab as if it were "inst". (which will then also cause it to run the spawn code) I would suggest keeping "inst" and the object it spawns separate to avoid this.
MySora 13 дек. 2023 г. в 19:49 
@niko i upload a mod to show this bug
name [it just a test mod]
https://steamproxy.net/sharedfiles/filedetails/?id=3113503378