/*******************************************************************************
* Animation Configuration file for BTR70 Addon by Manfred *
********************************************************************************
* *
* $Id:: model.cfg 79 2009-02-16 02:01:27Z assasin $: *
* Author: Soul_Assasin <vorobiev.a.j@gmail.com >, *
* *
* LICENSE: This program is free software: you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or (at your *
* option) any later version. *
* This program is distributed in the hope that it will be useful, but WITHOUT *
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for *
* more details. *
* You should have received a copy of the GNU General Public License along with *
* this program. If not, see <http://www.gnu.org/licenses/gpl.txt>. *
* *
*******************************************************************************/
/*******************************************************************************
* CfgSkeletons : defines the animation skeletons *
*******************************************************************************/
class CfgSkeletons
{
class Default; // external class reference
class Car; // external class reference
class mnf_btr70:Car
{
isDiscrete=1; // not continuous
skeletonInherit = ""; // inheritance
skeletonBones[]=
{
"wheel_L1_damper_land","",
"wheel_L1_damper","wheel_L1_damper_land",
"wheel_L1_steering","wheel_L1_damper",
"wheel_L1","wheel_L1_steering",
"wheel_L1_unhide","wheel_L1",
"wheel_L1_hide","wheel_L1",
"wheel_L2_damper_land","",
"wheel_L2_damper","wheel_L2_damper_land",
"wheel_L2_steering","wheel_L2_damper",
"wheel_L2","wheel_L2_steering",
"wheel_L2_unhide","wheel_L2",
"wheel_L2_hide","wheel_L2",
"wheel_L3_damper_land","",
"wheel_L3_damper","wheel_L3_damper_land",
"wheel_L3_steering","wheel_L3_damper",
"wheel_L3","wheel_L3_steering",
"wheel_L3_unhide","wheel_L3",
"wheel_L3_hide","wheel_L3",
"wheel_L4_damper_land","",
"wheel_L4_damper","wheel_L4_damper_land",
"wheel_L4_steering","wheel_L4_damper",
"wheel_L4","wheel_L4_steering",
"wheel_L4_unhide","wheel_L4",
"wheel_L4_hide","wheel_L4",
"wheel_P1_damper_land","",
"wheel_P1_damper","wheel_P1_damper_land",
"wheel_P1_steering","wheel_P1_damper",
"wheel_P1","wheel_P1_steering",
"wheel_P1_unhide","wheel_P1",
"wheel_P1_hide","wheel_P1",
"wheel_P2_damper_land","",
"wheel_P2_damper","wheel_P2_damper_land",
"wheel_P2_steering","wheel_P2_damper",
"wheel_P2","wheel_P2_steering",
"wheel_P2_unhide","wheel_P2",
"wheel_P2_hide","wheel_P2",
"wheel_P3_damper_land","",
"wheel_P3_damper","wheel_P3_damper_land",
"wheel_P3_steering","wheel_P3_damper",
"wheel_P3","wheel_P3_steering",
"wheel_P3_unhide","wheel_P3",
"wheel_P3_hide","wheel_P3",
"wheel_P4_damper_land","",
"wheel_P4_damper","wheel_P4_damper_land",
"wheel_P4_steering","wheel_P4_damper",
"wheel_P4","wheel_P4_steering",
"wheel_P4_unhide","wheel_P4",
"wheel_P4_hide","wheel_P4",
"driverViewHatch","",
"commanderViewHatch","",
"driverHatch","",
"commanderHatch","",
"l_win_1","",
"l_win_2","",
"l_win_3","",
"r_win_1","",
"r_win_2","",
"r_win_3","",
"r_door","",
"l_door","",
"t_door_1","",
"t_door_2","",
"engineHatches","",
"propHatch","",
"prop","",
"obsTurret","",
"obsGun","obsTurret",
"ukaz_fuel","",
"ukaz_rpm","",
"ukaz_rychlo","",
"mainTurret","",
"mainGun","mainTurret",
"barrel","mainGun",
"steering",""
};
};
};
class CfgModels
{
class Car; //Declare base class.
class mnf_btr70: Car
{
sectionsInherit = "";
sections[] ={"n1","n2","n3","n4","n5","n6","pruh","light_brake","pravy predni","pravy dalsi","pravy zadni","pravy prostredni","levy predni","levy dalsi","levy zadni","levy prostredni","L svetlo", "P svetlo","clan"};
skeletonName = "mnf_btr70";
class Animations
{
class recoilGun
{
type="translation";
source="recoil_source";
selection="barrel";
begin="main_gun_recoil_end";
end="main_gun_recoil_start";
initphase=0;
memory=1;
animperiod =.5;
sourceaddress="mirror";
minvalue=0;
maxvalue=(1/100)/5;
offset0=0;
offset1=1;
};
class driverViewHatch
{
Type = "rotation";
source="driverViewHatch";
selection="driverViewHatch";
axis="viewHatch_axis";
sourceAddress = "clamp";
minValue = 0;
maxValue = 1;
angle0=0;
angle1=-0.58;
};
class commanderViewHatch : driverViewHatch
{
source="commanderViewHatch";
selection="commanderViewHatch";
};
class driverHatch
{
Type = "rotation";
source="driverHatch";
selection="driverHatch";
axis="driverHatch_axis";
sourceAddress = "clamp";
minValue = 0;
maxValue = 1;
angle0="rad 0";
angle1="-rad 90";
};
class commanderHatch : driverHatch
{
source="commanderHatch";
selection="commanderHatch";
axis="commanderHatch_axis";
angle1="rad 90";
};
class l_door
{
Type = "rotation";
source="l_door";
selection="l_door";
axis="l_door_axis";
sourceAddress = "clamp";
minValue = 0;
maxValue = 1;
angle0="rad 0";
angle1="rad 90";
};
class r_door : l_door
{
source="r_door";
selection="r_door";
axis="r_door_axis";
angle1="-rad 90";
};
class r_win_1
{
type="rotation";
source="windows";
selection="r_win_1";
axis="r_win_1_axis";
sourceAddress = "clamp";
minValue = 0;
maxValue = 1;
angle0="rad 0";
angle1="-rad 90";
};
class r_win_2 : r_win_1
{
selection="r_win_2";
axis="r_win_2_axis";
};
class r_win_3 : r_win_1
{
selection="r_win_3";
axis="r_win_3_axis";
};
class l_win_1 : r_win_1
{
selection="l_win_1";
axis="l_win_1_axis";
};
class l_win_2 : r_win_1
{
selection="l_win_2";
axis="l_win_2_axis";
};
class l_win_3 : r_win_1
{
selection="l_win_3";
axis="l_win_3_axis";
};
class t_door_1 : r_win_1
{
source="t_door_1";
selection="t_door_1";
axis="t_door_1_axis";
angle1="rad 90";
};
class t_door_2 : r_win_1
{
source="t_door_2";
selection="t_door_2";
axis="t_door_2_axis";
angle1="-rad 90";
};
class engineHatches : t_door_1
{
source="engineHatches";
selection="engineHatches";
axis="engineHatches_axis";
};
class propDoor : t_door_1
{
source = "propDoor";
selection = "propHatch";
axis="propHatch_axis";
angle1="-rad 70";
};
class prop
{
type="rotation";
source="wheel";
selection="prop";
axis="prop_axis";
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0="rad 0";
angle1="rad 360";
};
class steering_wheel
{
type = "rotation";
source = "drivingWheel";
selection = "steering";
axis = "steering_axis";
memory = true;
angle0 = "rad -180";
angle1 = "rad 180";
minValue = -1;
maxValue = 1;
};
class mainTurret
{
type = "rotationY";
source = "mainTurret";
selection = "mainTurret";
axis = "OsaVeze";
memory = true;
sourceAddress = "loop";
minValue = rad -360;
maxValue = rad 360;
angle0 = rad -360;
angle1 = "rad 360";
};
class mainGun
{
type = "rotationX";
source = "mainGun";
selection = "mainGun";
axis = "OsaHlavne";
animPeriod=0;
sourceAddress = "clamp";
minValue="rad -360";
maxValue="rad +360";
angle0="rad -360";
angle1="rad +360";
};
class obsTurret
{
type = "rotationY";
source = "obsTurret";
selection = "obsTurret";
axis = "obsTurret";
animPeriod = 0;
memory = 1;
minValue = "rad -360";
maxValue = "rad +360";
angle0 = "rad -360";
angle1 = "rad +360";
};
class obsGun
{
type = "rotationX";
source = "obsGun";
selection = "obsGun";
axis = "obsGun_axis";
animPeriod = 0;
memory = 1;
minValue = "rad -360";
maxValue = "rad +360";
angle0 = "rad -360";
angle1 = "rad +360";
};
class Wheel_P1
{
type = "rotationX";
source = "wheel";
selection = "Wheel_P1";
axis = "Wheel_P1";
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class Wheel_P2: Wheel_P1
{
selection = "Wheel_P2";
axis = "Wheel_P2";
};
class Wheel_P3: Wheel_P1
{
selection = "Wheel_P3";
axis = "Wheel_P3";
};
class Wheel_P4: Wheel_P1
{
selection = "Wheel_P4";
axis = "Wheel_P4";
};
class Wheel_L1: Wheel_P1
{
selection = "wheel_L1";
axis = "wheel_L1";
};
class Wheel_L2: Wheel_L1
{
selection = "Wheel_L2";
axis = "Wheel_L2";
};
class Wheel_L3: Wheel_L1
{
selection = "Wheel_L3";
axis = "Wheel_L3";
};
class Wheel_L4: Wheel_L1
{
selection = "Wheel_L4";
axis = "Wheel_L4";
};
class wheel_P1_Steering
{
type = "rotationY";
source = "drivingWheel";
selection = "wheel_P1_steering";
axis = "axis_wheel_P1";
sourceAddress = "clamp";
minValue = -1;
maxValue = 1;
angle0 = "rad 35";
angle1 = "rad -35";
};
class wheel_P2_Steering: wheel_P1_Steering
{
selection = "wheel_P2_steering";
axis = "axis_wheel_P2";
};
class wheel_L1_Steering: wheel_P1_Steering
{
selection = "wheel_L1_steering";
axis = "axis_wheel_L1";
angle0 = "rad 35";
angle1 = "rad -35";
};
class wheel_L2_Steering: wheel_L1_Steering
{
selection = "wheel_L2_steering";
axis = "axis_wheel_L2";
};
class wheel_P1_Damper
{
type = "translationY";
source = "damper";
selection = "wheel_P1_damper_land";
SourceAddress = "clamp";
axis="";
animPeriod=0;
minValue=-1000;
maxValue=1000;
};
class wheel_P2_Damper: wheel_P1_Damper
{
selection = "wheel_P2_damper_land";
};
class wheel_P3_Damper: wheel_P1_Damper
{
selection = "wheel_P3_damper_land";
};
class wheel_P4_Damper: wheel_P1_Damper
{
selection = "wheel_P4_damper_land";
};
class wheel_L1_Damper: wheel_P1_Damper
{
selection = "wheel_L1_damper_land";
};
class wheel_L2_Damper: wheel_L1_Damper
{
selection = "wheel_L2_damper_land";
};
class wheel_L3_Damper: wheel_L1_Damper
{
selection = "wheel_L3_damper_land";
};
class wheel_L4_Damper: wheel_L1_Damper
{
selection = "wheel_L4_damper_land";
};
class wheel_L1_destruct
{
Type = "hide";
Source = "HitLFWheel";
Selection = "wheel_L1_hide";
MinValue = 0.00;
MaxValue = 1.00;
SourceAddress = "clamp";
hideValue = 0.98;
};
class wheel_L2_destruct: wheel_L1_destruct
{
Source = "HitLF2Wheel";
Selection = "wheel_L2_hide";
};
class wheel_L3_destruct: wheel_L1_destruct
{
Source = "HitLMWheel";
Selection = "wheel_L3_hide";
};
class wheel_L4_destruct: wheel_L1_destruct
{
Source = "HitLBWheel";
Selection = "wheel_L4_hide";
};
class wheel_P1_destruct: wheel_L1_destruct
{
Source = "HitRFWheel";
Selection = "wheel_P1_hide";
};
class wheel_P2_destruct: wheel_P1_destruct
{
Source = "HitRF2Wheel";
Selection = "wheel_P2_hide";
};
class wheel_P3_destruct: wheel_P1_destruct
{
Source = "HitRMWheel";
Selection = "wheel_P3_hide";
};
class wheel_P4_destruct: wheel_P1_destruct
{
Source = "HitRBWheel";
Selection = "wheel_P4_hide";
};
class wheel_L1_unhide
{
Type = "hide";
Source = "HitLFWheel";
Selection = "wheel_L1_unhide";
MinValue = -1.00;
MaxValue = 0.00;
SourceAddress = "mirror";
hideValue = 0.02;
};
class wheel_L2_unhide: wheel_L1_unhide
{
Source = "HitLF2Wheel";
Selection = "wheel_L2_unhide";
};
class wheel_L3_unhide: wheel_L1_unhide
{
Source = "HitLMWheel";
Selection = "wheel_L3_unhide";
};
class wheel_L4_unhide: wheel_L1_unhide
{
Source = "HitLBWheel";
Selection = "wheel_L4_unhide";
};
class wheel_P1_unhide: wheel_L1_unhide
{
Source = "HitRFWheel";
Selection = "wheel_P1_unhide";
};
class wheel_P2_unhide: wheel_P1_unhide
{
Source = "HitRF2Wheel";
Selection = "wheel_P2_unhide";
};
class wheel_P3_unhide: wheel_P1_unhide
{
Source = "HitRMWheel";
Selection = "wheel_P3_unhide";
};
class wheel_P4_unhide: wheel_P1_unhide
{
Source = "HitRBWheel";
Selection = "wheel_P4_unhide";
};
class wheel_L1_Damage
{
Type = "translation";
Source = "HitLFWheel";
Selection = "wheel_L1_damper_land";
MinValue = 0.00;
MaxValue = 1.00;
SourceAddress = "clamp";
Begin = "damper_begin";
End = "damper_end";
Offset0 = 0.000000;
Offset1 = 0.200000;
};
class wheel_L2_Damage: wheel_L1_Damage
{
Source = "HitLF2Wheel";
Selection = "wheel_L2_damper_land";
};
class wheel_L3_Damage: wheel_L1_Damage
{
Source = "HitLMWheel";
Selection = "wheel_L3_damper_land";
};
class wheel_L4_Damage: wheel_L1_Damage
{
Source = "HitLBWheel";
Selection = "wheel_L4_damper_land";
};
class wheel_P1_Damage: wheel_L1_Damage
{
Source = "HitRFWheel";
Selection = "wheel_P1_damper_land";
};
class wheel_P2_Damage: wheel_P1_Damage
{
Source = "HitRF2Wheel";
Selection = "wheel_P2_damper_land";
};
class wheel_P3_Damage: wheel_P1_Damage
{
Source = "HitRMWheel";
Selection = "wheel_P3_damper_land";
};
class wheel_P4_Damage: wheel_P1_Damage
{
Source = "HitRBWheel";
Selection = "wheel_P4_damper_land";
};
class wheel_L1_Damper_Damage_BackAnim
{
Type = "translation";
Source = "HitLFWheel";
Selection = "wheel_L1_damper";
MinValue = 0.00;
MaxValue = 1.00;
SourceAddress = "clamp";
Begin = "damper_begin";
End = "damper_end";
Offset0 = 0.000000;
Offset1 = -0.260000;
};
class wheel_L2_Damper_Damage_BackAnim: wheel_L1_Damper_Damage_BackAnim
{
Source = "HitLF2Wheel";
Selection = "wheel_L2_damper";
};
class wheel_L3_Damper_Damage_BackAnim: wheel_L1_Damper_Damage_BackAnim
{
Source = "HitLMWheel";
Selection = "wheel_L3_damper";
};
class wheel_L4_Damper_Damage_BackAnim: wheel_L1_Damper_Damage_BackAnim
{
Source = "HitLBWheel";
Selection = "wheel_L4_damper";
};
class mnf_btr70IndicatorSpeed
{
type = "rotation";
source = "speed";
memory = false;
selection="ukaz_rychlo";
axis="osa_rychlo";
angle0=0;
angle1="rad -240";
minValue=0;
maxValue=60;
};
class mnf_btr70IndicatorRPM
{
type = "rotation";
source = "rpm";
memory = false;
selection="ukaz_rpm";
axis="osa_rpm";
angle0=0;
angle1="rad -270";
minValue=0;
maxValue=1.5;
};
class mnf_btr70IndicatorFuel
{
type = "rotation";
source = "fuel";
memory = false;
selection="ukaz_fuel";
axis="osa_fuel";
angle0="0";
angle1="rad 270";
minValue=0;
maxValue=1;
};
class mnf_btr70DrivingWheel
{
type = "rotation";
source = "drivingWheel";
selection = "volant";
axis = "osavolantkon";
memory = false;
angle0 = "rad 180";
angle1 = "rad -180";
minValue = -1;
maxValue = 1;
};
};
};
};