Skip to content

Commit

Permalink
Animations - Remove sitting smoking idle animation (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF authored Sep 22, 2024
1 parent 6b3886d commit 699ff9b
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 44 deletions.
59 changes: 59 additions & 0 deletions addons/animations/CfgMovesMaleSdr.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
class CfgMovesBasic;
class CfgMovesMaleSdr: CfgMovesBasic {
class States {
// Handgun switch speedup
class TransAnimBase;
class AmovPercMstpSrasWrflDnon_AmovPercMstpSrasWpstDnon: TransAnimBase {
speed = 1.7; // default: 1.1875
};
class AmovPercMstpSrasWrflDnon_AmovPercMstpSrasWpstDnon_end: AmovPercMstpSrasWrflDnon_AmovPercMstpSrasWpstDnon {
speed = 2.1; // default: 1.52
};

// Swimming Speed
class AswmPercMstpSnonWnonDnon;
class AswmPercMrunSnonWnonDf: AswmPercMstpSnonWnonDnon {
speed = 0.36; // default: 0.23834699
};

class AsswPercMstpSnonWnonDnon;
class AsswPercMrunSnonWnonDf: AsswPercMstpSnonWnonDnon {
speed = 0.36; // default: 0.23834699
};

class AbswPercMstpSnonWnonDnon;
class AbswPercMrunSnonWnonDf: AbswPercMstpSnonWnonDnon {
speed = 0.32; // default: 0.23834699
};

class AdvePercMstpSnonWrflDnon;
class AdvePercMrunSnonWrflDf: AdvePercMstpSnonWrflDnon {
speed = 0.2; // default: 0.122414
};

class AsdvPercMstpSnonWrflDnon;
class AsdvPercMrunSnonWrflDf: AsdvPercMstpSnonWrflDnon {
speed = 0.2; // default: 0.122414
};

class AbdvPercMstpSnonWrflDnon;
class AbdvPercMrunSnonWrflDf: AbdvPercMstpSnonWrflDnon {
speed = 0.2; // default: 0.122414
};

// Remove stupid idle smoking animation that looks like you're sniffing your hand.
class AmovPercMstpSlowWrflDnon_AmovPsitMstpSlowWrflDnon;
class AmovPsitMstpSlowWrflDnon: AmovPercMstpSlowWrflDnon_AmovPsitMstpSlowWrflDnon {
variantsPlayer[] = {
"AmovPsitMstpSlowWrflDnon", 0.33,
"AmovPsitMstpSlowWrflDnon_WeaponCheck1", 0.33,
"AmovPsitMstpSlowWrflDnon_WeaponCheck2", 0.33
};
ConnectTo[] = {
"AmovPsitMstpSlowWrflDnon_WeaponCheck1", 0.1,
"AmovPsitMstpSlowWrflDnon_WeaponCheck2", 0.1,
"AmovPsitMstpSlowWrflDnon_AmovPercMstpSlowWrflDnon", 0.02
};
};
};
};
45 changes: 1 addition & 44 deletions addons/animations/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,47 +19,4 @@ class CfgAnimation {
ladderSpeed = 1; // default: 0.5
};

class CfgMovesBasic;
class CfgMovesMaleSdr: CfgMovesBasic {
class States {
// Handgun switch speedup
class TransAnimBase;
class AmovPercMstpSrasWrflDnon_AmovPercMstpSrasWpstDnon: TransAnimBase {
speed = 1.7; // default: 1.1875
};
class AmovPercMstpSrasWrflDnon_AmovPercMstpSrasWpstDnon_end: AmovPercMstpSrasWrflDnon_AmovPercMstpSrasWpstDnon {
speed = 2.1; // default: 1.52
};

// Swimming Speed
class AswmPercMstpSnonWnonDnon;
class AswmPercMrunSnonWnonDf: AswmPercMstpSnonWnonDnon {
speed = 0.36; // default: 0.23834699
};

class AsswPercMstpSnonWnonDnon;
class AsswPercMrunSnonWnonDf: AsswPercMstpSnonWnonDnon {
speed = 0.36; // default: 0.23834699
};

class AbswPercMstpSnonWnonDnon;
class AbswPercMrunSnonWnonDf: AbswPercMstpSnonWnonDnon {
speed = 0.32; // default: 0.23834699
};

class AdvePercMstpSnonWrflDnon;
class AdvePercMrunSnonWrflDf: AdvePercMstpSnonWrflDnon {
speed = 0.2; // default: 0.122414
};

class AsdvPercMstpSnonWrflDnon;
class AsdvPercMrunSnonWrflDf: AsdvPercMstpSnonWrflDnon {
speed = 0.2; // default: 0.122414
};

class AbdvPercMstpSnonWrflDnon;
class AbdvPercMrunSnonWrflDf: AbdvPercMstpSnonWrflDnon {
speed = 0.2; // default: 0.122414
};
};
};
#include "CfgMovesMaleSdr.hpp"

0 comments on commit 699ff9b

Please sign in to comment.