Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgSkeletons
- {
- class Plane; //Define base class.
- class rksl_spit_mkxiv_1_bones: Plane
- {
- isDiscrete=1;
- skeletonInherit = "";
- skeletonBones[]=
- {
- "canopy","",
- "canopy1","",
- "prop","",
- "aileron_rh","",
- "aileron_lh","",
- "elevator_lh","",
- "elevator_rh","",
- "flap_lh","",
- "flap_rh","",
- "rudder","",
- "rudder_trim_tab","rudder",
- "oil_cooler_flap_rh","",
- "oil_cooler_flap_lh","",
- "mlg_rh","",
- "mlg_lh","",
- "mlg_rh_damper","mlg_rh",
- "mlg_rh_roll","mlg_rh_damper",
- "mlg_lh_damper","mlg_lh",
- "mlg_lh_roll","mlg_lh_damper",
- "tail_gear","",
- "tail_gear_roll","tail_gear",
- "tail_gear_door_rh","",
- "tail_gear_door_lh","",
- };
- };
- };
- class Rotation;
- class cfgModels
- {
- class Plane;
- class rksl_spit_mkxiv_1: plane
- {
- skeletonname = "rksl_spit_mkxiv_1_bones";
- sectionsInherit="";
- sections[]=
- {
- "vrtule staticka",
- "vrtule blur",
- "light",
- "vrtule",
- "left_wheel",
- "right_wheel",
- "L svetlo",
- "muzzleflash",
- "zbytek",
- "podsvit pristroju",
- "clan",
- "clan_sign",
- "trup",
- "motor",
- "palivo",
- "L svetlo",
- "sklo predni L"
- };
- class Animations
- {
- // ########################### Canopy ################################
- class canopy
- {
- type="translation";
- source="cabin";
- selection="canopy";
- begin="axis_canopy_start";
- end="axis_canopy_end";
- initphase=0;
- memory=1;
- animperiod =3.5;
- sourceaddress="clamp";
- minvalue=0;
- maxvalue=1;
- offset0=0;
- offset1=1;
- };
- class canopy1 : rotation
- {
- type="translation";
- source = "cabin";
- selection = "canopy1";
- begin="axis_canopy1_start";
- end="axis_canopy1_end";
- memory = true;
- sourceaddress="clamp";
- minvalue= 0;
- maxvalue= +10;
- offset0=1;
- offset1=0;
- };
- // ########################### Prop ################################
- class prop : Rotation
- {
- type = "rotation";
- source = "rotor";
- selection = "prop";
- axis = "axis_prop";
- minValue = 0;
- maxValue = 1;
- angle0 = 0;
- angle1 = -2 * 3.1415;
- };
- // ########################### Flying Surfaces ################################
- class aileron_lh : rotation
- {
- type = "rotation";
- source = "aileron";
- selection = "aileron_rh";
- axis = "axis_aileron_rh";
- memory = 1;
- sourceaddress = "clamp";
- minvalue = -1;
- maxvalue = 1;
- angle0 = "rad +30";
- angle1 = "rad -30";
- };
- class aileron_rh : aileron_lh
- {
- selection = "aileron_lh";
- axis = "axis_aileron_lh";
- };
- class elevator_lh : Rotation
- {
- type = "rotation";
- source = "elevator";
- selection = "elevator_lh";
- axis = "axis_elevator_lh";
- memory = 1;
- sourceAddress = "clamp";
- minValue = -1;
- maxValue = 1;
- angle0 = "rad +15";
- angle1 = "rad -15";
- };
- class elevator_rh : elevator_lh
- {
- selection = "elevator_rh";
- axis = "axis_elevator_rh";
- };
- class Rudder : Rotation
- {
- type = "rotation";
- source = "rudder";
- selection = "rudder";
- axis = "axis_rudder";
- memory = 1;
- sourceAddress = "clamp";
- minValue = -1;
- maxValue = 1;
- angle0 = "rad +30";
- angle1 = "rad -30";
- };
- class rudder_trim_tab : Rudder
- {
- selection = "rudder_trim_tab";
- axis = "axis_rudder_trim_tab";
- angle0 = "rad +15";
- angle1 = "rad -15";
- };
- // ########################### Oil Coolers ################################
- class oil_cooler_flap_rh : Rotation
- {
- type = "rotation";
- source = "speed";
- selection = "oil_cooler_flap_rh";
- axis = "axis_oil_cooler_flap_rh";
- memory = 1;
- sourceAddress = "clamp";
- minValue = 20;
- maxValue = 21;
- angle0 = "rad +20";
- angle1 = "rad 0";
- };
- class oil_cooler_flap_lh : oil_cooler_flap_rh
- {
- selection = "oil_cooler_flap_lh";
- axis = "axis_oil_cooler_flap_lh";
- };
- // ########################### flaps ################################
- class flap_rh : rotation
- {
- type = "rotation";
- source = "flap";
- selection = "flap_rh";
- axis = "axis_flap_rh";
- memory = 1;
- sourceaddress = "clamp";
- minvalue=0;
- maxvalue=1;
- angle0 = "0";
- angle1 = "rad +40";
- };
- class flap_lh : flap_rh
- {
- selection = "flap_lh";
- axis = "axis_flap_lh";
- angle1 = "rad -40";
- };
- // ########################### MLG DOORS ################################
- class mlg_lh : rotation
- {
- type="rotation";
- memory=1;
- sourceaddress="clamp";
- source="gear";
- selection="mlg_lh";
- axis="axis_mlg_lh";
- minvalue=0;
- maxvalue=0.3;
- angle0="rad +45";
- angle1=0;
- };
- class mlg_lh2 : rotation
- {
- type="rotation";
- memory=1;
- sourceaddress="clamp";
- source="gear";
- selection="mlg_lh";
- axis="axis_mlg_lh";
- minvalue=0.75;
- maxvalue=1;
- angle0="rad +50";
- angle1=0;
- };
- class mlg_rh : mlg_lh
- {
- selection="mlg_rh";
- axis="axis_mlg_rh";
- minvalue=0;
- maxvalue=1;
- angle0="rad -95";
- };
- class mlg_lh_damper
- {
- type="translation";
- source="altradar";
- selection="mlg_lh_damper";
- axis="axis_mlg_lh_damper";
- memory = true;
- sourceaddress="clamp";
- minvalue=0;
- maxvalue=0.2;
- offset0=0;
- offset1=-0.25;
- };
- class mlg_rh_damper : mlg_lh_damper
- {
- selection="mlg_rh_damper";
- axis="axis_mlg_rh_damper";
- };
- class mlg_lh_roll : rotation
- {
- type = "rotation";
- memory=1;
- sourceaddress="loop";
- source = "wheel";
- selection = "mlg_lh_roll";
- axis = "axis_mlg_lh_roll";
- minvalue = 0; maxvalue = 1;
- angle0 = 0; angle1 = "rad -360";
- };
- class mlg_rh_roll : mlg_lh_roll
- {
- selection = "mlg_rh_roll";
- axis = "axis_mlg_rh_roll";
- };
- class tail_gear_roll : mlg_lh_roll
- {
- selection = "tail_gear_roll";
- axis = "axis_tail_gear_roll";
- };
- // ########################### TAIL GEAR ################################
- class tail_gear : rotation
- {
- type="rotation";
- memory=1;
- sourceaddress="clamp";
- source="gear";
- selection="tail_gear";
- axis="axis_tail_gear";
- minvalue=0;
- maxvalue=0.7;
- angle0=0;
- angle1="rad +47";
- };
- // ########################### TAIL GEAR DOORS ################################
- class tail_gear_door_lh : rotation
- {
- type="rotation";
- memory=1;
- sourceaddress="clamp";
- source="gear";
- selection="tail_gear_door_lh";
- axis="axis_tail_gear_door_lh";
- minvalue=0.7;
- maxvalue=1;
- angle0="rad +17";
- angle1=0;
- };
- class tail_gear_door_rh : tail_gear_door_lh
- {
- selection="tail_gear_door_rh";
- axis="axis_tail_gear_door_rh";
- angle0="rad -17";
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement