(WIP) Fence Pack (help needed)


oxygencube
03-22-2007, 12:56 AM
Hey all I am a Maya user and figured I would learn how to create models for Source. I have made 3 fence models(pic1) and have got everything to work but I am having problems with the textures. When I create a simple room the textures look just fine (pic2). But, when I add a skybox and an light_environment entity the textures get all funky.
Can somebody please help me out so I can begin releasing props.

Thanks a bunch.:)

(pic1)

(pic2)

(pic2)

ultranew_b
03-22-2007, 06:03 AM
Post the vmt file for the texture.

It could be something as simple as an incorrect line in the vmt file.

That or a lack of cubemaps in the level.

:)

oxygencube
03-22-2007, 01:48 PM
This is the VMT that I am using, let me know if you see anything.


"lightmappedgeneric" {
"$basetexture" "models\FENCE_02"
"$envmapcontrast" 1.000000
"$envmap" "env_cubemap"
"$envmaptint" "[ 0.5020 0.5020 0.5020 ]"
"$surfaceprop" "woodpanel"
}

happyernst
03-22-2007, 02:11 PM
here mine


"vertexlitgeneric"
{
"$baseTexture" "models\msc\e_zaun"
"$surfaceprop" "wood"
}


http://speicher.trclan.de/ernst/pics/zaun.jpg

nothing special

Tonedef
03-23-2007, 11:36 AM
Yeah oxygen, I believe you have to make the textures "vertexlitgeneric" like happy has is. As is the way with all model textures if I remember correctly.

So give that a try and see what happens. :)

oxygencube
03-24-2007, 02:06 PM
Ok, Thanks for the help that fixed the texture problem.. but now when I compile the physics mdl gets messed up. It is like all of the objects I create get moved together. I am confused because I had all that working untill I reinstalled my sdk yesterday. Suggestions? :confused:

happyernst
03-24-2007, 04:12 PM
yes,what u need is the $concave command

http://developer.valvesoftware.com/wiki/Qc

Watchtower
04-02-2007, 11:57 AM
Oxygen!!!

Hey, Im also modeling in Maya but I cant figure out how to import/export .smd models for compiling.

What are you using and what version of Maya are you using?

Im using 6.5 thanks for any help.

Right now I've got the dod sherman tank animated with moving wheels and tracks but cant figure out how to get the animations exported into a .smd

Dustin Diamond
04-02-2007, 12:46 PM
in the vmt file, you should have the line
"$model" 1


Also, be sure to Freeze All Transforms (or whatever it's called in your modeling program) before exporting to smd.

oxygencube
04-05-2007, 12:01 AM
Here is an great video on how to Model in Maya and compile to HL2. I haven't done any animations yet but I am sure you could figure it out. Thanks Dustin I will try to give that a shot this week.

pedroleum
04-05-2007, 01:57 AM
Ok, Thanks for the help that fixed the texture problem.. but now when I compile the physics mdl gets messed up. It is like all of the objects I create get moved together. I am confused because I had all that working untill I reinstalled my sdk yesterday. Suggestions? :confused:

whats the log saying when you compile the model?

if you have more than 20 collision objects, you need to check the option "full collide" in the compiler.

i wouldn't do a collision mesh object for every part of that fence there, though... if it's wood, you can shoot through the whole fence anyway, so no need for a very complicated physics model.

Watchtower
04-05-2007, 12:44 PM
Here is an great video on how to Model in Maya and compile to HL2. I haven't done any animations yet but I am sure you could figure it out. Thanks Dustin I will try to give that a shot this week.


umm... link?

oxygencube
04-12-2007, 10:23 PM
umm... link?

lol ... sorry here ya go.

http://www.modsonline.com/Downloads-full-3116.html

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.