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. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

    zlatan24
    November 12, 2026 at 6:23 PM
  2. CS2 sticker critique | Would the eye or blade read first on an AK?

    EmberKrakenCS2
    November 9, 2026 at 10:21 PM
  3. dod_poznan

    Smile_2000
    November 9, 2026 at 9:10 AM
  4. [cs2][WIP] De_digital (A side only) Looking for Feedback

    Howw3
    November 5, 2026 at 9:22 PM
  5. Hello from Normandy: Metin, working on a tactical FPS

    Thrik
    November 2, 2026 at 10:19 PM
  6. How do I setup CS1.6 mapping on linux?

    zlatan24
    November 2, 2026 at 6:43 AM
  7. CS:S | de_honor | Map creation process by D'artagnan

    Dartagnan
    November 1, 2026 at 5:41 PM
  8. Made a map maker for my indie game.

    daud2k7
    November 1, 2026 at 4:19 PM
  9. First CS2 Maps DM and Bomb Defusal

    zlatan24
    November 1, 2026 at 3:06 PM
  10. POLYSTRIKE - Finally Announced After Years of Development!

    MetinSaygin
    October 31, 2026 at 10:57 AM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™