Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $modelname "kevin.mdl" //compiled model name
- $cdmaterials "Kevin" //material path
- // Model uses material "mouth.vmt"
- // Model uses material "eyeball_l.vmt"
- // Model uses material "eyeball_r.vmt"
- // Model uses material "ted_facemap.vmt"
- // Model uses material "citizen_sheet.vmt"
- // Model uses material "pupil_r.vmt"
- // Model uses material "glint.vmt"
- // Model uses material "pupil_l.vmt"
- $model "kevin" "kevin.smd" { //specifies the reference smd
- flexfile "kevin_expressions.vta" { //flex animation file
- $include "standardflex_xsi.qci" //defines flex frames
- }
- //eye data
- eyeball righteye "ValveBiped.Bip01_Head1" -1.18 -3.7 67.35 "eyeball_r" 1.00 4 "pupil_r" 0.63
- eyeball lefteye "ValveBiped.Bip01_Head1" 1.43 -3.73 67.35 "eyeball_l" 1.00 -4 "pupil_l" 0.63
- eyelid upper_right "kevin_expressions" lowerer 1 -0.24 neutral 0 0.15 raiser 2 0.19 split 0.1 eyeball righteye
- eyelid lower_right "kevin_expressions" lowerer 3 -0.27 neutral 0 -0.24 raiser 4 -0.05 split 0.1 eyeball righteye
- eyelid upper_left "kevin_expressions" lowerer 1 -0.22 neutral 0 0.18 raiser 2 0.22 split -0.1 eyeball lefteye
- eyelid lower_left "kevin_expressions" lowerer 3 -0.24 neutral 0 -0.21 raiser 4 -0.03 split -0.1 eyeball lefteye
- mouth 0 "mouth" "ValveBiped.Bip01_Head1" 0 1 0 // mouth illumination
- $include "facerules_xsi.qci" //the flex equations
- $include "bodyrules_xsi.qci" //body flex controllers for range
- //end eye/face data
- }
- //attachments hook position and orientation for things like weapons and other entities
- $attachment "eyes" "ValveBiped.Bip01_Head1" -0.09 -3.48 67.78 absolute
- $attachment "mouth" "ValveBiped.Bip01_Head1" 0.80 -5.80 -0.15 rotate 0 -80 -90
- $attachment "chest" "ValveBiped.Bip01_Spine2" 5.00 4.00 -0.00 rotate 0.00 90.00 90.00
- $eyeposition 0.000 0.000 70.000
- $include "standardhierarchy.qci" //hierarchy of the bones
- $include "standardikchains.qci" //rules for how the bones behave
- $alwayscollapse "Male_01" //always collapses the named bone no matter how it is used
- $alwayscollapse "XSISceneRoot"
- $proceduralbones "male.vrd" //helper bones that help control bone orientation/position
- $include "commonbones.qci" //makes sure none of the "stock" bones/attachments of the HL2 rig get lost during compiles
- //$includemodel Used to add an mdl file so that other models' animations can be used as long as the skelton is the same
- $includemodel "humans/male_shared.mdl"
- $includemodel "humans/male_ss.mdl"
- $includemodel "humans/male_gestures.mdl"
- $includemodel "humans/male_postures.mdl"
- $includemodel "barney_animations.mdl"
- $includemodel "barney_postures.mdl"
- $includemodel "barney_gestures.mdl"
- $includemodel "magnusson_postures.mdl"
- $includemodel "magnusson_gestures.mdl"
- $includemodel "magnusson_animations.mdl"
- $includemodel "kleiner_animations.mdl"
- $includemodel "kleiner_postures.mdl"
- $includemodel "kleiner_gestures.mdl"
- $includemodel "breen_animations.mdl"
- $includemodel "breen_postures.mdl"
- $includemodel "breen_gestures.mdl"
- $surfaceprop "flesh" //affects sound when hit, and giblets
- $illumposition 0.637 0.000 36.000 //Sets the illumination position of the model
- $include "hitbox.qci" //approximate body area where the model can be shot
- $include "ragdoll.qci" //collision model with special low polygon mesh with loose joints and simplified weightmap
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement