I have seen many CSS videos and I saw that some servers have there own player skins. So I decided to make a script for CS2D to do that!

Own Skin

Adjustable, e.g. ct1 = lol.bmp ON/OFF ...

Install

Extract the archive

Add all files to your CS2D Folder or your server folder

Open the file Server.lua (CS2D/sys/lua) and add this line:
1
dofile("sys/lua/playerskins/main.lua")

Now open the file settings.cfg (CS2D/sys/lua/playerskins):
This text comes up 
0 = OFF
1 = ON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
useskins=1 Use Skins
skinpath="playerskins/" Skin Path in gfx. Dont forget the /
maxp=32 Max. Players
ct1={"ct1.bmp",1}
--
Declaration:
SKINNAME={"FILENAME IN gfx/skinpath", ON/OFF}
--
ct2={"ct2.bmp",1}
ct3={"ct3.bmp",1}
ct4={"ct4.bmp",1}
t1={"t1.bmp",1}
t2={"t2.bmp",1}
t3={"t3.bmp",1}
t4={"t4.bmp",1}

I recommend to change the skinpath!

Change to setting.cfg to fit for your server. Dont copy this one!

Open the file servertransfer.lst (CS2D/sys/lua/) and add this:
You can use this text. Only if the paths agree 
1
2
3
4
5
6
7
8
gfx/playerskins/ct1.bmp
gfx/playerskins/ct2.bmp
gfx/playerskins/ct3.bmp
gfx/playerskins/ct4.bmp
gfx/playerskins/t1.bmp
gfx/playerskins/t2.bmp
gfx/playerskins/t3.bmp
gfx/playerskins/t4.bmp

The new skins are in CS2D/gfx/playerskins

Black = Transparent

Thats it!

Use it

Have Fun

Edit (except settings.cfg and also the skins :D)

Upload

Take rights