Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgSkeletons
- {
- class Default
- {
- isDiscrete = 1;
- skeletonInherit = "";
- skeletonBones[] = {};
- };
- class Weapon: Default
- {
- skeletonBones[] =
- {
- "bolt", "",
- "muzzleFlash", "",
- "magazine", ""
- };
- };
- };
- class CfgModels
- {
- class Default
- {
- sectionsInherit = "";
- sections[] = {};
- skeletonName = "";
- };
- class ak742_btr: Default
- {
- sections[]=
- {
- "muzzleFlash"
- };
- htMin = 1; // Minimum half-cooling time (in seconds)
- htMax = 600; // Maximum half-cooling time (in seconds)
- afMax = 0; // Maximum temperature in case the model is alive (in celsius)
- mfMax = 0; // Maximum temperature when the model is moving (in celsius)
- mFact = 1; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)).
- tBody = 100; // Metabolism temperature of the model (in celsius)
- skeletonName="Weapon";
- class Animations
- {
- class bolt_fire_begin
- {
- type="translation";
- source="reload";
- selection="bolt";
- axis="bolt_axis";
- memory=1;
- minValue=0;
- maxValue=1;
- offset0=0;
- offset1=1;
- };
- class bolt_fire_end:bolt_fire_begin
- {
- minValue=1;
- maxValue=0;
- offset0=0;
- offset1=-1;
- };
- class magazine_hide
- {
- type="hide";
- source="reloadMagazine";
- selection="magazine";
- minValue=0;
- maxValue=1;
- hideValue=0.188;
- unhideValue = 0.550;
- };
- class no_magazine
- {
- type="hide";
- source="hasMagazine";
- selection="magazine";
- minValue=0.000000;
- maxValue=1.00000;
- hideValue=0.5;
- unhideValue = -1.0;
- };
- class muzzleFlashROT
- {
- type="rotation";
- source="ammoRandom";
- sourceAddress="loop";
- selection="muzzleFlash";
- axis="muzzleFlash_axis";
- memory=1;
- minValue=0;
- maxValue=4;
- angle0="rad 0";
- angle1="rad 360";
- };
- class bolt_empty: bolt_fire_begin{
- source = "isEmptyNoReload";
- minValue = 1;
- maxValue = 0;
- offset0 = 0;
- offset1 = 1;
- };
- class bolt_reload_move_1: bolt_empty {
- source="reloadMagazine";
- minValue=0.73;
- maxValue=0.76;
- };
- class bolt_reload_move_2: bolt_fire_end {
- source="reloadMagazine";
- minValue=0.76;
- maxValue=0.8;
- offset1 = -1;
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement