First off I've to say that this series of scripts was insipired to me by a Talking Penguin's Close Combat script. I've tried to get in contact with him to get the permission to post this modified version of his work, but since I've received no answer 'till now I decide to put it online .
The differences:
- This script recognize if you are armed and with what you're armed, selecting the appropriate animation for the strike.
- Surprise attack always hit the target.
- You can hit, stun or kill the target depending by the amount of damage he receive (naturally you can even miss him).
- A simple script recovers the damage taken by a stunned target (the time needed depends by the amount of damage he received).
- The script recognize if the target is not a man (eg. a tank) or the player: in both this cases the script ends.
- The action is deleted the moment the target is killed or when you move away from him.
Check the files stored in the folder (there are plenty of comments in 'em) to know how they run and how to customize 'em by your needs.
Known issues:
- If two targets are near each other (within 2-3 meters) you wil receive an error message.
The scripts comes with a features-test mission.
Let me know what you think.
Thanks.
Klavan