Author: Persian MO
Author Website:

Requirements: No addons required

Version: 1.4.2

Short description: Injured Ai script provide a little more realistic fight against Ais for player.

Date: 2016-12-21 20:44


Comments: (6)
Rating:



 



Injured Ai simple script

by
Persian MO


Description:
Injured Ai script provide a little more realistic fight against Ais for player.
When player shot ais , there is a chance that ais fall down with ragdoll and injured and unconscious with animations and begging for help.
Here is demo mission with some descripts in there how script work.
Tested on sp and mp and zeus


Features:
- Ais unconscious with animations and sounds
- Ais team mate will try to help by dragging injured guy and heal him
- Smoke drop around injured Ai
- React hit for Ais
- Injured Ais will die if not get help in 2 minutes
- Ais talk with radio or yelling while firing


Installation / Usage:
For usage instructions and information of how to use the Injured Ai simple script please refer to the included documentation and/or example mission.

Copy folder and files from demo mission into your mission folder.
Check out init.sqf and injured.sqf and killer.sqf for more setting and add your own sounds.

/*//parameters
_this select 0, true or false, ais war voices,ais will talk with radio or yelling while firing, (default = true)
_this select 1, true or false, drop smoke around injured ai, (default = true)
_this select 2, true or false, drag to cover, dragger will drag injured to covers like bushes or rocks, for longer distance drag set this false, (default = true)
_this select 3, unconscious and drag chance, determine chance unit unconscious if got hit, min 0%-100% max (default = 50%)
_this select 4, hit react chance, determine chance unit have react animation if got hit, min 0%-100% max (default = 20%)
*** Important Note: if you increase hit react chance, it also decrease unconscious and drag chance ***
*/
_null = [true, true, true, 70, 20] execvm "scripts\injured.sqf";


Media:



Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel


Steam Workshop:
- Subscribe


Credits & Thanks:
ps: some of codes are from forum community members


Changelog:
v1.4.2
separate sound sources for each side
Ais will do regroup after job done"need more tests"

v1.4.1
Fixed injured dead timer
Now script run smooth and better

v1.4
added voices , ais will talk with radio or yelling while firing
fix remove firstaid and medkit
fix some performance issues , thanks to hunter1000
added 2 new killer voices
added parameters for control script

v1.3
added dragging action to Ais to drag injured body and heal
Added hit react to Ais
fix some zeus issues
Added timer to injured Ais to die if not get heal

v1.2
- Added hit sounds
-Added finisher sounds

v1.1
- now script working with zeus
- script will add to spawned units in middle of mission

v1.0


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Animation,   Damage,   Enhace,   Physics,   Scripts,   Simulation,   Sound