Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Patzy on July 13, 2014, 05:16:46 am

Title: [QUESTION] Ranged Weapon on Back 3.3.5
Post by: Patzy on July 13, 2014, 05:16:46 am
Hi, I'd like to know is there is a known way to display sheathed ranged weapons on the charakters back like in MoP in WoW 3.3.5, or if someone has an Idea where I could start looking for a way to make it possible.
Thanks in advance,

Patzy
Title: Re: [QUESTION] Ranged Weapon on Back 3.3.5
Post by: kojak488 on July 13, 2014, 01:24:38 pm
Change the sheathe type from 0 to something else.  I used 2 in this example:

(http://i.imgur.com/RDPWaSv.jpg)

(http://i.imgur.com/pzCxWHL.jpg)

(http://i.imgur.com/0pw2xmb.jpg)
Title: Re: [QUESTION] Ranged Weapon on Back 3.3.5
Post by: Patzy on July 14, 2014, 10:40:18 pm
Nice, thanks, I'll test it :)

Edit:
I tested it, changed Sheath-ID in Item.dbc and in item_template from 0 to 2, but it didn't work, where else should I change it?

Edit2: Worked after deleting Cache, thanks :D
Title: Re: [QUESTION] Ranged Weapon on Back 3.3.5
Post by: Patzy on September 27, 2014, 04:19:04 pm
Hi, it's me again.

I noticed that the ranged weapons on player characters don't display right away, the player has to draw the weapon once to see it, same goes for other players on the server, to see the weapon on the back of another player they have to draw and sheath them nearby to those other players in order for them to have them displayed. I figured out that there is no problem with npc's so I assume it's connected to how the weapon slots are loaded by the client. So far I haven't found a way to fix that issue, and to make the client display all weapon-slots the same way. Any ideas how I could solve this?

Thanks in advance,
Patzy.
Title: Re: [QUESTION] Ranged Weapon on Back 3.3.5
Post by: Amaroth on September 27, 2014, 05:40:06 pm
I did the same on my project a year ago, changed sheath id in item_template and item.dbc... It has 3 bugs:
1) Weapon needs to be drawn and re-sheathed to be shown on players (as was already noted above me).
2) If you carry meelee weapon with the same sheath as ranged weapon has, only 1 is displayed.
3) When you start shooting with auto shot from distance and creature reaches you within meelee range, you still keep ranged weapon in hands during fight (only visual bug). Its pretty funny, when you just start bashing that damned bear with your rifle :D.

I never found solution for any of these 3 and I'm not sure if it is really possible to be entirely fixed. Giving ranged weapon nonzero sheath is just not something what was WoW made for.
Title: Re: [QUESTION] Ranged Weapon on Back 3.3.5
Post by: Ascathos on September 29, 2014, 12:05:24 pm
Quote from: "Amaroth"
I did the same on my project a year ago, changed sheath id in item_template and item.dbc... It has 3 bugs:
1) Weapon needs to be drawn and re-sheathed to be shown on players (as was already noted above me).
2) If you carry meelee weapon with the same sheath as ranged weapon has, only 1 is displayed.
3) When you start shooting with auto shot from distance and creature reaches you within meelee range, you still keep ranged weapon in hands during fight (only visual bug). Its pretty funny, when you just start bashing that damned bear with your rifle :D.

I never found solution for any of these 3 and I'm not sure if it is really possible to be entirely fixed. Giving ranged weapon nonzero sheath is just not something what was WoW made for.
2 is obvious, because attachmentpoints-aligned objects override each other. That's why there is a re-sheath animation in wotlk once you unsheath melee and want to switch to third (ranged) weapon. Weird bugs occure if that wouldn't be done.
3 depends on what sheath you use, if it's a back sheath it should work though. Had no issues with that on my tests. E.g., one-handed sword in left,shield in right hand and bow on back it works.
Title: Re: [QUESTION] Ranged Weapon on Back 3.3.5
Post by: Amaroth on September 29, 2014, 05:22:41 pm
Quote from: "Ascathos"
3 depends on what sheath you use, if it's a back sheath it should work though. Had no issues with that on my tests. E.g., one-handed sword in left,shield in right hand and bow on back it works.
Yep, it depends on used sheath. I use sheath 1 for guns and crossbows. You can guess what happens when my meelee weapon is 2h axe/sword/mace :D. But as I said, it looks too cool to start looking for ways how to fix it :D.