Make your police actions more realistic with 4 custom kneeling animations by Tigerle. The animations come as .ycd files that you can add to dpEmotes or call from your own scripts.
Included animations
- Cop kneel, aim pistol
- Cop kneel, hold pistol
- Cop kneel, hold rifle
- Cop kneel, holster
Each animation is packed in its own .rar archive.
Installation
- Extract the archives and move the YCD file into a
stream folder.
- Add this stream folder to a script (for example your dpemotes resource).
- Restart your script or server.
Example implementation
Everything is documented in the readme file. Example for the aim pistol animation:
For your own scripts
local dictName = 'tigerle@custom@cop@kneel@aimpistol1'
local animName = 'tigerle_coppose_kneel_aimpistol1'
For dpEmotes: add these lines in dpemotes/Client/AnimationList.lua under DP.Emotes:
["yourcommand"] = {"tigerle@custom@cop@kneel@aimpistol1", "tigerle_coppose_kneel_aimpistol1", "your name for the animation", AnimationOptions = { EmoteLoop = true, EmoteMoving = false, }},
After a restart, players use /e yourcommand (the command you entered in the code) to play the animation.