added cinder garage doorway, door locked and unlocked

This commit is contained in:
[VB]AWOL
2013-09-02 21:46:11 -05:00
parent b9eef9c4ea
commit b490e43084
14 changed files with 420 additions and 1 deletions

View File

@@ -70,7 +70,36 @@ class CfgSkeletons {
};
// The last entry gets no comma
};
class locked_steel_garage_skeleton : Default {
isDiscrete=1;
skeletonInherit="";
// The moving objects are here defined
// If two selections are linked together
// they can be written next to each seperated by only a comma
// if they are not linked, they need to be
// seperated by ,"",
skeletonBones[]= {
"garage","","latch",""
};
// The last entry gets no comma
};
class steel_garage_skeleton : Default {
isDiscrete=1;
skeletonInherit="";
// The moving objects are here defined
// If two selections are linked together
// they can be written next to each seperated by only a comma
// if they are not linked, they need to be
// seperated by ,"",
skeletonBones[]= {
"garage","",
};
// The last entry gets no comma
};
};
@@ -78,6 +107,8 @@ class CfgSkeletons {
class CfgModels {
//load some bases from which you can derivate
class rotation;
class translation;
// And again: class default
class Default {
sectionsInherit="";
@@ -315,5 +346,86 @@ class CfgModels {
};
};
class unlocked_steel_garage_door {
sectionsInherit="";
sections[]= {};
skeletonName="steel_garage_skeleton"; // same as in cfgskeletons
};
//New Anim for steel_garage_door.p3d
class steel_garage_door : unlocked_steel_garage_door {
sectionsInherit="unlocked_steel_garage_door";
sections[]={};
// the translation(slide) animation
class Animations {
class Open_door : Rotation { // name of the animation
type="rotation"; // Type of movement
source="user"; // Trigger of the animation
selection="garage"; // the thing that moves
axis="garage_axis"; // take a guess what this does...
memory = 1; // can the axis be found in memory-lod? 1 = yes, 0 = no
angle0=0; // initial angle of the door in radians
angle1=1.7; // final position after playing the animation
};
};
};
class locked_steel_garage_door {
sectionsInherit="";
sections[]= {};
skeletonName="locked_steel_garage_skeleton"; // same as in cfgskeletons
};
//New Anim for steel_garage_locked.p3d
class steel_garage_locked : locked_steel_garage_door {
sectionsInherit="locked_steel_garage_door";
sections[]={};
// the translation(slide) animation
class Animations {
class Open_door : Rotation { // name of the animation
type="rotation"; // Type of movement
source="user"; // Trigger of the animation
selection="garage"; // the thing that moves
axis="garage_axis"; // take a guess what this does...
memory = 1; // can the axis be found in memory-lod? 1 = yes, 0 = no
angle0=0; // initial angle of the door in radians
angle1=1.7; // final position after playing the animation
};
class Open_latch : Translation { // name of the animation
type="translation"; // Type of movement
source="user"; // Trigger of the animation
selection="latch"; // the thing that moves
axis="latch_axis"; // take a guess what this does...
memory = 1; // can the axis be found in memory-lod? 1 = yes, 0 = no
offset0=0; // initial angle of the door in radians
offset1=0.5; // final position after playing the animation
};
};
};
};