Help to fix this weapon

Users who are viewing this thread

HardCode

Master Knight
Here is an item tuple, which started as a copy of the Native Bastard Sword tuple. I want the Long Mace to be One-Handed/Two-Handed. I am using Talak's Long Mace for the mesh or whatever you call it. The problem is, the weapon will do a stabbing animation every now and then, dealing no damage. I want the weapon to only swing and not stab, but I don't know what to do to fix it. I tried changing the thrust damage to 0 pierce, but that doesn't do it.

Code:
["talak_long_mace", "Long Mace", [("talak_long_mace",0)], 
    itp_type_two_handed_wpn|
        itp_merchandise|
        itp_primary,
    itc_bastardsword|
        itcf_carry_sword_back, 
    294 , 
    weight(2.25)|
        difficulty(9)|
        spd_rtng(98)|
        weapon_length(120)|
        swing_damage(35, blunt)|
        thrust_damage(0,  blunt),
    imodbits_mace
],
 
the problem is the itc_bastardsword.  it's defined as:

itc_bastardsword = itc_cut_two_handed |  itcf_thrust_twohanded | itc_parry_two_handed |itc_dagger

The itc_dagger (and the itcf_thrust_twohanded) has the thrust animations turned on in it, but you need the 1 handed animations tied to it as well

Anyway, I would have the first flags as:

itp_type_two_handed_wpn| itp_two_handed|itp_primary|itp_merchandise


For the second flag, you could make up a new itc in the header, but not sure if that would hold right.  It should since it's just like a constants list, but I would use these flags:
itc_cut_two_handed | itc_parry_two_handed | itcf_overswing_onehanded|itcf_slashright_onehanded|itcf_slashleft_onehanded | itcf_horseback_slashright_onehanded|itcf_horseback_slashleft_onehanded

Ya kind of long, and that's why i'd try and make my own itc_multi_hand_mace or what ever.  It doesn't matter what you set the damage at, these control the swing types.



 
jik said:
the problem is the itc_bastardsword.  it's defined as:

itc_bastardsword = itc_cut_two_handed |  itcf_thrust_twohanded | itc_parry_two_handed |itc_dagger

The itc_dagger (and the itcf_thrust_twohanded) has the thrust animations turned on in it, but you need the 1 handed animations tied to it as well

Anyway, I would have the first flags as:

itp_type_two_handed_wpn| itp_two_handed|itp_primary|itp_merchandise


For the second flag, you could make up a new itc in the header, but not sure if that would hold right.  It should since it's just like a constants list, but I would use these flags:
itc_cut_two_handed | itc_parry_two_handed | itcf_overswing_onehanded|itcf_slashright_onehanded|itcf_slashleft_onehanded | itcf_horseback_slashright_onehanded|itcf_horseback_slashleft_onehanded

Ya kind of long, and that's why i'd try and make my own itc_multi_hand_mace or what ever.  It doesn't matter what you set the damage at, these control the swing types.

Damnit :D you got before me
 
All I would change in Hardcode code is itc_bastardsword (which has thrust animation) to itc_scimitar (which has no thrust animation and is used for all maces in native). No added animation compare to other maces/clubs/hammers (swing only weapons). itp_type_two_handed_wpn will make it hand and a half while itp_type_two_handed_wpn|itp_two_handed will make it 2hand.

Code:
["talak_long_mace", "Long Mace", [("talak_long_mace",0)], 
    itp_type_two_handed_wpn|
        itp_merchandise|
        itp_primary,
    itc_scimitar|
        itcf_carry_sword_back, 
    294 , 
    weight(2.25)|
        difficulty(9)|
        spd_rtng(98)|
        weapon_length(120)|
        swing_damage(35, blunt)|
        thrust_damage(0,  blunt),
    imodbits_mace
],
 
Thanks guys! Even though SPD_Phoenix's answer is the quickest, jik helped everything make sense from a higher level. I always wondered what drove the animations.
 
Actually, making the weapon itc_scimitar will make the on-foot animation, without a shield, be one-handed. I'll have to create my own using jik's method.
 
I'd go with jik's solution too.
Just because it's more controlled that way. This way, the surprises are limited.

I've looked (loosely) for some kind of solution like this.
I'm trying to make my baseball bats two and one handed.
 
Back
Top Bottom