This article relates to the game "Vampire: The Masquerade – Bloodlines". Click here for more information.

Compiling a prop static

From Valve Developer Community
Revision as of 05:39, 12 February 2025 by Wallit (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)
Crowbar How to

Compiling a prop static

For this, the BaseProp_example present in the Bloodlines SDK at Vampire The Masquerade - Bloodlines\SDKContent\ModelSrc will be used

BaseProp example.png

It contains: The base mesh Chair_Basic_REF.smd The LOD mesh Chair_Basic_REF_lod1.smd The physic Chair_Basic_physics.smd The animation in the folder Chair_Basic_anims The qc Chair_Basic.qc

  • 1. You can edit the qc by opening in a text editor, you will have those lines:
$modelname	"scenery/furniture/Chair_Basic/Chair_Basic.mdl"
$BodyGroup "Body"

{ studio "Chair_Basic_REF" }

$LOD 25 { replacemodel "Chair_Basic_REF.smd" "Chair_Basic_REF_lod1.smd" }

$StaticProp

$IllumPosition 0 0 0

$EyePosition 0.5 -0.5 0.5

$CDMaterials "models\scenery\furniture\couch_basic\"

$CBox 0 0 0 0 0 0

$BBox -30.441 -42.366 -27.903 30.512 42.366 27.503

$sequence "only_sequence" {

"chair_basic_anims\only_sequence.smd" activity "ACT_IDLE" 1 fps 30 }

$collisionmodel "chair_basic_physics.smd" { $mass 20 $inertia 1 $damping 0 $rotdamping 0 $rootbone " " }


  • 2.