[Release] Coding a garment from scratch

07/12/2013 14:40 2slam#1
hello folks, today I'll show you how to setup a new garment edits and add it to your server without any replacement of any other garments.

First:

Get these files from TQ patches :

Armor.dbc
3DTexture.dbc
3Dobject.dbc


and convert them using kiyono dbc converter
u can get it here : [Only registered and activated users can see links. Click Here To Register...]

second:

create a new folder in your client and let's rename it like Edits.


then extract the 2 files c3,dds in it.

suppose that we will add the nano suit that i modded from the game Crysis

we'll get 2 files a c3 one and another dds one.


Third:


return back to your converted text files


open the 3Dobj (that file which determine the path of the c3 file)

and you will get something like that


the 111222 >>> is the mesh id and we will use it later but keep it in mind

the green highlighted area is the path of the c3 file that we got in our client.

lets save it.

then open the 3DTexture(that file which determine the path of the dds file)


the Red Highlighted is the texture id also we'll use it later.
the green highlighted is the path of the dds file.

lets save it also.

open the armor.txt(this file which determine the mesh and the texture of the armor and its id)

you will get something like that


the pink highlighted no 3 is for the body type

Code:
1 = small female
2 = big female
3 = small male
4 = big male
and the green highlighted no 188750 is the Garment ID

the red highlighted no. is the texture and the mesh ids we've used in the 3dobj and 3dtexture files.

save it and convert it back to dbc

put the 3 files back in your ini folder

the last step is to add the item to your itemtype

decrypt your itemtype

add the garment id and its name (copy any garment and replace it's name and the id)

we'll use that id 188755.
and add it also to your database.

finally run your game and you will get a new garment from scratch ^^


Hope that helped people here :).
07/13/2013 00:25 Super Aids#2
>coding
07/13/2013 00:57 Arby#3
#moved
07/13/2013 01:39 go for it#4
i think that belong more to the private servers releases than programming
07/13/2013 08:47 LordGragen.#5
i didnt know you can make a new folder and do that, thank you.
07/13/2013 14:32 urgabel#6
Quote:
Originally Posted by Super Aids View Post
>coding
It is not related to programming. I have not seen any single line of code. Maybe the post title is not very good, I suggest "Guide: Adding new garment from scratch".

It could be in [Only registered and activated users can see links. Click Here To Register...].

Quote:
Originally Posted by CO2 Guides & Templates
What should I talk about in this section?

Hello everyone!


Welcome to the CO2 Guides & Templates section. In this section it is okay to talk about:
CO2 Guides
CO2 Tutorials
CO2 Edit Guides(how to edit etc)
07/19/2013 04:14 HallOFPains#7
Awesome Bro Amazing Big Thanks to u
07/19/2013 08:56 Korvacs#8
Yeah should definitely be in the guides and templates section since its a guide, and no programming takes place.
07/19/2013 18:56 Arby#9
Yeah, I'll agree with that. Moved again. My bad.
07/20/2013 22:45 HallOFPains#10
well 2slam i used this way but i dont know
well i added 16 Garments i made & i do every thing exactly like u
but when i try to wear them they all was the look of 1 Garment , i dont know why or how
but i really want to talk with u well this my yahoo : [Only registered and activated users can see links. Click Here To Register...]
if u can add me cuz i really need ur help at this things
07/24/2013 01:54 2slam#11
Quote:
Originally Posted by HallOFPains View Post
well 2slam i used this way but i dont know
well i added 16 Garments i made & i do every thing exactly like u
but when i try to wear them they all was the look of 1 Garment , i dont know why or how
but i really want to talk with u well this my yahoo : [Only registered and activated users can see links. Click Here To Register...]
if u can add me cuz i really need ur help at this things
u should change the id's of the garments like 192155 the next one should be 192165 as there is 10 digits difference.
07/24/2013 07:06 DJjayson#12
i will try this...fb later sir...thanks again for the guide ..
08/29/2013 19:48 Nocomoqueso#13
I did the same for your theme, and it worked
: D, I chose a skin of "Eudemons" but I have this problem, skin guard and the other npc disappear and my skin looks like this, even when I jump, it's the same ... no animations, thanks for your help!
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
09/06/2013 15:18 Heartlessboi#14
Okay so I got this kinda same problem as Nocomoqueso. Well the thing is the garment that I create, and when I wear it, it makes me dissappear and I can't move or jump. So if anyone know what's the problem is please tell me...Thanks