Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2015, 03:12 PM
Soak
Sarnak
 
Join Date: Mar 2015
Posts: 33
Default

Adding weapons to NPCs - I have found it easiest to use EOC. Search the NPC by name (or pull up the zone). Then click the green "Edit NPC" icon to the left of the NPC name. Simply search and click the item you want want their right and left hands.
Reply With Quote
  #2  
Old 09-19-2015, 04:09 PM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

If the weapon held is not just a graphic and it is something you will/can loot you can easily change the DB. The table `lootdrop_entries` has a column called `equip_item`. The value 1 is on and will make the npc wield a weapon or equip armor.

A query could be written to equip anything that is equippable by joining items and loottable_entries. I haven't done this but know it's possible.
Reply With Quote
  #3  
Old 09-19-2015, 04:21 PM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

Quote:
Originally Posted by Soak View Post
Adding weapons to NPCs - I have found it easiest to use EOC. Search the NPC by name (or pull up the zone). Then click the green "Edit NPC" icon to the left of the NPC name. Simply search and click the item you want want their right and left hands.
Where would one find this EOC? I searched on this forum but it returned nothing.

NVm found it:P Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:27 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3