-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Animations Component * Increase ladder speed
- Loading branch information
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
x\tacgt\addons\animations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
#include "script_component.hpp" | ||
|
||
class CfgPatches { | ||
class ADDON { | ||
name = COMPONENT_NAME; | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = {"tacgt_main"}; | ||
skipWhenMissingDependencies = 1; | ||
author = ECSTRING(main,Author); | ||
authors[] = {"Mike"}; | ||
url = ECSTRING(main,URL); | ||
VERSION_CONFIG; | ||
}; | ||
}; | ||
|
||
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 | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#define COMPONENT animations | ||
#define COMPONENT_BEAUTIFIED Animations | ||
#include "\x\tacgt\addons\main\script_mod.hpp" | ||
#include "\x\tacgt\addons\main\script_macros.hpp" |