Importing player into Serious Sam

Besides model and texture files, Player model needs 2 .amc (attachment model configuration) files, description .des and Tumbnail .tex to be succesfuly imported in Serious Sam.
First .amc file controls player model itself. Bellow Stainless Steve's .amc file is listed.

Name: Stainless Steve                                            -name of model
{ -beggining of model definition
Model: TFNM Models\Player\EmptyEd\Player.mdl -path to player legs model
Texture: TFNM Models\Player\EmptyEd\Player.tex -path to player legs texture
Specular:TFNM Models\SpecularTextures\Medium.tex -path to specular texture (if used, otherwise this line can be omitted)
Animation: 1 -legs animation, used in player browser preview (read this from Player.h file)

Attachment: 0 -first attachment on Player.mdl (should be Body model, Body.mdl)
{
Model: TFNM Models\Player\EmptyEd\Body.mdl -path to player Body model
Texture: TFNM Models\Player\EmptyEd\Body.tex -path to player Body texture
Specular:TFNM Models\SpecularTextures\Medium.tex -path to specular texture (if used, otherwise this line can be omitted)
Animation: 13 -body animation, used in player browser preview (read this from Body.h file), should match weapon used in Preview

Attachment: 0 -first attachment on Body.mdl (should be Head model, Head.mdl)
{
Model: TFNM Models\Player\EmptyEd\Head.mdl -path to Head model
Texture: TFNM Models\Player\EmptyEd\Head.tex -path to Head texture
Specular:TFNM Models\SpecularTextures\Medium.tex -path to specular texture (if used, otherwise this line can be omitted)

Attachment: 0 -first attachment on Head.mdl, this attachment is not required
{
Model: TFNM Models\Player\EmptyEd\Brain.mdl -path to Brain model
Texture: TFNM Models\Player\EmptyEd\Brain.tex -path to Brain texture
}

}
PreviewOnly -weapon definition used in Player browers
{

Include: TFNM Models\Weapons\Laser.amc -path to weapon's amc

}

}
}

With .amc files, variaty of Player models can be created, you can mix different legs,torso and head models, with different textures and have low memory consumption.
Animation defined in .amc file dont have to be animation used in game, you can add additional animation at the end of animation list in model and use that animation for preview in Player browser.
Next needed file is Description file .des. It consists of 2 lines, first line contains name used in Player model browser. Second line (not required) is description for Player browser window.

Stainless Steve
100% Chromium, 0% Brains

Thumbnail (.tex) is image file, used as tumbnail in Player browser window. It should be 256x256 image. You can create it in Serious Modeler or Editor (create new texture). Name must be PlayerNameTbn.tex (like StainlessSteveTbn.tex)

Stainless Steve Thumbnail

Now that we have all files ready, copy needed .mdl and .tex to folder you listed in players .amc file (like Models\Player\EmptyEd\). Copy .amc, .des and tbn.tex to Models\Player folder where Serious Sam is installed.
Run Serious Sam. Click on Options button in Main menu.

Image 64

Select Player and controls menu.

Image 65

Click on window with active player model to access Player browser.

Image 66

In Player browser, click on name of player model you want to set as active player.

Image 67

Game will return to Player profile menu, active player will be one you selected in Player browser.
If something is misconfigured in .amc files or files are missing, error will be reported in console (accesse with F1 or `). Simple copy missing files or adjust .amc files and select Player model again. You dont need to exit game.

Image 68

Run any of game's modes to test Player model. 3rd person view is activated with h shortcut.

Player in game

Use that view to check model and animations in game. If you change something on model(texture), simply copy changed models/textures over old ones.
If you plan to release your Player model, dont forget to pack all needed files (mdl, tex, .amc) in archive.
Good Luck!