oh, one more feature of the branch I forgot, gun,shotgun and grenades are unusable underwater and their bullets disappear while touching it atm (probably should make it into a bool tune)
oh, one more feature of the branch I forgot, gun,shotgun and grenades are unusable underwater and their bullets disappear while touching it atm (probably should make it into a bool tune)
@Stiopa it be cool if we could make projectiles leave the baarrel at high velocity but instantly slow down and start to just float after a certain distance
I of course recommend to check my stuff out
all ya need to do is to clone, create autoexec making the server mod, compile server, compile client, make a map that has a tile with the water (in game layer) and voi-la!
it would be really cool if we would end up with a fully interactable sim at the end that flows down drags tees with the direction it flows eventually if there is an emitter that constantly spawns water you would need a draining system to let the water exit the map or else the whole map would drown over time but for making things simple we should probably focus on the overall gameplay first and dynamic splash and ripple effects are gonna be a challenge even without water flowing under the rules of gravity
I think simple rules could be made to calculate a direction of a flow even with a tile-based flow.
21:13
I mean both the spread of substance and the direction of a force it should produce for a tee submerged in it.
21:14
But still it will require a server to be at least aware of that model or it will desyncronise.
21:15
Would love to see a server telling a client "place water tile INSTEAD of any tile that is there currently on X, Y and apply a force towards left-bottom of a tile to any tee passing it"(edited)
21:15
So many things could be made with that protocol change. And I cannot imagine dynamic water flows working without it.(edited)
I'd appreciate if someone put my repo on the issue, mentioned the 6 tunes, special tile, tube for disabling selection of projectiles in water, drowning etc