Difference between revisions of "Talk:$sequence"

From Valve Developer Community
Jump to: navigation, search
(idle)
Line 1: Line 1:
== idle ==
+
== $sequence idle ==
Did I read somewhere that ''all'' models should have an idle sequence or only prop_dynamic models? --[[User:Beeswax|Beeswax]] 15:18, 31 Mar 2008 (PDT)
+
Did I read somewhere that ''all'' models should have an idle sequence or only prop_dynamic or prop_physics models? --[[User:Beeswax|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
 +
nodes
 +
0 "joint0" -1
 +
end
 +
skeleton
 +
time 0
 +
0 0.000000 0.000000 0.000000 0 0.000000 0.000000
 +
end
 +
--[[User:Beeswax|Beeswax]] 08:10, 29 Apr 2008 (PDT)
  
 
== $sequence syntax ==
 
== $sequence syntax ==

Revision as of 15:10, 29 April 2008

$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
nodes
0 "joint0" -1
end
skeleton
time 0
0 0.000000 0.000000 0.000000 0 0.000000 0.000000
end

--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)