Files
m119/addons/m119/tbd_m119/model.cfg
2024-04-10 20:10:41 +02:00

252 lines
6.8 KiB
INI

class CfgSkeletons
{
class Default
{
isDiscrete = 0;
skeletonInherit = "";
skeletonBones[] = {};
};
class tbd_M119_skeleton: Default
{
pivotsModel="";
isDiscrete = 0;
skeletonInherit = "";
skeletonBones[] =
{
"rest", "",
"rightwheel", "rest",
"leftwheel", "rest",
"otocvez", "rest",
"handle_horizontal", "rest",
"otochlaven", "otocvez",
"small_wheel", "otocvez",
"handle_vertical", "otocvez",
"barrel", "otochlaven",
"magazine_translation_bone", "otochlaven",
"magazine", "magazine_translation_bone",
"hydraulics", "otocvez",
"breach", "barrel",
"handle_breach", "barrel"
};
};
};
class CfgModels
{
class Default
{
sectionsInherit="";
sections[] = {};
skeletonName = "";
};
class tbd_M119: Default
{
sectionsInherit = "";
sections[] =
{
};
skeletonName = "tbd_M119_skeleton";
class Animations
{
class leftwheel
{
type="rotation";
source="recoil_rest_source";
selection="leftwheel";
axis="axis_wheels";
minValue=0.0;
maxValue=10.0;
angle0 = "rad +360";
angle1 = "rad -360";
};
class rightwheel
{
type="rotation";
source="recoil_rest_source";
selection="rightwheel";
axis="axis_wheels";
minValue=0.0;
maxValue=10.0;
angle0 = "rad +360";
angle1 = "rad -360";
};
class carriage
{
type="rotation";
source="carriage_rotation_source";
selection="carriage";
axis="rot_carriage";
minValue=0.0;
maxValue=90.0;
angle0 = "rad 0";
angle1 = "rad -90";
};
class MainTurret {
type = "rotationY";
source = "mainTurret";
selection = "OtocVez";
axis = "OsaVeze";
minValue = "rad -360";
maxValue = "rad +360";
angle0 = "rad -360";
angle1 = "rad +360";
memory = 1;
};
class rotation_handle_horizontal {
type = "rotation";
source = "mainTurret";
sourceAddress = "loop";
selection = "handle_horizontal";
axis = "axis_handle_horizontal";
minValue = "0";
maxValue = "1";
angle0 = "rad 0";
angle1 = "rad +5760";
memory = 1;
};
class rotation_handle_vertical {
type = "rotation";
source = "mainGun";
sourceAddress = "loop";
selection = "handle_vertical";
axis = "axis_handle_vertical";
minValue = "0";
maxValue = "1";
angle0 = "rad 0";
angle1 = "rad +11520";
memory = 1;
};
class MainGun : MainTurret {
type = "rotationX";
source = "mainGun";
selection = "OtocHlaven";
axis = "OsaHlaven";
minValue = "rad -360";
maxValue = "rad +360";
angle0 = "rad -360";
angle1 = "rad +360";
};
class recoil_rest
{
type="translation";
source="recoil_rest_source";
selection="rest";
axis="axis_rest";
minValue=0.0;
maxValue=20;
offset0 = "0.0";
offset1 = "-2";
animPeriod = 10;
};
class recoil_barrel
{
type="translation";
source="recoil_barrel_source";
selection="barrel";
axis="axis_barrel";
minValue=0.0;
maxValue=20;
offset0 = "0.0";
offset1 = "-1";
animPeriod = 10;
};
class open_breach
{
type="translation";
source="open_breach_source";
selection="breach";
axis="axis_breach";
minValue=0.0;
maxValue=20;
offset0 = "0.0";
offset1 = "-2";
animPeriod = 10;
};
class handle_breach
{
type="rotation";
source="handle_breach_source";
selection="handle_breach";
axis="axis_handle";
minValue=0.0;
maxValue=1;
angle0 = "rad 0";
angle1 = "rad 80";
animPeriod = 10;
memory = 1;
};
class hydraulics
{
type="rotation";
source="mainGun";
sourceAddress = "loop";
selection="hydraulics";
axis="axis_hydraulics";
minValue = "rad -309";
maxValue = "rad +309";
angle0 = "rad -360";
angle1 = "rad +360";
memory = 1;
};
class rotation_small_wheel {
type = "rotation";
source = "mainGun";
sourceAddress = "loop";
selection = "small_wheel";
axis = "axis_small_wheel";
minValue = "rad -180";
maxValue = "rad +180";
angle0 = "rad -360";
angle1 = "rad +360";
memory = 1;
};
class MainGunOptics : MainGun {
selection = "gunnerview";
axis = "gunnerview";
};
class magazine_load
{
type="translation";
source="magazine_load_source";
selection="magazine_translation_bone";
axis="axis_magazine";
minValue=0.0;
maxValue=1;
offset0 = "0.0";
offset1 = "-0.515";
animPeriod = 10;
};
class magazine_hide
{
type="hide";
source="magazine_hide_source";
selection="magazine";
hideValue=1;
};
};
};
};