Jump to content

VS Movement Mod v.1.0.9 - "Boat Update " (Prerelease)


Dante

Recommended Posts

VSMM adds:

  • Stamina based climbing (BotW Style)
  • More movement-options like crawling
  • A Glider-item
  • A Sailboat
  • see full description

FAQ:

  • Atm supports only SP !
  • Most propably will never be MP compatible because a rewrite would be necessary

 

Title.gif.b6525c93b8cba481aec216f2ee221147.gif

 

Mod-Systems :

 

Stamina

Spoiler
  • Most special moves need stamina to be performed (BotW style)
  • Stamina is displayed as a progress-bar in the middle of the screen
  • When stamina is consumed it starts regenerating after a short delay
  • You do not regenerate stamina while sneaking / jumping / falling / being on a ladder
     
  • You move at 75 % speed when your stamina is completely empty until it starts regenerating !
     

Sailboat (Beta)

Spoiler

Controls:

      Enter Boat:

  • Stand still on your boat (Rear-part)
  • Don't wear body-armor / a Glider (any other clothing / armor is fine)
  • Mount the boat by pressing the default-hotkey "F" 

      Steering

  • Set sails by pressing default-hotkey "F" again
  • Adjust the sails with the hotkeys "A" and "D"
  • Turn by looking left / right with your mouse
  • Stop the boat and roll up your sails by pressing default-hotkey "F" again
  • Throw anchor and unmount the boat by pressing default-hotkey "C" again

Stamina Consumption:

  • Riding your boat does not consume any stamina

Wind-mechanics:

       The wind-direction changes randomly and can have the four major directions N , E , S , W :

  • Adjust your sails to benefit most from the wind-direction
  • This type of boat like rear and crosswinds
  • Speeds dependant on wind / sail-config as follows :

 

wind2.png.3921b015cd6278da4c1586e31ebd5c8c.png

 

Crafting:

  • Only available via the creative-inventory during Beta

 

 

Glider

Spoiler

Controls:

      Enter Glide - Mode :

  • Equip a Glider
  • Activate Glider ( default-hotkey "F" )
  • Have empty hands
     
  • When you entered glide - mode (see above) you can start gliding
  • Control directions and increase speed by pressing the ASDW - keys
  • Decrease speed by not pressing ASDW
  • Get a Lift - up by pressing "space"

Stamina Consumption:

  • While gliding your stamina is going to drain 
  • Stamina drains much faster when you Lift - up !

Aerodynamics:

       Aerodynamics depend on :

  • Temperature
  • Windspeed
  • Flightspeed
  • Potential Energie
  • Lift-surface of your glider (different versions in the future)
  • Drag-surface of your glider

Balance:

  • The glider is balanced around the best climate conditions ! 
  •  => at max-windspeed & max-temperature your glider has barely enough lift to gain altitude !
     
  • Worse conditions results in worse lift behavior
  • In most cases you will slowly glide to the ground (as long as you have enough stamina)

Crafting:

  • The glider (Tier 1) requires advanced but not high-end materials to craft
  • Use colored cloth to decide the color of your glider
  • A special version can be crafted !
  • Check you ingame-handbook 
     
  • There will be a worse "improvised" and an better "ancient" version in the future


    rec.gif.12b49948ecd43919e75224f74d293826.gif

 

Color Version:

  • Multiple different color available 

    glider2.png.608c88b464eca1f08bae3c0e27146b87.png

 

Special Notes:

  • There is a brief delay until the glider generates lift (about 3 blocks fall height)
  • More speed means more lift that means for short distances it can be a good idea to dash into your flight despite the stamina cost of the dash

 

Climbing

Spoiler

Controls:

  • You can only climb if your hands are empty
     
  • You start climbing by simply jumping at a wall and press / hold sneak
  • You can climb up by pressing "W" or "spacebar"
  • You can let - go while climbing by pressing the hotkey " F " (default)
  • To make sure ladders are still useful you cannot climb downwards while "bouldering"

Stamina Consumption:

  • While climbing your stamina is going to drain 
  • Stamina drains faster when you move but it still drains at a lower speed when you just stick to the wall resting

Special Notes:

  • Climbing a ladder / rope-ladder does not consume stamina
  • You do not regenerate stamina while in climbing mode / being on a ladder
  • Ladders still allow for downward movement

 

climb.gif.aea409eb2548f341488d66428dd23906.gif

 

Hanging / Grabbing

Spoiler

Controls:

  • You can only grab if your hands are empty
     
  • You can grab on any block above you by jumping / charge-jump at it and press / hold sneak
  • You can move / climb hand-over-hand in any direction while grabing on
  • Make sure to hold sneak otherwise you let go

Stamina Consumption:

  • While grabbing / hanging your stamina is going to drain
  • It drains faster when you move but it still drains at a lower speed when you just hang on

Special Notes:

  • It is possible to go from climbing-mode to grabbing-mode when beeing careful / timing it right (see video)

 

hang.gif.f05c4bd11e94f0ceadb58effc780e006.gif

Crawling

Spoiler

Controls:

  • You can crawl / lay-down on the floor by (1) sneaking and pressing  (2) middle-mousebutton or a editable hotkey (default "R")
  • Press middle-mousebutton or a editable hotkey (deafult Space) to get up again (only if you dont have a block above you blocking it)
     
  • To move while laying on the ground hold sneak and any direction key
  • You can't jump while blocked by a block above you

Stamina Consumption:

  • Crawling does not consume stamina

Special Notes:

  • Crawling allows for movement in very narrow spaces aka 1x1 horizontal shafts

 

crawl.gif.93377f5c56043637d0e840b1bc373ca4.gif

Dashing

Spoiler

Controls:

  • You can dash forward / left and right
  • Sprint in any direction (forward, left, right or a combination of those) and press right-Mousebutton to perform a "dash"
  • You can dash while in air

Stamina Consumption:

  • Performing any form of dash consumes 33 % of your maximum-stamina
  • When trying to dash with less than 33% stamina it will still consume stamina but you wont perform the move

Special Notes:

  • Trying to maximize speed by jump-dashing results in a brief stop of motion which makes it slower

 

dash.gif.2cd12bdaa6fb1e3dddee2cb8e3badd96.gif

Sliding

Spoiler

Controls:

  • You can perform a slide-move when running and pressing middle-mousebutton
  • By sliding you not only enter crawl-mode but also slide-forward a certain amount in the direction of your movement
  • Press right-mousebutton to stand-up again (lsame as when crawling)
  • When sliding you have to wait until you stopped until you can stand up again

Stamina Consumption:

  • Performing a slide consumes 33 % of your maximum-stamina

Special Notes:

  • Sliding allows for quickly entering narrow shafts (see video)
  • looks cool

 

slide.gif.68f36331128c64564c18fef9981bd816.gif

Backflip

Spoiler

Controls:

  • Backflipping is basically a dash backwards
  • Sprint backwards and press right-Mousebutton to perform a "backflip"
  • You can backflip while in air

Stamina Consumption:

  • Performing a backflip also consumes 33 % of your maximum-stamina

Special Notes:

  • You can also backflip from a wall while climbing when your timing is right
  • Your vertical movement-speed is very slightly lower when backflipping from height, which can help to prevent falling damage

 

backflip.gif.e82952e2f1980f971d75aca3170d1655.gif

Powerjump

Spoiler

Controls:

  • You can powerjump with an item in your hand 
     
  • Charge up a jump by sneaking and standing still
  • When thejump is fully charged: your character slightly looks up
  • Release sneak while pressing jump to powerjump up to 2 block high

Stamina Consumption:

  • Charging a powerjump costs no stamina

Special Notes:

  • Since you can not climb / grab blocks above with an item in your hand beeing able to powerjump can be useful since you are still allowed to have a weapon in your active itemslot

 

jump.gif.20d3638457658d65482b2f3e9578f029.gif

AutoStep

Spoiler

Controls:

  • You can now auto-step up to 1 block-height simply by running over the block

Stamina Consumption:

  • Does not consume any stamina

Special Notes:

  • It is not as smooth as stepping-up stairblocks
  • Similar to an autojump

Commands

Change the auto-step behavior using commands:

- Disable auto-step

  • /no-step

- Auto-step while walking & running

  • /walk-step

- Auto-step only when running/sprinting

  • /sprint-step

autostep.gif.0385bf20074be4a1faedc791c4ec9b2b.gif

Custom Animations

Spoiler

 

  • All with unique animations 
  • Slightly altered running animation

 

New Sounds

Spoiler

 

  • Comes with conditional sounds 

 

Configs

Spoiler

 

Open Config.cs with an editor to change settings:

  • maximum stamina
  • auto-step behavior
  • Stamina-costs

 

 

 

= Download = :

https://mods.vintagestory.at/show/mod/970

 

Video-showcase (Sailboat - beta):

Video-showcase (Glider):

Video-showcase (Moves) :

 

 

Edited by Dante
  • Like 5
  • Cookie time 1
  • Amazing! 5
Link to comment
Share on other sites

I love the mod; have been missing these abilities since using a similar mod in minecraft ages ago, but I have two suggestions.

  • Ctrl-right click to place items also enables crawling but whenever I place something on a table I end up laying on the floor. Not sure what a fix could be unless shift-right click to enable crawling?
  • This mod disables copygirls StepUp mod which I rely on. Would it be possible to add the same ability to this mod?
  • Like 2
Link to comment
Share on other sites

There is a problem with using sneak+right-click to enable crawling as this conflicts with the vanilla keybind to place stacks and individual Items on the ground so whenever I try to place a stack of peat my character does a faceplant.

I would suggest setting the movement key to an editable keybind rather than locking it to the assigned sneak control

Edit: actually as crawling seems to be the only conflict I can see maybe setting the crawl to an editable keybind rather than having it on right-click would be better.

Edited by EtherialMind
  • Like 2
Link to comment
Share on other sites

42 minutes ago, Cael_Dranwylr said:

This mod disables copygirls StepUp mod which I rely on. Would it be possible to add the same ability to this mod?

Thanks for you thoughts.

It already does.
The stepheight allows you you step over one block just by running over it. (Exactly like the StepUp mod does)

 

27 minutes ago, EtherialMind said:

There is a problem with using sneak+right-click to enable crawling as this conflicts with the vanilla keybind to place stacks and individual Items on the ground so whenever I try to place a stack of peat my character does a faceplant.

I would suggest setting the movement key to an editable keybind rather than locking it to the assigned sneak control

Edit: actually as crawling seems to be the only conflict I can see maybe setting the crawl to an editable keybind rather than having it on right-click would be better.

Ahhh yah you're right of course. Me not actually playing a lot really shows 😅

As a quick fix i will change it to "sneak + middlemouse" in v1.0.2 -  I might add configs / keybinds in the future 

 

Also i would love to see some gameplay / short videos of you guys using it if anyone bothers to record his/her gameplay

Edited by Dante
  • Like 1
Link to comment
Share on other sites

1 hour ago, Cael_Dranwylr said:

I see that using shift to run does enable the step up like copygirls mod, but in that mod just walking would allow this as well.

Thanks for the middle button crawl edit.

Oh i see.
Having normal stepheight while walking is working as intended for my mod though.

You could easily edit it yourself for a personal version however. Its in line 531


                // Stepheight while sprinting
                if (player.Entity.Controls.Sprint)
                {
                    player.Entity.GetBehavior<EntityBehaviorControlledPhysics>().stepHeight = 1.0F;
                }
                else{
                    player.Entity.GetBehavior<EntityBehaviorControlledPhysics>().stepHeight = 0.9F;
                }

Easiest way is to simply set the 0.9 to 1.0F aswell

Edited by Dante
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • Dante changed the title to VS Movement Mod

Version 1.0.3

will have some bugfixes (swim-bug) also i added hotkeys (keybinds) to the ingame config menu. 
At the moment you may rebind the key for entering crawl-mode and standing up again. The other moves dont seem to have other useful binding-options.

Your thoughts on controls / other hotkeys are always welcome

@Cael_Dranwylr
Im going to add a toggle switch for the stepheigth aswell

A possible roadmap for future versions may include:

  • Items (f.e. spiked-climbing boots to lower stamina consumption while bouldering, a glider-like item)
  • more conditional animations
  • swimming improvements
  • cleaner code (its a huge pile of duh tbh 😇) to allow for easier alterations
  • a json configfile
Edited by Dante
Link to comment
Share on other sites

there Is a big issue with this mod. I've found that this mod somehow overwrites the keepInventory world config option making it so that your inventory drops no matter which option you have the world set to.

removing the mod fixed the issue but It could be a conflict as I have many mod installed.

Edited by EtherialMind
Link to comment
Share on other sites

On 7/26/2021 at 1:30 PM, DArkHekRoMaNT said:

Please use patches. Your mod is currently not compatible with any other mod that modifies entities/humanoid/player.json


https://wiki.vintagestory.at/index.php?title=Modding:JSON_Patching

 

v1.0.3 

  • Fixed not being able to leave crawl mode when in water
     
  • Json-patched animations for better compatibility
  • Added editable hotkey for standing up from crawling (default "Space")
  • Added editable hotkey for laying down / enter crawl mode (default sneak + "R")
Edited by Dante
  • Thanks 1
Link to comment
Share on other sites

May you revamp charged jump key binds from "release shift to jump" to "release space to jump"? And options to disable "AutoStep", it's very annoying.

Also, don't press "G" while crawl if you played on server. It's VERY dangerous... 🤣

Безымянный.png

Edited by EreticKB
  • Like 2
Link to comment
Share on other sites

1.0.4 Update will include :

- Added sounds to all movements (dash / climbing / gliding)

- Many bugfixes

  • Fixed getting damage while climbing 
  • Fixed EreticKB's questionable crawl / sit position 🤩 - also other overlapping states of activity
  • Fixed non repeatable backflip animation when too fast
  • Fixed temporal gear bug
  • Fixed _keepinventory bug
  • Fixed overlapping activity-states
  • many more small things i did not keep track of

- Added the glider-funtionality for a future update

  • Actual glider item is not finished yet 
  • Glide through the air by activating your glider (Hotkey "F")
     
  • As the windspeed changes you can fly faster
  • Flying faster means more uplift -> slower falling
  • Flying slower means less uplift -> faste rfalling
  • Falling too fast and crashing results in dmg / death on impact
  • Gliding requires stamina 
Edited by Dante
  • Like 2
Link to comment
Share on other sites

30 minutes ago, Cryptis Midnight said:

Just wondering if you noticed in your videos or if you are aware of the temporal gear being bugged,  I have tested this multiple times and as soon as I enable your mod it disables the gear and has either locked it at full or empty.

I did not yet know of this. My gear seems to still rotate but ill look into it.

Wouldnt know what could possibly cause that behavior though

Link to comment
Share on other sites

ok its looking like a compatibility issue I am going to run test to get it to regularly happen and see if it shows in the logs i will post more when I get ia bit more info.  Just thought i would bring it up since the last video you posted shows the behavior I was noticing.
 image.thumb.png.ba3fe789d5f180527a577f2539098406.png

Edited by Cryptis Midnight
Link to comment
Share on other sites

ok I can confirm that this is at least several things now. That this issue was a bug in 1.0.2 and not there in 1.0.3.  It was still there even after I deleted AppData and it was the only mod installed.  It didn't generate any errors in the logs. Even though 1.0.3 fixed the issue and I should have checked that first, I thought I should share this with you.   If you would like the logs, DM me I will gladly send them. 

Link to comment
Share on other sites

11 hours ago, Cryptis Midnight said:

ok I can confirm that this is at least several things now. That this issue was a bug in 1.0.2 and not there in 1.0.3.  It was still there even after I deleted AppData and it was the only mod installed.  It didn't generate any errors in the logs. Even though 1.0.3 fixed the issue and I should have checked that first, I thought I should share this with you.   If you would like the logs, DM me I will gladly send them. 

For some reason it is bugged in my testworld. In all other worlds i created it works fine

Very weird indeed

Edited by Dante
Link to comment
Share on other sites

Looks good, but m.b. change balance from "Fancy Slowfall" to more aerial?

First: gliding not comsume stamina (m.b. even restore with slower speed).

Second: You consume stamina for different manoeuvres: uplift (change speed for altitude, with risk to lost all your speed and fall hard, also used as airbrake), downlift (change altitude for speed) and turning.

Third: Bigger basic lift power and, therefore, slower descend.

Edited by EreticKB
  • Thanks 1
Link to comment
Share on other sites

18 hours ago, EreticKB said:

Looks good, but m.b. change balance from "Fancy Slowfall" to more aerial?

First: gliding not comsume stamina (m.b. even restore with slower speed).

Second: You consume stamina for different manoeuvres: uplift (change speed for altitude, with risk to lost all your speed and fall hard, also used as airbrake), downlift (change altitude for speed) and turning.

Third: Bigger basic lift power and, therefore, slower descend.


Thanks for your thoughts / feedback ! 🤗

  • It now already considers for lift calculation 😄:
     
    windspeed
    temperature
    surface of the glider
    and shape (drag)


     
  • About the other ideas:
     
  • airbrake / climb-altitude (for speed & stamina) is integrated already ("space")
  • a downlift is built in naturally since you lose lift by going slower ("S")
  • you change speed with your movment vector "asdw-keys"
  • You can fly and therefore gain altitude if your lift-force is bigger than gravity (0.6 FG
  • Gliding at full windspeed (1.5) results in lift of about 0.5 F_L
  • To actually fly you would have to :
     
  • increase the glider surface or
  • increase max speed
  • => F_L > F_G

Drag atm only is a factor when leaning into the wind to gain fast lift

Note:

  • Final version will include an ancient non craftable, very rare "propulsion" module for the highest tier glider
  • Different gliders will have different stamina consumption-values / wingsurfaces 


I most likely will release a 1.0.4 Pre1 version today/tomorrow for testing / feedback 🙃

Edited by Dante
Link to comment
Share on other sites

Absolutely love the mod!
Only one problem I'm experiencing with it: after about fifteen or so minutes or so after using any movement from the mod my framerate steadily tanks until I close the game. Turning the mod off and the game runs without a hitch.

vs version 1.15.3

mod version: 1.0.3

Link to comment
Share on other sites

11 hours ago, DDoip said:

Absolutely love the mod!
Only one problem I'm experiencing with it: after about fifteen or so minutes or so after using any movement from the mod my framerate steadily tanks until I close the game. Turning the mod off and the game runs without a hitch.

vs version 1.15.3

mod version: 1.0.3

I did a playtest for about 2hours and did not encounter this. Do you have any logs / information what could cause this ?

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.