User Tools

Site Tools


how_to_make_new_character_skins

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

how_to_make_new_character_skins [2014/09/09 09:19] (current)
phanjam created
Line 1: Line 1:
 +<fs 300%>How to add new character skins</​fs>​
 +
 +By: Kva3imoda
 +
 +{{tag>​[skins character_skin retexture]}}
 +
 +Okay, let's try to add a new character skin.
 +
 +===== A. Make the skin =====
 +
 +I choose a female Embermage. ​ Let's do a zombie. :) I re-colored a standard texture HUF_FACE_CAS01.PNG and re-named it HUF_FACE_ZOMBIE01.PNG
 +
 +{{http://​i.imgur.com/​yfVIVW4.png}}
 +
 +Notes:
 +  * All standard face textures are here: MEDIA\WARDROBE\HUMAN
 +  * The texture should have an alpha channel same as standard textures.
 +
 +===== B. Add the skin =====
 +
 +==== 1. Define the skin ====
 +
 +For this mod, we need only 2 files: Our texture HUF_FACE_ZOMBIE01.PNG and this file WARDROBESETS.DAT,​ which can be found here: MEDIA\WARDROBE
 +
 +Create a new folder "​Zombie"​ for our mod and copy the two files there:
 +
 +  * mods\Zombie\MEDIA\WARDROBE\HUF_FACE_ZOMBIE01.PNG
 +  * mods\Zombie\MEDIA\WARDROBE\HUMAN\WARDROBESETS.DAT
 +
 +{{http://​i.imgur.com/​IBCbPEh.png}}
 +
 +Open the file WARDROBESETS.DAT and find the following lines:
 +
 +<​code>​
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE CASTER 1
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas01.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HuF_face_cas01.png
 + <​INTEGER64>​GUID:​12141
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE CASTER 2
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas02.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HuF_face_cas02.png
 + <​INTEGER64>​GUID:​12142
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE CASTER 3
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas03.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HuF_face_cas03.png
 + <​INTEGER64>​GUID:​12143
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE CASTER 4
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas04.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HuF_face_cas04.png
 + <​INTEGER64>​GUID:​12144
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 +</​code>​
 +
 +Copy one of the [FEATURE] block, insert in the file and give it a new name FEMALEFACE ZOMBIE 1. Then change BODYBLEND to use our texture (media/​wardrobe/​human/​HUF_FACE_ZOMBIE01.PNG) and change the GUID.
 +
 +It should look like this:
 +
 +<​code>​
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE ZOMBIE 1
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas01.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HUF_FACE_ZOMBIE01.PNG
 + [<​INTEGER64>​GUID:​1214199
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE CASTER 1
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas01.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HuF_face_cas01.png
 + <​INTEGER64>​GUID:​12141
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE CASTER 2
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas02.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HuF_face_cas02.png
 + <​INTEGER64>​GUID:​12142
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE CASTER 3
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas03.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HuF_face_cas03.png
 + <​INTEGER64>​GUID:​12143
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 + [FEATURE]
 + <​STRING>​TYPE:​FACE
 + <​STRING>​NAME:​FEMALEFACE CASTER 4
 + <​STRING>​MESH:​media/​wardrobe/​human/​HuF_head_cas04.MESH
 + <​STRING>​BODYBLEND:​media/​wardrobe/​human/​HuF_face_cas04.png
 + <​INTEGER64>​GUID:​12144
 + <​STRING>​CLASS:​Hum_F
 + <​STRING>​REMOVE:​EYES
 + <​STRING>​REMOVE:​JAW
 + <​STRING>​REMOVE:​JAWSIDE
 + <​STRING>​REMOVE:​BEARD
 + <​STRING>​ADD:​EYES
 + <​STRING>​ADD:​JAW
 + <​STRING>​ADD:​JAWSIDE
 + [/FEATURE]
 +</​code>​
 +
 +Save the file.
 +
 +==== 2. Add the skin as an option ====
 +
 +Start the GUTS editor and select our mod "​Zombie":​
 +
 +{{http://​i.imgur.com/​Hf1oig0.png}}
 +
 +Open Data Editors -> Units -> Players
 +
 +{{http://​i.imgur.com/​eFqNJiF.png}}
 +
 +In the Units panel select a female Arbiter (Embermage). Select the "​Wardrobe"​ tab and add the new face in the "​Options"​ panel:
 +
 +{{http://​i.imgur.com/​Ho3Mxb8l.png}}
 +
 +Save changes.
 +
 +Everything is ready, now your character has a new skin.  :) The original skins are working too.
 +
 +{{http://​i.imgur.com/​IFSdtPl.png}}
 +
 +And in the game:
 +
 +{{http://​i.imgur.com/​NUDBMcfl.png}}
  
how_to_make_new_character_skins.txt · Last modified: 2014/09/09 09:19 by phanjam