flexcontroller confusion

Got problems with your models? Struggling with textures? Get help with your custom assets.

flexcontroller confusion

Postby coder0xff on Fri Aug 29, 2008 11:31 pm

I'm working on programming DuctTape. I am referring to the flexcontroller option of the $model command:

http://developer.valvesoftware.com/wiki/%24model_%28QC%29#flexcontroller

The syntax:
Code: Select all
flexcontroller (group name) [range (min) (max)] [default (val)] (controller name) [(controller name) ... ]


The example:
Code: Select all
$model "female_01" "female_01_reference_RE.smd" {
   flexcontroller eyelid right_lid_raiser "range" 0.000 1.000
}


I need to know all and exactly what is happening with this option. My specific cunfusions are these:

The syntax indicates that the range option is specified after the (one) group name - however, the example shows another name and then a range option.

The explanation states:
Code: Select all
If you specify two names on the line, and the first is named right_... and the second left_..., blah blah


Is it talking about two group names or two controller names?

If possible, could someone perhaps make the wiki a little more descriptive. Or just explain concisely here, and I can try to improve it.

Thanks guys
User avatar
coder0xff
Veteran
Veteran
 
Joined: Fri Jun 13, 2008 1:51 am

Return to Custom Asset Help

Who is online

Users browsing this forum: No registered users