• Welcome Message

How to Create Custom Content

Posted by WowPsTut On 11:32 0 comments

Ok this will be an updated guide to creating custom content by Warkill
I will be showing you how to make custom Items/Vendors and Making Mobs drop whatever you want. Also I will be showing you the templates I made/use so you don't have to script yourself.

Creating a Weapon/Armor

1) Think first of a Name then the stats you will want it to have

2) Gather important information like available Entry ID's in your DB and CORRECT Display ID's or else you will wind up with a checkered blue box.

3) To find correct Display ID you can look them up on Allakhazam.com look for the Item you wish it to look like (Ill be using Thunderfury as an Example) then look JUST under the item tooltip and it will say LINKS go to XML and scroll down until you see this

Code:

30606
So to clarify things Thunderfury's Item ID is 19019 BUT its display ID is 30606 I dont want anyone confused about the difference between the two. Alternatively you can use this text document if you know the Item ID and just want to know the Display ID

4) Since I know you don't know how to script it yourself I wont be giving you my template for them you can go to www.wow-v.com there just fill out the information and select "Antrix Core" once you're done and download the SQL-Batch File.

5)To add the item to your Database If you are using NavicatSQL (Make sure MySql is running) Open up Navi and If you havent set up a connection use THIS AS A GUIDE (its for Heidi but connection input is the same) ok then once Navi is open click on your connection then Antrix then Tables now hit Query and then New Query Now you have a Query Window open hit Load then RUN reload items or restart server and the item will be in your Server repeat as many times as needed if you get an Error in SQL Syntax you did something wrong in the last steps go back and follow them exactly.

To add Custom Content If you are using HeidiSQL (Make sure MySQL is running) Open up heidi (if you havent set up a connection us THIS AS A GUIDE Once you have a connection Select your Connection go to Import then Load Sql-file.. select whatever file you want to ad then select Execute and the item should be in your Database, reload items or restart server for them to take effect.

Creating a Vendor


Ok to make a vendor I will have you use my Template here it is:
Code:
INSERT INTO creature_names
(entry, creature_name, Subname, Flags1, type, Family, Rank, unk4, SpellDataID, displayid, unk2, unk3, Civilian, Leader)
VALUES
(91000, "NAME", "GUILDNAME", 0, 4, 0, 3, 0, NULL, 19019, 1, 1, 1, 0);

INSERT INTO creature_proto
(entry, level, faction, health, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, item1slotdisplay, item1info1, item1info2, item2slotdisplay, item2info1, item2info2, item3slotdisplay, item3info1, item3info2, respawntime, resistance0_armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, bounding_radius, auras, boss)
VALUES
(91000, 70, 120, 10000, 5000, 1, 4, 1000, 300, 400, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 5, 5, 5, 5, 5, 5, 5, 1, 1, "", 0);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90057", 1);
ALL you have to change whatever I highlighted which is his Entry ID, NAME,GUILDNAME,Display ID In that order (which is indicated with 19019# this will dictate how the vendor looks) I've already made the vendor friendly with both Horde/Alliance. To add items to the vendor simply replace the blue highlighted area with the ID of the weapon you want him to sell weather its Blizz made or Custom. To add more than one Item just copy paste
Code:
INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90057", 1);
Only replacing the Blue part . The red highlighted area tells the DB which Vendor sells that item. Untill your Final result looks something like this
Code:
INSERT INTO creature_names
(entry, creature_name, Subname, Flags1, type, Family, Rank, unk4, SpellDataID, displayid, unk2, unk3, Civilian, Leader)
VALUES
(91000, "CUSTOM CLASS SETS", "Liquid Gears Team", 0, 4, 0, 3, 0, NULL, 19019, 1, 1, 1, 0);

INSERT INTO creature_proto
(entry, level, faction, health, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, item1slotdisplay, item1info1, item1info2, item2slotdisplay, item2info1, item2info2, item3slotdisplay, item3info1, item3info2, respawntime, resistance0_armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, bounding_radius, auras, boss)
VALUES
(91000, 70, 120, 10000, 5000, 1, 4, 1000, 300, 400, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 5, 5, 5, 5, 5, 5, 5, 1, 1, "", 0);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90057", 1);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90056", 1);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90055", 1);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90054", 1);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90053", 1);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90052", 1);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90051", 1);

INSERT INTO vendors
(vendorGuid, itemGuid, amount)
VALUES
("91000", "90050", 1);
With only the ItemGuid's Changing to keep adding more Items to the vendor. To add the to the DB its the same way as I explained earlier with Navicat/Heidi and the weapons so follow that guide.

Creating Custom Drops/Drop Rate

Here is the template you can use to create the the drop table for the mob:

Code:
INSERT INTO creatureloot
(entryid, itemid, percentchance)
VALUES
("11583", "19019", 100);
The Number Indicated in Blue is the Creatures Entry ID you wish to drop the item In this case Nefarian from BWL, then the number in Red is the Items Entry ID which happens to be Thunderfury in this case. The number in Yellow is the Percent Chance to Drop you can change it to whatever you would like.

For now this is all I will post Donators will have access to a video guide showing this and alot more video guides on more custom content

Categories:

0 Response for the "How to Create Custom Content"

Post a Comment