Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Dynamic fluid cell textures #961

Open
Discusser opened this issue May 15, 2022 · 0 comments
Open

[Suggestion] Dynamic fluid cell textures #961

Discusser opened this issue May 15, 2022 · 0 comments
Labels
type: feature New feature or request
Milestone

Comments

@Discusser
Copy link

Is your feature request related to a problem? Please describe.
I think it would be pretty cool if fluid cells showed the amount of fluid they hold through their textures.
This is a small detail though so it might not even be worth the trouble.

Describe the solution you'd like
I don't know how dynamic textures work but the amount of pixels rendered can easily be calculated through this:
fluidAmount / fluidCapacity * guiScale * 14
and then rounded to the nearest integer
(guiScale is a number from 1 to 4 with 1 being small and 4 being auto)

Additional context
An aluminium cell with 8000L/16000L of rubber, or 50%.
image

An aluminium cell with 11000L/16000L of polyethylene, or 68.75%
image

Please fill in as much useful information as possible. Also please remove all unused sections.

@Discusser Discusser added the type: feature New feature or request label May 15, 2022
@ALongStringOfNumbers ALongStringOfNumbers added this to the 2.8 milestone Jul 17, 2023
@serenibyss serenibyss modified the milestones: 2.8, 2.9 Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants