Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: spik96 on August 22, 2014, 09:34:43 am
-
Hi !
This question is really bugging me. I wanted to change the sheath position of some weapons If you look at http://www.pxr.dk/wowdev/wiki/index.php?title=Item.dbc (http://www.pxr.dk/wowdev/wiki/index.php?title=Item.dbc" onclick="window.open(this.href);return false;) , you can clearly see that item.dbc is where the IDs I'm looking for are. However, the item.DBC file doesn't to appear anywhere in the 1.12.1 files.
So where will the game see if a weapon has to be placed on the back ? I don't know.
Has anyone an idea ?
-
There is no item.dbc in 1.12, i think sheath positions are described in m2 file. For example if you want have a sword which is always shown at the belt, to show on the back, You should change attachment section ( change to proper id, bone, and shown xyz coord).
wowdev explains it:
http://www.pxr.dk/wowdev/wiki/index.php ... ttachments (http://www.pxr.dk/wowdev/wiki/index.php?title=M2#Attachments" onclick="window.open(this.href);return false;)
do some experiments with this maybe you will find solution.
-
The model has nothing to do with that. Prior to item.db2, it was http://pxr.dk/wowdev/wiki/index.php?title=ItemCache.wdb (http://pxr.dk/wowdev/wiki/index.php?title=ItemCache.wdb" onclick="window.open(this.href);return false;), i.e. defined by the server db.
-
As I'm not looking to make serverside stuff (only "improving" 1.12.1 and keeping it compatible with every vanilla server), I guess I can give up this idea. Thread completed, thank you = )
EDIT : Or I can make a Cache... but I prefer good ol' mpqs. Bah, I will think about it, but changing sheathed weapons positions is really a minor detail.
-
" sheath position of some weapons " ?
arent those datas in server side sql script of weapon ?
-
yes , in creature_addon or creature_template_addon b2_0_sheath column, there are 3 options.
b2_0_sheath:
Visual effects the creature.
0 = STATE_UNARMED (no prepared weapons)
1 = STATE_MELEE (prepared melee weapon)
2 = STATE_RANGED (prepared ranged weapons)
But im not sure if all kind of items can be displayed at belt or back interchangeably? For example 1 hand sword at back, or bow at belt.