Author
|
Message
|
AlliedModders Donor
Join Date: Jun 2019
Location: Israel
|
08-25-2021
, 15:05
[CS:GO] Rare-Animation-Controller (v1.0.3 | 29 August 2021)
|
#1
|
Rare-Animation-Controller
Description:
Tweaks the usage of rare weapon animations.
Demonstration video
Credits:
KoNLiG: For helping me create the plugin.
List of features:
Quote:
• Animations are checked automatically. (no need for updates when new weapons come out)
• Can be easily integrated into Shop / VIP plugins, animations can be blocked via forward.
• Rare inspect animation: double click the inspect key (def: 'F') to trigger.
• Rare draw animation: always triggered.
• Rare idle animation (knives only): click on the reload key (def: 'R') to trigger.
|
Plugin Dependencies:
• StudioHdr (GameData)
Compile Dependencies:
• SourcePawn 1.11+ compiler.
• StudioHdr (.inc)
• AnyMap (.inc)
API:
Spoiler
PHP Code:
#if defined _rare_animation_controller_included
#endinput
#endif
#define _rare_animation_controller_included
enum
{
RARE_SEQUENCE_DRAW,
RARE_SEQUENCE_IDLE,
RARE_SEQUENCE_INSPECT,
RARE_SEQUENCE_MAX,
RARE_SEQUENCE_NONE
}
/**
* Called before a rare animation sequence is applied.
*
* @param client Client index.
* @param weapon Weapon entity index.
* @param sequence_type Sequence type, see the enum above.
* @param sequence_index New applied sequence index.
* @param duration Duration of the new sequence.
*
* @return Plugin_Handled or higher to block the sequence change.
*/
forward Action OnRareAnimation(int client, int weapon, int sequence_type, int sequence_index, float duration);
public SharedPlugin __pl_rare_animation_controller =
{
name = "RareAnimationController",
file = "RareAnimationController.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
GitHub Repository
Latest Release
__________________
You like my work? You want to support?
Consider Donating!
Need signatures / offsets for CS:GO?
Contact me:
Last edited by LuqS; 08-29-2021 at 15:13.
|
|
|
|