model problem

model problem

Re: model problem Posted by sgtfly on Mon Dec 5th 2011 at 10:04pm
sgtfly
273 posts
Posted 2011-12-05 10:04pm
sgtfly
member
273 posts 347 snarkmarks Registered: Jan 24th 2005 Occupation: 5 more years of BS and I'm done. WOOHOO! Location: Batavia,IL USA
Alright here it is I made some for a map and the textures won't show. they are either completely black or checkered.
[IMG]http://i82.photobucket.com/albums/j262/boppa54/modelproblem.jpg[/IMG]

I'm sure everything is right but I hope someone can double check it. I'm posting the qc file also.

$modelname "mymodels/polevaultpad.mdl"

$cdmaterials "materials"

$staticprop

$surfaceprop "rubber"
$scale 30.0

$body studio "polevaultpad"

$sequence "idle" "polevaultpad_idle.smd"

$collisionmodel "polevaultpad_physbox.smd"
{

$Mass 15

$concave
}

$modelname "mymodels/goalpost1.mdl"

$cdmaterials "materials"

$staticprop

$surfaceprop "metal"
$scale 8.0

$body studio "goalpost1"

$sequence "idle" "goalpost1_idle.smd"

$collisionmodel "goalpost1_physbox.smd"

Everything points to the correct files but no show. Unless I'm messing up the exported smd's this should be working.
Light is faster than sound:That is why some people appear bright until you hear them speak.

Your riches in life are family and friends, everything else is just a distraction.
Re: model problem Posted by Orpheus on Tue Dec 6th 2011 at 5:14pm
Orpheus
13860 posts
Posted 2011-12-06 5:14pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
In spite of me reading slowly I don't understand.
Now, the only way I know of that textures do not show up are..
1) the path to the textures/models/sprites/etc/etc is not correct and the editor cannot locate them.
2) the textures simply do not exist.

As far as I know, there are no other ways.

The best things in life, aren't things.
Re: model problem Posted by sgtfly on Tue Dec 6th 2011 at 11:55pm
sgtfly
273 posts
Posted 2011-12-06 11:55pm
sgtfly
member
273 posts 347 snarkmarks Registered: Jan 24th 2005 Occupation: 5 more years of BS and I'm done. WOOHOO! Location: Batavia,IL USA
I hear you, but I did find one obviously. :confused:
The textures are there the vmt and vtf the original tga
The path is correct to my knowledge.
The models compiled fine but this is what I get. I don't
know if it's some goofy error in the compile or the
exported smd's or what, but it's driving me nuts.
I'm using guistudiomdl to compile for l4d2.
All the files are going to right place.
Light is faster than sound:That is why some people appear bright until you hear them speak.

Your riches in life are family and friends, everything else is just a distraction.
Re: model problem Posted by Orpheus on Wed Dec 7th 2011 at 2:42am
Orpheus
13860 posts
Posted 2011-12-07 2:42am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Dude, unless there is a wadinclude option (I know its not called that in HL2 editing)
You need to have the path set in the game as well.

I am still unclear why the textures don't show but I am nearly positive it can only be the two options I mentioned.

Path.
Nonexistent.

Since you said the textures exist, then that only leaves path.

Oddly enough, HL1 used to assign a missing texture with a replacement so the game wouldn't bork. I wonder why its not now?!?!

The best things in life, aren't things.
Re: model problem Posted by sgtfly on Wed Dec 7th 2011 at 1:08pm
sgtfly
273 posts
Posted 2011-12-07 1:08pm
sgtfly
member
273 posts 347 snarkmarks Registered: Jan 24th 2005 Occupation: 5 more years of BS and I'm done. WOOHOO! Location: Batavia,IL USA
You got me Orph,
I have compiled other custom models for l4d2 and had no problem. All my paths are set correctly, some models I created earlier work just fine.
And I've tried every combination of "path " I can think of, but I can't get these newest models to texture. I even used the qc files from the ones that worked with no luck.
This has become very annoying with the last three or four model attempts.
Nothing changed with my procedures in placing all the files in the folders.

I've come to the conclusion it's got to be the models or textures themselves that are f'd up. Not sure how that could be, textures are proper format.
I'm still gonna check to make sure I'm not screwing up the texture creation.

As far as exporting the model I've done it the same way since I started modeling.
I have gone back to mod tool because I can't get ahold of the Modo exporter from Valve.
Also I've checked to make sure I have only one texture projection and that the materials are assigned properly on the model and they are.
I gotta give this stuff up I guess..to much aggravation.
Light is faster than sound:That is why some people appear bright until you hear them speak.

Your riches in life are family and friends, everything else is just a distraction.
Re: model problem Posted by Orpheus on Wed Dec 7th 2011 at 1:32pm
Orpheus
13860 posts
Posted 2011-12-07 1:32pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Probable cause: If you use an improper texture it won't load. IE, you cannot use a gun texture on a wall if I recall.

The best things in life, aren't things.
Re: model problem Posted by sgtfly on Wed Dec 7th 2011 at 7:14pm
sgtfly
273 posts
Posted 2011-12-07 7:14pm
sgtfly
member
273 posts 347 snarkmarks Registered: Jan 24th 2005 Occupation: 5 more years of BS and I'm done. WOOHOO! Location: Batavia,IL USA
These are all custom textures made in photoshop off an ambient occlusion render map. Maybe I'm not doing something right in that regard. :brickwall:
Light is faster than sound:That is why some people appear bright until you hear them speak.

Your riches in life are family and friends, everything else is just a distraction.
Re: model problem Posted by G4MER on Wed Dec 7th 2011 at 7:40pm
G4MER
2460 posts
Posted 2011-12-07 7:40pm
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
are they all saved as targa's? did you use vtfedit to convert the whole file into the proper textures for HL games?

my wife does the models... when she gets home from class I'll ask her about it and show her this thread, maybe she can offer you some fixes or advice.
Re: model problem Posted by sgtfly on Wed Dec 7th 2011 at 11:27pm
sgtfly
273 posts
Posted 2011-12-07 11:27pm
sgtfly
member
273 posts 347 snarkmarks Registered: Jan 24th 2005 Occupation: 5 more years of BS and I'm done. WOOHOO! Location: Batavia,IL USA
yep, I saved them as tga converted them to vtf's created the vmt's and put them all in the folders they should be. (I was just checking)
Like I said the earlier models worked these don't.
Light is faster than sound:That is why some people appear bright until you hear them speak.

Your riches in life are family and friends, everything else is just a distraction.
Re: model problem Posted by Orpheus on Thu Dec 8th 2011 at 3:26am
Orpheus
13860 posts
Posted 2011-12-08 3:26am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Welp, you gots my curiosity up. I'ma bettin is somethin real simple. So simple it keeps escapin ya cause its right there plain as day.

Have you tried loading it on another PC?
Mayhap you developed a bug?

The best things in life, aren't things.
Re: model problem Posted by Riven on Thu Dec 8th 2011 at 6:31am
Riven
1640 posts
Posted 2011-12-08 6:31am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
Simple is what I'm leaning towards as well....

Are the texture's dimensions a power of 2? -and not too large?

If not, and you're absolutely sure the directories are correct, and the references TO the directories are correct (within the QC AND VMT files, then it might be a bad model, or a bad compile with an incomplete QC (including an unfinished $keyvalue or "quoted" value).

Try this: You've made successful models before with custom textures, yes? -Rename an old working custom model texture you've used to what the b0rked model now references, and place it in the proper directory. -Test and see if model shows it.

Likewise, also test this: Rename the texture in question to a previous custom working model, place it in the proper directory relative to that older working model and see if it shows up on that model (however bad it may look :p )

Otherwise, unless the SMD exporter is outdated or messing up, these issues do tend to be rather simple fixes. -At least in my experience.

[UPDATE]: I forgot to look at your posted QC files, :rolling:

Ok, one thing stands out to me for the "polevaultpad" for the $body studio keyvalue, shouldn't that value, also include the extension? i.e.:
$body studio "polevaultpad.smd"
I see that for the "goalpost1" you didn't include it, and it is working, and for every model I've made, I always am sure to include extensions for the referenced file names. So That may affect it, may not. I'm not sure, but that's too easy to try than not to test it! Good luck. :thumbsup:
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: model problem Posted by Le Chief on Fri Dec 9th 2011 at 11:33pm
Le Chief
2605 posts
Posted 2011-12-09 11:33pm
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
There's 3 categories of things it could be:

1. Corrupt/incorrect vtf file.
2. Pathing issue.
3. Texture not applied to the model properly.
Aaron's Stuff
Re: model problem Posted by sgtfly on Sat Dec 10th 2011 at 12:13pm
sgtfly
273 posts
Posted 2011-12-10 12:13pm
sgtfly
member
273 posts 347 snarkmarks Registered: Jan 24th 2005 Occupation: 5 more years of BS and I'm done. WOOHOO! Location: Batavia,IL USA
Well I tried Rivens trick and applied another texture and it worked. Thnx buddy.

The only problem still is I tried remaking the texture several times with the same result. So now I need to figure out what I'm doing wrong with the texture. My vtf plugin is either borked or vtfedit is. Once I get that figured out I should be good.
Light is faster than sound:That is why some people appear bright until you hear them speak.

Your riches in life are family and friends, everything else is just a distraction.
Re: model problem Posted by Orpheus on Sat Dec 10th 2011 at 2:24pm
Orpheus
13860 posts
Posted 2011-12-10 2:24pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Orpheus said:
Probable cause: If you use an improper texture it won't load. IE, you cannot use a gun texture on a wall if I recall.
sighs
Missed it by ---> that much <-----

The best things in life, aren't things.
Re: model problem Posted by sgtfly on Sun Dec 18th 2011 at 12:11am
sgtfly
273 posts
Posted 2011-12-18 12:11am
sgtfly
member
273 posts 347 snarkmarks Registered: Jan 24th 2005 Occupation: 5 more years of BS and I'm done. WOOHOO! Location: Batavia,IL USA
Well I've tried everything and still nothing works. I'll let you know if I figure it out but right now it's s%$t!
Light is faster than sound:That is why some people appear bright until you hear them speak.

Your riches in life are family and friends, everything else is just a distraction.