mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
1.0.2.12 developer build
This commit is contained in:
@@ -100,6 +100,37 @@ class CfgSkeletons {
|
||||
};
|
||||
// The last entry gets no comma
|
||||
};
|
||||
class steel_door_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[]= {
|
||||
"door","",""
|
||||
};
|
||||
// The last entry gets no comma
|
||||
};
|
||||
|
||||
class locked_steel_door_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[]= {
|
||||
"door","","latch",""
|
||||
};
|
||||
// The last entry gets no comma
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -428,4 +459,93 @@ class CfgModels {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class unlocked_steel_door {
|
||||
sectionsInherit="";
|
||||
sections[]= {};
|
||||
skeletonName="steel_door_skeleton"; // same as in cfgskeletons
|
||||
};
|
||||
|
||||
//New Anim for steel_door.p3d
|
||||
class steel_door : unlocked_steel_door {
|
||||
sectionsInherit="unlocked_steel_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="door"; // the thing that moves
|
||||
|
||||
axis="door_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=-2.4; // final position after playing the animation
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class locked_steel_door {
|
||||
sectionsInherit="";
|
||||
sections[]= {};
|
||||
skeletonName="locked_steel_door_skeleton"; // same as in cfgskeletons
|
||||
};
|
||||
|
||||
//New Anim for steel_door_locked.p3d
|
||||
class steel_door_locked : locked_steel_door {
|
||||
sectionsInherit="locked_steel_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="door"; // the thing that moves
|
||||
|
||||
axis="door_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=-2.4; // 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=-1.42; // final position after playing the animation
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user