Morte@Posted: Thu Feb 01, 2007 4:46 am :
i made a semi-custom skin for the walker, how would i implement it, and replace the old skin file?



rich_is_bored@Posted: Thu Feb 01, 2007 6:52 am :
I hate the term "skin". It's too ambiguous.

People use it when they're talking about texturing models and when they're talking about UV mapping. And to make matters worse, Doom 3 engine based games use skin declarations.

So, just for clarification, which type of skinning are you talking about?

I assume you're referring to texturing a model and by that I mean crafting the images you intend to use as textures.

Generally speaking, if all you want to do is replace a texture, you simply replace the images. But in reality it could prove a bit more complex than that.

Here's just a quick run through of the steps involved...




6th Venom@Posted: Thu Feb 01, 2007 2:22 pm :
Hey rich!
You're not changing skin here, but textures! (i know, i play on words) :wink:



der_ton@Posted: Thu Feb 01, 2007 2:40 pm :
I know I'm not helping here, but "skinning" in 3d graphics terminology means the binding of a mesh to a skeleton to define how it deforms in animation. :)



Morte@Posted: Thu Feb 01, 2007 6:59 pm :
sorry for any ambiguity, i dont really model, more of a coder, but heres a refined version;

the name of the walker's skin is models/vehicles/walker/body

the name of the file used by the walker is models/vehicles/walker/body_d.tga

in the walker.Def file, the code never declares a skin, rather it just defines the model and somehow the skin comes with it

i modified the body_d.tga file in my mod but the skin command confused me and i think i did it wrong, so i need some help

is that more clear guys, thanks!
:D



Rayne@Posted: Thu Feb 01, 2007 7:20 pm :
Let's go dead rotten...

http://www.doom3world.org/phpbb2/viewto ... t=skinning


I opened this thread really a long time ago, but seems that someone agree with me at last :D



rich_is_bored@Posted: Thu Feb 01, 2007 11:41 pm :
One more time...

I open the file walker.def because I want to examine the entity declaration and see what model is used for the walker entity and possibly the name of any skins applied. I find that the model is called model_vehicle_walker and there is no skin key/value pair so skins are not a concern.

The model declaration points to an md5mesh at models/vehicles/walker/walker_base.md5mesh so I look to this file to gather what material shader is being referenced. I find quite a few shaders...

models/vehicles/flare
textures/common/entityGui
models/vehicles/walker/body
models/vehicles/walker/console
models/vehicles/walker/maingun
models/vehicles/walker/walker_decal1

I assume you want to skin the walker itself so I'm going to run with the shader models/vehicles/walker/body because it's name is a tipoff.

So, upon examining this material shader I find it references the images...

models/vehicles/walker/body_local.tga
models/vehicles/walker/body_h.tga
models/vehicles/walker/body_d.tga
models/vehicles/walker/body_s.tga
models/vehicles/walker/body_mask.tga
models/monsters/burnout_misc.tga

models/vehicles/walker/body_d.tga is the diffuse image and is probably the one you're interested in.

Now, because Doom 3 engine based games use Targa images for High end settings and DDS images for Low end settings, it's critical that you replace both the TGA and DDS version of this image in order for the change to take effect irrespective of video settings.

So your files should be named and stored as ...

C:\Quake4\q4base\models\vehicles\walker\body_d.tga
C:\Quake4\q4base\models\vehicles\walker\body_d.dds

If any of this information is new to you I highly suggest you read over the texturing section on http://www.modwiki.net because all of this is covered there.

On a side note, it's bad practice to override the game's stock assets and work from within the base directory. It's much more professional to work from within a custom mod folder and create new assets altogether.

It's a relatively simple matter to write the necessary skin declaration, material shader, and entity declaration so that you have an additional version of the walker listed from within the level editor.

But I'm not going to elaborate on the details here. At least not at this point because you have quite a bit of information to absorb as it is.



Morte@Posted: Sat Feb 03, 2007 10:33 pm :
i know, i am doing a mod for quake 4, and have a directory, called Red Ridge, which is the name of the mod lol, thanks for the help! :)



Morte@Posted: Thu Feb 01, 2007 4:46 am :
i made a semi-custom skin for the walker, how would i implement it, and replace the old skin file?



rich_is_bored@Posted: Thu Feb 01, 2007 6:52 am :
I hate the term "skin". It's too ambiguous.

People use it when they're talking about texturing models and when they're talking about UV mapping. And to make matters worse, Doom 3 engine based games use skin declarations.

So, just for clarification, which type of skinning are you talking about?

I assume you're referring to texturing a model and by that I mean crafting the images you intend to use as textures.

Generally speaking, if all you want to do is replace a texture, you simply replace the images. But in reality it could prove a bit more complex than that.

Here's just a quick run through of the steps involved...




6th Venom@Posted: Thu Feb 01, 2007 2:22 pm :
Hey rich!
You're not changing skin here, but textures! (i know, i play on words) :wink:



der_ton@Posted: Thu Feb 01, 2007 2:40 pm :
I know I'm not helping here, but "skinning" in 3d graphics terminology means the binding of a mesh to a skeleton to define how it deforms in animation. :)



Morte@Posted: Thu Feb 01, 2007 6:59 pm :
sorry for any ambiguity, i dont really model, more of a coder, but heres a refined version;

the name of the walker's skin is models/vehicles/walker/body

the name of the file used by the walker is models/vehicles/walker/body_d.tga

in the walker.Def file, the code never declares a skin, rather it just defines the model and somehow the skin comes with it

i modified the body_d.tga file in my mod but the skin command confused me and i think i did it wrong, so i need some help

is that more clear guys, thanks!
:D



Rayne@Posted: Thu Feb 01, 2007 7:20 pm :
Let's go dead rotten...

http://www.doom3world.org/phpbb2/viewto ... t=skinning


I opened this thread really a long time ago, but seems that someone agree with me at last :D



rich_is_bored@Posted: Thu Feb 01, 2007 11:41 pm :
One more time...

I open the file walker.def because I want to examine the entity declaration and see what model is used for the walker entity and possibly the name of any skins applied. I find that the model is called model_vehicle_walker and there is no skin key/value pair so skins are not a concern.

The model declaration points to an md5mesh at models/vehicles/walker/walker_base.md5mesh so I look to this file to gather what material shader is being referenced. I find quite a few shaders...

models/vehicles/flare
textures/common/entityGui
models/vehicles/walker/body
models/vehicles/walker/console
models/vehicles/walker/maingun
models/vehicles/walker/walker_decal1

I assume you want to skin the walker itself so I'm going to run with the shader models/vehicles/walker/body because it's name is a tipoff.

So, upon examining this material shader I find it references the images...

models/vehicles/walker/body_local.tga
models/vehicles/walker/body_h.tga
models/vehicles/walker/body_d.tga
models/vehicles/walker/body_s.tga
models/vehicles/walker/body_mask.tga
models/monsters/burnout_misc.tga

models/vehicles/walker/body_d.tga is the diffuse image and is probably the one you're interested in.

Now, because Doom 3 engine based games use Targa images for High end settings and DDS images for Low end settings, it's critical that you replace both the TGA and DDS version of this image in order for the change to take effect irrespective of video settings.

So your files should be named and stored as ...

C:\Quake4\q4base\models\vehicles\walker\body_d.tga
C:\Quake4\q4base\models\vehicles\walker\body_d.dds

If any of this information is new to you I highly suggest you read over the texturing section on http://www.modwiki.net because all of this is covered there.

On a side note, it's bad practice to override the game's stock assets and work from within the base directory. It's much more professional to work from within a custom mod folder and create new assets altogether.

It's a relatively simple matter to write the necessary skin declaration, material shader, and entity declaration so that you have an additional version of the walker listed from within the level editor.

But I'm not going to elaborate on the details here. At least not at this point because you have quite a bit of information to absorb as it is.



Morte@Posted: Sat Feb 03, 2007 10:33 pm :
i know, i am doing a mod for quake 4, and have a directory, called Red Ridge, which is the name of the mod lol, thanks for the help! :)



Morte@Posted: Thu Feb 01, 2007 4:46 am :
i made a semi-custom skin for the walker, how would i implement it, and replace the old skin file?



rich_is_bored@Posted: Thu Feb 01, 2007 6:52 am :
I hate the term "skin". It's too ambiguous.

People use it when they're talking about texturing models and when they're talking about UV mapping. And to make matters worse, Doom 3 engine based games use skin declarations.

So, just for clarification, which type of skinning are you talking about?

I assume you're referring to texturing a model and by that I mean crafting the images you intend to use as textures.

Generally speaking, if all you want to do is replace a texture, you simply replace the images. But in reality it could prove a bit more complex than that.

Here's just a quick run through of the steps involved...




6th Venom@Posted: Thu Feb 01, 2007 2:22 pm :
Hey rich!
You're not changing skin here, but textures! (i know, i play on words) :wink:



der_ton@Posted: Thu Feb 01, 2007 2:40 pm :
I know I'm not helping here, but "skinning" in 3d graphics terminology means the binding of a mesh to a skeleton to define how it deforms in animation. :)



Morte@Posted: Thu Feb 01, 2007 6:59 pm :
sorry for any ambiguity, i dont really model, more of a coder, but heres a refined version;

the name of the walker's skin is models/vehicles/walker/body

the name of the file used by the walker is models/vehicles/walker/body_d.tga

in the walker.Def file, the code never declares a skin, rather it just defines the model and somehow the skin comes with it

i modified the body_d.tga file in my mod but the skin command confused me and i think i did it wrong, so i need some help

is that more clear guys, thanks!
:D



Rayne@Posted: Thu Feb 01, 2007 7:20 pm :
Let's go dead rotten...

http://www.doom3world.org/phpbb2/viewto ... t=skinning


I opened this thread really a long time ago, but seems that someone agree with me at last :D



rich_is_bored@Posted: Thu Feb 01, 2007 11:41 pm :
One more time...

I open the file walker.def because I want to examine the entity declaration and see what model is used for the walker entity and possibly the name of any skins applied. I find that the model is called model_vehicle_walker and there is no skin key/value pair so skins are not a concern.

The model declaration points to an md5mesh at models/vehicles/walker/walker_base.md5mesh so I look to this file to gather what material shader is being referenced. I find quite a few shaders...

models/vehicles/flare
textures/common/entityGui
models/vehicles/walker/body
models/vehicles/walker/console
models/vehicles/walker/maingun
models/vehicles/walker/walker_decal1

I assume you want to skin the walker itself so I'm going to run with the shader models/vehicles/walker/body because it's name is a tipoff.

So, upon examining this material shader I find it references the images...

models/vehicles/walker/body_local.tga
models/vehicles/walker/body_h.tga
models/vehicles/walker/body_d.tga
models/vehicles/walker/body_s.tga
models/vehicles/walker/body_mask.tga
models/monsters/burnout_misc.tga

models/vehicles/walker/body_d.tga is the diffuse image and is probably the one you're interested in.

Now, because Doom 3 engine based games use Targa images for High end settings and DDS images for Low end settings, it's critical that you replace both the TGA and DDS version of this image in order for the change to take effect irrespective of video settings.

So your files should be named and stored as ...

C:\Quake4\q4base\models\vehicles\walker\body_d.tga
C:\Quake4\q4base\models\vehicles\walker\body_d.dds

If any of this information is new to you I highly suggest you read over the texturing section on http://www.modwiki.net because all of this is covered there.

On a side note, it's bad practice to override the game's stock assets and work from within the base directory. It's much more professional to work from within a custom mod folder and create new assets altogether.

It's a relatively simple matter to write the necessary skin declaration, material shader, and entity declaration so that you have an additional version of the walker listed from within the level editor.

But I'm not going to elaborate on the details here. At least not at this point because you have quite a bit of information to absorb as it is.



Morte@Posted: Sat Feb 03, 2007 10:33 pm :
i know, i am doing a mod for quake 4, and have a directory, called Red Ridge, which is the name of the mod lol, thanks for the help! :)