Compiling a prop static: Difference between revisions
Jump to navigation
Jump to search

No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
The qc Chair_Basic.qc | The qc Chair_Basic.qc | ||
For more information, don't hesitate to click on the qc command or have a look to | For more information, don't hesitate to click on the qc command or have a look to [[$qc]] | ||
*1. You can edit the qc by opening in a text editor, you will have those lines: | *1. You can edit the qc by opening in a text editor, you will have those lines: |
Revision as of 05:45, 12 February 2025


Compiling a prop static
For this, the BaseProp_example present in the Bloodlines SDK at Vampire The Masquerade - Bloodlines\SDKContent\ModelSrc will be used
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
For more information, don't hesitate to click on the qc command or have a look to $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.