Created
June 17, 2013 08:43
-
-
Save mrflay/5795503 to your computer and use it in GitHub Desktop.
Compound Bow Model Configuraiton
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CfgSkeletons | |
{ | |
class Default | |
{ | |
isDiscrete=1; | |
skeletonInherit=""; | |
skeletonBones[]={}; | |
}; | |
class FLAY_BowSkeleton: Default | |
{ | |
skeletonBones[]={ | |
"magazine","", | |
"bolt","" | |
}; | |
}; | |
}; | |
class CfgModels | |
{ | |
class Default | |
{ | |
sectionsInherit=""; | |
sections[]={}; | |
skeletonName=""; | |
}; | |
class FLAY_Bow: Default | |
{ | |
skeletonName="FLAY_BowSkeleton"; | |
sections[]={ | |
"magazine", | |
"bolt" | |
}; | |
class Animations | |
{ | |
class FLAY_MagazineEmpty | |
{ | |
type = "hide"; | |
source = "revolving"; | |
selection = "magazine"; | |
sourceAddress = "mirror"; | |
memory = 0; | |
minValue = -1.0; | |
maxValue = 0.0; | |
minPhase = -1.0; | |
maxPhase = 0.0; | |
hideValue = 0.5; | |
}; | |
class FLAY_MagazineMove | |
{ | |
type="translation"; | |
source="reloadMagazine"; | |
selection="magazine"; | |
axis="magazine_axis"; | |
minValue=0; | |
maxValue=0.02; | |
offset0=0; | |
offset1=0.87; | |
}; | |
class FLAY_BoltMove | |
{ | |
type="translation"; | |
source="reloadMagazine"; | |
selection="bolt"; | |
axis="magazine_axis"; | |
minValue=0; | |
maxValue=0.02; | |
offset0=0; | |
offset1=0.87; | |
}; | |
}; | |
}; | |
class FLAY_CompoundBow: FLAY_Bow {}; | |
class FLAY_RecurveBow: FLAY_Bow {}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment