Aller au contenu

Photo

Two hand weapon, one handed?


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
phoenix_crow

phoenix_crow
  • Members
  • 3 messages
Trying to make a talent that lets you weild two handed weapons in one hand. Like how dual weapon mastery lets you use longswords and the like. I haven't been able to figure out how dual weapon mastery works.
So far I have been able to make 2hand into 1hand by changing the bitm_base, but this lets everyone use them as 1hand. Yes, it looks great but it is not what I wan't.

Is there anyway to change bitm_base and only for the person with a talent? If so how?

Modifié par phoenix_crow, 30 novembre 2009 - 05:29 .


#2
phoenix_crow

phoenix_crow
  • Members
  • 3 messages
Nothing?

#3
EJ42

EJ42
  • Members
  • 723 messages
Dual

#4
Ashmaran

Ashmaran
  • Members
  • 52 messages
I had a look and couldn't find where they get around this. I found the passive effect of the Dual Weapon Mastery ability, but it only references the reduced ability cost, not the equipment rule change. I suspect you need to find the script that enforces the equipment rules stated in the 2da, and I bet you will find an exception in there for the dual weapon mastery. Then it would be simple to add in another exception for your new ability.




#5
phoenix_crow

phoenix_crow
  • Members
  • 3 messages
In bitm there are two things that says if a weapon is two handed, main hand, or one hand.

First is the "equipableslots" column; 1 it is two handed, 3 is main hand or one hand, 2 is offhand.

The other is "IsHeavy" column, it is a bit more complicated. If a 3 in "equipablesots" is set to 0 in this column then it will be a one hand weapon, if it is set to 1 it will be a main hand weapon. All main hand weapons will change to one hand with the talent dual weapon mastery (still have yet to figure out how it does so). If a 1 in "equipableslots" is set to 0 or 1 in this column, nothing seems to happen. I have yet to test out offhand, not sure why anyone would want to dual wield shields.

As far as I can tell I need my talent to change the 1's in "equipableslots" to 3's. "IsHeavy" will not matter as my talent can only be picked after getting dual weapon mastery.

I need a bit of help figureing out a script to do so, I have some experiance doing c++ but not enough to figure out how to make this work.

Modifié par phoenix_crow, 30 novembre 2009 - 12:15 .