Animation Extensions - baso88/SC_AngelScript GitHub Wiki
This is a list of the animation extensions that can be used for custom weapons and players.
Use the parameter szAnimExt
in the method below inside the CBasePlayerWeapon class to set them.
CBasePlayerWeapon Method | Description |
---|---|
bool DefaultDeploy(const string& in szViewModel, const string& in szWeaponModel, int iAnim, const string& in szAnimExt, int skiplocal = 0, int body = 0) | Deploys the Weapon. Parameters: Viewmodel, Playermodel, Viewmodel Animation, Animation Extension, Clientside prediction (Always use 0), Viewmodel Bodygroup. |
It can also be used in m_szAnimExtension
inside the CBasePlayer class.
CBasePlayer Method | Description |
---|---|
string get_m_szAnimExtension() const | Gets the current animation extension. |
void set_m_szAnimExtension(const string& in szAnimExtension) | Sets the current animation extension. |
Below are all the Animation Extensions that can be used in the methods above:
Extension String | Extension Description |
---|---|
crowbar | Crowbar |
wrench | Pipe Wrench (When winding it up/swinging it) |
gren | Grenade |
trip | Tripmine/Satchel/Medkit |
onehanded | Pistol/Deagle/Single Uzi |
python | .357 Magnum |
gauss | Gauss |
mp5 | MP5 |
shotgun | Shotgun |
rpg | RPG |
egon | Egon |
squeak | Snarks |
hive | Hive Hand/Barnacle |
bow | Crossbow/Shockrifle |
bowscope | Crossbow (Aiming) |
uzis | Double Uzis |
uzis_right | Double Uzis (When only shooting/reloading the Right Uzi) |
uzis_left | Double Uzis (When only shooting/reloading the Left Uzi) |
m16 | M16 |
m203 | M16 (When only shooting/reloading the Grenade Launcher) |
sniper | Sniper Rifle |
sniperscope | Sniper Rifle (Aiming) |
saw | M249 |
minigun | Minigun |