Custom player skins

# AssaultCube: Custom player skins

# Custom player skins

The AssaultCube playmodel is originally created by: Darren “HitmanDaz[MT]” Pattenden. Under the license given by him, you may use these models/skins for personal use only... i.e. Not for commercial use, and if edited, you should license them in the same way, rather than adding your own license to them.

This page covers implementation/use of the playerskin, not how to edit a playerskin. To learn how to edit a playerskin, please refer elsewhere. Note: You can use /packages/models/playermodels/skin.jpg as a template to make a new playerskin.

## Nickname skins

A new feature of AssaultCube v1.0 allows you to have custom skins for particular players. This is great if you have, for example, a friend in the game, that you want to be able to always recognise easily (so you can go kick his ass!)

This feature works on nickname recognition. If player foobar exists, and there is a skin with the name foobar, then it will load that skin for the player with that name.

To implement this, navigate to the folder: /packages/models/playermodels/custom
You will need to add your playerskin into this folder and then name it as below:
(Note: Nicknames and filenames are case sensitive)

- [nickname]_ffa.jpg - This will make AssaultCube load your playerskin for the name you specified if playing a non-team mode. If this file is missing, then AssaultCube will use either the CLA or the RVSF file.
- [nickname]_cla.jpg - This will make AssaultCube load your playerskin for the name you specified if the player is on team CLA.
- [nickname]_rvsf.jpg - This will make AssaultCube load your playerskin for the name you specified if the player is on team RVSF.

## Key-word nickname skins

You can also make the playerskin look for key words in the nickname instead, this is especially useful if you want all of your clan to display the same skin (i.e. you could make AssaultCube search for your clan tag Z!P and make all players with that word display the skin you specify).

To implement this, navigate to the folder: /packages/models/playermodels/custom
You will need to add your playerskin into this folder and then name it as below:
(Note: Nicknames and filenames are case sensitive, also note how there are _2_ underscores!)

- [keyword]__ffa.jpg - This will make AssaultCube load your playerskin for the key word you specified if playing a non-team mode. If this file is missing, then AssaultCube will use either the CLA or the RVSF file.
- [keyword]__cla.jpg - This will make AssaultCube load your playerskin for the key word you specified if the player is on team CLA.
- [keyword]__rvsf.jpg - This will make AssaultCube load your playerskin for the key word you specified if the player is on team RVSF.

## File replacement

There is also of course, file replacement, where you would replace the already existing skin file with your new skin, so that anybody with the skin that you replaced, would now appear with your new skin (i.e. named the same). This is not recommended, but if you do decide to do this, it is best implemented as a mod.