Jump to content

SEARCH: Shield charge fix/mod


Recommended Posts

Posted

Hey!

I love the shield charge in Skyrim but after a while it stops working (randomly). So I have to reset the skill with help of a black book or the console commands. This sucks.
There are many threads in the web but no real fix or mod that fixes this annoying bug.

Exist any fix or mod or is it possible to create one?

? How could it work?
Every time you equip a shield or weapon do this:

player.removeperk 0058F6A
player.addperk 0058F6A


(this makes only sense if you already have this skill in your current savegame)

I'd really like to see a solution. ?

Posted (edited)

If by stops working you mean it no longer pushes characters, then that's probably because of Papyrus overload as the effect is using a script. Grab Papyrus Tweaks, disable all other fixes but set iMaxOpsPerFrame to a higher number than the default 500 and see if the problem goes away. If it solves the problem, consider instead lightening the load on Papyrus instead of continuing using Papyrus Tweaks. I have my maxops value set to 1500 and I wouldn't recommend a value below it as of right now; but increasing it for the wrong reasons could just be sweeping another problem under the rug - a problem that perhaps should be fixed properly.

 

Edit: If its a Papyrus problem, I imagine this would reveal it.

Edited by traison
Posted
23 hours ago, traison said:

If by stops working you mean it no longer pushes characters, then that's probably because of Papyrus overload as the effect is using a script. Grab Papyrus Tweaks, disable all other fixes but set iMaxOpsPerFrame to a higher number than the default 500 and see if the problem goes away. If it solves the problem, consider instead lightening the load on Papyrus instead of continuing using Papyrus Tweaks. I have my maxops value set to 1500 and I wouldn't recommend a value below it as of right now; but increasing it for the wrong reasons could just be sweeping another problem under the rug - a problem that perhaps should be fixed properly.

 

Edit: If its a Papyrus problem, I imagine this would reveal it.


That sounds very interesting. I will try this when my PC is back again.

And yes, I'm talking about the action that pushes the enemies. Running while holding up the shield is still possible but the effect does not trigger.

  • 4 months later...
Posted
On 12/12/2023 at 8:02 PM, traison said:

If by stops working you mean it no longer pushes characters, then that's probably because of Papyrus overload as the effect is using a script. Grab Papyrus Tweaks, disable all other fixes but set iMaxOpsPerFrame to a higher number than the default 500 and see if the problem goes away. If it solves the problem, consider instead lightening the load on Papyrus instead of continuing using Papyrus Tweaks. I have my maxops value set to 1500 and I wouldn't recommend a value below it as of right now; but increasing it for the wrong reasons could just be sweeping another problem under the rug - a problem that perhaps should be fixed properly.

 

Edit: If its a Papyrus problem, I imagine this would reveal it.


I have an interesting solution but I'd like to optimize.

It's possible to use batch files with help of the console. So I made a "shield.txt" that looks like this:
 

player.removeperk 0058F6A

player.addperk 0058F6A


Now you can type bat shield in the console.
The problem is that both commands are displayed correctly in the console window but the game doesn't add the perk. When I check the skill tree for blocking, there is no perk given.

When I create two text-files "shield1.txt" & "shield2.txt" with the remove command in 1 and the add command in 2 it works but I have to call both batch files in the console.
Now I'm asking myself why my first batch doesn't work. Maby it needs a delay between both commands but idk how to do that. 🤔

Posted
6 hours ago, Bayman said:

I have an interesting solution

 

This workaround is on the UESP wiki as well.

 

6 hours ago, Bayman said:

When I check the skill tree for blocking, there is no perk given.

 

Also test with hasperk.

 

6 hours ago, Bayman said:

Now I'm asking myself why my first batch doesn't work.

 

In some testing I did long ago it seemed this workaround only works sometimes, as in, you'd have to run that bat a few times and it eventually "sticks". So this kind of smells like a race condition.

 

7 hours ago, Bayman said:

Maby it needs a delay between both commands

 

That is the common, easy and dirty workaround for any race condition - a workaround that will always come back and bite you in the ass later.

 

7 hours ago, Bayman said:

but idk how to do that.

 

Convert your bat to a spell and cast it on yourself. Papyrus has methods to pause execution, and you may even be able to avoid the race condition entirely if you can figure out how to detect it.

Posted
On 5/11/2024 at 11:19 AM, traison said:

Convert your bat to a spell and cast it on yourself. Papyrus has methods to pause execution, and you may even be able to avoid the race condition entirely if you can figure out how to detect it.


Thanks for your detailed answer! :)
This sounds very interesting but I have to check how to do that. 😛

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...