From Valve Developer Community
Revision as of 13:39, 21 June 2008 by Mflux (talk | contribs)
Jump to: navigation, search

$sequence idle

Did I read somewhere that all models should have an idle sequence or only prop_dynamic or prop_physics models? --Beeswax 15:18, 31 Mar 2008 (PDT)

I'm not sure how this should fit in here (if at all), but Modeling props with Blender provides this useful shortcut for creating a quick "idle.smd":

  • We will also need an additional SMD to declare the 'idle' animation. So, in a text-editor, create a file called pcgmag_idle.smd (or some other name ending in SMD) and enter this as its contents:
version 1
0 "joint0" -1
time 0
0 0.000000 0.000000 0.000000 0 0.000000 0.000000

--Beeswax 08:10, 29 Apr 2008 (PDT)

$sequence syntax

I found this example, which does not fit the syntax in the article ....

$sequence dieforward "dieforward" ACT_DIEFORWARD 1 fps 16.00 {
 { event 2002 10 }
  • ACT_DIEFORWARD 1 is the name of an activity but there's no "activity" key ?
  • { event 2002 10 } looks like an undeclared keyvalues block ?

... is there something wrong with my MDLdecompiler or my understanding of the syntax rules ? --Beeswax 12:01, 2 Apr 2008 (PDT)

$moving in global coordinate

"(See $animation for making the model move in global co-ords during an animation)" Where is this in $animation wiki doc? I see nothing on moving the actual entity in game-space, based on the root bone movement. --Mflux 14:39, 21 Jun 2008 (PDT)