Jump to content

Simple Movement Script


WeGotLondonOnTheTrack

Recommended Posts

Will anyone be able to make a Script that forces the player to stop moving forward during attack animations? For example, a script that sets the players movementspeedmult to 0 while attacking and power attacking. This will result in the player coming to a stop to begin attacking if they were either running or walking.

 

Any help will be greatly appreciated. 👌👌👌👌👌

Link to comment
Share on other sites

I seriously doubt that would work. Doing this via script is very unelegant, inefficient and resource hungry (and as I said, will likely not even work).

 

My estimation is that even with a speedmult of 0 the input for e.g. a forward power attack would still perform the running forward attack animation with the exact same speed. You would need to change the animations. Probably, just replacing the animation with e.g. the standing power attack animation would do the trick.

Link to comment
Share on other sites

I seriously doubt that would work. Doing this via script is very unelegant, inefficient and resource hungry (and as I said, will likely not even work).

 

My estimation is that even with a speedmult of 0 the input for e.g. a forward power attack would still perform the running forward attack animation with the exact same speed. You would need to change the animations. Probably, just replacing the animation with e.g. the standing power attack animation would do the trick.

Isnt there an on attack script or something? Maybe someone could use that.

Edited by HavenKnyte
Link to comment
Share on other sites

I seriously doubt that would work. Doing this via script is very unelegant, inefficient and resource hungry (and as I said, will likely not even work).

 

My estimation is that even with a speedmult of 0 the input for e.g. a forward power attack would still perform the running forward attack animation with the exact same speed. You would need to change the animations. Probably, just replacing the animation with e.g. the standing power attack animation would do the trick.

 

Thanks for replying.

I did replace all attack animations with Dark Souls/Bloodborne type animations. If you were to watch either DarkSouls or Bloodborne, during attack animations the character comes to a stop. The character basically stands in place swings his arms.

My animations are pretty much the same, except during attacks, since the legs aren't animated, it looks as if they're sliding forward. Thats why I need the script, its for a Bloodborne combat overhaul I plan on releasing

Link to comment
Share on other sites

I have no knowledge of neither DarkSouls nor Bloodborne.

 

If the moving forward is not part of the animation, but the character still "slides" forward, then that would be an indication that the moving forward is hardcoded.

 

Again: "Scripting" this does not work, and even if it would, it would be an awful solution.

Link to comment
Share on other sites

I have no knowledge of neither DarkSouls nor Bloodborne.

 

If the moving forward is not part of the animation, but the character still "slides" forward, then that would be an indication that the moving forward is hardcoded.

 

Again: "Scripting" this does not work, and even if it would, it would be an awful solution.

 

If you were to set the characters movementspeedmult to 1 and attack, the character will not move forward. The attack animation will play as they stand there. I think it is possible actually.

 

Using the MovementType in the creationkit I've managed to slow down the forward movement as I attack, resulting in my character slowing down during an attack animation. However, this does not happen immediatley, so is still the problem of the character sliding forward.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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