STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
329
IN-GAME
2,039
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
Intrets 23 Aug, 2015 @ 8:32am
physics model no texture
So I have followed this tutorial[forums.solidsurf.info] to make a surf ramp model. When I export as .smd I get the warning: 1536 faces did not have a material or texture assigned. The tutorial calls to ignore warnings but when I load it up in hammer in the preview I see a notexture sheen and in game as well. Here is a screen from the ingame view .
Under the notexture you can see the texture it has supposed to have.
I tried to give the physics mesh a material in blender and make it transparant. I didnt try to actually texture it because that would kinda defeat the purpose of a seperate physics model?
How can I fix this?
< >
Showing 1-7 of 7 comments
Intrets 23 Aug, 2015 @ 8:35am 
might be useful to post my .qc file
$modelname "surf_ramps\cork.mdl" $body mesh "cork.smd" $staticprop $surfaceprop "concrete" $cdmaterials "models\surf_ramps" $sequence idle "cork" $collisionmodel "cork_phys.smd" { $concave $maxconvexpieces 1024 }
Last edited by Intrets; 23 Aug, 2015 @ 8:36am
Artfunkel 23 Aug, 2015 @ 8:42am 
You want to apply the material to the object which is exported to cork.smd. It doesn't matter what material the physics mesh has.
Intrets 23 Aug, 2015 @ 8:55am 
Ok the problem is not with the physics model. I took a closer look at the notextures texture and it is stretched rotated and cropped like the UV map of the cork.smd model and with fullbright it dissappears..
My map consists of a simple box with skybox ceiling, light_environment and an env_cubemap but that doesnt seem to work.

This is all with -staticproplightning.
Last edited by Intrets; 23 Aug, 2015 @ 8:57am
Intrets 23 Aug, 2015 @ 9:01am 
this is without -staticproplighting

no fullbright

fullbright

now with fullbright a notextures and no without... I dont know anymore.
Artfunkel 23 Aug, 2015 @ 12:15pm 
You're probably using a material which applies the LightmappedGeneric shader. That's for BSP geometry. You want VertexLitGeneric.
Intrets 23 Aug, 2015 @ 12:22pm 
.vmt from the texture I used from the tutorial

"VertexLitGeneric" { "$selfillum" "1" "$selfillummask" "models/surf_ramps/mask" "$basetexture" "models/surf_ramps/ramp" "%keywords" "tf" "$detail" "overlays/detail001" "$detailscale" "1.9" "$detailblendmode" "0" "$detailblendfactor" "1" }

mask.vmt

"UnlitGeneric" { "$basetexture" "models/surf_ramps/mask" }

EDIT: it may be this mask fucking up because the mask is supposed to be white stripes but I dont see them. Will try without the mask. You would expect a tutorial to use the simplest things...
Last edited by Intrets; 23 Aug, 2015 @ 12:25pm
Intrets 23 Aug, 2015 @ 12:46pm 
When I went to edit the vmt I found that I actually didnt copy the mask files :^). Thanks for pointing me into this direction I wouldn't have figured this out in a milion years.
< >
Showing 1-7 of 7 comments
Per page: 1530 50

All Discussions > Help > Topic Details
Date Posted: 23 Aug, 2015 @ 8:32am
Posts: 7