Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*******************************************************************************
- * Animation Configuration file for BMD1 Addon by Soul_Assasin *
- ********************************************************************************
- * *
- * $Id:: model.cfg 167 2009-06-24 13:03:12Z assasin $: *
- * Author: Soul_Assasin <vorobiev.a.j@gmail.com >, *
- * ist <ramoscello@gmail.com> http://armavdv.blogspot.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 Tank; // external class reference
- class sa_bmd_1:Tank
- {
- isDiscrete=1; // not continuous
- skeletonInherit = ""; // inheritance
- skeletonBones[]=
- {
- "movebody","",
- "otocvez","movebody",
- "damageHide","movebody",
- "wave_l","movebody",
- "wave_r","movebody",
- "wave_c","movebody",
- "kolL1","movebody",
- "kolL2","movebody",
- "kolL3","movebody",
- "kolL4","movebody",
- "kolL5","movebody",
- "kolL6","movebody",
- "kolP1","movebody",
- "kolP2","movebody",
- "kolP3","movebody",
- "kolP4","movebody",
- "kolP5","movebody",
- "kolP6","movebody",
- "gunnerview3_axis","movebody",
- "gunnerview3_axis_v","gunnerview3_axis",
- "gunnerview3","gunnerview3_axis_v",
- "gunnerview2_axis","movebody",
- "gunnerview2_axis_v","gunnerview2_axis",
- "gunnerview2","gunnerview2_axis_v",
- "poklop_driver","movebody",
- "obsTurret","movebody",
- "obsTurret2","movebody",
- "otochlaven","otocvez",
- "rocket","otochlaven",
- "damageVez","otocvez",
- "damageHlaven","otochlaven",
- "obsGun","obsTurret",
- "obsGun2","obsTurret2",
- "lseat_turret","",
- "lseat_gun","lseat_turret",
- "rseat_turret","",
- "rseat_gun","rseat_turret",
- "bseat_turret","",
- "bseat_gun","bseat_turret",
- "poklop_gunner","otocvez",
- "damageHatchG","poklop_gunner",
- "podkoloL1",
- "",
- "podkoloL2",
- "",
- "podkoloL3",
- "",
- "podkoloL4",
- "",
- "podkoloL5",
- "",
- "podkoloP1",
- "",
- "podkoloP2",
- "",
- "podkoloP3",
- "",
- "podkoloP4",
- "",
- "podkoloP5",
- "",
- "koloL1",
- "podkoloL1",
- "koloL2",
- "podkoloL2",
- "koloL3",
- "podkoloL3",
- "koloL4",
- "podkoloL4",
- "koloL5",
- "podkoloL5",
- "koloP1",
- "podkoloP1",
- "koloP2",
- "podkoloP2",
- "koloP3",
- "podkoloP3",
- "koloP4",
- "podkoloP4",
- "koloP5",
- "podkoloP5",
- "podkoloL1_hide",
- "podkoloL1",
- "podkoloL2_hide",
- "podkoloL2",
- "podkoloL3_hide",
- "podkoloL3",
- "podkoloL4_hide",
- "podkoloL4",
- "podkoloL5_hide",
- "podkoloL5",
- "podkoloP1_hide",
- "podkoloP1",
- "podkoloP2_hide",
- "podkoloP2",
- "podkoloP3_hide",
- "podkoloP3",
- "podkoloP4_hide",
- "podkoloP4",
- "podkoloP5_hide",
- "podkoloP5",
- "suspL1","movebody",
- "suspL2","movebody",
- "suspL3","movebody",
- "suspL4","movebody",
- "suspL5","movebody"
- }; // bones
- };
- class sa_bmd_1_iraq:sa_bmd_1
- {
- skeletonInherit = "sa_bmd_1";
- };
- class sa_bmd_1p:sa_bmd_1
- {
- skeletonInherit = "sa_bmd_1";
- skeletonBones[]=
- {
- "at5","otocvez",
- "at5_gun","at5",
- "at5_barrel","at5_gun",
- "at5_gunnerview","at5_gun"
- };
- };
- };
- /*******************************************************************************
- * CfgModels : defines the sections and animations *
- *******************************************************************************/
- class CfgModels
- {
- class Default
- {
- sectionsInherit = "";
- sections[] = {};
- };
- class Tank; // external
- class sa_bmd_1:Tank
- {
- sectionsInherit = ""; // inheritance
- sections[] =
- {
- "podkoloL1",
- "podkoloP1",
- "podkoloL2",
- "podkoloP2",
- "podkoloL3",
- "podkoloP3",
- "podkoloL4",
- "podkoloP4",
- "podkoloL5",
- "podkoloP6",
- "zasleh",
- "zasleh1",
- "zasleh2",
- "kolL1",
- "kolL2",
- "kolL3",
- "kolL4",
- "kolL5",
- "kolL6",
- "kolP1",
- "kolP2",
- "kolP3",
- "kolP4",
- "kolP5",
- "kolP6",
- "koloL1",
- "koloL2",
- "koloL3",
- "koloL4",
- "koloL5",
- "kolP1",
- "koloP1",
- "koloP2",
- "koloP3",
- "koloP4",
- "koloP5",
- "pasanimL",
- "pasanimP",
- "HatchGunner",
- "HatchDriver",
- "otochlaven1",
- "otocvez1",
- "bowmg1_start",
- "bowmg1_end","obsTurret","obsGun","obsTurret2","obsGun2",
- "clan",
- "clan_sign",
- "L svetlo",
- "zadni svetlo",
- "zbytek",
- "movebody",
- "damageHide",
- "damageVez",
- "damageHlaven",
- "damageHatchG",
- "n1",
- "n2",
- "n3",
- "i1",
- "i2",
- "i3",
- "leftTrackT",
- "Camo1",
- "Camo2",
- "Camo3",
- "Camo4",
- "Wheel1",
- "Wheel2",
- "Wheel3"
- }; // sections
- skeletonName = "sa_bmd_1"; // reference to the skeleton used
- class Animations
- {
- /*******************************************************************************
- * Suspension Raise/Lower *
- *******************************************************************************/
- class suspensionv1
- {
- type="rotation";
- source="suspensionv1";
- selection="movebody";
- axis="suspaxis";
- memory="true";
- sourceAddress = "clamp";
- angle0="0";
- angle1="rad 2.5";
- };
- class suspensionv2
- {
- type="rotation";
- source="suspensionv1";
- selection="movebody";
- axis="suspaxis1";
- memory="true";
- sourceAddress = "clamp";
- angle0="0";
- angle1="rad -2.5";
- };
- /*******************************************************************************
- * Suspension struts raise/lower *
- *******************************************************************************/
- class suspL1
- {
- type="rotation";
- source="strutmove";
- selection="suspL1";
- axis="susp1_axis";
- memory="true";
- sourceAddress = "clamp";
- angle0="0";
- angle1="rad 30";
- };
- class suspL2:suspL1
- {
- selection="suspL2";
- axis="susp2_axis";
- };
- class suspL3:suspL1
- {
- selection="suspL3";
- axis="susp3_axis";
- };
- class suspL4:suspL1
- {
- selection="suspL4";
- axis="susp4_axis";
- };
- class suspL5:suspL1
- {
- selection="suspL5";
- axis="susp5_axis";
- };
- /*******************************************************************************
- * Main Turret *
- *******************************************************************************/
- class otocvez
- {
- type = "rotationY";
- source = "mainTurret";
- selection = "otocvez";
- axis = "osaveze";
- memory = true;
- sourceAddress = "loop";
- minValue = rad -360;
- maxValue = rad +360;
- angle0 = rad -360;
- angle1 = rad 360;
- };
- /*******************************************************************************
- * Main Gun *
- *******************************************************************************/
- class otochlaven
- {
- type = "rotationX";
- source = "mainGun";
- selection = "otochlaven";
- axis = "osahlavne";
- memory = true;
- sourceAddress = "clamp";
- minValue = -0.12;
- maxValue = 1;
- angle0 = rad -4;
- angle1 = rad 33;
- };
- /*******************************************************************************
- * Hatches *
- *******************************************************************************/
- class HatchGunner
- {
- type = "rotationX";
- source = "HatchGunner";
- selection="poklop_gunner";
- axis="osa_poklop_gunner";
- minValue = 0;
- maxValue = 1;
- angle0 = 0;
- angle1= -1.6;
- };
- class HatchDriver
- {
- type = "rotationY";
- source = "HatchDriver";
- selection="poklop_driver";
- axis="osa_poklop_driver";
- minValue = 0;
- maxValue = 1;
- angle0 = 0;
- angle1= rad -115;
- };
- /*******************************************************************************
- * Damage *
- *******************************************************************************/
- class bodydestranim // Nose dip after destruction
- {
- type = "rotation";
- source = "damage";
- selection = "movebody";
- axis = "rockaxisback";
- sourceAddress = "clamp";
- memory = 1;
- minValue = 0;
- maxValue = 1;
- angle0 = "0";
- angle1 = "rad 1.9";
- };
- class HatchGunnerDestr // Open gunner hatch
- {
- type = "rotationX";
- source = "damage";
- selection="poklop_gunner";
- axis="osa_poklop_gunner";
- minValue = 0;
- maxValue = 1;
- angle0 = 0;
- angle1= -1.9;
- };
- class HatchDriverDestr // Open driver hatch
- {
- type = "rotationY";
- source = "damage";
- selection="poklop_driver";
- axis="osa_poklop_driver";
- minValue = 0;
- maxValue = 1;
- angle0 = 0;
- angle1= rad -155;
- };
- class damageHide
- {
- type="hide";
- source="damage";
- selection="damageHide";
- };
- class damageVez
- {
- type="hide";
- source="damage";
- selection="damageVez";
- };
- class damageHlaven
- {
- type="hide";
- source="damage";
- selection="damageHlaven";
- };
- class damageHatchG
- {
- type="hide";
- source="damage";
- selection="damageHatchG";
- };
- /*******************************************************************************
- * Wheel Rotation *
- *******************************************************************************/
- class BMD1koloL1
- {
- type = "rotationX";
- source = "wheelL";
- selection = "koloL1";
- axis = "";
- memory = true;
- sourceAddress = "loop";
- minValue = 0;
- maxValue = 1;
- angle0 = 0;
- angle1 = rad -360;
- };
- class BMD1koloL2 :BMD1koloL1
- {
- selection = "koloL2";
- };
- class BMD1koloL3 :BMD1koloL1
- {
- selection = "koloL3";
- };
- class BMD1koloL4 :BMD1koloL1
- {
- selection = "koloL4";
- };
- class BMD1koloL5 :BMD1koloL1
- {
- selection = "koloL5";
- };
- class BMD1koll1 :BMD1koloL1
- {
- selection = "kolL1";
- };
- class BMD1koll2 :BMD1koloL1
- {
- selection = "kolL2";
- };
- class BMD1koll3 :BMD1koloL1
- {
- selection = "kolL3";
- };
- class BMD1koll4 :BMD1koloL1
- {
- selection = "kolL4";
- };
- class BMD1koll5 :BMD1koloL1
- {
- selection = "kolL5";
- };
- class BMD1koll6 :BMD1koloL1
- {
- selection = "kolL6";
- };
- class BMD1kolop1
- {
- type = "rotationX";
- source = "wheelr";
- selection = "koloP1";
- axis = "";
- memory = true;
- sourceAddress = "loop";
- minValue = 0;
- maxValue = 1;
- angle0 = 0;
- angle1 = rad -360;
- };
- class BMD1kolop2 :BMD1kolop1
- {
- selection = "koloP2";
- };
- class BMD1kolop3 :BMD1kolop1
- {
- selection = "koloP3";
- };
- class BMD1kolop4 :BMD1kolop1
- {
- selection = "koloP4";
- };
- class BMD1kolop5 :BMD1kolop1
- {
- selection = "koloP5";
- };
- class BMD1kolp1 :BMD1kolop1
- {
- selection = "kolP1";
- };
- class BMD1kolp2 :BMD1kolop1
- {
- selection = "kolP2";
- };
- class BMD1kolp3 :BMD1kolop1
- {
- selection = "kolP3";
- };
- class BMD1kolp4 :BMD1kolop1
- {
- selection = "kolP4";
- };
- class BMD1kolp5 :BMD1kolop1
- {
- selection = "kolP5";
- };
- class BMD1kolp6 :BMD1kolop1
- {
- selection = "kolP6";
- };
- /*******************************************************************************
- * Dampers *
- *******************************************************************************/
- class Wheel_podkoloL1
- {
- type="translationY";
- source="damper";
- selection="podkoloL1";
- axis="";
- memory="false";
- animPeriod=0;
- minValue=-1000;
- maxValue=1000;
- };
- class Wheel_podkoloP1: Wheel_podkoloL1
- {
- selection="podkoloP1";
- };
- class Wheel_podkoloL2: Wheel_podkoloL1
- {
- selection="podkoloL2";
- };
- class Wheel_podkoloL3: Wheel_podkoloL1
- {
- selection="podkoloL3";
- };
- class Wheel_podkoloL4: Wheel_podkoloL1
- {
- selection="podkoloL4";
- };
- class Wheel_podkoloL5: Wheel_podkoloL1
- {
- selection="podkoloL5";
- };
- class Wheel_podkoloP2: Wheel_podkoloP1
- {
- selection="podkoloP2";
- };
- class Wheel_podkoloP3: Wheel_podkoloP1
- {
- selection="podkoloP3";
- };
- class Wheel_podkoloP4: Wheel_podkoloP1
- {
- selection="podkoloP4";
- };
- class Wheel_podkoloP5: Wheel_podkoloP1
- {
- selection="podkoloP5";
- };
- /*******************************************************************************
- * Other Turrets *
- *******************************************************************************/
- class Gun_2
- {
- type = "rotationY";
- source = "Turret_2";
- selection = "otocvez1";
- axis = "bowmg1_vert";
- memory = true;
- sourceAddress = "loop";
- minValue = rad -360;
- maxValue = rad +360;
- angle0 = rad -360;
- angle1 = rad 360;
- };
- class Turret_2
- {
- type = "rotationX";
- source = "Gun_2";
- selection = "otochlaven1";
- axis = "bowmg1_hor";
- memory = true;
- sourceAddress = "clamp";
- minValue = "rad -8.5";
- maxValue = "rad 50";
- angle0 = "rad -8.5";
- angle1 = "rad 50";
- };
- class obsTurret: otocvez
- {
- 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 obsTurretView: otocvez
- {
- type = "rotationY";
- source = "obsTurret";
- selection = "gunnerview2_axis_v";
- axis = "gunnerview2_axis";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class obsTurretViewGun: otochlaven
- {
- type = "rotationX";
- source = "obsGun";
- selection = "gunnerview2";
- axis = "gunnerview2_axis_v";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class obsTurretView2: otocvez
- {
- type = "rotationY";
- source = "Turret_2";
- selection = "gunnerview3_axis_v";
- axis = "gunnerview3_axis";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class obsTurretViewGun2: otochlaven
- {
- type = "rotationX";
- source = "Gun_2";
- selection = "gunnerview3";
- axis = "gunnerview3_axis_v";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class obsGun: otochlaven
- {
- type = "rotationX";
- source = "obsGun";
- selection = "obsGun";
- axis = "obsGunAx";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class obsTurret2: otocvez
- {
- type = "rotationY";
- source = "Turret_2";
- selection = "obsTurret2";
- axis = "obsTurret2";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class obsGun2: otochlaven
- {
- type = "rotationX";
- source = "Gun_2";
- selection = "obsGun2";
- axis = "obsGunAx2";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class lseat_Turret: otocvez
- {
- type = "rotationY";
- source = "lseat_Turret";
- selection = "lseat_turret";
- axis = "lseat_turret";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class lseat_Gun: otochlaven
- {
- type = "rotationX";
- source = "lseat_Gun";
- selection = "lseat_gun";
- axis = "lseat_gun_axis";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class rseat_Turret: otocvez
- {
- type = "rotationY";
- source = "rseat_Turret";
- selection = "rseat_turret";
- axis = "rseat_turret";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class rseat_Gun: otochlaven
- {
- type = "rotationX";
- source = "rseat_Gun";
- selection = "rseat_gun";
- axis = "rseat_gun_axis";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class bseat_Turret: otocvez
- {
- type = "rotationY";
- source = "bseat_Turret";
- selection = "bseat_turret";
- axis = "bseat_turret";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- class bseat_Gun: otochlaven
- {
- type = "rotationX";
- source = "bseat_Gun";
- selection = "bseat_gun";
- axis = "bseat_gun_axis";
- animPeriod = 0;
- memory = 1;
- minValue = "rad -360";
- maxValue = "rad +360";
- angle0 = "rad -360";
- angle1 = "rad +360";
- };
- /*******************************************************************************
- * Water Shields *
- *******************************************************************************/
- class wave_l
- {
- type="rotation";
- source="wave";
- selection="wave_l";
- axis="wave_l_axis";
- memory="true";
- sourceAddress = "clamp";
- angle0="0";
- angle1="rad 101";
- };
- class wave_r
- {
- type="rotation";
- source="wave";
- selection="wave_r";
- axis="wave_r_axis";
- memory="true";
- sourceAddress = "clamp";
- angle0="0";
- angle1="rad 101";
- };
- class wave_c
- {
- type="rotation";
- source="wave";
- selection="wave_c";
- axis="wave_c_axis";
- memory="true";
- sourceAddress = "clamp";
- angle0="0";
- angle1="rad 110";
- };
- };
- };
- class sa_bmd_1_cdf:sa_bmd_1{};
- class sa_bmd_1_iraq:sa_bmd_1
- {
- sectionsInherit = "sa_bmd_1";
- skeletonName = "sa_bmd_1_iraq";
- };
- class sa_bmd_1p:sa_bmd_1
- {
- sectionsInherit = "sa_bmd_1";
- skeletonName = "sa_bmd_1p";
- class Animations : Animations
- {
- /*******************************************************************************
- * AT5 Turet *
- *******************************************************************************/
- class at5_turret
- {
- type = "rotationY";
- source = "at5_turret_source";
- selection = "at5";
- axis = "at5_gun_axis_v";
- memory = true;
- sourceAddress = "loop";
- minValue = rad -360;
- maxValue = rad +360;
- angle0 = rad -360;
- angle1 = rad 360;
- };
- class at5_gun
- {
- type = "rotationX";
- source = "at5_gun_source";
- selection = "at5_gun";
- axis = "at5_gun_axis";
- memory = true;
- sourceAddress = "clamp";
- minValue = -0.12;
- maxValue = 1;
- angle0 = rad -4;
- angle1 = rad 33;
- };
- class at5_recoil
- {
- type = "translation";
- source = "at5_recoil";
- selection = "at5_barrel";
- begin = "Spice rakety";
- end = "Konec rakety";
- initPhase = 1;
- memory = true;
- animPeriod = 0.05;
- sourceAddress="mirror";
- minValue = 0;
- maxValue = 0.5;
- offset0 = 0;
- offset1 = 0.09;
- };
- class HatchGunnerAT5
- {
- type = "rotationX";
- source = "HatchGunnerAT5";
- selection="poklop_gunner";
- axis="osa_poklop_gunner";
- minValue = 0;
- maxValue = 1;
- angle0 = 0;
- angle1= -1.6;
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement