Problems With The Half-Life 2 Exporter For XSI

D

Dalton_Man321

Guest
Hello everyone,
I am very new to the Half-Life 2 modification scene, so be easy on me. :)
I am making some custom models (A Dance Pad) for a simple mod (It's just my house). But the problem is that when I export it, I get an untextured box. Does anyone know the problem?

Thanks in advance,
Dalton
 
there could be lots of problems i dont know if xsi exports directly to mdl. or if ir export to smd. if it does export to smd make sure ur model was compiled into the modename/models directory and that the materials are in the directory that u specifed iun $cdmaterials which should be modname/materials/models/dancepad
 
Hello,
I know it's a problem with the exporter because when I export it and import it back, it's a cube with no textures. It exports to .SMD, by the way.

-Dalton
 
yeh lol you dont export to mdl you compile it into an mdl. anyways theres nothing wrong with the exporter. it sounds like there was a problem finding the texture. check the vtf compiled properly by loading it into hammer. also check the the text file .vmt i think it is. check the code in there is ok and check your qc. file links to your vtf file properly.

also when you load the smd into xsi it wouldnt have the texture with it.
 
OK, I did what you told me, but when I open it in the model viewer, it's still a cube. Also the textures are there, it's just that they wrap around the cube horizontally (sp?). There is still untextured areas. I don't think you got what I said. My dance pad is a flat square composed of multiple (Nine) squares. But when I export it, it's just a cube with nine squares inside it that aren't flat. Is it a problem with the model?

-Dalton
 
crackhead said:
yeh lol you dont export to mdl you compile it into an mdl. anyways theres nothing wrong with the exporter. it sounds like there was a problem finding the texture. check the vtf compiled properly by loading it into hammer. also check the the text file .vmt i think it is. check the code in there is ok and check your qc. file links to your vtf file properly.

also when you load the smd into xsi it wouldnt have the texture with it.
i was under the impression that xsi was abble to compile various xsi scenes into an mdl.
 
nah not on your nelly. dalton maybe you havnt uv mapped it propperly. also i have no idea what ur tlking about with the whole 9 squares thing. but if you post the files here ill take a look at them. i should be home by 6pm.
 
(Sorry for the double post)

Did you download it yet?

Also, I have pictures for anyone who wants to help. :)

Before I export it, it looks like this:

before.jpg


Then after I export it, and open it with the model viewer, it looks like this:

after.jpg
 
hi dalton man sorry its been so long ive had lots of work to dsince getting home. i downloaded the smd and it is the same as the picture u posted of it in the model viewer, but without the texture. im not sure why this has happened but im also confused as why uve built this out of lots of little blocks. all you need is one box and a uv map. ive posted many times saying how to uv map in xsi try doing a search.
 
Hello,
Thanks for helping, Crackhead, but I now have the problem solved from the XSI message board. Thanks anyway.
Requesting lock/delete. :)
 
oh cool. id like to see some pictures of your 3d house.
 
I'm only doing the first room, so it really isn't that impressive. Also, the Dance Pad is the only object completed so far. Speaking of that, it's not even appering in Half Life 2. I put it in Hammer, and I compile the map, but it doesn't show up. Let alone the fact that it's, like, 0.01 times it's size. :S Can someone help?
 
If it isn't already is the center of the object set to 1 for scale, and 0 for all other transforms ?
 
yeh change the scale in the qc. i have no idea why it isnt showing up when you compile though :( sorry
 
Okay, so I tried changing the .qc, but it didn't work. Also, I tried making the model itself bigger in XSI, but it ends up looking deformed. :( Any other suggestions?
 
Download this:
http://www.jpole.pwp.blueyonder.co.uk/downloads.html

Then read the how to use.txt.
Note about the part 2 in the tutorial though: you'll need to create three .smd files. A modelnamehere_ref.smd, a modelnamehere_phys.smd and a modelnamehere_idle.smd Export the _ref-file as a model, the _phys file as a physbox and the _idle file as skeletal animation.

A second note considering the .qc-file: It screws it up at least on my computer. The modelname and cdmaterial parts are set wrong as default, so you'll probably need to change them to look like this:

$modelname "modelnamehere.mdl"
$cdmaterial "/"

Also, there's no animation part (which, I'm pretty sure, you'll need even if you don't have animations), so you'll have to add it yourself.

$sequence idle "modelnamehere_idle.smd" fps 1

Add that between the $body studio and $collisionmodel.

Note, that the modelnamehere must be the same as the name of your .exp-file, that is the name you save it as in XSI. I also think you'll have to save the .qc-file as modelnamehere.qc.
 
I have good news and bad news:
The good new is, IT WORKED!! My DancePad is now lifesized! Thanks a lot!
But the bad news is, when I compile the map, it doesn't show up. I have tried changing the prop to prop_static, but that didn't help. :( Do you have any suggestions?

Thanks in advance,
Dalton
 
I have no idea what's wrong, but if you still have the model and it still doesn't work, attach or upload the .exp-file and textures here or somewhere and I'll take a look at it.
 
Back
Top