Water Physics:Is it possible?

How, what and why to code in BYOND.
Post Reply
User avatar
Helios
Joined: Mon May 05, 2014 5:07 pm
Byond Username: Shodansbreak

Water Physics:Is it possible?

Post by Helios » #660333

Would it be possible to make a gas called water, which would cause the player to suffocate, put out any flame, and short circuit any cyborg with their cover open?
SS13 is at atmos sim, is water something that can be simulated in that system? Even if it's a hack job.
User avatar
blackdav123
Joined: Sat Dec 18, 2021 10:04 pm
Byond Username: Blackdav123

Re: Water Physics:Is it possible?

Post by blackdav123 » #660335

Your atmosians were so preoccupied with whether or not they could, they didn’t stop to think if they should.
Weston Echard on Sybil
User avatar
Misdoubtful
In-Game Game Master
Joined: Sat Feb 01, 2020 7:03 pm
Byond Username: Misdoubtful
Location: Delivering hugs!

Re: Water Physics:Is it possible?

Post by Misdoubtful » #660336

There are servers that do have functional water, yes.

There have also been servers (long dead now except for like Oshan on Goon) that were based around the station actually being underwater as well as one that based around an underwater submarine. Definitely some my most memorable experiences.
Hugs
User avatar
Farquaar
Joined: Sat Apr 07, 2018 7:20 am
Byond Username: Farquaar
Location: Delta Quadrant

Re: Water Physics:Is it possible?

Post by Farquaar » #660337

I was thinking about this the other week. An underwater station is probably beyond the scope of SS13, as incredibly cool as it would be.
► Show Spoiler
User avatar
TheFinalPotato
Code Maintainer
Joined: Sun Oct 13, 2019 7:58 am
Byond Username: LemonInTheDark

Re: Water Physics:Is it possible?

Post by TheFinalPotato » #660338

Gas sim is ALMOST the same as fluid sim, but with some differences (gas can flow equally up/down, liquid only goes down, etc)
It's totally doable, but it takes a complexity cost in terms of maintaining it, and my doc on atmos is already like 8k words. It's not "could we do it" but more "could we maintain it well"
Similar story to the old smoke stuff skyrat did.
My ancestors are smiling at me, Imperials. Can you say the same?
Image
Image
Image
Image
User avatar
Misdoubtful
In-Game Game Master
Joined: Sat Feb 01, 2020 7:03 pm
Byond Username: Misdoubtful
Location: Delivering hugs!

Re: Water Physics:Is it possible?

Post by Misdoubtful » #660339

Farquaar wrote: Tue Dec 27, 2022 3:29 am I was thinking about this the other week. An underwater station is probably beyond the scope of SS13, as incredibly cool as it would be.
https://wiki.ss13.co/Oshan_Laboratory

This is really the only underwater map in use at this point (Besides a new more deadly one: https://wiki.ss13.co/Nadir). Its definitely within scope and able to be checked out if you choose to make the venture to Goon. You may come back with some ideas.

They do include some details on how they made it work without being a complete lagfest as well, some POC's, and you could look deeper than that as well.

Its one of my favorite in-rotation server maps to play on.
Last edited by Misdoubtful on Tue Dec 27, 2022 4:27 am, edited 1 time in total.
Hugs
User avatar
TheFinalPotato
Code Maintainer
Joined: Sun Oct 13, 2019 7:58 am
Byond Username: LemonInTheDark

Re: Water Physics:Is it possible?

Post by TheFinalPotato » #660340

To be clear without significantly clearer and just as fast code any sort of fluid simulation would be quite a hard sell.
My ancestors are smiling at me, Imperials. Can you say the same?
Image
Image
Image
Image
User avatar
Helios
Joined: Mon May 05, 2014 5:07 pm
Byond Username: Shodansbreak

Re: Water Physics:Is it possible?

Post by Helios » #667999

TheFinalPotato wrote: Tue Dec 27, 2022 3:44 am Similar story to the old smoke stuff skyrat did.
Tell me about that.
User avatar
TheFinalPotato
Code Maintainer
Joined: Sun Oct 13, 2019 7:58 am
Byond Username: LemonInTheDark

Re: Water Physics:Is it possible?

Post by TheFinalPotato » #668028

It uh, it looked a LOT like atmos code, but worse because it was trying to be modular. Even tied into the atmos subsystem if I recall, tho I could be wrong about that don't want to slander anyone.
My ancestors are smiling at me, Imperials. Can you say the same?
Image
Image
Image
Image
User avatar
FantasticFwoosh
Joined: Mon May 04, 2015 11:25 pm
Byond Username: FantasticFwoosh

Re: Water Physics:Is it possible?

Post by FantasticFwoosh » #668059

I have a surviving copy of the Yonaguni Europastation server repo, beside Rohesie and other active staff who squirrelled it away to never see the light of day. Which is Minecraft Classic levels of water fill-in hilarity, accomodating that the exoplanet turfs dictate a very aggressive creation rate of water-tiles from sourceblock (which the metadata is passed along to), compared to creating water in a safe enviroment.

Spoiler:
Image
Image
Post Reply

Who is online

Users browsing this forum: No registered users