Context
05-18-2008, 10:45 PM
Hello everyone.
I'm in the process of building a modifier I plan on using to create a finger rigging tool.
I am trying to add this very simple modifier to the modifier list. I can get it to show up in the list by dropping a file with this code into my Scripts->Startup folder, but the modifier shows up empty, and the parameters are not added to the object.
I know I'm missing something farily fundimental here. Any assistance would be greatly appreciated.
plugin modifier 'JTQ_Finger_Controls 1'
name:"JTQ_Finger_Controls 1"
classID:#(0x489d4f55, 0x7cf7b4d2)
(
local baseFinger = attributes myFingerControls
(
parameters main rollout:MyRollout
(
firstDigitValue type:#float ui:sldFirst default: 1
secondDigitValue type:#float ui:sldSecond default: 1
thirdDigitValue type:#float ui:sldThird default: 1
)
rollout MyRollout "My Controls"
(
slider sldFirst "First Digit" type:#float range:[0,1,1]
slider sldSecond "Second Digit" type:#float range:[0,1,1]
slider sldThird "Third Digit" type:#float range:[0,1,1]
)
)
)
I'm in the process of building a modifier I plan on using to create a finger rigging tool.
I am trying to add this very simple modifier to the modifier list. I can get it to show up in the list by dropping a file with this code into my Scripts->Startup folder, but the modifier shows up empty, and the parameters are not added to the object.
I know I'm missing something farily fundimental here. Any assistance would be greatly appreciated.
plugin modifier 'JTQ_Finger_Controls 1'
name:"JTQ_Finger_Controls 1"
classID:#(0x489d4f55, 0x7cf7b4d2)
(
local baseFinger = attributes myFingerControls
(
parameters main rollout:MyRollout
(
firstDigitValue type:#float ui:sldFirst default: 1
secondDigitValue type:#float ui:sldSecond default: 1
thirdDigitValue type:#float ui:sldThird default: 1
)
rollout MyRollout "My Controls"
(
slider sldFirst "First Digit" type:#float range:[0,1,1]
slider sldSecond "Second Digit" type:#float range:[0,1,1]
slider sldThird "Third Digit" type:#float range:[0,1,1]
)
)
)
