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!
![>](img/i_next.png)
Own Skin
![>](img/i_next.png)
Adjustable, e.g. ct1 = lol.bmp ON/OFF ...
![•](img/dot.gif)
Install
![>](img/i_next.png)
Extract the archive
![>](img/i_next.png)
Add all files to your CS2D Folder or your server folder
![>](img/i_next.png)
Open the file Server.lua (CS2D/sys/lua) and add this line:
1
dofile("sys/lua/playerskins/main.lua")
![>](img/i_next.png)
Now open the file settings.cfg (CS2D/sys/lua/playerskins):
This text comes up ![>](img/i_plus.png)
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}
![∗](img/star.gif)
I recommend to change the skinpath!
![>](img/i_next.png)
Change to setting.cfg to fit for your server. Dont copy this one!
![>](img/i_next.png)
Open the file servertransfer.lst (CS2D/sys/lua/) and add this:
You can use this text. Only if the paths agree ![>](img/i_plus.png)
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
![>](img/i_next.png)
The new skins are in CS2D/gfx/playerskins
![>](img/i_next.png)
Black = Transparent
![>](img/i_next.png)
Thats it!
![√](img/ok.gif)
Use it
![√](img/ok.gif)
Have Fun
![×](img/x.gif)
Edit (except settings.cfg and also the skins :D)
![×](img/x.gif)
Upload
![×](img/x.gif)
Take rights