1. Please be advised of a few specific rules and guidelines for this section.

RELEASED Improved Swim Physics! v13

Reworks Starbound's swim engine!

  1. amirmiked12

    amirmiked12 Parsec Taste Tester

    thats weird cause monster float in the water .i think that breaks the game
     
  2. Khioni

    Khioni Pangalactic Porcupine

    upload_2018-7-4_13-23-10.png upload_2018-7-4_13-27-26.png
    Can confirm that it still happens. Even underwater critters are effected.

    upload_2018-7-4_13-25-39.png
    Another quirk: If you have the airdash and use it when swimming, you get an insane speed boost and gain a lot of distance.
    Hard to show with a screen clipping, though.
     
    Last edited: Jul 4, 2018
    Sock_Bunny likes this.
  3. Layyu

    Layyu Void-Bound Voyager

    Hi!
    I wanted to up the swimming speed, so I tried lowering the value of ''liquidForce'' in ''ImprovedSwimPhysics8.pak'' by searching for it in Notepad ++ and putting a smaller number, as show here
    http://prntscr.com/k3znvd // http://prntscr.com/k3zo24 // http://prntscr.com/k3zo6a
    But still, nothing changes. What am I doing wrong?

    PS: This is the first time I try modding anything in Starbound, and not knowing how to programm or code anything doesn't really help lol . Sorry for my incompetence xD
     
    Sock_Bunny likes this.
  4. GPeckman

    GPeckman Scruffy Nerf-Herder

    Minor bug: you will not be damaged or set on fire when standing in lava pools 1 or 2 blocks deep.
     
    Sock_Bunny likes this.
  5. Sock_Bunny

    Sock_Bunny Existential Complex

    nooo! someone found out--

    I mean...

    ummm...

    Do you have any other mods installed?
     
  6. Khioni

    Khioni Pangalactic Porcupine

    This effects other liquids with buffs. I got the same glitch, and no other mods seem to effect swimming in any way.
    Healing water won't heal, poison won't poison, FU Bio-Ooze doesn't inflict its debuff, FU Sulfuric Acid doesn't do the insane damage debuff it usually does, etc.
     
    Sock_Bunny likes this.
  7. Sock_Bunny

    Sock_Bunny Existential Complex

    You gotta be submerged up to your chest for the effects to start. That's the only way I could make it so you don't start swimming the moment your foot touches the water

    I MEAN
    UMMM
    are you SUUUUUUUUUUUUUUURE no other mods are causing it? because, um, there totally isn't anything in my mod that, for example, says
    "Apply liquid status effects to humanoids when they are in at least 3 blocks in liquid.", or something

    *trustworthy face*

    In all seriousness, I'm too lazy to make something that can change this. Right now, the mod changes how deep you need to be for the liquid effects to apply to you (ie: wet, healing liquid, melting) and adds the new swim status effect to liquids. If it didn't change how deep you needa be, you'd start swimming when your foot touches like a tiny puddle of water, and it'd be super awkward and weird. So it's like:
    (Vanilla)
    poison.liquid
    statusEffects: "weakpoison"

    humanoid.config
    minimumLiquidSubmergionInBlocks:1

    (Improved Swim Physics)
    poison.liquid
    statusEffects: "weakpoison","swimming"

    humanoid.config
    minimumLiquidSubmergionInBlocks:3
     
  8. GPeckman

    GPeckman Scruffy Nerf-Herder

    I couldn't find any reference to "minimumLiquidStatusEffectPercentage" in any lua files in the game's files, so it can't be changed very easily. You'd probably have to change swimming ti be something other than a status effect. Making it players only would also stop the bugs with other things.
     
    Sock_Bunny likes this.
  9. Sock_Bunny

    Sock_Bunny Existential Complex

  10. Sock_Bunny

    Sock_Bunny Existential Complex

    sorry D: I didn't see your post until now. But you gotta increase it to make you swim faster :3
    I think...
     
  11. LMasterGame

    LMasterGame Scruffy Nerf-Herder

    the version 9 makes the fishes and the enemies crazy in water (extreme speed in water)
    try to exlude speed update just to the player
    (excuse my grammar errors)

    (fish flies cuz extreme speed
    upload_2018-7-13_17-29-36.png
     
    Sock_Bunny likes this.
  12. Sock_Bunny

    Sock_Bunny Existential Complex

    I'll try :D
     
  13. Eric

    Eric Existential Complex

    Is this mod on the steam workshop?
     
  14. Sock_Bunny

    Sock_Bunny Existential Complex

    no
     
  15. Sock_Bunny

    Sock_Bunny Existential Complex

    FUN FACT:
    Starbound has no swim engine. The swimming in vanilla works like this:
    if in water, then
    - use swim animation
    - make player fall faster
    - make player jump higher
    - make player use breathe
    - no fall damage
    - can jump in air

    It's just air with slow falling, unlimited jumps, and a swim animation.
     
  16. LMasterGame

    LMasterGame Scruffy Nerf-Herder

    notice fact:
    This mod is a great game mechanics mod that makes starbound better, it functions like this:

    if (there is water with 2 blocks of height in player position or an entity is in a water block) then {
    - use swim and in vacuum space animation;
    - move like in space while (player is moving, player is completly in water and is not jumping while is in surface);
    - if (player is in surface and jump key is pressed) then {jump;}
    - make super speed any entity in water;
    } //so this mod is still with minor bugs, but this mod is worthy to use even with bugs

    I want to be a programmer:D, and to do english and japanese better
     
    Last edited: Jul 19, 2018
    GPeckman and Sock_Bunny like this.
  17. Sock_Bunny

    Sock_Bunny Existential Complex

  18. amirmiked12

    amirmiked12 Parsec Taste Tester

    why i cant walk on tiles underwater?
    is there any fix for it?
     
  19. Sock_Bunny

    Sock_Bunny Existential Complex

    I can try, but I don't think it's really necessary
     
    amirmiked12 likes this.
  20. Goat Plushie

    Goat Plushie Void-Bound Voyager

    So I know this isn't something that'd be that noticable in a legit playthrough, but swimming in lava in admin mode is still the vanilla behavior, I like to do /spawnliquid lava 1000000 a lot, and it'd be fun to swim like this in lava.
     
    Sock_Bunny likes this.

Share This Page