Jump to content

Need Help With Manual Blocking Code


Recommended Posts

Hey guys, I've recently made a mod for Manual Blocking in BaseJA using the +Block command, but I'm thinking about editing some code.

These are the things I want to do:

 

  • Make Swinging take Force Energy
  • Make Kicking take a lot of Force Energy (possibly all energy)
  • Make Running gradually take Force Energy, you must walk.
  • Make Blocking give you Force Energy
  • If you don't have enough Force Energy, you can't swing, you must block
  • If possible, I also want NPCs to block sometimes
  • Maybe make g_autoblocking and +block work for Multiplayer
  • If possible, maybe make it so that these things only happen if g_autoblocking is set to 0

I'm attempting to learn how to code at the moment. For now, I just want to know how to do something like this and be pointed in the right direction. Obviously, this is inspired by MBII, but it is clearly different, too. I don't even know if I have everything installed in the right place or anything, so there's probably gonna be some errors.

 

If it's somehow possible to just do this with a script instead of code, than that'll be even better (I honestly have no idea how to do either.)

Langerd and Smoo like this
Link to comment
  • 3 weeks later...

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
×
×
  • Create New...