I got so far this time!
Heres what i got done:
I got the .tga to be the tree color i want.
Its a nice purple with purple leaves.
Cant post here cuase its like 2mb.
Question for the Experts! Look HERE PLEASE!
Moderator: Moderators
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
not much of a skinning guru are you?
u have to reskin the tree to make it purple. open ps or psp, add a layer, make it a "color" property, then select a purple color, and flood fill the layer. it should turn purple.
then follow bdbodger's steps to get the purple textures onto the tree.
u have to reskin the tree to make it purple. open ps or psp, add a layer, make it a "color" property, then select a purple color, and flood fill the layer. it should turn purple.
then follow bdbodger's steps to get the purple textures onto the tree.
Live to map, not map to live.
-mohaa_rox, .map
moderator
-mohaa_rox, .map
moderator
Ok lets do this one step at a time . In the main directory you have pk3 files . One of those files is called pak0.pk3 . Open that with winzip or winrar .
When you have that open go to the scripts directory .
look for a file called trees.shader
Extract that file to your harddrive
What .tik file are you remakeing purple ?
in pak0.pk3 models directory find the static directory open that directory
find the natural directory open that directory .
now find the tik for the tree you are makeing purple
Extract the tik to your harddrive .
Ok now open the tik in notepad and find the line that reads " surface blah blah shader ??????? "
The ??????? is the shader you are looking for .
Open the trees.shader in a new notepad window
find the ??????? in the trees.shader it will look something like this
copy the ???????? shader to a new notepad window
give your shader a shader name and put the name of your tga where the old tga was
make sure the path to your tga is right such as
textures/models/natural/purple.tga
find the line that reads " surface blah blah shader ??????? " in the tik that you opened earlier and put your shader name where the ????????? is . At the bottom of the tik put this
/*QUAKED static_natural_tree_purpletree(0.5 0.0 0.5) (-16 -16 -32) (16 16 480)
*/
Ok now save the tik as purple_tree.tik and put it in the models directory on your harddrive . Save the shader file as purple.shader and put that in the scripts directory on your harddrive . make sure the path to your tga is right such as textures/models/natural/purple.tga and that is what you had put in the shader .
Ok you are done open mohradiant and look for your tree on the right click menu .
When you have that open go to the scripts directory .
look for a file called trees.shader
Extract that file to your harddrive
What .tik file are you remakeing purple ?
in pak0.pk3 models directory find the static directory open that directory
find the natural directory open that directory .
now find the tik for the tree you are makeing purple
Extract the tik to your harddrive .
Ok now open the tik in notepad and find the line that reads " surface blah blah shader ??????? "
The ??????? is the shader you are looking for .
Open the trees.shader in a new notepad window
find the ??????? in the trees.shader it will look something like this
Code: Select all
static_pine_branches
{
qer_editorimage textures/models/natural/pinebranchs.tga
cull none
{
clampmap textures/models/natural/pinebranchs.tga
depthWrite
alphafunc GE128
rgbgen vertex
}
}give your shader a shader name and put the name of your tga where the old tga was
Code: Select all
static_purple_branches
{
qer_editorimage textures/models/natural/purple.tga
cull none
{
clampmap textures/models/natural/purple.tga
depthWrite
alphafunc GE128
rgbgen vertex
}
}textures/models/natural/purple.tga
find the line that reads " surface blah blah shader ??????? " in the tik that you opened earlier and put your shader name where the ????????? is . At the bottom of the tik put this
/*QUAKED static_natural_tree_purpletree(0.5 0.0 0.5) (-16 -16 -32) (16 16 480)
*/
Ok now save the tik as purple_tree.tik and put it in the models directory on your harddrive . Save the shader file as purple.shader and put that in the scripts directory on your harddrive . make sure the path to your tga is right such as textures/models/natural/purple.tga and that is what you had put in the shader .
Ok you are done open mohradiant and look for your tree on the right click menu .
