Model texture

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

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Model texture

Post by agentmad007 »

hi ,

someone know how do i have to do to texture a model with mohradiant or something else ......

i have a model witk skb skc tik file but without texture .....

if someone know thank you .....
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Well your model has a skin with a name like surf_skin1 so in the tik for the model like this one for the armchair

Code: Select all

TIKI
setup
{
	scale 0.52			// Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's
	path models/furniture/chairs
	skelmodel armchairposh.skd
	surface armchairposh shader armchairposh
}

init
{
	server
	{
		classname object
	}
}

animations
{
	idle     armchairposh.skc
}

/*QUAKED static_furniture_armchairposh (0.0 0.75 0.5) (-40 -24 0) (8 24 72)
*/ 
you see where it says surface armchairposh shader armchairposh there is a shader called furniture.shader in the scripts directory of pak0 and in that shader there is this part that is the texture . I think the surface of the model is actually named surf_armchairposh when the model is made .

Code: Select all

// armchairposh
armchairposh
{
	qer_editorimage textures/models/items/armchairposh.tga

	{
		map textures/models/items/armchairposh.tga
		rgbGen lightingSpherical
	}
}
maybe post in the modeling forum they can maybe tell you more about uvmapping and things better than we can .
Image
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

yes thank you bd bodger for hlep

but the problem is that its not a skin its a ring !

btw sorry to post it here i didnt noticed that a skinning forum existed

i will ask there TY
Post Reply