/******************************************************************************* Script : cbt_ovr_atk_inc Name : Combat Override Attack Include Purpose : include script for combat override system (attack functions) Author : Quixsilver Modified : May 30, 2010 This file is licensed under the terms of the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 *******************************************************************************/ /******************************** CONSTANTS ***********************************/ const stringCBT_OVR_VERSION_NUMBER="v1.0"; const stringCBT_OVR_SVAR_ATTACK_ALLOWED ="ATTACK_ALLOWED"; const stringCBT_OVR_SVAR_ATTACK_TARGET="ATTACK_TARGET"; const stringCBT_OVR_SVAR_ATTACK_SHOTS_TO_FIRE="ATTACK_SHOTS_TO_FIRE"; const stringCBT_OVR_SVAR_ATTACK_SILENCED="ATTACK_SILENCED"; const stringCBT_OVR_SVAR_ATTACK_ANIMATION="ATTACK_ANIMATION"; const stringCBT_OVR_SVAR_IS_KNOCKED_DOWN="I_AM_KNOCKED_DOWN"; const stringCBT_OVR_SVAR_PLACEABLE_COVER_VALUE="COMBAT_COVER"; const stringCBT_OVR_SVAR_IS_CROUCHED="I_AM_CROUCHED"; const stringCBT_OVR_SVAR_ARMOR_RATING_BALLISTIC="ARMOR_RATING_BALLISTIC"; const stringCBT_OVR_SVAR_ARMOR_RATING_IMPACT="ARMOR_RATING_IMPACT"; const stringCBT_OVR_SVAR_DEBUG_MODE="CBT_OVR_DEBUG_MODE"; const intCBT_OVR_ANIMATION_PISTOL=ANIMATION_LOOPING_CUSTOM12; const intCBT_OVR_ANIMATION_PISTOL_DUAL=ANIMATION_LOOPING_CUSTOM13; const intCBT_OVR_ANIMATION_SMG=ANIMATION_LOOPING_CUSTOM14; const intCBT_OVR_ANIMATION_SMG_DUAL=ANIMATION_LOOPING_CUSTOM15; const intCBT_OVR_ANIMATION_RIFLE=ANIMATION_LOOPING_CUSTOM11; const intCBT_OVR_ANIMATION_CHAINSAW=ANIMATION_LOOPING_CUSTOM10; const intCBT_OVR_ANIMATION_RELOAD=ANIMATION_LOOPING_CUSTOM16; const intCBT_OVR_ANIMATION_RELOAD_DUAL=ANIMATION_LOOPING_CUSTOM17; const intCBT_OVR_ANIMATION_THROW_OBJECT=ANIMATION_LOOPING_CUSTOM18; const intCBT_OVR_ANIMATION_SHOTGUN=ANIMATION_LOOPING_CUSTOM19; const int CBT_OVR_ANIMATION_NONE = 0; const intCBT_OVR_SOUND_GUN_RICOCHET1=8192; const intCBT_OVR_SOUND_GUN_RICOCHET2=8193; const intCBT_OVR_SOUND_GUN_RICOCHET3=8194; const intCBT_OVR_SOUND_GUN_RICOCHET4=8195; const intCBT_OVR_SOUND_GUN_SILENCER_ON=8196; const intCBT_OVR_SOUND_GUN_SILENCER_OFF=8197; const intCBT_OVR_SOUND_GUN_DRYFIRE_PISTOL=8198; const intCBT_OVR_SOUND_GUN_DRYFIRE_RIFLE=8199; const intCBT_OVR_SOUND_GUN_RELOAD=8200; const intCBT_OVR_SOUND_SHOT_HOLDOUT_PISTOL=8202; const intCBT_OVR_SOUND_SHOT_LIGHT_PISTOL_9MM=8203; const intCBT_OVR_SOUND_SHOT_LIGHT_PISTOL_44=8204; const intCBT_OVR_SOUND_SHOT_HEAVY_PISTOL_9MM=8205; const intCBT_OVR_SOUND_SHOT_HEAVY_PISTOL_44=8206; const intCBT_OVR_SOUND_SHOT_MACHINE_PISTOL_9MM=8207; const intCBT_OVR_SOUND_SHOT_MACHINE_PISTOL_44=8208; const intCBT_OVR_SOUND_SHOT_SMG_9MM=8209; const intCBT_OVR_SOUND_SHOT_SMG_556=8210; const intCBT_OVR_SOUND_SHOT_SMG_762=8211; const intCBT_OVR_SOUND_SHOT_ASSAULT_RIFLE_556=8212; const intCBT_OVR_SOUND_SHOT_ASSAULT_RIFLE_762=8213; const intCBT_OVR_SOUND_SHOT_LMG_556=8214; const intCBT_OVR_SOUND_SHOT_LMG_762=8215; const intCBT_OVR_SOUND_SHOT_HMG_556=8216; const intCBT_OVR_SOUND_SHOT_HMG_762=8217; const intCBT_OVR_SOUND_SHOT_SHOTGUN_12G=8218; const intCBT_OVR_SOUND_SHOT_SPORT_RIFLE=8219; const intCBT_OVR_SOUND_SHOT_SNIPER_RIFLE=8220; const intCBT_OVR_SOUND_SHOT_GRENADE_LAUNCHER=8221; const intCBT_OVR_SOUND_SHOT_ROCKET_LAUNCHER=8222; const intCBT_OVR_SOUND_SHOT_MISSILE_LAUNCHER=8223; const intCBT_OVR_SOUND_SHOT_SILENCED_PISTOL=8224; const intCBT_OVR_SOUND_SHOT_SILENCED_RIFLE=8225;