170 lines
5.4 KiB
Plaintext
170 lines
5.4 KiB
Plaintext
|
|
///////////////////
|
|
//FireArm Constants
|
|
///////////////////
|
|
|
|
|
|
//FireArm IP const
|
|
|
|
const int IP_WEAPON_AMMO_TYPE = 151;
|
|
const int IP_ROF = 152;
|
|
const int IP_WEAPON_TYPE = 153;
|
|
const int IP_MAG_CAP = 154;
|
|
const int IP_ACCESSORIES = 155;
|
|
const int IP_INTEGRAL = 156;
|
|
|
|
|
|
//IP_WEAPON_AMMO_TYPE_SUB
|
|
|
|
const int IP_WEAPON_AMMO_9MM = 0;
|
|
const int IP_WEAPON_AMMO_12GAUGE = 1;
|
|
const int IP_WEAPON_AMMO_44_SPECIAL = 2;
|
|
const int IP_WEAPON_AMMO_556MM = 3;
|
|
const int IP_WEAPON_AMMO_762MM = 4;
|
|
const int IP_WEAPON_AMMO_762X54R = 5;
|
|
|
|
//IP_ROF_SUB
|
|
|
|
const int IP_ROF_SINGLE_SHOT = 0;
|
|
const int IP_ROF_SEMIAUTO = 1;
|
|
const int IP_ROF_AUTOMATIC = 2;
|
|
|
|
//IP_WEAPON_TYPE_SUB
|
|
|
|
const int IP_WEAPON_HOLDOUT_PISTOL = 0;
|
|
const int IP_WEAPON_LIGHT_PISTOL = 1;
|
|
const int IP_WEAPON_HEAVY_PISTOL = 2;
|
|
const int IP_WEAPON_MACHINE_PISTOL = 3;
|
|
const int IP_WEAPON_SMG = 4;
|
|
const int IP_WEAPON_SPORT_RIFLE = 5;
|
|
const int IP_WEAPON_ASSAULT_RIFLE = 6;
|
|
const int IP_WEAPON_SNIPER_RIFLE = 7;
|
|
const int IP_WEAPON_SHOTGUN = 8;
|
|
const int IP_WEAPON_LIGHT_MG = 9;
|
|
const int IP_WEAPON_HEAVY_MG = 10;
|
|
const int IP_WEAPON_GRENADE_LAUNCHER = 11;
|
|
const int IP_WEAPON_MISSILE_LAUNCHER = 12;
|
|
const int IP_WEAPON_ROCKET_LAUNCHER = 13;
|
|
|
|
// IP_ACCESSORIES_SUB
|
|
|
|
const int IP_ACCESSORIES_SILENCER = 0;
|
|
const int IP_ACCESSORIES_SUPPRESSOR = 1;
|
|
const int IP_ACCESSORIES_LASER_SIGHT = 2;
|
|
const int IP_ACCESSORIES_SMART_LINK = 3;
|
|
const int IP_ACCESSORIES_SMART_LINK2 = 4;
|
|
const int IP_ACCESSORIES_GAS_VENT2 = 5;
|
|
const int IP_ACCESSORIES_GAS_VENT3 = 6;
|
|
const int IP_ACCESSORIES_GAS_VENT4 = 7;
|
|
const int IP_ACCESSORIES_GAS_VENT5 = 8;
|
|
const int IP_ACCESSORIES_SHOCK_PADS = 9;
|
|
const int IP_ACCESSORIES_SCOPE_IMAGE_MAG1 = 10;
|
|
const int IP_ACCESSORIES_SCOPE_IMAGE_MAG2 = 11;
|
|
const int IP_ACCESSORIES_SCOPE_IMAGE_MAG3 = 12;
|
|
const int IP_ACCESSORIES_SCOPE_LOW_LIGHT = 13;
|
|
const int IP_ACCESSORIES_SCOPE_THERMO = 14;
|
|
const int IP_ACCESSORIES_SCOPE_ULTRA = 15;
|
|
|
|
// IP_INTEGRAL_SUB
|
|
|
|
const int IP_INTEGRAL_SILENCER = 0;
|
|
const int IP_INTEGRAL_SUPPRESSOR = 1;
|
|
const int IP_INTEGRAL_LASER_SIGHT = 2;
|
|
const int IP_INTEGRAL_SMART_LINK = 3;
|
|
const int IP_INTEGRAL_SMART_LINK2 = 4;
|
|
const int IP_INTEGRAL_GAS_VENT2 = 5;
|
|
const int IP_INTEGRAL_GAS_VENT3 = 6;
|
|
const int IP_INTEGRAL_GAS_VENT4 = 7;
|
|
const int IP_INTEGRAL_GAS_VENT5 = 8;
|
|
const int IP_INTEGRAL_SHOCK_PADS = 9;
|
|
const int IP_INTEGRAL_SCOPE_IMAGE_MAG1 = 10;
|
|
const int IP_INTEGRAL_SCOPE_IMAGE_MAG2 = 11;
|
|
const int IP_INTEGRAL_SCOPE_IMAGE_MAG3 = 12;
|
|
const int IP_INTEGRAL_SCOPE_LOW_LIGHT = 13;
|
|
const int IP_INTEGRAL_SCOPE_THERMO = 14;
|
|
const int IP_INTEGRAL_SCOPE_ULTRA = 15;
|
|
|
|
|
|
//FEATS
|
|
|
|
const int FEAT_PISTOL_INTRODUSED = 2898;
|
|
const int FEAT_PISTOL_PRACTICED = 2899;
|
|
const int FEAT_PISTOL_PROFICIANT = 2900;
|
|
const int FEAT_PISTOL_SKILLED = 2901;
|
|
const int FEAT_PISTOL_PROFESSIONAL = 2902;
|
|
const int FEAT_PISTOL_EXPERT = 2903;
|
|
const int FEAT_PISTOL_MASTER = 2904;
|
|
const int FEAT_SMG_INTRODUSED = 2905;
|
|
const int FEAT_SMG_PRACTICED = 2906;
|
|
const int FEAT_SMG_PROFICIANT = 2907;
|
|
const int FEAT_SMG_SKILLED = 2908;
|
|
const int FEAT_SMG_PROFESSIONAL = 2909;
|
|
const int FEAT_SMG_EXPERT = 2910;
|
|
const int FEAT_SMG_MASTER = 2911;
|
|
const int FEAT_RIFLES_INTRODUSED = 2912;
|
|
const int FEAT_RIFLES_PRACTICED = 2913;
|
|
const int FEAT_RIFLES_PROFICIANT = 2914;
|
|
const int FEAT_RIFLES_SKILLED = 2915;
|
|
const int FEAT_RIFLES_PROFESSIONAL = 2916;
|
|
const int FEAT_RIFLES_EXPERT = 2917;
|
|
const int FEAT_RIFLES_MASTER = 2918;
|
|
const int FEAT_ASSAULT_RIFLES_INTRODUSED = 2919;
|
|
const int FEAT_ASSAULT_RIFLES_PRACTICED = 2920;
|
|
const int FEAT_ASSAULT_RIFLES_PROFICIANT = 2921;
|
|
const int FEAT_ASSAULT_RIFLES_SKILLED = 2922;
|
|
const int FEAT_ASSAULT_RIFLES_PROFESSIONAL = 2923;
|
|
const int FEAT_ASSAULT_RIFLES_EXPERT = 2924;
|
|
const int FEAT_ASSAULT_RIFLES_MASTER = 2925;
|
|
const int FEAT_SHOTGUNS_INTRODUSED = 2926;
|
|
const int FEAT_SHOTGUNS_PRACTICED = 2927;
|
|
const int FEAT_SHOTGUNS_PROFICIANT = 2928;
|
|
const int FEAT_SHOTGUNS_SKILLED = 2929;
|
|
const int FEAT_SHOTGUNS_PROFESSIONAL = 2930;
|
|
const int FEAT_SHOTGUNS_EXPERT = 2931;
|
|
const int FEAT_SHOTGUNS_MASTER = 2932;
|
|
const int FEAT_HEAVY_INTRODUSED = 2933;
|
|
const int FEAT_HEAVY_PRACTICED = 2934;
|
|
const int FEAT_HEAVY_PROFICIANT = 2935;
|
|
const int FEAT_HEAVY_SKILLED = 2936;
|
|
const int FEAT_HEAVY_PROFESSIONAL = 2937;
|
|
const int FEAT_HEAVY_EXPERT = 2938;
|
|
const int FEAT_HEAVY_MASTER = 2939;
|
|
|
|
//Ranges
|
|
|
|
const float SHORT_RANGE_LIGHT_PISTOL = 10.0;
|
|
const float MEDIUM_RANGE_LIGHT_PISTOL = 20.0;
|
|
const float LONG_RANGE_LIGHT_PISTOL = 30.0;
|
|
const float EXTREME_RANGE_LIGHT_PISTOL = 40.0;
|
|
const float MAX_RANGE_LIGHT_PISTOL = 60.0;
|
|
|
|
const float SHORT_RANGE_HEAVY_PISTOL = 10.0;
|
|
const float MEDIUM_RANGE_HEAVY_PISTOL = 25.0;
|
|
const float LONG_RANGE_HEAVY_PISTOL = 35.0;
|
|
const float EXTREME_RANGE_HEAVY_PISTOL = 45.0;
|
|
const float MAX_RANGE_HEAVY_PISTOL = 65.0;
|
|
|
|
const float SHORT_RANGE_SMG = 15.0;
|
|
const float MEDIUM_RANGE_SMG = 40.0;
|
|
const float LONG_RANGE_SMG = 80.0;
|
|
const float EXTREME_RANGE_SMG = 120.0;
|
|
const float MAX_RANGE_SMG = 180.0;
|
|
|
|
const float SHORT_RANGE_ASSAULT_RIFLE = 30.0;
|
|
const float MEDIUM_RANGE_ASSAULT_RIFLE = 90.0;
|
|
const float LONG_RANGE_ASSAULT_RIFLE = 150.0;
|
|
const float EXTREME_RANGE_ASSAULT_RIFLE = 200.0;
|
|
const float MAX_RANGE_ASSAULT_RIFLE = 250.0;
|
|
|
|
const float SHORT_RANGE_SHOTGUN = 10.0;
|
|
const float MEDIUM_RANGE_SHOTGUN = 15.0;
|
|
const float LONG_RANGE_SHOTGUN = 30.0;
|
|
const float EXTREME_RANGE_SHOTGUN = 40.0;
|
|
const float MAX_RANGE_SHOTGUN = 50.0;
|
|
|
|
const float SHORT_RANGE_SNIPER_RIFLE = 50.0;
|
|
const float MEDIUM_RANGE_SNIPER_RIFLE = 120.0;
|
|
const float LONG_RANGE_SNIPER_RIFLE = 200.0;
|
|
const float EXTREME_RANGE_SNIPER_RIFLE = 300.0;
|
|
const float MAX_RANGE_SNIPER_RIFLE = 320.0;
|