4. preview it in toribash
now that you have the head obj you save it to your folder
Steam\SteamApps\common\Toribash\custom\uke
For your texture file, save it as .tga it should be named head_obj.tga and put this in your Steam\SteamApps\common\Toribash\custom\uke folder as well
if you do not wish to preview it on uke feel free to use any other custom folder
Your folder should now look like this
4.1. Item.dat modifying
OBJ0 1; 2 3 4 5 6 7 8
Breakdown:
OBJ0: Bodypart to modify. The number after OBJ denote the bodypart ID (OBJ0 = head, OBJ1 = breast)
Refer:
[Tutorial]Improved Item.dat Editing Tut
Number values:
- Toggle object on/off
- <unknown>
- Color ID: REFER toribash.com/colors.txt
- Alpha: 255 = fully opaque, 0 = fully transparent
- Use texture overlay: body part texture is MULTIPLIED over the object color. If colorID is 0 or 1 or pure, the texture color is used as is
- ?Dynamic <unknown> currently shrinks/flattens object
- Replace body part with object: 0 = body part is visible with object, 1 = bodypart is replaced with object
- Ghost: 0 = object doesn't appear in ghost, 1 = object appears in ghost
Example:
Say we want to replace the mesh of the left foot and have it color textured, and appear in the ghost
we add this in the item.dat
OBJ20 1; 1 0 255 1 0 1 1
in the custom folder, add an OBJ mesh named l_foot.obj
and add a texture matching the UV map of the mesh named l_foot_obj.tga
For my hat I used the code OBJ0 1; 1 0 255 1 0 0 0
If your item won't display at this point you have done something wrong
enjoy