Starbound

Starbound

Shareable Beds
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Audie  [udvikler] 3. juni 2017 kl. 8:06
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.
< >
Viser 1-15 af 37 kommentarer
Star Baker 4. juni 2017 kl. 12:55 
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  [udvikler] 4. juni 2017 kl. 19:53 
Oprindeligt skrevet af 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 ^ ^;
Sidst redigeret af Audie; 4. juni 2017 kl. 19:54
MysticMalevolence 9. juni 2017 kl. 8:39 
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. juni 2017 kl. 5:02 
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.
Sidst redigeret af Charlatan; 10. juni 2017 kl. 5:12
Audie  [udvikler] 10. juni 2017 kl. 7:17 
Oprindeligt skrevet af 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. juni 2017 kl. 13:49 
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  [udvikler] 16. juni 2017 kl. 19:26 
Oprindeligt skrevet af 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  [udvikler] 9. juli 2017 kl. 17:44 
Oprindeligt skrevet af ♪♥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.
♀ OdayakanaArashi 9. juli 2017 kl. 19:59 
Oprindeligt skrevet af Audie:
Oprindeligt skrevet af ♪♥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.
Sidst redigeret af ♀ OdayakanaArashi; 10. juli 2017 kl. 1:43
Dragon_Tom 13. juli 2017 kl. 3:40 
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.
Sidst redigeret af Dragon_Tom; 13. juli 2017 kl. 3:43
♀ OdayakanaArashi 13. juli 2017 kl. 3:49 
Oprindeligt skrevet af ๖ۣۜ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. juli 2017 kl. 5:28 
Oprindeligt skrevet af ♪♥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.
♀ OdayakanaArashi 29. juli 2017 kl. 7:13 
Oprindeligt skrevet af Kawa:
Oprindeligt skrevet af ♪♥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 kl. 15:12 
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...
< >
Viser 1-15 af 37 kommentarer
Per side: 1530 50