1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

HL2 Model Boundary Box

  • couto_607
  • May 29, 2008 at 9:19 PM
  • couto_607
    • May 29, 2008 at 9:19 PM
    • #1

    Well, I successfully created and compiled my edited model for TF2, but for some reason the boundary box is huge... I really don't know why it's doing this to me:

    [Blocked Image: http://pics.mypic.ca/a5b4b18f.jpg]

    This is the QC:

    Code
    $modelname "props_trainyard/red_bomb_cart.mdl"
    
    
    $model "Body" "red_bomb_cart_ref.smd"
    
    
    $cdmaterials "models/props_trainyard/"
    
    
    $hboxset "default"
    
    
    // Model uses material "red_cart_bas.vmt"
    
    
    // Model uses material "red_cart_crates.vmt"
    
    
    // Model uses material "red_cart_dis.vmt"
    
    
    $surfaceprop "default"
    
    
    $illumposition -1.390 0.000 22.614
    
    
    $sequence idle "idle" fps 30.00
    
    
    $collisionmodel "red_bomb_cart_phys.smd" {
    
    
    
    
    	$concave
    
    
    	$mass 11093.6
    
    
    	$inertia 1.00
    
    
    	$damping 0.00
    
    
    	$rotdamping 0.00
    
    
    }
    Display More

    The original QC had this extra line, which I got rid of because I was getting some errors when compiling:

    $hbox 0 "static_prop" -63.532 -30.833 -26.812 60.752 30.833 72.039

    Any ideas how I can fix the box? Does it have anything to do with the Collision model or something?

    Thanks.

  • Seldoon182
    • May 31, 2008 at 4:30 PM
    • #2

    I don't have enought experience at Source compiling models but I don't mind that it's adviced to use decompiled .qc ! Try make your own and to understand how it's work. Moreover check how many physbox you made with your "red_bomb_cart_phys.smd" and try to reduce its at 20. Good luck !

  • Zeta
    • May 31, 2008 at 11:10 PM
    • #3

    Make sure that:

    - every shape in the collision model is a seperate editable poly

    - each of these shapes / edit polys has a unique smooth group applied to it (eg if your collision model has 7 boxes then each one should have a seperate unique smooth groupbetween 1,2,3,4,5,6,7

    - each box in the collision model has the model's texture applied to it (or at least a material with the same exact name as the one you had applied to your original model when you exported your SMD's

    - each box is tied to the model's bone

    Here is an example of one of my QC files that I know will work, assuming that you have made and exported all your files correctly.

    Code
    $modelname model_directory\model_name.mdl
    
    
    $cdmaterials models\model_directory
    
    
    $body "Body" "model_name_ref.smd"
    
    
    
    
    $scale 1.0
    
    
    $staticprop
    
    
    $surfaceprop "Metal"
    
    
    
    
    
    
    $sequence "idle" "model_name_idle" fps 30
    
    
    
    
    $collisionmodel "model_name_phys.smd"
    
    
    {
    
    
      $concave
    
    
    }
    Display More

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. How to Use a Free Kundali Maker for Accurate Future Predictions

    astr09
    July 23, 2026 at 6:35 AM
  2. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  3. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  4. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  5. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  6. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  7. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  8. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  9. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  10. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™