PDA

View Full Version : [Trinity C++] Faction/Race/Rename/Customize change NPC



Wise
24-10-13, 12:22 AM
Script info:
This script will allow your players to buy faction / race / Rename / Customize changes right from a NPC ingame, you will need to define your token enter ID at the top of the script keep reading for more info about that.

Q/A
How Do I Define My Token Enter IDs?
Just follow the small guide below:
● Go to line 13 to change the faction change token enter ID
● Go to line 14 to change the race change token enter ID
● Go to line 15 to change the rename change token enter ID
● Go to line 16 to change the Customize change token enter ID

SQL


-- Tools NPC
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`, `unit_flags2`, `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`, `HoverHeight`, `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 (700001, 0, 0, 0, 0, 0, 25900, 0, 0, 0, 'Changer NPC', 'Emudevs', NULL, 0, 80, 80, 0, 35, 35, 1, 1, 1.14286, 2.5, 0, 13, 17, 0, 42, 1, 1500, 0, 1, 512, 2048, 8, 0, 0, 0, 0, 0, 9, 13, 100, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 'npc_changer', 12340);


Script:
http://pastebin.com/x526ZXJE


Credits : Ghostcrawler

Dr.Core
13-10-14, 06:25 PM
I have update the script and see ;)

http://abload.de/img/wowscrnshot_101414_00vip8t.jpg