Skip to content

Bug: Hammer - $scale does not update properly #1734

@lunairekitty

Description

@lunairekitty

Describe the bug

When replacing a model with a recompile of itself that has some new $scale value added to the QC, it increases the size of the bounding box but doesn't visually increase the size of the actual model.

To Reproduce

  1. Make a model
  2. Place it as a prop in Hammer
  3. Add a $scale value to the QC and compile it
  4. Replace the model and look at in Hammer

Issue Map

Not applicable, the QC that was used:

$modelname "props_pbr\barrel_03.mdl"
$cdmaterials "models\props_pbr\"
$body "body" "barrel_03.smd"
$staticprop 
$scale 36
$surfaceprop "Metal_barrel"
$sequence "idle" "barrel_03.smd"
$collisionmodel "barrel_03_physics.smd"
{
    $concave
    $maxconvexpieces 7
}

Expected Behavior

When I update the $scale value of a model it should properly change scale in Hammer.

Operating System

Windows 11 25H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions