[TUTORIAL] How to add a skin/object
#1

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

Код:
AddCharModel(305, 25002, "andre.dff", "andre.txd");
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

Код:
AddSimpleModel(-1,19379, -2000, "wallzzz.dff", "wallzzz.txd");
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!

Reply


Messages In This Thread
[TUTORIAL] How to add a skin/object - by Codeah - 04.11.2017, 13:14
Re: [TUTORIAL] How to add a skin/object - by TopShooter2 - 04.11.2017, 13:36
Re: [TUTORIAL] How to add a skin/object - by Mojizijue - 04.11.2017, 14:44
Re: [TUTORIAL] How to add a skin/object - by Saddin - 04.11.2017, 16:17
Re: [TUTORIAL] How to add a skin/object - by Codeah - 04.11.2017, 17:04
Re: [TUTORIAL] How to add a skin/object - by Saddin - 04.11.2017, 17:11
Re: [TUTORIAL] How to add a skin/object - by dugi - 04.11.2017, 17:26
Re: [TUTORIAL] How to add a skin/object - by Saddin - 04.11.2017, 17:45
Re: [TUTORIAL] How to add a skin/object - by Sasino97 - 12.11.2017, 17:18
Re: [TUTORIAL] How to add a skin/object - by DevHarden - 12.11.2017, 17:56
Re: [TUTORIAL] How to add a skin/object - by Nokia17Rocks - 27.12.2017, 18:32
Re: [TUTORIAL] How to add a skin/object - by mschnitzer - 27.12.2017, 18:47
Re: [TUTORIAL] How to add a skin/object - by Gokz - 31.12.2017, 14:52
Re: [TUTORIAL] How to add a skin/object - by Joshhh - 02.01.2018, 10:31
Re: [TUTORIAL] How to add a skin/object - by mschnitzer - 02.01.2018, 10:42
Re: [TUTORIAL] How to add a skin/object - by Sellize - 02.01.2018, 10:49
Re: [TUTORIAL] How to add a skin/object - by dani18 - 13.01.2018, 17:36
Re: [TUTORIAL] How to add a skin/object - by tuantruoq - 07.03.2018, 07:27
Re: [TUTORIAL] How to add a skin/object - by Victor012 - 22.05.2018, 20:28
Re: [TUTORIAL] How to add a skin/object - by Lokii - 22.05.2018, 21:11
Re: [TUTORIAL] How to add a skin/object - by Astonish - 22.05.2018, 22:28
Re: [TUTORIAL] How to add a skin/object - by Knapek14 - 11.08.2018, 00:18
Re: [TUTORIAL] How to add a skin/object - by Guilh - 03.09.2018, 04:14
Re: [TUTORIAL] How to add a skin/object - by Guilh - 12.09.2018, 05:46
Re: [TUTORIAL] How to add a skin/object - by thanh7305 - 05.02.2019, 14:31
Re: [TUTORIAL] How to add a skin/object - by thanh7305 - 05.02.2019, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)