Welcome to AC Web.
Results 1 to 12 of 12
  1. #1
    Light of the Crusade

    Join Date
    Dec 2010
    Location
    www.TheForgottenCrusade.net
    Posts
    1,009

    Cool Add spells to creatures - 6 easy steps (Only from DB)


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    This guide will provide a walk-through on how to add spells, functions or features (or better yet, all 3!) to any creature of your choice (boss, mobs, guards, etc.)
    Let's get right to it!



    Step 1: Navigate your way to `world` DB, smart_scripts table

    Step 2: Find a spell you want to use.
    OR, if you don't know the spell, look for the NPC that uses the spells, functions, or features that you would like to use/add.
    -> Sample ID: 6,552 (Gorishi Worker - NPC)
    (There might exist several rows for the same ID)
    Navigate to the right of the `smart_scripts` table and look for the 'comment' column. In our example: there exists 2 rows for our Sample ID (6,552) and at the end, 'comment' column we have: "Gorishi Worker - In Combat - Cast 'Silithid Pox'"
    and: "Gorishi Worker - Between 0-30% Health - Call For Help (No Repeat)"

    Step 3: Right click on the row of the spell that you want to use -> duplicate row
    (You can do that for multiple spells of your choice)

    Step 4: Type in the ID of your custom mob.
    -> Sample ID: 500,000 (your_custom_creature_id)
    (optional): Make any necessary edits of your choice.
    TrinityCore `smart_scripts` wiki - for further information on the table functions:
    https://trinitycore.atlassian.net/wi.../smart+scripts

    Step 5: Go to `creature_template` -> navigate to "your_custom_creature_id"; in this case: ID = 500,000.

    Step 6: Find `AIName` column, and type "SmartAI" in that row.


    That's it! You're done! enjoy your custom creature with added spells, functions & features.

    Inform me if there are any questions or inquiries, i will respond as soon as possible.

    Hope this guide helps,
    Comment & let me know what you think,
    Kind Regards,
    Nerc
    Last edited by Nerc; 03-14-2018 at 07:58 PM. Reason: Deleted my post by mistake, so i re-wrote it all again :<

  2. #2
    There's a Nercc and Nerc account? mm

  3. #3
    Light of the Crusade

    Join Date
    Dec 2010
    Location
    www.TheForgottenCrusade.net
    Posts
    1,009
    Quote Originally Posted by Limit View Post
    There's a Nercc and Nerc account? mm
    Yes, i am both. Unfortunately i waited around 2 months for Jargs to finally answer my e-mails.
    And so he recovered my account "Nerc".
    My newer account "Nercc" has hereby been discarded.


    Would've appreciated any comment related to the content, rather than a sceptical comment about my accounts. It populates the thread with unnecessary material.
    (A pm would have resolved your inquiries about such matters)

    100 views & not one comment, what's up with ac-web nowadays?
    Last edited by Nerc; 03-15-2018 at 03:07 AM.

  4. #4
    <NovusCore>

    Join Date
    Jan 2011
    Location
    https://github.com/novuscore/NovusCore
    Posts
    3,438
    Quote Originally Posted by Nerc View Post
    Yes, i am both. Unfortunately i waited around 2 months for Jargs to finally answer my e-mails.
    And so he recovered my account "Nerc".
    My newer account "Nercc" has hereby been discarded.


    Would've appreciated any comment related to the content, rather than a sceptical comment about my accounts. It populates the thread with unnecessary material.
    (A pm would have resolved your inquiries about such matters)

    100 views & not one comment, what's up with ac-web nowadays?
    Not to kill your dreams, but most likely just bot views.This place is dead AF

  5. #5
    Light of the Crusade

    Join Date
    Dec 2010
    Location
    www.TheForgottenCrusade.net
    Posts
    1,009
    Quote Originally Posted by Lightning Blade View Post
    Not to kill your dreams, but most likely just bot views.This place is dead AF
    I am aware, but not to this extent.

  6. #6
    Light of the Crusade

    Join Date
    Dec 2010
    Location
    www.TheForgottenCrusade.net
    Posts
    1,009
    Comments guys, comments.

    Damn... an absolute Zero feedback. At least some appreciation, as a motivator for me to release more of my work, methods and way of doing things.

    Kind Regards,
    Nerc
    Last edited by Nerc; 03-23-2018 at 10:21 AM.

  7. #7
    Quote Originally Posted by Nerc View Post
    This guide will provide a walk-through on how to add spells, functions or features (or better yet, all 3!) to any creature of your choice (boss, mobs, guards, etc.)
    Let's get right to it!



    Step 1: Navigate your way to `world` DB, smart_scripts table

    Step 2: Find a spell you want to use.
    OR, if you don't know the spell, look for the NPC that uses the spells, functions, or features that you would like to use/add.
    -> Sample ID: 6,552 (Gorishi Worker - NPC)
    (There might exist several rows for the same ID)
    Navigate to the right of the `smart_scripts` table and look for the 'comment' column. In our example: there exists 2 rows for our Sample ID (6,552) and at the end, 'comment' column we have: "Gorishi Worker - In Combat - Cast 'Silithid Pox'"
    and: "Gorishi Worker - Between 0-30% Health - Call For Help (No Repeat)"

    Step 3: Right click on the row of the spell that you want to use -> duplicate row
    (You can do that for multiple spells of your choice)

    Step 4: Type in the ID of your custom mob.
    -> Sample ID: 500,000 (your_custom_creature_id)
    (optional): Make any necessary edits of your choice.
    TrinityCore `smart_scripts` wiki - for further information on the table functions:
    https://trinitycore.atlassian.net/wi.../smart+scripts

    Step 5: Go to `creature_template` -> navigate to "your_custom_creature_id"; in this case: ID = 500,000.

    Step 6: Find `AIName` column, and type "SmartAI" in that row.


    That's it! You're done! enjoy your custom creature with added spells, functions & features.

    Inform me if there are any questions or inquiries, i will respond as soon as possible.

    Hope this guide helps,
    Comment & let me know what you think,
    Kind Regards,
    Nerc


    excellent work, for novices like me
    Thank you very much for sharing

  8. #8
    Light of the Crusade

    Join Date
    Dec 2010
    Location
    www.TheForgottenCrusade.net
    Posts
    1,009
    Quote Originally Posted by remamakiller View Post
    excellent work, for novices like me
    Thank you very much for sharing
    Finally one comment!!!

    I feel somewhat satisfied .

    I think the community is dying itself out, i mean a simple comment wouldn't hurt just to encourage people a bit to keep releasing their work and methods on how to do things. Everyone keeps blaming Jards and complaining, but i don't see any efforts from the community's part.

    Anws,
    Highly appreciate the comment,
    Kind Regards,
    Nerc
    Last edited by Nerc; 03-28-2018 at 10:03 PM.

  9. #9
    It is more simple to use good old event horizon, works fine even after all these years, for scripting SmartAI functions.

  10. #10
    Light of the Crusade

    Join Date
    Dec 2010
    Location
    www.TheForgottenCrusade.net
    Posts
    1,009
    Quote Originally Posted by Marko2 View Post
    It is more simple to use good old event horizon, works fine even after all these years, for scripting SmartAI functions.
    I haven't heard of that, mind providing a link or reference?

    Kind Regards,
    Nerc

  11. #11
    Light of the Crusade

    Join Date
    Dec 2010
    Location
    www.TheForgottenCrusade.net
    Posts
    1,009
    Bump

  12. #12
    Light of the Crusade

    Join Date
    Dec 2010
    Location
    www.TheForgottenCrusade.net
    Posts
    1,009

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    bump

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •