This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Where are item.dbc columns in 1.12.1 ?  (Read 1700 times)

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
[QUESTION] Where are item.dbc columns in 1.12.1 ?
« 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.wowdev.wiki/index.php?title=Item.dbc , 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 ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION] Where are item.dbc columns in 1.12.1 ?
« Reply #1 on: August 22, 2014, 01:46:55 pm »
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.wowdev.wiki/index.php ... ttachments

do some experiments with this maybe you will find solution.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Where are item.dbc columns in 1.12.1 ?
« Reply #2 on: August 22, 2014, 02:04:38 pm »
The model has nothing to do with that. Prior to item.db2, it was http://wowdev.wiki/index.php?title=ItemCache.wdb, i.e. defined by the server db.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
Re: [QUESTION] Where are item.dbc columns in 1.12.1 ?
« Reply #3 on: August 22, 2014, 03:57:48 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [QUESTION] Where are item.dbc columns in 1.12.1 ?
« Reply #4 on: August 22, 2014, 06:18:41 pm »
" sheath position of some weapons " ?

arent those datas in server side sql script of weapon ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION] Where are item.dbc columns in 1.12.1 ?
« Reply #5 on: August 23, 2014, 06:55:20 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »