Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enableSaving [ false, false ];
- #include "\task_force_radio\functions\common.sqf";
- if ((isServer) or (isDedicated)) then {
- if (isDedicated) then {debug_source = "Server";} else {debug_source = name player;};
- tf_giveLongRangeRadioToGroupLeaders = true;
- tf_givePersonalRadioToRegularSoldier = false;
- tf_giveMicroDagrToSoldier = false;
- tf_enableIntercom = true;
- tf_objectInterceptionEnabled = true;
- tf_spectatorCanHearEnemyUnits = true;
- tf_spectatorCanHearFriendlies = true;
- tf_pluginTimeout = 15;
- tf_radio_channel_name = "Funk Kommunikation";
- tf_radio_channel_password = "9500";
- tf_same_sw_frequencies_for_side = true; //Selbe Freuquenzen für Fraktion? - ja ^ nein
- publicVariable "tf_same_sw_frequencies_for_side";
- _settingsSwWest = false call TFAR_fnc_generateSwSettings; //SW Freuquenzen voreinstellen.
- _settingsSwWest set [2, ["90","33"]];
- tf_freq_west = _settingsSwWest;
- publicVariable "tf_freq_west";
- _settingsLRWest = false call TFAR_fnc_generateLRSettings; //LR Freuquenzen voreinstellen.
- _settingsLRWest set [2, ["45","46","48"]];
- tf_freq_west_lr = _settingsLRWest;
- publicVariable "tf_freq_west_lr";
- tf_terrain_interception_coefficient = 6.0;
- //Standardradios
- BLU_F_personal_tf_faction_radio = "tf_anprc148jem";
- BLU_F_rifleman_tf_faction_radio = "tf_anprc154";
- BLU_G_F_personal_tf_faction_radio = "tf_anprc148jem";
- BLU_G_F_rifleman_tf_faction_radio = "tf_anprc154";
- OPF_F_personal_tf_faction_radio = "tf_fadak";
- OPF_F_rifleman_tf_faction_radio = "tf_pnr1000a";
- };
- if (isDedicated) then {debug_source = "Server";} else {debug_source = name player;};
- [] call compileFinal preprocessFileLineNumbers "scripts\shared\liberation_functions.sqf";
- [] call compileFinal preprocessFileLineNumbers "scripts\shared\init_sectors.sqf";
- [] call compileFinal preprocessFileLineNumbers "scripts\shared\fetch_params.sqf";
- [] call compileFinal preprocessFileLineNumbers "kp_liberation_config.sqf";
- [] call compileFinal preprocessFileLineNumbers "presets\init_presets.sqf";
- [] execVM "GREUH\scripts\GREUH_activate.sqf";
- [] call compileFinal preprocessFileLineNumbers "scripts\shared\init_shared.sqf";
- if (isServer) then {
- [] call compileFinal preprocessFileLineNumbers "scripts\server\init_server.sqf";
- };
- if (!isDedicated && !hasInterface && isMultiplayer) then {
- execVM "scripts\server\offloading\hc_manager.sqf";
- };
- if (!isDedicated && hasInterface) then {
- waitUntil {alive player};
- if (debug_source != name player) then {debug_source = name player};
- [] call compileFinal preprocessFileLineNumbers "scripts\client\init_client.sqf";
- } else {
- setViewDistance 1600;
- };
- // Execute fnc_reviveInit again (by default it executes in postInit)
- if ((isNil {player getVariable "bis_revive_ehHandleHeal"} || isDedicated) && !(bis_reviveParam_mode == 0)) then {
- [] call bis_fnc_reviveInit;
- };
- //Das hier ist notwendig, um alles an die Clients weiterzugeben
- if (isServer) then{
- publicVariable "tf_no_auto_long_range_radio";
- publicVariable "tf_give_personal_radio_to_regular_soldier";
- publicVariable "TF_give_microdagr_to_soldier";
- publicVariable "tf_same_sw_frequencies_for_side";
- publicVariable "tf_same_lr_frequencies_for_side";
- publicVariable "tf_terrain_interception_coefficient";
- publicVariable "BLU_F_personal_tf_faction_radio";
- publicVariable "BLU_F_rifleman_tf_faction_radio";
- publicVariable "BLU_G_F_personal_tf_faction_radio";
- publicVariable "BLU_G_F_rifleman_tf_faction_radio";
- publicVariable "OPF_F_personal_tf_faction_radio";
- publicVariable "OPF_F_rifleman_tf_faction_radio";
- publicVariable "tf_freq_west";
- publicVariable "tf_freq_west_lr";
- publicVariable "tf_freq_east";
- publicVariable "tf_freq_east_lr";
- publicVariable "tf_freq_guer";
- publicVariable "tf_freq_guer_lr";
- publicVariable "tf_freq_name";
- };
- if (true) exitWith {};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement