[Ascent/SQL Editing] How to add a weapon/shield/armor to a NPC? menu

User Tag List

Results 1 to 12 of 12
  1. #1
    earthful's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Ascent/SQL Editing] How to add a weapon/shield/armor to a NPC?

    Hello everyone,

    I've used search button but nothing came up... also I tried using google but nothing helpful came up.

    Here is my question "How can I add a weapon/shield/armor to a NPC/Creature in an Ascent server?". I need to know how the following columns to work.

    Database --> creature_proto --> equipmodel1, equipinfo1, and equipslot1

    Basically, I do know that equipmodel1 is the weapon display ID, but rest of them... I know nothing. If anyone can answer me or direct me to a thread that is 100% helpful then I'll +Rep you.
    Last edited by earthful; 03-24-2010 at 10:12 PM.

    [Ascent/SQL Editing] How to add a weapon/shield/armor to a NPC?
  2. #2
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tag your threads. Read the sticky.
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  3. #3
    earthful's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by The-Eradicator View Post
    Tag your threads. Read the sticky.
    Tagged

    10char

  4. #4
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    EquipInfo = How it sheaths i would presume.
    EquipSlot = Where it goes, such as shield weapon etc




  5. #5
    earthful's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kiev View Post
    EquipInfo = How it sheaths i would presume.
    EquipSlot = Where it goes, such as shield weapon etc
    If what you said is correct, then how do I know which values to enter in the database for correct sheathing and item slot?

    Thanks for helping me out so far

  6. #6
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    It's far easier to do this in game imo, then look at how the database has changed so that you understand how it works.

    .npc equip1 itemid // Item held in left hand
    .npc equip2 itemid // Item held in right hand
    .npc equip3 itemid // bow/gun etc, 3rd slot

    .mod bytes2 0 // makes all weapons sheathed
    .mod bytes2 1 // makes any items in hands unsheathed
    .mod bytes2 2 // makes any items in slot 3 unsheathed

    Good luck.

  7. #7
    earthful's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    It's far easier to do this in game imo, then look at how the database has changed so that you understand how it works.

    .npc equip1 itemid // Item held in left hand
    .npc equip2 itemid // Item held in right hand
    .npc equip3 itemid // bow/gun etc, 3rd slot

    .mod bytes2 0 // makes all weapons sheathed
    .mod bytes2 1 // makes any items in hands unsheathed
    .mod bytes2 2 // makes any items in slot 3 unsheathed

    Good luck.
    I've tried that, I think its not supported on a 2.4.3 server

  8. #8
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by earthful View Post
    I've tried that, I think its not supported on a 2.4.3 server
    Ah that explains a lot... You should have said.
    In that case I believe you add the displayid of the item into the correct column in creature_proto, then reload + respawn npc... Might be wrong though.

  9. #9
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If that dont work (Im not sure if this was 2.4.3), but go to creature_spawns, then find the spawn ID (Can get it from .npc info), and there might be a column in it in there.




  10. #10
    earthful's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Ah that explains a lot... You should have said.
    In that case I believe you add the displayid of the item into the correct column in creature_proto, then reload + respawn npc... Might be wrong though.
    Can you read the main post again, you only answered one part of my question.

    I'm still wondering how I know equipinfo1, and equipslot1 works?

  11. #11
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look at previous mobs with this already done, then take a look at where there weapons are held, then copy that over .

    I dont think there is a list for this one laying around.




  12. #12
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by earthful View Post
    Can you read the main post again, you only answered one part of my question.

    I'm still wondering how I know equipinfo1, and equipslot1 works?

    I didn't answer this because I didn't know, as I have said:


    Originally Posted by stoneharry
    It's far easier to do this in game imo, then look at how the database has changed so that you understand how it works


Similar Threads

  1. How to find item, weapon, and armor ids from model viewer
    By J-A-K-E in forum World of Warcraft Guides
    Replies: 9
    Last Post: 03-09-2016, 10:10 PM
  2. [SQL Question] How to add S5 and T7 to 2.4.3?
    By damar in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 03-14-2010, 10:50 PM
  3. How to add a weapon from wow-v [ASCENT]
    By brandonrulz1 in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 11-28-2008, 05:00 PM
  4. [Noobs guide] How to add working weapons to NPC's/Creatures
    By Iceknight001 in forum WoW EMU Guides & Tutorials
    Replies: 15
    Last Post: 05-18-2008, 06:49 AM
  5. [ASCENT] How to add a weapon on an NPC ?
    By Drakenof in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 04-10-2008, 11:10 AM
All times are GMT -5. The time now is 05:32 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search