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] NPC - Weapon  (Read 1122 times)

Mbites

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
[QUESTION] NPC - Weapon
« on: May 08, 2014, 04:38:43 pm »
Hey Guys, first im going to say that my english is not that good as yours. (I'm from Austria)
My problem is that my npcs doesn't wear weapons. And in my (Trinity) Database is no equipment ID in creature_template. Would be nice when anybody can help me.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Romzarah

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 62
    • View Profile
Re: [QUESTION] NPC - Weapon
« Reply #1 on: May 08, 2014, 04:52:11 pm »
Your equipment_id column should be the 5th one from the end of the line.. I have found that some things don't show up like bows and I have tried 5 or 6 ids found on npcs with bow ids.

Are you using ids from existing npcs? Or are you using display ids from items in the item_template?

You should only use ids from existing npcs.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mbites

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
Re: [QUESTION] NPC - Weapon
« Reply #2 on: May 08, 2014, 06:38:49 pm »
No in my creature_template is no equip_id.I will post screenshots but i have no time now.

And i think you mean with the Display IDS and the npc ids , the entrys in my creature_equip_template?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Romzarah

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 62
    • View Profile
Re: [QUESTION] NPC - Weapon
« Reply #3 on: May 09, 2014, 02:08:40 am »
I use MySQLYog to edit a lot of things, if you are using another program maybe you should look into MySQLYog.

I create NPCs all the time and add the weapon equipment that they will be holding..

creature_template  go all the way to the last column on the line of the NPC you want to add the id number and count back 5 columns to the equipment_id column.

Also I am working on a 3.3.5 core trinity.. Other cores you will have to ask for that cores info.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Hederick

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: [QUESTION] NPC - Weapon
« Reply #4 on: May 27, 2014, 07:48:54 pm »
At the latest revisions of TC equipment_id no longer exists in creature_template.

U have to set in your creature_equip_template this parameters:

entry: the ID of your creature in creature_template

ID: 1,2,3... It depends if u want your creature to have multiple weapon sets to swap them later. Just leave it like 1 if u want your creature just to have one equipment.

ItemEntry 1: Right hand. These ones are pretty self explanatory, u have to insert here the ID of the weapon, NOT the display ID.
ItemEntry 2: Left hand.
ItemEntry 3: Ranged weapon.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »