Forum Thread
Search
by member
  Posts  
Physbox (collusion model) compile errors (Forums : 3D Modeling & Animating : Physbox (collusion model) compile errors) Post Reply
Thread Options 1 2
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 
 

  1. code:
  1. GUIStudioMDL 2.2/Source - © 2007 Neil 'Jed' Jedrzejewski - http://www.wunderboy.org/
  2.  
  3. Loaded QC file - "C:\S.t.a.o.b\modelsrc\arch.qc"
  4.  
  5. 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
  6.  
  7. WARNING: AppFramework : Unable to load module p4lib.dll!
  8. qdir:    "c:\s.t.a.o.b\modelsrc\"
  9. gamedir: "c:\program files\valve\steam\steamapps\SourceMods\Samurai\"
  10. g_path:  "C:\S.t.a.o.b\modelsrc\arch.qc"
  11. Building binary model files...
  12. Working on "arch.qc"
  13. SMD MODEL arch_Ref.smd
  14. SMD MODEL arch_Idle.smd
  15. SMD MODEL arch_phys.smd
  16. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  17. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  18. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  19. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  20. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  21. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  22. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  23. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  24. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  25. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  26. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  27. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  28. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  29. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  30. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  31. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  32. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  33. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  34. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  35. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  36. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  37. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  38. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  39. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  40. WARNING: Error with convex elements of arch_phys.smd, building single convex!!!!
  41. Model has 7 convex sub-parts
  42. Collision model completed.
  43. ---------------------
  44. writing c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.mdl:
  45. bones          964 bytes (1)
  46. animations     112 bytes (1 anims) (1 frames) [0:01]
  47. sequences      220 bytes (1 seq)
  48. ik/pose        164 bytes
  49. eyeballs         0 bytes (0 eyeballs)
  50. flexes           0 bytes (0 flexes)
  51. textures        72 bytes
  52. keyvalues        0 bytes
  53. bone transforms        0 bytes
  54. Collision model volume 32.60 in^3
  55. collision        0 bytes
  56. total         1724
  57. ---------------------
  58. writing c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.vvd:
  59. vertices     48384 bytes (1008 vertices)
  60. tangents     16128 bytes (1008 vertices)
  61. total        64576 bytes
  62. ---------------------
  63. Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.sw.vtx":
  64. body parts:         8 bytes
  65. models:            20 bytes
  66. model LODs:        12 bytes
  67. meshes:             9 bytes
  68. strip groups:      25 bytes
  69. strips:            27 bytes
  70. verts:           9072 bytes
  71. indices:         5784 bytes
  72. bone changes:      16 bytes
  73. everything:     14997 bytes
  74. ---------------------
  75. Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.dx80.vtx":
  76. body parts:         8 bytes
  77. models:            20 bytes
  78. model LODs:        12 bytes
  79. meshes:             9 bytes
  80. strip groups:      25 bytes
  81. strips:            27 bytes
  82. verts:           9072 bytes
  83. indices:         5784 bytes
  84. bone changes:      16 bytes
  85. everything:     14997 bytes
  86. ---------------------
  87. Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.dx90.vtx":
  88. body parts:         8 bytes
  89. models:            20 bytes
  90. model LODs:        12 bytes
  91. meshes:             9 bytes
  92. strip groups:      25 bytes
  93. strips:            27 bytes
  94. verts:           9072 bytes
  95. indices:         5784 bytes
  96. bone changes:      16 bytes
  97. everything:     14997 bytes
  98.  
  99. 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?

Varsity
Varsity Fine Nonsense
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

  1. code:
  1.  GUIStudioMDL 2.2/Source - © 2007 Neil 'Jed' Jedrzejewski - <a href="http://www.wunderboy.org/" rel="nofollow">http://www.wunderboy.org/</a>
  2.  
  3. Loaded QC file - "C:\S.t.a.o.b\modelsrc\arch.qc"
  4.  
  5. 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
  6.  
  7. qdir:    "c:\s.t.a.o.b\modelsrc\"
  8. gamedir: "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\"
  9. g_path:  "arch"
  10. Working on "arch.qc"
  11. SMD MODEL arch_Ref.smd
  12. SMD MODEL arch_Idle.smd
  13. SMD MODEL arch_phys.smd
  14. WARNING: Bad collision model, check your smoothing groups!!!
  15. WARNING: Truncating model!!!!
  16. WARNING: arch_phys.smd has bad smoothing groups
  17. Model has 1 convex sub-parts
  18. Collision model completed.
  19. ---------------------
  20. writing c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.mdl:
  21. bones          708 bytes (1)
  22. animations     104 bytes (1 anims) (1 frames) [0:01]
  23. sequences      220 bytes (1 seq)
  24. ik/pose        164 bytes
  25. eyeballs         0 bytes (0 eyeballs)
  26. flexes           0 bytes (0 flexes)
  27. textures        72 bytes
  28. keyvalues        0 bytes
  29. Collision model volume 32.58 in^3
  30. collision        0 bytes
  31. total         1460
  32. ---------------------
  33. writing c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.vvd:
  34. vertices     48384 bytes (1008 vertices)
  35. tangents     16128 bytes (1008 vertices)
  36. total        64576 bytes
  37. ---------------------
  38. Generating optimized mesh "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.sw.vtx":
  39. body parts:         8 bytes
  40. models:            20 bytes
  41. model LODs:        12 bytes
  42. meshes:             9 bytes
  43. strip groups:      25 bytes
  44. strips:            27 bytes
  45. verts:           9072 bytes
  46. indices:         5784 bytes
  47. bone changes:      16 bytes
  48. everything:     14997 bytes
  49. ---------------------
  50. Generating optimized mesh "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.dx80.vtx":
  51. body parts:         8 bytes
  52. models:            20 bytes
  53. model LODs:        12 bytes
  54. meshes:             9 bytes
  55. strip groups:      25 bytes
  56. strips:            27 bytes
  57. verts:           9072 bytes
  58. indices:         5784 bytes
  59. bone changes:      16 bytes
  60. everything:     14997 bytes
  61. ---------------------
  62. Generating optimized mesh "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.dx90.vtx":
  63. body parts:         8 bytes
  64. models:            20 bytes
  65. model LODs:        12 bytes
  66. meshes:             9 bytes
  67. strip groups:      25 bytes
  68. strips:            27 bytes
  69. verts:           9072 bytes
  70. indices:         5784 bytes
  71. bone changes:      16 bytes
  72. everything:     14997 bytes
  73. ---------------------
  74. Generating optimized mesh "c:\program files\valve\steam\steamapps\eddy388\half-life 2\hl2\models/arch/arch.xbox.vtx":
  75. body parts:         8 bytes
  76. models:            20 bytes
  77. model LODs:        12 bytes
  78. meshes:             9 bytes
  79. strip groups:      25 bytes
  80. strips:            27 bytes
  81. verts:           9072 bytes
  82. indices:         5784 bytes
  83. bone changes:      16 bytes
  84. everything:     14997 bytes
  85.  
  86. 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?

Bytrix
Bytrix Annihilation Developer
May 13 2008, 5:29am Anchor

This might help:

Noesisinteractive.com

--

Has anyone seen my companion cube?

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

Varsity
Varsity Fine Nonsense
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?

Varsity
Varsity Fine Nonsense
May 14 2008, 2:56am Anchor

No, of course not. I was just checking. :P

May 14 2008, 7:58am Anchor

so... any ideas?

Bytrix
Bytrix Annihilation Developer
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

Cryrid
Cryrid 3D Artist
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

  1. code:
  1. $concave

.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

  1. code:
  1. GUIStudioMDL 2.2/Source - © 2007 Neil 'Jed' Jedrzejewski - http://www.wunderboy.org/
  2.  
  3. Loaded QC file - "C:\S.t.a.o.b\modelsrc\arch.qc"
  4.  
  5. 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
  6.  
  7. WARNING: AppFramework : Unable to load module p4lib.dll!
  8. qdir:    "c:\s.t.a.o.b\modelsrc\"
  9. gamedir: "c:\program files\valve\steam\steamapps\SourceMods\Samurai\"
  10. g_path:  "C:\S.t.a.o.b\modelsrc\arch.qc"
  11. Building binary model files...
  12. Working on "arch.qc"
  13. SMD MODEL arch_Ref.smd
  14. SMD MODEL arch_Idle.smd
  15. SMD MODEL arch_phys.smd
  16. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  17. WARNING: Error with convex elements of arch_phys.smd, building single convex!!!!
  18. Model has 5 convex sub-parts
  19. Collision model completed.
  20. ---------------------
  21. writing c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.mdl:
  22. bones          964 bytes (1)
  23. animations     112 bytes (1 anims) (1 frames) [0:01]
  24. sequences      220 bytes (1 seq)
  25. ik/pose        164 bytes
  26. eyeballs         0 bytes (0 eyeballs)
  27. flexes           0 bytes (0 flexes)
  28. textures        72 bytes
  29. keyvalues        0 bytes
  30. bone transforms        0 bytes
  31. Collision model volume 34.94 in^3
  32. collision        0 bytes
  33. total         1724
  34. ---------------------
  35. writing c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.vvd:
  36. vertices     38928 bytes (811 vertices)
  37. tangents     12976 bytes (811 vertices)
  38. total        51968 bytes
  39. ---------------------
  40. Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.sw.vtx":
  41. body parts:         8 bytes
  42. models:            20 bytes
  43. model LODs:        12 bytes
  44. meshes:             9 bytes
  45. strip groups:      25 bytes
  46. strips:            27 bytes
  47. verts:           7299 bytes
  48. indices:         5784 bytes
  49. bone changes:      16 bytes
  50. everything:     13224 bytes
  51. ---------------------
  52. Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.dx80.vtx":
  53. body parts:         8 bytes
  54. models:            20 bytes
  55. model LODs:        12 bytes
  56. meshes:             9 bytes
  57. strip groups:      25 bytes
  58. strips:            27 bytes
  59. verts:           7299 bytes
  60. indices:         5784 bytes
  61. bone changes:      16 bytes
  62. everything:     13224 bytes
  63. ---------------------
  64. Generating optimized mesh "c:\program files\valve\steam\steamapps\SourceMods\Samurai\models/arch/arch.dx90.vtx":
  65. body parts:         8 bytes
  66. models:            20 bytes
  67. model LODs:        12 bytes
  68. meshes:             9 bytes
  69. strip groups:      25 bytes
  70. strips:            27 bytes
  71. verts:           7299 bytes
  72. indices:         5784 bytes
  73. bone changes:      16 bytes
  74. everything:     13224 bytes
  75.  
  76. Completed "arch.qc"

as you can see there is a new error, and one that i fixed but came back =s

Varsity
Varsity Fine Nonsense
May 16 2008, 6:04am Anchor

You uploaded a SMD. :P

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

Varsity
Varsity Fine Nonsense
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

Cryrid
Cryrid 3D Artist
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 :P

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

  1. code:
  1. $modelname "arch/arch.mdl"
  2. $cdmaterials "models\archskin"
  3.  
  4. $scale 1
  5.  
  6. $body studio "arch_Ref.smd"
  7.  
  8. $staticprop
  9.  
  10. $surfaceprop "Wood_Solid"
  11.  
  12. $sequence idle "arch_Idle" loop fps 1
  13.  
  14. $collisionmodel "arch_phys.smd" {
  15.      $Mass 10
  16.    $concave
  17. }

 

is anything wrong with that?
 

Edited by: hero_kenshin

Varsity
Varsity Fine Nonsense
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

yeah i did

Varsity
Varsity Fine Nonsense
May 18 2008, 4:10am Anchor

I've no idea then, unless you're using an outdated version of XSI.

Here's the SMD I exported.

May 18 2008, 7:56pm Anchor

i compiled your smd and got the same error that i got before

  1. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  2. 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

Varsity
Varsity Fine Nonsense
May 19 2008, 4:12am Anchor
  1. code:
  1. $scale 8
  2.  
  3. $modelname    "test"
  4. $body Body    "test-ref.smd"
  5.  
  6. $surfaceprop  "combine_metal"
  7. $cdmaterials  "models/"
  8.  
  9. $sequence idle    "test-idle.smd" loop fps 20.5 ACT_IDLE 1
  10. //$sequence bounce  "test-bounce.smd" loop fps 20 ACT_FIDGET 1
  11.  
  12.  
  13. $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

Henley
Henley Currently Occupied for Reasons Unknown
May 19 2008, 5:07am Anchor
hero_kenshin wrote:i compiled your smd and got the same error that i got before

  1. WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
  2. 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

mflux
mflux Shadow Cat
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.

--

Project Berimbau - Third-person sword fighting game HL2 mod.

Reply to Thread

Only registered members can share their thoughts. So come on! Join the Mod DB community today (totally free) and join in the conversation.