Hello,
This is a tutorial about riot shield commands, . There are 3:
The first is one for attaching a riot shield:
You can put in the tag whatever you want, I put those in the example because they are the tags that riot uses in game. And in the model, I suppose you can change it, but I havent tried,
It also exists this command to detach it, :
Works in same way as attaching.
And the last command is what the game uses to switch gun when you have riot.
Example, :
Some info:
I also found a command in _damage.gsc, I havent tested it but I am sure that works like this:
Example:
Credits: @4FunPlayin for testing a thing
Thats it,
This is a tutorial about riot shield commands, . There are 3:
The first is one for attaching a riot shield:
Code:
self AttachShieldModel("weapon_riot_shield_mp","tag_weapon_left");
self AttachShieldModel("weapon_riot_shield_mp","tag_shield_back");
You can put in the tag whatever you want, I put those in the example because they are the tags that riot uses in game. And in the model, I suppose you can change it, but I havent tried,
It also exists this command to detach it, :
Code:
self DetachShieldModel("weapon_riot_shield_mp","tag_weapon_left");
self DetachShieldModel("weapon_riot_shield_mp","tag_shield_back");
Works in same way as attaching.
And the last command is what the game uses to switch gun when you have riot.
Code:
self MoveShieldModel("weapon_riot_shield_mp",first tag,second tag); //it will change the riot position from the first tag to second tag
Example, :
Code:
self MoveShieldModel("weapon_riot_shield_mp","tag_shield_back","tag_weapon_left");
Some info:
Code:
Riot Shield Weapon name = "riotshield_mp"
Riot Shield Model name = "weapon_riot_shield_mp"
Riot Shield Perk(will attach a riotshield at back) = "specialty_shield"
I also found a command in _damage.gsc, I havent tested it but I am sure that works like this:
Code:
self StunPlayer(time);
Example:
Code:
self StunPlayer(5);
Credits: @4FunPlayin for testing a thing
Thats it,