04.11.2017, 13:14
(
Последний раз редактировалось Codeah; 07.04.2018 в 08:36.
Причина: Added crate model
)
AddCharModel
How to add a skin :
1. Get a .dff file and a .txd file
2. Place the files in the models folder (If you do not have one, create one)
3. Inside of models/artconfig.txt add a new line with the following parameters
Parameters :
1 . Any existing skin, it will inherit it's features. Such as walking speed, walking style etc.
2. The ID of the skin, which you can use in SetPlayerSkin (IMPORTANT : ranges from 20000 to 30000)
3. The DFF file (From models folder)
4. The TXD file (From models folder)
Notes :
You can find a lot of skins on http://www.gamemodding.net/
--------------------------------------------------------
AddSimpleModel
How to add custom objects :
1. Get a .dff file and a .txd file
2. Place the files in the models folder
3. Inside of models/artconfig.txt add a new line with the following parameters
Parameters :
1. Virtual world
2. Any existing object, it will inherit it's features.
3. The ID of the object, which you can use in CreateObject (IMPORTANT : from -1000 to -30000)
4. The DFF file (From models folder)
5. The TXD file (From models folder)
Notes :
I have attached a zip file containing a DFF and TXD file for a simple crate that I modeled in Blender, feel free to use it!
How to add a skin :
1. Get a .dff file and a .txd file
2. Place the files in the models folder (If you do not have one, create one)
3. Inside of models/artconfig.txt add a new line with the following parameters
Код:
AddCharModel(305, 25002, "andre.dff", "andre.txd");
1 . Any existing skin, it will inherit it's features. Such as walking speed, walking style etc.
2. The ID of the skin, which you can use in SetPlayerSkin (IMPORTANT : ranges from 20000 to 30000)
3. The DFF file (From models folder)
4. The TXD file (From models folder)
Notes :
You can find a lot of skins on http://www.gamemodding.net/
--------------------------------------------------------
AddSimpleModel
How to add custom objects :
1. Get a .dff file and a .txd file
2. Place the files in the models folder
3. Inside of models/artconfig.txt add a new line with the following parameters
Код:
AddSimpleModel(-1,19379, -2000, "wallzzz.dff", "wallzzz.txd");
1. Virtual world
2. Any existing object, it will inherit it's features.
3. The ID of the object, which you can use in CreateObject (IMPORTANT : from -1000 to -30000)
4. The DFF file (From models folder)
5. The TXD file (From models folder)
Notes :
I have attached a zip file containing a DFF and TXD file for a simple crate that I modeled in Blender, feel free to use it!
