add emp functionality
This commit is contained in:
39
framework/emp/functions/fn_initClient.sqf
Normal file
39
framework/emp/functions/fn_initClient.sqf
Normal file
@@ -0,0 +1,39 @@
|
||||
#include "..\script_component.hpp"
|
||||
|
||||
//define vars
|
||||
GVAR(timeBetweenEntities) = 0.01;
|
||||
GVAR(chanceToPlayZap) = 5;
|
||||
GVAR(zapAudibleDistance) = 100;
|
||||
GVAR(lightHitPointDamageToApply) = 0.97;
|
||||
|
||||
GVAR(standardLightHitPoints) = [
|
||||
"light_1_hitpoint",
|
||||
"light_2_hitpoint",
|
||||
"light_3_hitpoint",
|
||||
"light_4_hitpoint"
|
||||
];
|
||||
|
||||
GVAR(streetAndLampClasses) = [
|
||||
"Lamps_base_F",
|
||||
"PowerLines_base_F",
|
||||
"PowerLines_Small_base_F",
|
||||
"Land_fs_roof_F",
|
||||
"Land_NavigLight",
|
||||
"PowerLines_Wires_base_F",
|
||||
"Land_PowerPoleWooden_L_F",
|
||||
"Land_Runway_PAPI",
|
||||
"Land_fs_sign_F",
|
||||
"Land_FuelStation_01_roof_malevil_F", "Land_FuelStation_01_roof_F",
|
||||
"Streetlamp"
|
||||
];
|
||||
|
||||
//light special: ["CLASSNAME",[HITINDEX OF THE LAMPS]]
|
||||
GVAR(specialLightTypes) = [
|
||||
["Land_PowLines_WoodL",[0,1]],
|
||||
["Land_A_GeneralStore_01", [42,43,44,45]],
|
||||
["Land_A_GeneralStore_01a", [42,43,44,45]],
|
||||
["Land_Mil_Guardhouse", [8]],
|
||||
["Land_NAV_Lighthouse", [0]],
|
||||
["Land_Mil_House", [40,41,42,43,44,45,46,47]],
|
||||
["Land_LightHouse_F", [0,1,2,3,4]]
|
||||
];
|
||||
Reference in New Issue
Block a user