PDA

View Full Version : How to make Custom Class Trainers and Npc.



Xcynic
03-08-08, 06:48 AM
I read around on the forums but I didn't find a Guide that explains how to make a custom class trainer. So I'm gonna show you how to make one and I will use the example class: Paladin


Introduction Part 1

First off you have to make a NPC so I will explain how to make that aswell:

Custom NPC:

1. Open Navicat/HeidiSQL whatever you use.

2. Go to table Creature_Names

3. Start making your NPC:

3.1 (Entry)
This is where you write what number you want to spawn your NPC with. In this guide we randomly take the number 1. So entry should be: (1)

3.2 (Name)
This is where you write the desired NPC name. We name this mob: Trainer

3.3 (Subname)
This is the name that will appear under the NPC actual name. *See image below* We will use the Subname: Paladin Trainer
http://img138.imageshack.us/img138/9964/subnamesk3.jpg

3.4 (Info_Str)
I dont know what this is. Just skip it.

3.5 (Flags1)
Skip this aswell.

3.6 (Type)
This is what kind of NPC you want.*See Code below* We will use the type: 7= Humanoid


1-Beast
2-Dragonkin
3-Demon
4-Elemental
5-Giant
6-Undead

7-Humanoid

8-Critter
9-Mechanical
10-Not specified 3.7 (Family)
This is what family the NPC belongs in *See code below* We will use the family: 0= No Family


0-No Family

1-Wolf
2-Cat
3-Spider
4-Bear
5-Boar
6-Crocolisk
7-Carrion Bird
8-Crab
9-Gorilla
11-Raptor
12-Tallstrider
15-Felhunter
16-Voidwalker
17-Succubus
19-Doomguard
20-Scorpid
21-Turtle
23-Imp
24-Bat
25-Hyena
26-Owl
27-Wind Serpent
28-Remote Control
29-Felguard
30-Dragonhawk
31-Ravager
32-Warp Stalker
33-Sporebat
34-Nether Ray
35-Serpent3.8 (Rank)
This is what rank the NPC have*See code below* We will be using the rank: 1= Elite


0-Normal

1-Elite

2-RareElite
3-WorldBoss
4-Rare3.9 (Unk4)
Skip this.

3.10 (Spelldataid)
Skip this aswell.

3.11 (Male & Female DisplayID)
This is what you want the NPC to look like*See link below* We will be using the Displayid: 15521

NPC DisplayID List (http://rapidshare.com/files/82273074/npcdisplay.txt.html)

3.12 (Unknown_float1 & Unknown_float2)
Skip both of these.

3.13 (Civilian)
For this we will be using the number: 1

You are now done with the Creature_names. Let's move on to Creature_proto

Introduction Part 2

1. Open the table Creature_Proto

2. Continue on your NPC:

2.1 (Entry)
This is where you write the same entry you wrote when making your NPC in Creature_Names. We used the number: (1)

2.2 (Minlevel and Maxlevel)
This is what level you want the NPC to have, we will use the level: (5)

2.3 (Faction)
This is what faction we want the NPC to belong to.*See code below* In this guide we will use the faction: 1602-Silvermoon City



1 PLAYER, Human 1
2 PLAYER, Orc 2
3 PLAYER, Dwarf 3
4 PLAYER, Night Elf 4
5 PLAYER, Undead 5
6 PLAYER, Tauren 6
7 Creature 7
10 Escortee 40
11 Stormwind 72
12 Stormwind 72
14 Monster 14
15 Creature 7
16 Monster 14
17 Defias Brotherhood 15
18 Murloc 19
19 Gnoll - Redridge 17
20 Gnoll - Riverpaw 16
21 Undead, Scourge 20
22 Beast - Spider 22
23 Gnomeregan Exiles 54
24 Worgen 24
25 Kobold 25
26 Kobold 25
27 Defias Brotherhood 15
28 Troll, Bloodscalp 26
29 Orgrimmar 76
30 Troll, Skullsplitter 27
31 Prey 28
32 Beast - Wolf 29
33 Escortee 40
34 Defias Brotherhood 15
35 Friendly 31
36 Trogg 32
37 Troll, Frostmane 33
38 Beast - Wolf 29
39 Gnoll - Shadowhide 18
40 Orc, Blackrock 34
41 Villian 35
42 Victim 36
43 Villian 35
44 Beast - Bear 37
45 Ogre 38
46 Kurzen's Mercenaries 39
47 Venture Company 41
48 Beast - Raptor 42
49 Basilisk 43
50 Dragonflight, Green 44
51 Lost Ones 45
52 Gizlock's Dummy 769
53 Human, Night Watch 49
54 Dark Iron Dwarves 48
55 Ironforge 47
56 Human, Night Watch 49
57 Ironforge 47
58 Creature 7
59 Trogg 32
60 Dragonflight, Red 50
61 Gnoll - Mosshide 51
62 Orc, Dragonmaw 52
63 Gnome - Leper 53
64 Gnomeregan Exiles 54
65 Orgrimmar 76
66 Leopard 55
67 Scarlet Crusade 56
68 Undercity 68
69 Ratchet 470
70 Gnoll - Rothide 57
71 Undercity 68
72 Beast - Gorilla 58
73 Beast - Carrion Bird 669
74 Naga 60
76 Dalaran 61
77 Forlorn Spirit 62
78 Darkhowl 63
79 Darnassus 69
80 Darnassus 69
81 Grell 64
82 Furbolg 65
83 Horde Generic 66
84 Alliance Generic 189
85 Orgrimmar 76
86 Gizlock's Charm 770
87 Syndicate 70
88 Hillsbrad Militia 71
89 Scarlet Crusade 56
90 Demon 73
91 Elemental 74
92 Spirit 75
93 Monster 14
94 Treasure 77
95 Gnoll - Mudsnout 78
96 HIllsbrad, Southshore Mayor 79
97 Syndicate 70
98 Undercity 68
99 Victim 36
100 Treasure 77
101 Treasure 77
102 Treasure 77
103 Dragonflight, Black 80
104 Thunder Bluff 81
105 Thunder Bluff 81
106 Horde Generic 66
107 Troll, Frostmane 33
108 Syndicate 70
109 Quilboar, Razormane 2 110
110 Quilboar, Razormane 2 110
111 Quilboar, Bristleback 85
112 Quilboar, Bristleback 85
113 Escortee 40
114 Treasure 77
115 PLAYER, Gnome 8
116 PLAYER, Troll 9
118 Undercity 68
119 Bloodsail Buccaneers 87
120 Booty Bay 21
121 Booty Bay 21
122 Ironforge 47
123 Stormwind 72
124 Darnassus 69
125 Orgrimmar 76
126 Darkspear Trolls 530
127 Villian 35
128 Blackfathom 88
129 Makrura 89
130 Centaur, Kolkar 90
131 Centaur, Galak 91
132 Gelkis Clan Centaur 92
133 Magram Clan Centaur 93
134 Maraudine 94
148 Monster 14
149 Theramore 108
150 Theramore 108
151 Theramore 108
152 Quilboar, Razorfen 109
153 Quilboar, Razorfen 109
154 Quilboar, Deathshead 111
168 Enemy 128
188 Ambient 148
189 Creature 7
190 Ambient 148
208 Nethergarde Caravan 168
209 Nethergarde Caravan 168
210 Alliance Generic 189
230 Southsea Freebooters 573
231 Escortee 40
232 Escortee 40
233 Undead, Scourge 20
250 Escortee 40
270 Wailing Caverns 229
290 Escortee 40
310 Silithid 249
311 Silithid 249
312 Beast - Spider 22
330 Wailing Caverns 229
350 Blackfathom 88
370 Armies of C'Thun 915
371 Silvermoon Remnant 269
390 Booty Bay 21
410 Basilisk 43
411 Beast - Bat 310
412 The Defilers 510
413 Scorpid 309
414 Timbermaw Hold 576
415 Titan 311
416 Titan 311
430 Taskmaster Fizzule 329
450 Wailing Caverns 229
470 Titan 311
471 Ravenholdt 349
472 Syndicate 70
473 Ravenholdt 349
474 Gadgetzan 369
475 Gadgetzan 369
494 Gnomeregan Bug 389
495 Escortee 40
514 Harpy 409
534 Alliance Generic 189
554 Burning Blade 429
574 Shadowsilk Poacher 449
575 Searing Spider 450
594 Trogg 32
614 Victim 36
634 Monster 14
635 Cenarion Circle 609
636 Timbermaw Hold 576
637 Ratchet 470
654 Troll, Witherbark 82
655 Centaur, Kolkar 90
674 Dark Iron Dwarves 48
694 Wildhammer Clan 471
695 Hydraxian Waterlords 749
714 Horde Generic 66
734 Dark Iron Dwarves 48
735 Goblin, Dark Iron Bar Patron 489
736 Goblin, Dark Iron Bar Patron 489
754 Dark Iron Dwarves 48
774 Escortee 40
775 Escortee 40
776 Brood of Nozdormu 910
777 Might of Kalimdor 912
778 Giant 511
794 Argent Dawn 529
795 Troll, Vilebranch 572
814 Argent Dawn 529
834 Elemental 74
854 Everlook 577
855 Everlook 577
874 Wintersaber Trainers 589
875 Gnomeregan Exiles 54
876 Darkspear Trolls 530
877 Darkspear Trolls 530
894 Theramore 108
914 Training Dummy 679
934 Furbolg, Uncorrupted 575
954 Demon 73
974 Undead, Scourge 20
994 Cenarion Circle 609
995 Thunder Bluff 81
996 Cenarion Circle 609
1014 Shatterspear Trolls 629
1015 Shatterspear Trolls 629
1034 Horde Generic 66
1054 Wildhammer Clan 471
1055 Wildhammer Clan 471
1074 Orgrimmar 76
1075 Theramore 108
1076 Darnassus 69
1077 Theramore 108
1078 Stormwind 72
1080 Friendly 31
1081 Elemental 74
1094 Beast - Boar 23
1095 Training Dummy 679
1096 Theramore 108
1097 Darnassus 69
1114 Dragonflight, Black - Bait 689
1134 Undercity 68
1154 Undercity 68
1174 Orgrimmar 76
1194 Battleground Neutral 709
1214 Frostwolf Clan 729
1215 Frostwolf Clan 729
1216 Stormpike Guard 730
1217 Stormpike Guard 730
1234 Sulfuron Firelords 750
1235 Sulfuron Firelords 750
1236 Sulfuron Firelords 750
1254 Cenarion Circle 609
1274 Creature 7
1275 Creature 7
1294 Gizlock 771
1314 Horde Generic 66
1315 Alliance Generic 189
1334 Stormpike Guard 730
1335 Frostwolf Clan 729
1354 Shen'dralar 809
1355 Shen'dralar 809
1374 Ogre (Captain Kromcrush) 829
1375 Treasure 77
1394 Dragonflight, Black 80
1395 Silithid Attackers 916
1414 Spirit Guide - Alliance 790
1415 Spirit Guide - Horde 849
1434 Jaedenar 869
1454 Victim 36
1474 Thorium Brotherhood 59
1475 Thorium Brotherhood 59
1494 Revantusk Trolls 893
1495 Revantusk Trolls 893
1496 Revantusk Trolls 893
1514 Silverwing Sentinels 890
1515 Warsong Outriders 889
1534 Stormpike Guard 730
1554 Frostwolf Clan 729
1555 Darkmoon Faire 909
1574 Zandalar Tribe 270
1575 Stormwind 72
1576 Silvermoon Remnant 269
1577 The League of Arathor 509
1594 Darnassus 69
1595 Orgrimmar 76
1596 Stormpike Guard 730
1597 Frostwolf Clan 729
1598 The Defilers 510
1599 The League of Arathor 509
1600 Darnassus 69
1601 Brood of Nozdormu 910

1602 Silvermoon City 911


1603 Silvermoon City 911
1604 Silvermoon City 911
1605 Dragonflight, Bronze 531
1606 Creature 7
1607 Creature 7
1608 Cenarion Circle 609
1610 PLAYER, Blood Elf 914
1611 Ironforge 47
1612 Orgrimmar 76
1613 Might of Kalimdor 912
1614 Monster 14
1615 Steamwheedle Cartel 169
1616 RC Objects 919
1617 RC Enemies 918
1618 Ironforge 47
1619 Orgrimmar 76
1620 Enemy 128
1621 Blue 921
1622 Red 920
1623 Tranquillien 922
1624 Argent Dawn 529
1625 Argent Dawn 529
1626 Undead, Scourge 20
1627 Farstriders 923
1628 Tranquillien 922
1629 PLAYER, Draenei 927
1630 Scourge Invaders 928
1634 Scourge Invaders 928
1635 Steamwheedle Cartel 169
1636 Farstriders 923
1637 Farstriders 923
1638 Exodar 930
1639 Exodar 930
1640 Exodar 930
1641 Warsong Outriders 889
1642 Silverwing Sentinels 890
1643 Troll, Forest 937
1644 The Sons of Lothar 940
1645 The Sons of Lothar 940
1646 Exodar 930
1647 Exodar 930
1648 The Sons of Lothar 940
1649 The Sons of Lothar 940
1650 The Mag'har 941
1651 The Mag'har 941
1652 The Mag'har 941
1653 The Mag'har 941
1654 Exodar 930
1655 Exodar 930
1656 Silvermoon City 911
1657 Silvermoon City 911
1658 Silvermoon City 911
1659 Cenarion Expedition 942
1660 Cenarion Expedition 942
1661 Cenarion Expedition 942
1662 Fel Orc 943
1663 Fel Orc Ghost 944
1664 Sons of Lothar Ghosts 945
1665 0
1666 Honor Hold 946
1667 Honor Hold 946
1668 Thrallmar 947
1669 Thrallmar 947
1670 Thrallmar 947
1671 Honor Hold 946
1672 Test Faction 2 948
1673 ToWoW - Flag 950
1674 Test Faction 4 953
1675 Test Faction 3 952
1676 ToWoW - Flag Trigger Horde ( 954
1677 ToWoW - Flag Trigger Allianc 951
1678 Ethereum 956
1679 Broken 955
1680 Elemental 74
1681 Earth Elemental 957
1682 Fighting Robots 958
1683 Actor Good 959
1684 Actor Evil 960
1685 Stillpine Furbolg 961
1686 Stillpine Furbolg 961
1687 Crazed Owlkin 962
1688 Chess Alliance 963
1689 Chess Horde 964
1690 Chess Alliance 963
1691 Chess Horde 964
1692 Monster Spar 965
1693 Monster Spar Buddy 966
1694 Exodar 930
1695 Silvermoon City 911
1696 The Violet Eye 967
1697 Fel Orc 943
1698 Exodar 930
1699 Exodar 930
1700 Exodar 930
1701 Sunhawks 968
1702 Sunhawks 968
1703 Training Dummy 679
1704 Fel Orc 943
1705 Fel Orc 943
1706 Fungal Giant 971
1707 Sporeggar 970
1708 Sporeggar 970
1709 Sporeggar 970
1710 Cenarion Expedition 942
1711 Monster, Predator 973
1712 Monster, Prey 974
1713 Monster, Prey 974
1714 Sunhawks 968
1715 Void Anomaly 975
1716 Hyjal Defenders 976
1717 Hyjal Defenders 976
1718 Hyjal Defenders 976
1719 Hyjal Defenders 976
1720 Hyjal Invaders 977
1721 Kurenai 978
1722 Kurenai 978
1723 Kurenai 978
1724 Kurenai 978
1725 Earthen Ring 979
1726 Earthen Ring 979
1727 Earthen Ring 979
1728 Cenarion Expedition 942
1729 Thrallmar 947
1730 The Consortium 933
1731 The Consortium 933
1732 Alliance Generic 189
1733 Alliance Generic 189
1734 Horde Generic 66
1735 Horde Generic 66
1736 Monster Spar Buddy 966
1737 Honor Hold 946
1738 Arakkoa 981
1739 Zangarmarsh Banner (Alliance 982
1740 Zangarmarsh Banner (Horde) 983
1741 The Sha'tar 935
1742 Zangarmarsh Banner (Neutral) 984
1743 The Aldor 932
1744 The Scryers 934
1745 Silvermoon City 911
1746 The Scryers 934
1747 Caverns of Time - Thrall 985
1748 Caverns of Time - Durnholde 986
1749 Caverns of Time - Southshore 987
1750 Shadow Council Covert 988
1751 Monster 14
1752 Dark Portal Attacker, Legion 993
1753 Dark Portal Attacker, Legion 993
1754 Dark Portal Attacker, Legion 993
1755 Dark Portal Defender, Allian 991
1756 Dark Portal Defender, Allian 991
1757 Dark Portal Defender, Allian 991
1758 Dark Portal Defender, Horde 992
1759 Dark Portal Defender, Horde 992
1760 Dark Portal Defender, Horde 992
1761 Inciter Trigger 994
1762 Inciter Trigger 2 995
1763 Inciter Trigger 3 996
1764 Inciter Trigger 4 997
1765 Inciter Trigger 5 998
1766 Argent Dawn 529
1767 Argent Dawn 529
1768 Demon 73
1769 Demon 73
1770 Actor Good 959
1771 Actor Evil 960
1772 Mana Creature 999
1773 Khadgar's Servant 1000
1774 Friendly 31
1775 The Sha'tar 935
1776 The Aldor 932
1777 The Aldor 932
1778 The Scale of the Sands 990
1779 Keepers of Time 989
1780 Bladespire Clan 1001
1781 Bloodmaul Clan 929
1782 Bladespire Clan 1001
1783 Bloodmaul Clan 929
1784 Bladespire Clan 1001
1785 Bloodmaul Clan 929
1786 Demon 73
1787 Monster 14
1788 The Consortium 933
1789 Sunhawks 968
1790 Bladespire Clan 1001
1791 Bloodmaul Clan 929
1792 Fel Orc 943
1793 Sunhawks 968
1794 Protectorate 1003
1795 Protectorate 1003
1796 Ethereum 956
1797 Protectorate 1003
1798 Arcane Annihilator (DNR) 1004
1799 Ethereum Sparbuddy 1002
1800 Ethereum 956
1801 Horde 67
1802 Alliance 469
1803 Ambient 148
1804 Ambient 148
1805 The Aldor 932
1806 Friendly 31
1807 Protectorate 1003
1808 Kirin'Var - Belmara 1007
1809 Kirin'Var - Cohlien 1009
1810 Kirin'Var - Dathric 1006
1811 Kirin'Var - Luminrath 1008
1812 Friendly 31
1813 Servant of Illidan 1010
1814 Monster Spar Buddy 966
1815 Beast - Wolf 29
1816 Friendly 31
1818 Lower City 1011
1819 Alliance Generic 189
1820 Ashtongue Deathsworn 1012
1821 Spirits of Shadowmoon 1 1013
1822 Spirits of Shadowmoon 2 1014
1823 Ethereum 956
1824 Netherwing 1015
1825 Demon 73
1826 Servant of Illidan 1010
1827 Wyrmcult 1016
1828 Treant 1017
1829 Leotheras Demon I 1018
1830 Leotheras Demon II 1019
1831 Leotheras Demon III 1020
1832 Leotheras Demon IV 1021
1833 Leotheras Demon V 1022
1834 Azaloth 1023
1835 Horde Generic 66
1836 The Consortium 933
1837 Sporeggar 970
1838 The Scryers 934
1839 Rock Flayer 1024
1840 Flayer Hunter 1025
1841 Shadowmoon Shade 1026
1842 Legion Communicator 1027
1843 Servant of Illidan 1010
1844 The Aldor 932
1845 The Scryers 934
1846 Ravenswood Ancients 1028
1847 Monster Spar 965
1848 Monster Spar Buddy 966
1849 Servant of Illidan 1010
1850 Netherwing 1015
1851 Lower City 1011
1852 Chess, Friendly to All Chess 10292.4 (Minhealth, Maxhealth & Mana)
This is where you write your desired NPC mana and health. We will use the numbers: Minhealth=200, Maxhealth=200, Mana= 200

2.5 (Scale)
This is what size you want the NPC to be. We will use the scale: (1)

2.6 (Npcflags)
This is what the NPC is supposed to do*See code below* We will be using the flag: 16= Trainer



Flag: 16= Trainer.

Flag: 0= You can't speak with npc.
Flag: 1= You can only speak with npc.
Flag: 2= Questgiver.
Flag: 4= Vendor.
Flag: 8= Gryphon master.
Flag: 32= Spirithealer (Only visable when dead).
Flag: 64= Spirithealer (Only in battlegrounds).
Flag: 128= Innkeeper.
Flag: 256= Banker.
Flag: 512= Guildcharter signer.
Flag: 1024= Tabardcreator.
Flag: 2048= Battlemaster.
Flag: 4096= Auctioneer.
Flag: 8192= Stablemaster.
Flag: 16384= Repairer.
Flag: 65536= Guard directioneer.2.7 (Attacktime and Damage)
This is how fast and how hard you want the NPC to hit. We will be using the numbers: Attacktime= 1000 (1,0 Speed), Mindamage= 200, Maxdamage= 400

2.8 Rangedattack time and Damage)
This is if you want the NPC to be able to do any ranged damage. We will not be using this in this guide.

2.9 (Mountdisplayid)
This is if you want your NPC to be sitting on a mount. You need to enter the Displayid of the mount you want it to sit on. However we will not be using this.

2.10 (Equipmodels, Equipinfos and Equipslots)
This is if you want your NPC to be equipped with a weapon. We will not be using this I will however explain how to do this.*See code below*



Equipmodel= For the npc to be able to equip a weapon you need to enter the displayid here. So for example if you want your NPC to be holding: Corrupted Ashbringer Then you want to write this in Equipmodel: 3509

Equipinfo & Equipslot= This is how the weapon will be sheated and what type of weapon it is:

Here is a list of slot ID's:
Equipinfo Equipslot Description
50268674 - 529 - Two-handed(stave)that stays in hand.
33490946 - 256 - Two-handed(sword/Axe/mace) stays in hand.
33490690 - 781 - One-handed that stays in hand.
50267138 - 768 - One-handed that sheaths and attacks with.
218171138 - 3 - Sheild.
33490436 - 1038 - Shield Held in hand.
50267394 - 273 - Two-handed not sheathed.

2.11 (Respawntime)
This is how fast the NPC will respawn incase he dies. We will be using the time: 36000= 5 minutes

2.12 (Armor and Resistance)
This is how much armor and resistance the NPC will have against different schools. We will not be using this.

2.13 (Combat_reach and Bounding_radius)
Combat_reach= How far away the NPC will attack you from. So for example if you put this at 1 he will attack standing near you. Any other number will increase his range with you.
Bounding_radius= this is when he will see you. If you put this to 1 he will see you like any other normal mob, if you raise it he will see you from further ways. We will set these both to:(1)

2.14 (Boss and Money)
Boss= If you want the NPC to be a ??/skull NPC. So you cant see his level. If you want it to be like that you write 1.
Money= If you want the NPC to drop money on kill then you write a higher number then 0. Money counts with copper, so if you want 1 silver then you have to write 100. We will not be using this. Skip the rest of the colums.

You have now completed your NPC and you are ready to complete him becoming a Paladin Trainer!

Custom Class Trainer Part 1

Before starting this process you need to find a already made Class trainers ENTRYID. I will be using the entry id of: Jesthenis Sunstriker - 15280.

Now that you have the entry ID go to the table Trainer_Spells and search for him. When you found the person with that entry id copy all the columns of him and write them in a txt file. You can modify the columns if you want.

Making a class trainer!

1. Open up the table: Trainer_Spells

You have to repeat this depending on how many spells you want the trainer to learn.

1.1 (Entry)
We used the entrynumber 1 for the NPC so in this field we write the entrynumber:(1)

1.2 (Cast_spell)
This is the ID of what spells he casts, Take the spells you wrote down in your txt file and write them here. I will be using the spells:

21083
1873
1875
5572
10321
19741

1.3 (Spellcost)
This is how much you want the spell to cost. Write what you copied to the txt file for now.

1.4 (The rest of the columns)
Continue copying what you saved in the txt file.

Custom Class Trainer Part 2

You have to use the already made Paladin trainer ENTRYID here again. So search until you find him once again. Dont copy or close the table. I will explain what your going to do.

1. Open the table trainer_defs

1.1 Now click the Insert new record button and write the exact stuff you see the paladin you searched for before. Just change the entryID to(1)

1.2 This is the most essential and important part for your trainer to work. If you dont do this then ascent wont start.
Scroll until you see the MEMO column, You will see its abit faded. This is what you do, go to the original paladin trainerID: 15280And right click on his MEMO and click: COPY After you have done this go back to the trainer you just made, go to his MEMO once again and right click it and press: PASTE

You now have your custom class trainer made.

Apple
03-08-08, 06:55 AM
Really Nice , lol thanks for sharing +REp

HellHoundFTW
13-09-13, 07:53 PM
this doesnt work, im doing the entry id
29195, a DK trainer
and like
20 or more results show up!
which one do i pick?