$appendsource: Difference between revisions
Jump to navigation
Jump to search

Note:The scale value is independent of $scale.
Note:Using an extension in the reference mesh is optional. It will first try looking for an SMD, then a DMX, and then finally a FBX, regardless of what the specified extension is!
Note:The syntax of the transformations must be exactly as above - even the spaces must be identical!
m (WisdomBot moved page $appendsource to $appendsource/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot under supervision.) |
m (Multipage removal) |
||
Line 1: | Line 1: | ||
{{ | {{LanguageBar|title=<code>$appendsource</code>}} | ||
'''<code style="color:white">$appendsource</code>''' is used to add a new reference mesh to a model with a specified position, rotation, and scale. It is used extensively with [[Static Prop Combine|VBSP's static prop combine functionality]]. It is available in {{csgo}}. | '''<code style="color:white">$appendsource</code>''' is used to add a new reference mesh to a model with a specified position, rotation, and scale. It is used extensively with [[Static Prop Combine|VBSP's static prop combine functionality]]. It is available in {{csgo}}. | ||
{{Bug|Without a [[$body]] or [[$model_(QC)|$model]] command, the model will fail to compile!}} | {{Bug|Without a [[$body]] or [[$model_(QC)|$model]] command, the model will fail to compile!}} | ||
Line 22: | Line 23: | ||
*[[$model_(QC)|$model]] | *[[$model_(QC)|$model]] | ||
*[[$collisionmodel#Options|$addconvexsrc]] | *[[$collisionmodel#Options|$addconvexsrc]] | ||
[[Category:QC Commands|appendsource]] |
Revision as of 02:56, 12 July 2024


$appendsource
is used to add a new reference mesh to a model with a specified position, rotation, and scale. It is used extensively with VBSP's static prop combine functionality. It is available in .
Syntax
$appendsource <reference mesh> "offset pos[ <float> <float> <float> ] angle[ <float> <float> <float> ] scale[ <float> ]"



Example
$modelname props/threebarrels.mdl $scale 6.500 $body body "old_barrel" $appendsource "old_barrel" "offset pos[ -29.564 12.246 0.000 ] angle[ -0.000 -22.500 0.000 ] scale[ 6.500 ]" $appendsource "old_barrel.dmx" "offset pos[ -12.246 -29.564 0.000 ] angle[ -0.000 -22.500 0.000 ] scale[ 6.500 ]" $sequence "idle" "old_barrel"