Sock_Bunny submitted a new mod: Improved Swim Physics! - Reworks Starbound's swim engine! Read more about this mod...
Sweet! Going to try it out tonight with FU and see if anything major is an issue. From the description though, you make it sound like you'll not go down at all unless down is pressed. Is there at least some sinking involved? Also, what does the jump key do now besides jumping out of the liquid? I'm assuming it defaults to up for now but meh... perhaps I'll be surprised with a faster swim speed in whatever direction if jump key is held.
ohh, I could probably make it swim faster when jump is held Right now, you gotta be holding up and jump to jump out of the liquid. You won't sink down unless you have some momentum, so even if you slowly walk into some water, you'll sink a tiny bit. But you'll still sink a lot if you dive into it
Alright, a couple of things. 1. Though the initial idea is very good, the actual swimming mechanics themselves is horribly slow and may need a bit of tweaking. It's like being in zero-g but without the gradual increase in speed and without any continual momentum, which is good for the momentum part, but being as slow to move in water as you are in a vacuum is not quite right. Even with several speed increases I'm only getting a very minimal actual movement boost. I propose that it be made that your character act as if in a zero-g environment, but have their movement influence be more substantial and add a gradual decrease in overall momentum while in liquids if not pressing any movement buttons. It goes without saying that swim speed boosts should also have a more noticeable effect as well. This should make movement more smooth and fluid dynamics a bit more realistic without having to worry about things like buoyancy. 2. Your mod doesn't quite work across all liquids. It works as it should in water and erchius, and even organic soup and blood from frackin universe, but not poison and a couple of others for whatever strange reason. I don't know how this is coded, but having it include everything except for zero-g that makes your character go into the swimming animation or idles would go a long way. 3. This also affects npcs, now while that should be the case IMO, they animate as if swimming but in reality they're still just walking along on the floor of whatever body of water they're in at the same speed as they'd usually do. I don't know if that was your intention to affect npcs as well, but if it was I'd propose including a modification to npc AI to have them go through the same swimming physics and try to pathfind their way to air. I very much like the idea of this mod but it could be a lot better if given some extra love.
Okay I changed it to only effect players. But I can't really make it work with poison without it being incompatible with MP servers ;-; I'm working on making the swim speed faster, like, right now. I'm totally typing with 2 keyboards, and I totally didn't have this post half-written so I could post it right after I get the thingy to work and right after I pause Game Grumps PMTTYD Right now, I'm working on the swim boost buffs Thank you for your feedback
Sock_Bunny updated Improved Swim Physics! with a new update entry: Swim faster! REALLY faster! Read the rest of this update entry...
Much better! A shame on the poison and similar liquids thing, would like to have it affect all liquids but I guess you can't have everything in the world.
Alien monsters seem to glitch out, freezing up and floating when they fall into water with this installed. Likely effects every other liquid that this mod effects. Maybe you could make an add-on mod for those that would much rather use it in singleplayer and therefore wouldn't have to worry about MP server compatibility?
I think the newest version (6) should fix the monsters freaking out I'll make an add-on for the poison, though EDIT: I'm not gonna make an add-on. Instead, I'll FORCE it to work on multiplayer!
If v6 should fix it, then maybe it's a glitch with FrackinUniverse as it seems like they change the AI.
Sock_Bunny updated Improved Swim Physics! with a new update entry: Swim in MORE than water! (ACTUALLY WORKS) Read the rest of this update entry...
which file should I modify to change the swimming speed ? cause it's slow even though u updated the speed
OH! Sorry! I misread your questions! Change the one in humanoid.patch for the default swimming speed, and the swimboost ones for the speed when you have swim boost. sorry ;-;
Sock_Bunny updated Improved Swim Physics! with a new update entry: FU support! Read the rest of this update entry...