Starbound

Starbound

Shareable Beds
 This topic has been pinned, so it's probably important
Audie  [developer] 3 Jun, 2017 @ 8:06am
Help make this mod better!
So, as I said in the description, this mod does work, but its hitboxes are obviously all wonky. I need the help of some fellow modders to figure out how to fix this while still making the two players sleep close together, if that's at all possible.

From what I can tell, the game decides where the interact spaces are on the fly, based on the positions that the players will take when sitting/laying down; since in this case the positions are only a pixel apart, it requires one person to have their cursor to the far north while the other person has theirs on the far south to allow them to both use the bed.

Any ideas on how to avoid that weirdness are welcome.
< >
Showing 1-15 of 37 comments
Star Baker 4 Jun, 2017 @ 12:55pm 
Hmm.
I've tried this with NPCs, and they don't seem to want to use the bed if something else is laying down on it. Furthermore, Silver Fox keeps wanting to get up out of bed instead of allowing me in...

One way you might be able to get around it is by taking some code from assets\objects\floran\plantlog or any bench object (say, assets\objects\themed\outdoor\outdoorbench), which allows for multiple people to sit at one object.

Then, I'd suppose you change the relevant action from sit to sleep, and then shift the positions.

Another way to do this could be to make its interaction zones stacked instead of side-by-side, which I think would work best for the tents.

Other than this, I'd say ask the Chucklefish fourms.
Audie  [developer] 4 Jun, 2017 @ 7:53pm 
Originally posted by Nefer Nightbug:
Hmm.
I've tried this with NPCs, and they don't seem to want to use the bed if something else is laying down on it. Furthermore, Silver Fox keeps wanting to get up out of bed instead of allowing me in...

One way you might be able to get around it is by taking some code from assets\objects\floran\plantlog or any bench object (say, assets\objects\themed\outdoor\outdoorbench), which allows for multiple people to sit at one object.

Then, I'd suppose you change the relevant action from sit to sleep, and then shift the positions.

Another way to do this could be to make its interaction zones stacked instead of side-by-side, which I think would work best for the tents.

Other than this, I'd say ask the Chucklefish fourms.

I actually pulled the code from the water fountain that appears in- was it avian villages? The one that lets two characters sit relatively close together, lol. I've been thinking about making the bed 2 separate objects and just fudging the sitting positions around enough to where they end up looking like they're sleeping together.

For some reason I didn't think about asking the forums though... sort of a dumb move on my part ^ ^;
Last edited by Audie; 4 Jun, 2017 @ 7:54pm
Perhaps a test. With the two objects idea that I just typed up then realized you thought of.
Other examples of two-seat objects are couches and hoverbikes.
Charlatan 10 Jun, 2017 @ 5:02am 
Audie, in case the "interactiveSpaces" used in that object is confusing:
http://www.charlatan.at/TMP/Starbound/AOP_Tutorial_Introduction_01.jpg

How it decides which sit(sleep)position is which, I'd not know (yet) either. It seems to split the sides depending on the object orientation (direction), which would be odd.
Last edited by Charlatan; 10 Jun, 2017 @ 5:12am
Audie  [developer] 10 Jun, 2017 @ 7:17am 
Originally posted by Charlatan:
Audie, in case the "interactiveSpaces" used in that object is confusing:
http://www.charlatan.at/TMP/Starbound/AOP_Tutorial_Introduction_01.jpg

How it decides which sit(sleep)position is which, I'd not know (yet) either. It seems to split the sides depending on the object orientation (direction), which would be odd.

Oh cool thanks for that little tutorial! Messing around with the interactspaces might actually be the key here...
Star Baker 16 Jun, 2017 @ 1:49pm 
hmm... well, for one, there's about a block's worth of pixels missing in the middle of the beds, and both sides of the bed cause the player to sleep in the same direction: head pointed to the foot of the bed.
Audie  [developer] 16 Jun, 2017 @ 7:26pm 
Originally posted by Nefer Nightbug:
hmm... well, for one, there's about a block's worth of pixels missing in the middle of the beds, and both sides of the bed cause the player to sleep in the same direction: head pointed to the foot of the bed.
You might be using the version of the bed that has 2 parts, which is actually just something I left in by accdent LOL
The version that actually works (albeit buggily) is the sharewoodenbed object, it looks like every other bed, just with a blue sheet
Make a big box larger than the one already-ingame!
Reasons: Felin aren't short enough to be cute in them but love them.
Reasons: Not for everyone, let's make it for everyone.
Reasons: MULTIPLE SEATS TO BE IN SO IT CAN BE SHARED (Floof + Floof + Box = Win)
Audie  [developer] 9 Jul, 2017 @ 5:44pm 
Originally posted by ♪♥The Snuggle Smuggler♥♪:
Make a big box larger than the one already-ingame!
Reasons: Felin aren't short enough to be cute in them but love them.
Reasons: Not for everyone, let's make it for everyone.
Reasons: MULTIPLE SEATS TO BE IN SO IT CAN BE SHARED (Floof + Floof + Box = Win)
Ohh, you mean like a big box that acts like a chair? Yeah that wouldn't be too hard theoretically LOL
Just a little bit of work, but if I ever figure these beds out, that'll be in the mod too. Thanks for the suggestion.
Originally posted by Audie:
Originally posted by ♪♥The Snuggle Smuggler♥♪:
Make a big box larger than the one already-ingame!
Reasons: Felin aren't short enough to be cute in them but love them.
Reasons: Not for everyone, let's make it for everyone.
Reasons: MULTIPLE SEATS TO BE IN SO IT CAN BE SHARED (Floof + Floof + Box = Win)
Ohh, you mean like a big box that acts like a chair? Yeah that wouldn't be too hard theoretically LOL
Just a little bit of work, but if I ever figure these beds out, that'll be in the mod too. Thanks for the suggestion.
:3
It'd be really cute for couples too.
Last edited by ♀ OdayakanaArashi; 10 Jul, 2017 @ 1:43am
Dragon_Tom 13 Jul, 2017 @ 3:40am 
what if you made the bed 2 seperate objects you just placed together to give the illusion of a "bed"? These 2 objects being the foot of the bed & the head of the bed. When put together, the position for where both players are will be moved to the center, theoretically where both players should be when sleeping. The Avali race mod has the various tech consols that, when placed next to eachother, line up nicely together. Not only would being able to texture the 2 spirtes be possible but in theory, it would also be easier to click on the other piece of furniture to get into the "bed" too.
Last edited by Dragon_Tom; 13 Jul, 2017 @ 3:43am
Originally posted by ๖ۣۜNesla:
what if you made the bed 2 seperate objects you just placed together to give the illusion of a "bed"? These 2 objects being the foot of the bed & the head of the bed. When put together, the position for where both players are will be moved to the center, theoretically where both players should be when sleeping. The Avali race mod has the various tech consols that, when placed next to eachother, line up nicely together. Not only would being able to texture the 2 spirtes be possible but in theory, it would also be easier to click on the other piece of furniture to get into the "bed" too.
The only kind of "bed" I know of that would be the couple bed.
Kawa 29 Jul, 2017 @ 5:28am 
Originally posted by ♪♥The Snuggle Smuggler♥♪:
Make a big box larger than the one already-ingame!
Reasons: Felin aren't short enough to be cute in them but love them.
Reasons: Not for everyone, let's make it for everyone.
Reasons: MULTIPLE SEATS TO BE IN SO IT CAN BE SHARED (Floof + Floof + Box = Win)
I'm Kawa and I approve this post.
Originally posted by Kawa:
Originally posted by ♪♥The Snuggle Smuggler♥♪:
Make a big box larger than the one already-ingame!
Reasons: Felin aren't short enough to be cute in them but love them.
Reasons: Not for everyone, let's make it for everyone.
Reasons: MULTIPLE SEATS TO BE IN SO IT CAN BE SHARED (Floof + Floof + Box = Win)
I'm Kawa and I approve this post.
When possible, it shall happen.
CARDBOARD BOX EQUALITY FOR ALL!
Larch 7 Sep, 2017 @ 3:12pm 
in the discription you said that i might have to spam the interact button to get in the bed, now i havent played this mod but i have done some modding and...
< >
Showing 1-15 of 37 comments
Per page: 1530 50