Hello Emudevs,today i'm going to share how to edit your npc_text made by xXDeathXx.
●Create your NPC that you will use. (If you have one made, skip this step) - Don't have an NPC Creator? NPC Creator - Mediafire
●I've made one for this guide for you to use:
-- NPC Creature
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES (987658, 0, 0, 0, 0, 0, 25338, 0, 0, 0, 'Text Creature', 'Emudevs', '', 0, 1, 1, 0, 35, 35, 129, 1, 1.14286, 0.4, 1, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, '', 1);Step 2:●After your NPC is created you will noticed that the npc_text is set to:
●The reason it is displaying that is by default. You can modify the gossip ID during the creation of the NPC, but for this tutorial i didn't.Greetings, $N. ($N is the targets name)
●Open your database via Hedisql / Navicat
●Navigate to World < Creature_template
Step 3:●Locate your Npc's ID, if you used mine it would be 987658.
●Locate Gossip_menu_id which is located in column 14. Once you find the correct column you should see the value = 0. For this tutorial I will be making the Gossip_menu_Id 63144, you may use your own ID if you want, but the most important thing is to remember what id you put for the value, because you will be needing it in the next step.
Step 4:●Navigate to World < Gossip_Menu
●Once you've located Gossip_menu click the to create a new row. A new row should appear with 2 non-valued columns which are Entry & Text-ID Inside the Entry column put your Gossip_menu_id you entered on your npc, for this tutorial I used 63144 as mine. For Text_Id you will put an Id of your choosing, for this tutorial I'm going to use 631445.
Step 5:●Navigate to World < NPC_Text
●Once you've located NPC_Text click the to create a new row. A new row should appear with 82 columns. For this tutorial we will only be editing 2 columns. The columns you will be editing are ID & Text0_1. Inside the ID column put the Id you entered for your gossip_menu Text ID, for this tutorial I used 631445. Inside the Text0_1 column put the text you would like the NPC to display instead of:
●For this tutorial I'm going to put "Welcome to My world $n. Please be wear of yourself around these beasts."Greetings, $N.
●After you're done writing your own message, CTR + Enter to save, and then Restart your World server.
●Also, make sure you delete your WoW Cache before the server is back. If not you will not see the new message in your NPC.
Step 6: (Symbols Explanations)
●$N - Name of player
●$C - Class of player
●$R - Race of player
●$G - Gender of player (Man/Woman)
If you have any questions feel free to ask me.