VCE

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

Valve Choreography Events (VCE) is a file format used by HLFaceposer HLFaceposer to store individual events, to later import them in scene files.

Warning.pngWarning:In Faceposer, some events cannot be exported if the scene was not save first.
Warning.pngWarning:Incorrectly nested or corrupted files will make Faceposer freeze forever.

Format

VCE files use the same format as VCD files, with the exception that they only store events.


Every VCE file starts with this comment :

 // Choreo version 1:  <x> Exported Events
Where x is the number of exported events. The "choreo version" is always the same.
Confirm:Is it used by Faceposer ? From my testing, it doesn't.


It is then followed by events, wrote the same way as in VCD files.

Note.pngNote:If multiple "event headers" follow eachother whitout being separated by curly brackets, only the first "header" will be parsed by Faceposer.


Full example :

// Choreo version 1:  <1> Exported Events
event gesture "Gesture event 1"
{
  time 0.000000 -1.000000
  param "G_shrug"
  absolutetags playback_time
  {
    "apex" 0.160000
    "accent" 0.240000
    "loop" 0.320000
    "end" 0.440000
  }
  absolutetags shifted_time
  {
    "apex" 0.160000
    "accent" 0.240000
    "loop" 0.320000
    "end" 0.440000
  }
  sequenceduration 1.700000
}

Event header particularity example :

// Choreo version 1:  <1> Exported Events
    event generic "header 1"
    event moveto "header 2" //ignored
    event face "header 3"   //ignored
    event lookat "header 4" //ignored
    {
      time 1.000000 5.000000
      param "debugtext Debug text"
      param2 "!target1"
    }