#Making an ER weapon that can only be two-handed

19 messages · Page 1 of 1 (latest)

pulsar jacinth
#

My plan is to make a weapon that's just a literal boulder -- and you can't very well one-hand a boulder. I know bows are typically two-handed only (except when on horseback), but idk if it'd be best to build off of one of those -- if there's some parameter that makes it two-handed only, don't I just need to find that?

Any help in this matter would be greatly appreciated!

hollow tide
#

Actually you can

#

If you make your own idle tae and stuff

#

You can always make one handed be a two handed animation

radiant ridge
#

You could also edit the c0000.hks and force your weapon to be two-handed when an one-handed attack is requested.
For this to work you have to:

  1. make an unique tae for your weapon, that you put in Special Motion Category in the weapon's params
  2. edit the c0000.hks to check if the player is holding a weapon with the Special Motion Category and if they are currently one-handing it. Then if both of these are true force the player to two-hand the weapon
#

The tae you have to make yourself, so that it best fits your moveset needs, but I can help you with c0000.hks

#

first add these two lines near the start of GetAttackRequest function. These will assign the Special Motion Category of your right and left hand weapons to variables (I highlighted the code you have to add in red boxes)

#

Then put this elseif (shown in red box) at the R1 part of GetAttackRequest. It should be close to where you defined the variables from before

#

One small note. I wrote "or sp_kind_right == 211" as an example. Instead of 211 you need to write your Special Motion Category tae id

#

Afterwards edit the R2 block, which is under the R1 block from before

#

And finally the L1 block (which is right under R2 block). Here make sure the variable you are comparing is sp_kind_left

#

This approach will NOT work for jump attacks - I don't know how to edit these in c0000.hks. Maybe someone more experienced than me can help you with that

little hinge
#

Wouldn't it be easier to check for the tae and if that is true and hand style is onehanded, trigger a swap to two handed? Probably able to force that with a ExecEvent

radiant ridge
#

It depends on what OP prefers. Your approach will force the weapon to be two handed when it is equipped and my still allows to one hand it to use something in the left hand and forces two hand when trying to do one handed attacks (just like a bow)

#

Though I agree, that yours would be much simpler than mine

pulsar jacinth
#

agh shit, I forgot to check this thread -- so sorry

#

Thank you all for your support!

#

oh jeez, I think I'm in over my head though

#

I'll take all of this under advisement, and see what I can do, if I go forward with it sooner rather than later. ty again