Move In The Cover - Crouching


















This script will help you crouch, for example, to hide behind cover. Who knows, it might save you a few percentage points of health.
Features:
* Crouching is tied to the sprint key and works as long as you hold it (you can shoot without releasing sprint, meaning you can crouch and when you stop shooting, Claude will crouch again).
* The script does not interfere with movement, running, or getting into a car.
* If you crouch immediately after sprinting in Cover Mod (the stop animation won't finish), Claude will soon stand up by himself — this has been fixed in this version.
I took the idea and a few lines of code with the crouching animation from the Cover Mod script by DK'22.
The script was created and tested with game version 1.1.
Данный скрипт поможет Вам пригнуться, например чтобы спрятаться за укрытием. Кто знает, может это сохранит Вам несколько процентов жизни.
Особенности:
* Приседание привязано к клавише спринта и действует пока Вы её держите ( можно стрелять не отпуская спринт т.е. приседание и когда Вы перестанете стрелять Клод снова пригнётся ).
* Скрипт не мешает передвигаться, бегать и садиться в машину.
* Если в Cover Mod после спринта сразу присесть ( анимация остановки не успеет закончиться ), то вскоре Клод встанет сам — исправлено в этой версии.
Взял идею и пару строк кода с анимацией приседания из скрипта Cover Mod автора DK`22.
Скрипт создавался и тестировался с версией игры 1.1