AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Rare-Animation-Controller (v1.0.3 | 29 August 2021) (https://forums.alliedmods.net/showthread.php?t=334050)

LuqS 08-25-2021 15:05

[CS:GO] Rare-Animation-Controller (v1.0.3 | 29 August 2021)
 
Rare-Animation-Controller

Description:
Tweaks the usage of rare weapon animations. :bee:


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


GitHub Repository
Latest Release

mudkipguy 08-25-2021 17:03

Re: [CS:GO] Rare-Animation-Controller (v1.0.0 | 25 August 2021)
 
Nice release!

Cruze 08-27-2021 05:43

Re: [CS:GO] Rare-Animation-Controller (v1.0.0 | 25 August 2021)
 
This fixes animation issues for weapons and grenades. Basically only shows rare animation on deagle and knives.
PHP Code:

#include <sourcemod>
#include <sdktools>
#include <RareAnimationController>

public Action OnRareAnimation(int clientint weaponint sequence_typeint sequence_indexfloat duration)
{
    
char sWeapon[64];
    
GetEntityClassname(weaponsWeapon64);
    
    if(
StrContains(sWeapon"knife") != -|| StrContains(sWeapon"deagle") != -1)
    {
        return 
Plugin_Continue;
    }
    return 
Plugin_Handled;



LuqS 08-27-2021 05:50

Re: [CS:GO] Rare-Animation-Controller (v1.0.0 | 25 August 2021)
 
Quote:

Originally Posted by Cruze (Post 2756288)
This fixes animation issues for weapons and grenades. Basically only shows rare animation on deagle and knives.
PHP Code:

#include <sourcemod>
#include <sdktools>
#include <RareAnimationController>

public Action OnRareAnimation(int clientint weaponint sequence_typeint sequence_indexfloat duration)
{
    
char sWeapon[64];
    
GetEntityClassname(weaponsWeapon64);
    
    if(
StrContains(sWeapon"knife") != -|| StrContains(sWeapon"deagle") != -1)
    {
        return 
Plugin_Continue;
    }
    return 
Plugin_Handled;



Already fixed the issue, i will roll out the release now.

LuqS 08-27-2021 18:14

Re: [CS:GO] Rare-Animation-Controller (v1.0.0 | 25 August 2021)
 
Version v1.0.2:
Fixed M4A1-Silncer Bug (Reload animation glitch).

SmokieCS 08-28-2021 00:28

Re: [CS:GO] Rare-Animation-Controller (v1.0.0 | 25 August 2021)
 
Really nice! Great job! :bacon!:

LuqS 08-29-2021 15:10

Re: [CS:GO] Rare-Animation-Controller (v1.0.0 | 25 August 2021)
 
Version v1.0.3:
Added a check to avoid errors when a player sends '+lookatweapon' command before he is in game.

pedrotski 08-31-2021 05:19

Re: [CS:GO] Rare-Animation-Controller (v1.0.3 | 29 August 2021)
 
Nice plugin mate!

LuqS 09-03-2021 09:14

Re: [CS:GO] Rare-Animation-Controller (v1.0.3 | 29 August 2021)
 
Quote:

Originally Posted by pedrotski (Post 2756608)
Nice plugin mate!

Much appreciated! :)

raj kaul 09-03-2021 09:47

Re: [CS:GO] Rare-Animation-Controller (v1.0.3 | 29 August 2021)
 
nice plugin , good job bro :bacon!::bacon!::bacon!::)


All times are GMT -4. The time now is 03:00.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.