Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Tompoolk on September 22, 2015, 07:41:18 pm

Title: Visible Fist Weapons.
Post by: Tompoolk on September 22, 2015, 07:41:18 pm
As the title suggests I was wondering if it was possible to have fist weapons not be sheathed at all, even when other items are. Any ideas?
Title: Re: Visible Fist Weapons.
Post by: Amaroth on September 22, 2015, 08:22:21 pm
Sheath ID in item_template and item.dbc - put 1h sheath there.

Thats all you need. But I can't guarantee that it will look good.
Title: Re: Visible Fist Weapons.
Post by: Ascathos on September 23, 2015, 01:54:43 pm
Quote from: "Amaroth"
Sheath ID in item_template and item.dbc - put 1h sheath there.

Thats all you need. But I can't guarantee that it will look good.
Additionally, this should give a rough overview
http://collab.kpsn.org/display/tc/item_ ... ate-sheath (http://collab.kpsn.org/display/tc/item_template#item_template-sheath" onclick="window.open(this.href);return false;)
Title: Re: Visible Fist Weapons.
Post by: Смердокрыл on October 02, 2015, 01:52:07 pm
Regarding the topic: is it possible to make the server recognize a value (e.g. 7) that would make the weapon always unsheathed?
Title: Re: Visible Fist Weapons.
Post by: Ascathos on October 03, 2015, 01:51:40 am
Quote from: "Смердокрыл"
Regarding the topic: is it possible to make the server recognize a value (e.g. 7) that would make the weapon always unsheathed?
Good question for a change. I doubt so, expect if you tinker with the animdata.dbc a bit. However, you can not entirely disable sheathing. Maybe an addon that disables that ?

EDIT: It is handled serverwise if weapon is sheathed or unsheathed.
Maybe add a function into ::Update that updates sheath to SetSheath(SHEATH_STATE_MELEE) frequently ?
Title: Re: Visible Fist Weapons.
Post by: Смердокрыл on October 03, 2015, 10:20:09 am
Oh, I also heard theres a parameter in every spell that states the position of weapons during the spell. Maybe, create an invisible aura, applied on equip, that would force the weapon to be always unsheathed?
Title: Re: Visible Fist Weapons.
Post by: kojak488 on October 03, 2015, 04:31:31 pm
Quote from: "Смердокрыл"
Oh, I also heard theres a parameter in every spell that states the position of weapons during the spell. Maybe, create an invisible aura, applied on equip, that would force the weapon to be always unsheathed?

Winner winner chicken dinner to an extent.  This is mostly how I'd accomplish it.  Though I'd use spell visuals rather than the position of weapons during a spell.
Title: Re: Visible Fist Weapons.
Post by: Смердокрыл on October 03, 2015, 07:56:04 pm
Quote from: "kojak488"
Though I'd use spell visuals rather than the position of weapons during a spell.
But then you'd have to create a different spell for every fist weapon, wouldnt you?
Title: Re: Visible Fist Weapons.
Post by: Ascathos on October 04, 2015, 12:30:31 am
Quote from: "Смердокрыл"
Quote from: "kojak488"
Though I'd use spell visuals rather than the position of weapons during a spell.
But then you'd have to create a different spell for every fist weapon, wouldnt you?
Doubt so, the spell just flags for 'unsheathed', not for the specific position iirc.
Title: Re: Visible Fist Weapons.
Post by: Amaroth on October 04, 2015, 09:30:59 am
That flag determines whether sheathed or unsheathed animation is used for casting a spell. I also doubt it would work for some spam passive while running, standing and so on. It seems to me that core is the only option you have and I am not even sure if that can work without any more or less random glitches.
Title: Re: Visible Fist Weapons.
Post by: kojak488 on October 04, 2015, 11:05:26 pm
Quote from: "Amaroth"
That flag determines whether sheathed or unsheathed animation is used for casting a spell. I also doubt it would work for some spam passive while running, standing and so on. It seems to me that core is the only option you have and I am not even sure if that can work without any more or less random glitches.

I just told you that it can be done via spell visuals rather than sheathe flags/weapon positions.  Certainly there is no need for core changes.  Then again I also know the spell.dbc and its associations better than 99% of you.  So maybe YOU could only do it via core edits, but it's easily accomplished with relatively simple dbc additions.

Quote from: "Смердокрыл"
Quote from: "kojak488"
Though I'd use spell visuals rather than the position of weapons during a spell.
But then you'd have to create a different spell for every fist weapon, wouldnt you?

Different models, yes.  Not necessarily every different fist weapon.  But fuck, could script it and have EVERY weapon model done in 10 minutes (basically the time to write the script).  So that makes no difference.
Title: Re: Visible Fist Weapons.
Post by: Amaroth on October 05, 2015, 09:40:57 am
That I doubt it will work flawlessly doesn't mean he should not try it nor that I have tryed it and it didn't work for me. So chill your arrogance.