|
Physbox (collusion model) compile errors (Forums : 3D Modeling & Animating : Physbox (collusion model) compile errors)
|
Post Reply
|
|
Thread Options
|
|
|
|
May 11 2008, 3:12am
Anchor
|
Ive been trying to get my phys box to work but it just doesnt i get a bunch of errors with me compile
GUIStudioMDL 2.2/Source - © 2007 Neil 'Jed' Jedrzejewski - http://www.wunderboy.org/
Loaded QC file - "C:\S.t.a.o.b\modelsrc\arch.qc"
Created command line: "C:\Program Files\Valve\Steam\SteamApps\eddy388\sourcesdk\bin\orangebox\bin\studiomdl.exe" -game "c:\program files\valve\steam\steamapps\SourceMods\Samurai" -nop4 -nox360 C:\S.t.a.o.b\modelsrc\arch.qc
WARNING: AppFramework : Unable to load module p4lib.dll!
qdir: "c:\s.t.a.o.b\modelsrc\"
gamedir: "c:\program files\valve\steam\steamapps\SourceMods\Samurai\"
g_path: "C:\S.t.a.o.b\modelsrc\arch.qc"
Building binary model files...
Working on "arch.qc"
SMD MODEL arch_Ref.smd
SMD MODEL arch_Idle.smd
SMD MODEL arch_phys.smd
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Error with convex elements of arch_phys.smd, building single convex!!!!
Model has 7 convex sub-parts
Collision model completed.
---------------------
writing c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.mdl:
bones 964 bytes (1)
animations 112 bytes (1 anims) (1 frames) [0:01]
sequences 220 bytes (1 seq)
ik/pose 164 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 72 bytes
keyvalues 0 bytes
bone transforms 0 bytes
Collision model volume 32.60 in^3
collision 0 bytes
total 1724
---------------------
writing c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.vvd:
vertices 48384 bytes (1008 vertices)
tangents 16128 bytes (1008 vertices)
total 64576 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.sw.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 9072 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 14997 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.dx80.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 9072 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 14997 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.dx90.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 9072 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 14997 bytes
Completed "arch.qc"
as you can ssee there is 2
1.
Someone wrote:WARNING: AppFramework : Unable to load module p4lib.dll!
and
2.
Someone wrote:WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
anyone know whats wrong?
|
|
|
May 11 2008, 6:44am
Anchor
|
Ignore the p4lib thing, it's only used internally by Valve for version control.
Are you exporting your collision mesh from XSI? Remember to disable automatic discontinuity.
(You may also want to use $scale - look like your model is going to turn out minute!)
Edited by: Varsity
|
|
|
May 13 2008, 5:17am
Anchor
|
ok Varsity, that got rid of all those WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! errors
now i have some new ones
heres my compile log
GUIStudioMDL 2.2/Source - © 2007 Neil 'Jed' Jedrzejewski - <a href="http://www.wunderboy.org/" rel="nofollow">http://www.wunderboy.org/</a>
Loaded QC file - "C:\S.t.a.o.b\modelsrc\arch.qc"
Created command line: "C:\Program Files\Valve\Steam\SteamApps\eddy388\sourcesdk\bin\ep1\bin\studiomdl.exe" -game "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2" -notxbox C:\S.t.a.o.b\modelsrc\arch.qc
qdir: "c:\s.t.a.o.b\modelsrc\"
gamedir: "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\"
g_path: "arch"
Working on "arch.qc"
SMD MODEL arch_Ref.smd
SMD MODEL arch_Idle.smd
SMD MODEL arch_phys.smd
WARNING: Bad collision model, check your smoothing groups!!!
WARNING: Truncating model!!!!
WARNING: arch_phys.smd has bad smoothing groups
Model has 1 convex sub-parts
Collision model completed.
---------------------
writing c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.mdl:
bones 708 bytes (1)
animations 104 bytes (1 anims) (1 frames) [0:01]
sequences 220 bytes (1 seq)
ik/pose 164 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 72 bytes
keyvalues 0 bytes
Collision model volume 32.58 in^3
collision 0 bytes
total 1460
---------------------
writing c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.vvd:
vertices 48384 bytes (1008 vertices)
tangents 16128 bytes (1008 vertices)
total 64576 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.sw.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 9072 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 14997 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.dx80.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 9072 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 14997 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.dx90.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 9072 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 14997 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.xbox.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 9072 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 14997 bytes
Completed "arch.qc"
as you can see here there are errors
Someone wrote:WARNING: Bad collision model, check your smoothing groups!!!
WARNING: Truncating model!!!!
WARNING: arch_phys.smd has bad smoothing groups
anyone know anything about that?
|
|
|
May 13 2008, 5:29am
Anchor
|
|
|
|
|
May 13 2008, 7:46am
Anchor
|
no that doesnt help
im using xsi mod tool 6.0
and ive already deselected the program it tells me to there
|
|
|
May 13 2008, 10:24am
Anchor
|
Are you sure you're exporting arch_phys.smd as a collision mesh?
|
|
|
May 13 2008, 7:11pm
Anchor
|
ummm
if by collision mesh you mean physbox (using the valvesmdaddon for xsi mod tool)
then yes... is the the wrong way?
|
|
|
May 14 2008, 2:56am
Anchor
|
No, of course not. I was just checking.
|
|
|
May 14 2008, 7:58am
Anchor
|
|
|
|
|
May 14 2008, 8:27am
Anchor
|
Without your model I don't think there's much more we can suggest. Can you upload it somewhere so I can try and compile it myself?
-- Has anyone seen my companion cube?
|
|
|
May 14 2008, 7:43pm
Anchor
|
hold on ill try out some more things, and if they dont work then ill upload
im gonna remake the collusion model, hopefully that will work
|
|
|
May 14 2008, 9:23pm
Anchor
|
This usually works for me:
Build the collision mesh with separate cubes (merged into one new object, with the Automatic Discontinuity disabled). And make sure to have
.in the qc
Edit: Just tried in modtools since it has been a while since I've had to compile, and went from:

to:

If there were errors in the compile, they didn't seem to ruin anything?
Edited by: Cryrid
|
|
|
May 15 2008, 8:42pm
Anchor
|
here is the smd
Turboupload.com
if you need it in a different file type just ask
also
i rebuilt and and some errors went away
GUIStudioMDL 2.2/Source - © 2007 Neil 'Jed' Jedrzejewski - http://www.wunderboy.org/
Loaded QC file - "C:\S.t.a.o.b\modelsrc\arch.qc"
Created command line: "C:\Program Files\Valve\Steam\SteamApps\eddy388\sourcesdk\bin\orangebox\bin\studiomdl.exe" -game "c:\program files\valve\steam\steamapps\SourceMods\Samurai" -nop4 -nox360 C:\S.t.a.o.b\modelsrc\arch.qc
WARNING: AppFramework : Unable to load module p4lib.dll!
qdir: "c:\s.t.a.o.b\modelsrc\"
gamedir: "c:\program files\valve\steam\steamapps\SourceMods\Samurai\"
g_path: "C:\S.t.a.o.b\modelsrc\arch.qc"
Building binary model files...
Working on "arch.qc"
SMD MODEL arch_Ref.smd
SMD MODEL arch_Idle.smd
SMD MODEL arch_phys.smd
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Error with convex elements of arch_phys.smd, building single convex!!!!
Model has 5 convex sub-parts
Collision model completed.
---------------------
writing c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.mdl:
bones 964 bytes (1)
animations 112 bytes (1 anims) (1 frames) [0:01]
sequences 220 bytes (1 seq)
ik/pose 164 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (0 flexes)
textures 72 bytes
keyvalues 0 bytes
bone transforms 0 bytes
Collision model volume 34.94 in^3
collision 0 bytes
total 1724
---------------------
writing c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.vvd:
vertices 38928 bytes (811 vertices)
tangents 12976 bytes (811 vertices)
total 51968 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.sw.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 7299 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 13224 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.dx80.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 7299 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 13224 bytes
---------------------
Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.dx90.vtx":
body parts: 8 bytes
models: 20 bytes
model LODs: 12 bytes
meshes: 9 bytes
strip groups: 25 bytes
strips: 27 bytes
verts: 7299 bytes
indices: 5784 bytes
bone changes: 16 bytes
everything: 13224 bytes
Completed "arch.qc"
as you can see there is a new error, and one that i fixed but came back =s
|
|
|
May 16 2008, 6:04am
Anchor
|
You uploaded a SMD.
|
|
|
May 16 2008, 7:06am
Anchor
|
i know, you can import .smd files
lol ok ill upload it in a different format, but uh... which one cause ive heard that non-free versions of xsi use a different file type to xsi mod tools default .scene file
|
|
|
May 16 2008, 7:38am
Anchor
|
A QC file is the list of instructions you use to compile the model, not the model data itself. Yours is located at C:\S.t.a.o.b\modelsrc\arch.qc .
Edit: oh wait, it's the SMD people are after. :o
I imported>exported>compiled from XSI without any problems. What modelling package are you using?
Edited by: Varsity
|
|
|
May 16 2008, 3:23pm
Anchor
|
.obj seems to be a nice standard for exporting models from one package to the next.
|
|
|
May 16 2008, 7:02pm
Anchor
|
varsity... you did.
THEN WHY DO I FAIL SO MUCH!!!!
modelling package... do you mean program 
wait if you compiled the model, then wouldnt you need your own qc?
if you made one for it maybe its a problem with my qc
$modelname "arch/arch.mdl"
$cdmaterials "models\archskin"
$scale 1
$body studio "arch_Ref.smd"
$staticprop
$surfaceprop "Wood_Solid"
$sequence idle "arch_Idle" loop fps 1
$collisionmodel "arch_phys.smd" {
$Mass 10
$concave
}
is anything wrong with that?
Edited by: hero_kenshin
|
|
|
May 17 2008, 3:57am
Anchor
|
That's pretty much identical to my QC. The only difference is that you're specifying a $mass, but that can't be making any difference.
Did you follow the link in my first reply?
|
|
|
May 17 2008, 11:57pm
Anchor
|
|
|
|
|
May 18 2008, 4:10am
Anchor
|
|
|
|
|
May 18 2008, 7:56pm
Anchor
|
i compiled your smd and got the same error that i got before
- WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
- WARNING: Error with convex elements of arch_phys.smd, building single convex!!!!
maybe its my qc?
post yours so i can take a look at it... please and thank you
|
|
|
May 19 2008, 4:12am
Anchor
|
$scale 8
$modelname "test"
$body Body "test-ref.smd"
$surfaceprop "combine_metal"
$cdmaterials "models/"
$sequence idle "test-idle.smd" loop fps 20.5 ACT_IDLE 1
//$sequence bounce "test-bounce.smd" loop fps 20 ACT_FIDGET 1
$collisionmodel "arch-phys.smd" { $concave }
I hijacked an old QC, if you're wondering about all that "test" stuff.
Edit: if that still don't work, try refreshing the SDK content. There's an option in the launcher's main menu to do it.
Edited by: Varsity
|
|
|
May 19 2008, 5:07am
Anchor
|
hero_kenshin wrote:i compiled your smd and got the same error that i got before
- WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
- WARNING: Error with convex elements of arch_phys.smd, building single convex!!!!
maybe its my qc?
post yours so i can take a look at it... please and thank you
make sure that all faces use 1 or more smoothing groups
|
|
|
May 19 2008, 5:19am
Anchor
|
Collision models are never seen so I just stick them all into the same smoothing group (or in Maya, just -smooth- all faces) and that gets rid of that problem.
|