Skyrim
0 of 0

File information

Last updated

Original upload

Created by

Falconerd

Uploaded by

AnarkyzmA

Virus scan

Safe to use

18 comments

  1. swdemaiden
    swdemaiden
    • member
    • 0 kudos

    • I wan to  Disable jumping when out of stamina,PLEASE
  2. PHANTOMHATE
    PHANTOMHATE
    • supporter
    • 66 kudos
    This works in VR
  3. mfvicli
    mfvicli
    • premium
    • 105 kudos
    Works on SE. Thanks!
  4. DEEJMASTER333
    DEEJMASTER333
    • premium
    • 241 kudos
    Here is a mod for SE that makes jumping use stamina. 

    https://www.nexusmods.com/skyrimspecialedition/mods/41953
  5. SojournerOne
    SojournerOne
    • supporter
    • 2 kudos


    Pressing the jump button while the character is busy with another action still expends stamina points. Accidentally double tapping jump will cause double the stamina amount lost as well as pressing jump while in mid swing of a weapon. Is it possible to get a fix for this?


     
    There may be a way to make the script:
    Spoiler:  
    Show


    scriptName JumpingUsesStaminaMCM extends SKI_ConfigBase
     
    ;-- Properties --------------------------------------
     
    ;-- Variables ---------------------------------------
    Int costFixed = 30
    Bool percent = false
    Int costPercent = 20
    Bool jumping = false
    Bool modEnabled = true
     
    ;-- Functions ---------------------------------------
     
    function OnControlUp(String control, Float time)
     
    if control == "Jump"
    jumping = false
    endIf
    endFunction
     
    function OnPageReset(String page)
     
    self.AddToggleOptionST("ENABLED", "ENABLED", modEnabled, 0)
    self.AddSliderOptionST("COST_FIXED", "Stamina Cost", costFixed as Float, "{0}", 0)
    self.AddToggleOptionST("percent", "Percentage", percent, 0)
    self.AddSliderOptionST("COST_PERCENT", "Stamina Cost (%)", costPercent as Float, "{0}", 0)
    endFunction
     
    function OnVersionUpdate(Int version)
     
    Pages = new String[1]
    Pages[0] = "$General"
    endFunction
     
    function OnControlDown(String control)
     
    if control == "Jump" && !jumping
    jumping = true
    if percent
    Float stam = game.GetPlayer().GetBaseActorValue("stamina")
    Float factor = costPercent as Float / 100 as Float
    Float cost = stam * factor
    game.GetPlayer().DamageAV("stamina", cost)
    else
    game.GetPlayer().DamageAV("stamina", costFixed as Float)
    endIf
    endIf
    endFunction
     
    function OnConfigInit()
     
    self.RegisterForControl("Jump")
    endFunction
     
    Int function GetVersion()
     
    return 1
    endFunction
     
    ;-- State -------------------------------------------
    state COST_FIXED
     
    function OnSliderAcceptST(Float value)
     
    costFixed = value as Int
    self.SetSliderOptionValueST(costFixed as Float, "{0}", false, "")
    endFunction
     
    function OnSliderOpenST()
     
    self.SetSliderDialogStartValue(costFixed as Float)
    self.SetSliderDialogDefaultValue(30 as Float)
    self.SetSliderDialogRange(0 as Float, 200 as Float)
    self.SetSliderDialogInterval(1 as Float)
    endFunction
     
    function OnDefaultST()
     
    costFixed = 30
    self.SetSliderOptionValueST(costFixed as Float, "{0}", false, "")
    endFunction
     
    function OnHighlightST()
     
    self.SetInfoText("Fixed stamina cost of jumping.")
    endFunction
    endState
     
    ;-- State -------------------------------------------
    state percent
     
    function OnSelectST()
     
    percent = !percent
    self.SetToggleOptionValueST(percent, false, "")
    endFunction
     
    function OnDefaultST()
     
    percent = false
    self.SetToggleOptionValueST(percent, false, "")
    endFunction
     
    function OnHighlightST()
     
    self.SetInfoText("Whether jumping cost should be percentage based.")
    endFunction
    endState
     
    ;-- State -------------------------------------------
    state COST_PERCENT
     
    function OnSliderAcceptST(Float value)
     
    costPercent = value as Int
    self.SetSliderOptionValueST(costPercent as Float, "{0}", false, "")
    endFunction
     
    function OnSliderOpenST()
     
    self.SetSliderDialogStartValue(costPercent as Float)
    self.SetSliderDialogDefaultValue(20 as Float)
    self.SetSliderDialogRange(0 as Float, 100 as Float)
    self.SetSliderDialogInterval(1 as Float)
    endFunction
     
    function OnDefaultST()
     
    costPercent = 20
    self.SetSliderOptionValueST(costPercent as Float, "{0}", false, "")
    endFunction
     
    function OnHighlightST()
     
    self.SetInfoText("Percent based stamina cost of jumping.")
    endFunction
    endState
     
    ;-- State -------------------------------------------
    state ENABLED
     
    function OnSelectST()
     
    modEnabled = !modEnabled
    self.SetToggleOptionValueST(modEnabled, false, "")
    if modEnabled == true
    self.RegisterForControl("Jump")
    else
    self.UnregisterForControl("Jump")
    endIf
    endFunction
     
    function OnDefaultST()
     
    modEnabled = true
    self.SetToggleOptionValueST(modEnabled, false, "")
    endFunction
     
    function OnHighlightST()
     
    self.SetInfoText("Whether jumping should cost stamina.")
    endFunction
    endState


    trigger the Stamina damage on a RegisterForAnimation function instead of RegisterForControl("Jump"). I don't know enough about the CK to determine where the jumping animations are to get their names, and I'm busy with CACO, Cardio SE, Campfire, Bandolier, Scrolling Speed tweaking at the moment. This is eventually something I hope to get around to figuring out, though.
  6. stackofbeef
    stackofbeef
    • supporter
    • 7 kudos
    Now, we have no mods in SE that makes you lose stamina as you jump. I absolutely need this.
    1. SojournerOne
      SojournerOne
      • supporter
      • 2 kudos
      You can port this, just install the ESP manually then select it as active file in the CK, save it, quit CK, check ESP header for form number 44 in SSEEdit, archive it all back up and throw it into your mod manager and reinstall.
  7. heaud
    heaud
    • member
    • 3 kudos
    Pressing the jump button while the character is busy with another action still expends stamina points. Accidentally double tapping jump will cause double the stamina amount lost as well as pressing jump while in mid swing of a weapon. Is it possible to get a fix for this?
    1. badluckartist
      badluckartist
      • member
      • 7 kudos
      Oof will track until that's fixed. I mash buttons; don't wanna be charged stamina until the action is taken.
  8. inkwhiz888
    inkwhiz888
    • member
    • 5 kudos
    hmm, charging stamina just for the same measly little jump? a jumping charge?

    How about this then?

    A charged jump, that operates by holding the jump button down, draining stamina until the button is released and the longer you hold the button the higher you jump but only so high as you can fall with out being injured by the landing.

    That's my basic idea for how it could work in Skyrim and by holding down the jump button, it should work just as well for people using game pads.

  9. dabrienni
    dabrienni
    • premium
    • 4 kudos
    As said, this should have shipped with the game. Thank you kindly.
  10. AdventureCat
    AdventureCat
    • member
    • 12 kudos
    Thank you very much for this. It always bothered me that it wasn't in the game normally.