Skip to content

[NPCs] Model scale should transfer to ragdolls #533

@1upD

Description

@1upD

Is your feature request related to a problem? Please describe.

If I use the ModelScale keyvalue on an NPC or the SetModelScale input, it changes the scale of the NPC. This correct adjusts the NPC's hull size and animations. However, if that NPC dies and becomes a ragdoll, regardless of whether or not its using server or client ragdolls, the ragdoll will be scaled at the NPC's normal scale. The model scale does not transfer to death ragdolls.

Describe the solution you'd like

When an NPC dies, it should scale its ragdoll to the NPC's model scale.

Optionally this should also apply to breakable props and their gibs.

Describe alternatives you've considered

I am working around it by scaling the NPC's model directly instead of using model scale, but that has other consequences because the NPC's hull size is fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions