DressNPCs

About

You can make an NPC, set the displays or items you want him to have and his race and gender (defines displayID) as well as facial features and skin color. All this is done in the database. The values for skins and features range from 0 to 12 or something .. not quite sure how many there are. (it varies for races)
Note The items can use positive value as item entry and negative for displayid.
Source: https://rochet2.github.io/?page=Dress_NPCs

Known bugs: Portraits dont work properly - a client side visual bug
Installation

Available as:

    Direct merge: https://github.com/Rochet2/TrinityCore/tree/dressnpcs
    Diff: https://github.com/Rochet2/TrinityCore/compare/dressnpcs.diff
    Patch: https://github.com/Rochet2/TrinityCore/compare/dressnpcs.patch

Using direct merge:

    open git bash to source location
    do git remote add rochet2 https://github.com/Rochet2/TrinityCore.git
    do git pull rochet2 dressnpcs
    use cmake and compile

Using diff:

    DO NOT COPY THE DIFF DIRECTLY! It causes apply to fail.
    download the diff by right clicking the link and select Save link as
    place the downloaded dressnpcs.diff to the source root folder
    open git bash to source location
    do git apply dressnpcs.diff
    use cmake and compile

After compiling:

    Run \src\server\scripts\Custom\DressNPCs\world.sql to your world database

Usage

Create a row to creature_template_outfits table with your desired race, gender and equipped items. Create an NPC. Set the creature_template_outfits entry to the modelID column in creature_template, but make it negative. Clear wow cache folder, restart server and spawn the NPC. The patch also adds .reload creature_template_outfit command. You can use it to reload the creature outfit table again for testing. You should be able to reload the table with new entries of ingame creatures. Relog to update the visual look of creatures with the reloaded data. Using reload is not recommended. (not outfit nor template)
Bugs and Contact

Report issues and similar to https://rochet2.github.io/