[Guide] How to create a monster, + Lua guide menu

User Tag List

Results 1 to 12 of 12
  1. #1
    Meiya Stormsinger's Avatar Contributor

    Reputation
    163
    Join Date
    Mar 2009
    Posts
    196
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide] How to create a monster, + Lua guide

    Well, this is yet another "Howto guide", completely written by me.

    1. How to create a monster.

    First of all go to WoW Vendetta - Wage Your War | WoW-V.com, You need to be registered to be able to create things, so if you're not registered then go on and do it.

    After you finished registering you have to verify that it's you, so log onto your email account and click the link in the mail from WoW-V, After you're done with that you go can log onto your account.

    After you've logged on theres a bar at the top of the screen, on that bar it says "Create" click there and it will redirect you to what you want to create.

    Click on Npc / Creature creator.

    Now to the creation itself... Once the page has loaded you first of all type in the name of the creature, then you will need a Display ID for the creature, either you can use the function on WoW-V named "Display Finder" wich is a big blue button, or if you have your own server just log in-game and find a creature you want it to look like, target the creature and type ".npc info"

    Once you have the display ID you just type it in where it says "Display ID"

    Everything else is pretty obvious, just type in how much health you want it to have, how much damage you want it to do, and so on.

    When you're done with creating the monster you click "Submit" at the bottom of the page, then you just click on "Download" and you choose wichever kind of emulator you're using.

    2. How to execute into database.

    When you are done downloading the .sql file it's time to execute it into the database, ofcourse when you wanna access your database "MySql" has to be on.

    When you get inside the database, depending on wich on you use... Ill be explaining how to do it on HeidiSQL, because that's what i use.

    When you get inside the database it will say at the top of the screen almost "Query", its kind of like a tab option... You just look around and you'll find it...

    When you have found it, there is a small icon that looks like a folder, wich ofcourse means "Open", Click it and choose the Sql file, where ever you have put it, once you're done with opening it into the database, you click the green button that looks like a "play" button on a stereo.

    Now you should have the monster inside the database, but to get it into the game you either have to restart the server, or reload the tables from ingame, the tables on ArcEmu are named "creature_names" and "creature_proto" so if you're using ArcEmu just type in ".server Reloadtable creature_names" and ".server Reloadtable creature_proto".

    Then you just spawn the monster with the ID you gave it while creating it.
    The Entry ID that is.

    3. How to script the Monster / Boss.

    Alright, i will now start doing the scripting part.


    To start of with, i will make the mob cast a spell as soon as it enters combat.

    To do that i have to do like this:

    Code:
    function Boss_OnCombat(pUnit, event)
    pUnit:FullCastSpellOnTarget(12345,pUnit:GetMainTank()
    end
    This will make the creature cast the spell that has the ID "12345" on the Main Tank.

    Now i want the boss to say something when it casts the spell, so then i add this:

    Code:
    pUnit:SendChatMessage(14,0,"Test text")
    so now the script will look like this:

    Code:
    function Boss_OnCombat(pUnit, event)
    pUnit:FullCastSpellOnTarget(12345,pUnit:GetMainTank()
    pUnit:SendChatMessage(14,0,"Test text")
    end
    and then i want to boss to cast a certain spell at a certain ammount of HP, so then creature a new function, wich i just write like this:

    Code:
    function Boss_GetHP(pUnit, event)
    if pUnit:GetHealthPct < 50 then
    pUnit:FullCastSpellOnTarget(54321,pUnit:GetClosestPlayer()
    end
    so now the script looks like this:

    Code:
    function Boss_OnCombat(pUnit, event)
    pUnit:FullCastSpellOnTarget(12345,pUnit:GetMainTank()
    pUnit:SendChatMessage(14,0,"Test text")
    pUnit:RegisterEvent("Boss_GetHPAndThenCastSpell",1000,0)
    end
    
    function Boss_GetHPAndThenCastSpell(pUnit, event)
    if pUnit:GetHealthPct < 50 then
    pUnit:FullCastSpellOnTarget(54321,pUnit:GetClosestPlayer()
    end
    So now the monster will cast spell 54321 at 50% hp.

    and ofcourse to finish the script of we need to enter the register unit events.

    so then i do like this:

    Code:
    function Boss_OnCombat(pUnit, event)
    pUnit:FullCastSpellOnTarget(12345,pUnit:GetMainTank()
    pUnit:SendChatMessage(14,0,"Test text")
    pUnit:RegisterEvent("Boss_GetHPAndThenCastSpell",1000,0)
    end
    
    function Boss_GetHPAndThenCastSpell(pUnit, event)
    if pUnit:GetHealthPct < 50 then
    pUnit:FullCastSpellOnTarget(54321,pUnit:GetClosestPlayer()
    end
    
    RegisterUnitEvent(10000,"Boss_OnCombat")

    The "10000" is the ID of the monster.



    That's basicly all i have time to do, i might update this at a later point, but i hope it helped a little atleast.

    [Guide] How to create a monster, + Lua guide
  2. #2
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice!
    It works good.
    Need to spread before +Rep you again xD
    It's been a while

  3. #3
    AngelSandy's Avatar Member
    Reputation
    19
    Join Date
    Jan 2009
    Posts
    330
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This have been done a gazzilion times.

  4. #4
    Meiya Stormsinger's Avatar Contributor

    Reputation
    163
    Join Date
    Mar 2009
    Posts
    196
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by AngelSandy View Post
    This have been done a gazzilion times.
    I know, but why not do it a gazzillion and one times? ;p

  5. #5
    Meiya Stormsinger's Avatar Contributor

    Reputation
    163
    Join Date
    Mar 2009
    Posts
    196
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by sasoritail View Post
    Nice!
    It works good.
    Need to spread before +Rep you again xD
    , thanks sasori :3

  6. #6
    omfgwtflolmfao's Avatar Member
    Reputation
    43
    Join Date
    Jan 2009
    Posts
    430
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice guide +rep
    I am wanting to get more into lua scripting and I want to make custom bosses for a server of mine and since I'm too lazy to look for more guides, so I'll use yours. Thanks.

  7. #7
    Meiya Stormsinger's Avatar Contributor

    Reputation
    163
    Join Date
    Mar 2009
    Posts
    196
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by omfgwtflolmfao View Post
    Nice guide +rep
    I am wanting to get more into lua scripting and I want to make custom bosses for a server of mine and since I'm too lazy to look for more guides, so I'll use yours. Thanks.
    Thanks , Just PM me if you need any help, ill give ya my msn if you need it. (:

  8. #8
    alj03's Avatar Contributor
    Reputation
    91
    Join Date
    Feb 2008
    Posts
    1,103
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool mate.. and i think gazzillion and one times is good :P
    Death to all but Metal.

  9. #9
    Presto12's Avatar Member
    Reputation
    5
    Join Date
    Mar 2007
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please add more this is an amazing guide and helped me out a lot more than they usually do!

  10. #10
    shadowstep0705's Avatar Member
    Reputation
    9
    Join Date
    Aug 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for this great guide, i will try it out soon! +rep

  11. #11
    Pootytang's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good guide man i really need help with scripting triggers and gossips tho >.< im a real nubcake at this lol >.>

  12. #12
    Meiya Stormsinger's Avatar Contributor

    Reputation
    163
    Join Date
    Mar 2009
    Posts
    196
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Np to all of you

Similar Threads

  1. Guide for how to create your items and put it in game
    By Miziki in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 07-13-2010, 07:51 AM
  2. [Guide] How to create Lua Portals [3.3.3a]
    By bulletzaredeadly in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 04-14-2010, 01:11 AM
  3. [Guide] How to create a weapon/item. Easy. PICS INSIDE, +2 other quick guides.
    By Wheeze201 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-15-2007, 05:03 PM
  4. How to create custom monsters for your server!
    By renitharis in forum WoW EMU Guides & Tutorials
    Replies: 13
    Last Post: 12-10-2007, 07:53 PM
  5. Replies: 19
    Last Post: 07-09-2007, 10:28 PM
All times are GMT -5. The time now is 02:23 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search