some help on importing models.

Got problems with your models? Struggling with textures? Get help with your custom assets.

some help on importing models.

Postby Meotwister on Wed Jul 20, 2005 10:12 pm

ok I've spent all of today trying to get my .qc compiler working and finally got it working when I got this plugin for 3dsmax called HL2 Tools.

So the .smds are compiled into the .vtx etc. and now I put them under counter-strike and half-life 2 deathmatch. I also compile the skin and put it where it needs to be.

I open hammer and put a static prop down of the fan model I made.
I find that when I make the static prop the fan the box for the static prop blows up to like 199988x199988 on the hammer grid (really f***ing huge) and the model doesn't even show up.

What is going on?
Check out my continually progressing portfolio!
http://meotwister.com - Finally up! I also blog there, too!

Image

www.NoMoreRoomInHell.com
User avatar
Meotwister
Resolute Games
 
Joined: Wed Jun 01, 2005 3:53 am
Location: Cordova TN YO!

Re: some help on importing models.

Postby Athlete{UK} on Wed Jul 20, 2005 10:22 pm

Meotwister wrote:ok I've spent all of today trying to get my .qc compiler working and finally got it working when I got this plugin for 3dsmax called HL2 Tools.

So the .smds are compiled into the .vtx etc. and now I put them under counter-strike and half-life 2 deathmatch. I also compile the skin and put it where it needs to be.

I open hammer and put a static prop down of the fan model I made.
I find that when I make the static prop the fan the box for the static prop blows up to like 199988x199988 on the hammer grid (really f***ing huge) and the model doesn't even show up.

What is going on?


Check your model in the modelling program is one mesh with no lights or anything. Also consider making it smaller in there. Not sure if unit translate from the modeler to hammer or what. Anyway. Make sure you haven't got any insane setting for dimensions in your .qc file.
User avatar
Athlete{UK}
Veteran
Veteran
 
Joined: Sun Nov 14, 2004 2:56 pm
Location: Stoke

Postby Meotwister on Wed Jul 20, 2005 10:27 pm

$modelname "static\fan.mdl"
$scale 1.0
$cd "C:\Valve\Steam\SteamApps\sourcemods\nmrih\modelsrc\static\"

$body "Body" fan_ref.smd

$staticprop

$sequence idle "fan_ref" fps 30 ACT_IDLE 1

$surfaceprop "metal"

$keyvalues { "prop_data" { "base" "Wooden.Solid" } }

$cdmaterials "models\static\fan"

$collisionmodel "fan_phys.smd"
{

$concave
$mass 100
}

thats what my .qc file says.

Also I found out that a player in 3ds is like 7 and a half blocks high so I made it accordingly.
Check out my continually progressing portfolio!
http://meotwister.com - Finally up! I also blog there, too!

Image

www.NoMoreRoomInHell.com
User avatar
Meotwister
Resolute Games
 
Joined: Wed Jun 01, 2005 3:53 am
Location: Cordova TN YO!

Postby Athlete{UK} on Wed Jul 20, 2005 10:29 pm

do you hav any bones in the model?
User avatar
Athlete{UK}
Veteran
Veteran
 
Joined: Sun Nov 14, 2004 2:56 pm
Location: Stoke

Postby Meotwister on Wed Jul 20, 2005 10:34 pm

yes, I have bones on it. Just basic ones.
Check out my continually progressing portfolio!
http://meotwister.com - Finally up! I also blog there, too!

Image

www.NoMoreRoomInHell.com
User avatar
Meotwister
Resolute Games
 
Joined: Wed Jun 01, 2005 3:53 am
Location: Cordova TN YO!

Postby Athlete{UK} on Wed Jul 20, 2005 10:35 pm

Meotwister wrote:yes, I have bones on it. Just basic ones.


Ok just tell me step by step how you set up the bones. it might be a bugger with the vertecies.
User avatar
Athlete{UK}
Veteran
Veteran
 
Joined: Sun Nov 14, 2004 2:56 pm
Location: Stoke

Postby Meotwister on Wed Jul 20, 2005 10:52 pm

ok, I went to the system tab and selected bones, then I put two little bone diamond things right at the model origin going up. Then I went to the modifiers list to physique, I clicked the 'attach to node' and on the physique initialization box i put no blending and hit initialize.
Check out my continually progressing portfolio!
http://meotwister.com - Finally up! I also blog there, too!

Image

www.NoMoreRoomInHell.com
User avatar
Meotwister
Resolute Games
 
Joined: Wed Jun 01, 2005 3:53 am
Location: Cordova TN YO!

Postby Athlete{UK} on Wed Jul 20, 2005 10:54 pm

hmm ok that pretty much rules that out
User avatar
Athlete{UK}
Veteran
Veteran
 
Joined: Sun Nov 14, 2004 2:56 pm
Location: Stoke

Postby Athlete{UK} on Wed Jul 20, 2005 11:12 pm

I'm gonna have a play around in 3dsmax for ya see if i can spot anything. unless someone else answers before me :P
User avatar
Athlete{UK}
Veteran
Veteran
 
Joined: Sun Nov 14, 2004 2:56 pm
Location: Stoke

Postby Meotwister on Wed Jul 20, 2005 11:34 pm

I hope someone can help me here. :(

I could give you the .smds and see if you can compile it into hammer, etc.
Check out my continually progressing portfolio!
http://meotwister.com - Finally up! I also blog there, too!

Image

www.NoMoreRoomInHell.com
User avatar
Meotwister
Resolute Games
 
Joined: Wed Jun 01, 2005 3:53 am
Location: Cordova TN YO!

Postby Farles on Thu Jul 21, 2005 6:14 pm

BTW if you make a physic or static prop, no need of bones with 3Ds MAX. It creates 1 by default at 0,0,0.
User avatar
Farles
Been Here A While
Been Here A While
 
Joined: Thu Jan 27, 2005 4:33 am
Location: Montreal, Canada

Postby RabidMonkey on Thu Jul 21, 2005 7:32 pm

Is it in smoothing group 1? An editable mesh?

If your model is like gigantic but working, fool around with the scale parameter on the qc file.
User avatar
RabidMonkey
Member
Member
 
Joined: Wed Jun 15, 2005 8:26 pm
Location: Denver, Colorado

Postby Meotwister on Thu Jul 21, 2005 7:40 pm

lol like your avatar Rabid,

and I think I've found out that its not working at all and hammer is trying to tell me by giving it a huge ass bounding box.

I've posted this problem here, at Punkassfraggers, Snarkpit, HL2World, and VERC.

The most promising responses coming from HL2World. Because there was a guy who had this problem before.

If I find out I'll be sure to say what was wrong in case anyone else gets this problem.
Check out my continually progressing portfolio!
http://meotwister.com - Finally up! I also blog there, too!

Image

www.NoMoreRoomInHell.com
User avatar
Meotwister
Resolute Games
 
Joined: Wed Jun 01, 2005 3:53 am
Location: Cordova TN YO!

Postby Meotwister on Fri Jul 22, 2005 3:10 am

I'VE FOUND THE PROBLEM AND HAVE FIXED IT ACCORDINGLY!!!!!

The problems was in exporting the .smd's .

I'm using 3ds Max 7 and had a .smd exporter for 3ds Max 6.

So if anyone has this problem google Cannonfodders 3ds Max 6/7 .smd exporter.
Check out my continually progressing portfolio!
http://meotwister.com - Finally up! I also blog there, too!

Image

www.NoMoreRoomInHell.com
User avatar
Meotwister
Resolute Games
 
Joined: Wed Jun 01, 2005 3:53 am
Location: Cordova TN YO!

Postby Athlete{UK} on Fri Jul 22, 2005 8:19 am

RabidMonkey wrote:Is it in smoothing group 1? An editable mesh?

If your model is like gigantic but working, fool around with the scale parameter on the qc file.


Smoothing groups don't matter. I use a few different smoothing groups to create certain effects .

Pleased to see you got it working meot.
User avatar
Athlete{UK}
Veteran
Veteran
 
Joined: Sun Nov 14, 2004 2:56 pm
Location: Stoke

Return to Custom Asset Help

Who is online

Users browsing this forum: No registered users