PDA

View Full Version : [Release] Trinity Transmogrification



Wise
20-09-12, 10:18 PM
1. Step:

Open "Trinity\src\server\game\CMakeLists.txt" file,
and lets modify:
http://kepfeltoltes.hu/120829/cmakel...toltes.hu_.png (http://kepfeltoltes.hu/120829/cmakelist_www.kepfeltoltes.hu_.png)

2. Step:

"Trinity\src\server\scripts\Custom" copy into the folder these .cpp and .h files:
TransmogMgr.cpp: /////////////////////////////// //**** Created By EroniX ****// ////////////// - Pastebin.com (http://pastebin.com/04nAuDsJ)

TransmogMgr.h: /////////////////////////////// //**** Created By EroniX ****// ////////////// - Pastebin.com (http://pastebin.com/3hX8DTgP)

TransmogEngine.cpp: /////////////////////////////// //**** Created By EroniX ****// ////////////// - Pastebin.com (http://pastebin.com/h7k4NUz6)

TransmogEngine.h: /////////////////////////////// //**** Created By EroniX ****// ////////////// - Pastebin.com (http://pastebin.com/JntadrV9)

TransmogHandler.cpp: /////////////////////////////// //**** Created By EroniX ****// ////////////// - Pastebin.com (http://pastebin.com/qindn27D)

3. Step:

ScriptLoader:
void AddSC_transmog();
AddSC_transmog();

void AddSC_StartUpTransmog();
AddSC_StartUpTransmog();

4. Step:

Lets do some core mod as you see in the pictures.

LootHandler.cpp:
http://kepfeltoltes.hu/120829/lootha...toltes.hu_.png (http://kepfeltoltes.hu/120829/loothandler1_www.kepfeltoltes.hu_.png)
http://kepfeltoltes.hu/120829/lootha...toltes.hu_.png (http://kepfeltoltes.hu/120829/loothandler2_www.kepfeltoltes.hu_.png)


Player.h:
http://kepfeltoltes.hu/120829/player...toltes.hu_.png (http://kepfeltoltes.hu/120829/playerh_www.kepfeltoltes.hu_.png)


Player.cpp:
http://kepfeltoltes.hu/120829/player...toltes.hu_.png (http://kepfeltoltes.hu/120829/playercpp1_www.kepfeltoltes.hu_.png)
http://kepfeltoltes.hu/120829/player...toltes.hu_.png (http://kepfeltoltes.hu/120829/playercpp2_www.kepfeltoltes.hu_.png)
http://kepfeltoltes.hu/120907/player...toltes.hu_.png (http://kepfeltoltes.hu/120907/playercpp3_www.kepfeltoltes.hu_.png)

5. Step:

Import this (to the Char DB):
/* SQLyog Community v9.60 MySQL - 5.5.16 ********************************** - Pastebin.com (http://pastebin.com/S8hsv8Wf)


Create an NPC with these datas:
Flag: 1
ScriptName: npc_transmog
Entry: 100002 (defined in TransmogEngine.h)

In Action:

Pic1: http://kepfeltoltes.hu/120829/as1_ww...toltes.hu_.jpg (http://kepfeltoltes.hu/120829/as1_www.kepfeltoltes.hu_.jpg)

Pic2: http://kepfeltoltes.hu/120829/as2_ww...toltes.hu_.jpg (http://kepfeltoltes.hu/120829/as2_www.kepfeltoltes.hu_.jpg)

Pic3: http://kepfeltoltes.hu/120829/as3_ww...toltes.hu_.jpg (http://kepfeltoltes.hu/120829/as3_www.kepfeltoltes.hu_.jpg)

Pic4: http://kepfeltoltes.hu/120829/as4_ww...toltes.hu_.jpg (http://kepfeltoltes.hu/120829/as4_www.kepfeltoltes.hu_.jpg)

Pic5: http://kepfeltoltes.hu/120829/as5_ww...toltes.hu_.jpg (http://kepfeltoltes.hu/120829/as5_www.kepfeltoltes.hu_.jpg)

Pic6: http://kepfeltoltes.hu/120829/as6_ww...toltes.hu_.jpg (http://kepfeltoltes.hu/120829/as6_www.kepfeltoltes.hu_.jpg)

Tested:

TrinityCore rev. 2012-07-09 13:42:38 -0400 (a24b6576e2b3+) (Win32, Release)



Credits to EroniX for making this awesome script