Question for the Experts! Look HERE PLEASE!

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

BiG_HeaD
Brigadier General
Posts: 531
Joined: Thu Jul 03, 2003 7:28 pm

Post by BiG_HeaD »

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.
Ive played more than u.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

That's good now make a shader for the .tga by copying the original one from scripts/trees.shader . Use the .tga name of your .tga and give the shader a name .
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

bdbodger wrote:Make a hallway with a door at each end to connect the sky boxes and put a areaportal brush in both doors that fills the door but is thinner than the door so it is inside the door it can overlap the structural brushes around the frame though .
ok, my response to this is... what?
Image
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

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.
Live to map, not map to live.
-mohaa_rox, .map
moderator
BiG_HeaD
Brigadier General
Posts: 531
Joined: Thu Jul 03, 2003 7:28 pm

Post by BiG_HeaD »

by copying the original one from scripts/trees.shader

Whats that mean?
Ive played more than u.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

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

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
	}
}
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

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
	}
}
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 .
BiG_HeaD
Brigadier General
Posts: 531
Joined: Thu Jul 03, 2003 7:28 pm

Post by BiG_HeaD »

step2: look for a file called trees.shader

Where the heck is it?!?!

Ive been searching for 10 minutes. Pak0.pk3???!
Ive played more than u.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

I am beginning to think this is a joke . How do you send people your map don't you put it in a .pk3 don't you know how to open one in winzip or winrar or packscape ? how did you get the .tga to edit ? have you looked in the main directory of your game ?
Post Reply