PDA

View Full Version : NPC Weapons


jdam7459
04-13-2008, 09:39 PM
Just changed thread realquick to make it searchable...

Here's my NPC weapon code...newest build of EQEmu

loottable_entries

loottable_id: 90000 / lootdrop_id: 90000 / multiplier: 1 / probability: 100


loottable

id: 90000 / name: Guard / mincash: 0 / maxcash: 0 / avgcoin: 0


lootdrop

id: 90000/ name: Guard


lootdrop_entries

lootdrop_id: 90000 / item_id: 86956 / item_charges: 1 / equip_item: 1 / probability: 100


npc_types

loottable_id: 90000


If you see why the weapon is not showing on my guards lemme know, I'm either stumped or to too tired to see it lol...Thanks again

ChaosSlayer
04-13-2008, 10:10 PM
the data seem OK.
does the guard drop the weapon when killed?
oh yeah, if you just set up the loot tables - good thing is to restart the server

moydock
04-13-2008, 10:32 PM
Did you set the loottable_id in npc_types on the guard?

jdam7459
04-13-2008, 10:55 PM
1. Yes, I have restarted the server.

2. Yes, they do drop them.

3. Yes, npc_type loottable_id is 90000

Would anything else affect it, race, bodytype, etc.?

moydock
04-13-2008, 11:06 PM
Only thing I can think of is the d_mele_texture1 and 2 should be set to 0. If not that... Try it on a different npc, or it could be that it's just broken in the latest release.

jdam7459
04-13-2008, 11:35 PM
Must be busted everything is in order...