Commit 5520da15 authored by JohnnyShootos's avatar JohnnyShootos

uploaded raw mission files + fixed pbo compiled by new source

parent 4aa6c5ae
#define PRAR titles[]={""};
class in0 {
name="in0";
sound[]={"@A3\Dubbing_Radio_F\sfx\in2a.ogg",db+8,1};
PRAR
};
class out1 {
name="out1";
sound[]={"@A3\Dubbing_Radio_F\sfx\out2a.ogg",db+6,1};
PRAR
};
class out2 {
name="out2";
sound[]={"@A3\Dubbing_Radio_F\sfx\out2a.ogg",db+10,1};
PRAR
};
class static1 {
name="static1";
sound[]={"@A3\Dubbing_Radio_F\sfx\radionoise1.ogg",db+8,1};
PRAR
};
\ No newline at end of file
if(currentChannel==5)exitWith{};
if("ItemRadio" in assignedItems player)then{
private _toBroadcast=[];
switch (true) do {
case (currentChannel == 0): {
playSound"in0";
player setVariable ["selectedChannel", 0];
{
if(alive _x)then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
if(count _toBroadcast > 0)then{
{
_x remoteExec["radioStatic",_x];
}forEach _toBroadcast;
_toBroadcast=[];
};
};
case (currentChannel == 1):{
playSound "in0";
player setVariable ["selectedChannel", 1];
{
if((side _x == side player) && (alive _x))then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
if(count _toBroadcast > 0)then{
{
_x remoteExec["radioStatic",_x];
}forEach _toBroadcast;
_toBroadcast=[];
};
};
case (currentChannel == 2):{
playSound "in0";
player setVariable ["selectedChannel", 2];
{
if((side _x == side player) && (alive _x) && (leader(group(vehicle _x)) == _x))then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
if(count _toBroadcast > 0)then{
{
_x remoteExec["radioStatic",_x];
}forEach _toBroadcast;
_toBroadcast=[];
};
};
case (currentChannel == 3):{
playSound "in0";
player setVariable ["selectedChannel", 3];
{
if((alive _x) && (group player == group _x))then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
if(count _toBroadcast > 0)then{
{
_x remoteExec["radioStatic",_x];
}forEach _toBroadcast;
_toBroadcast=[];
};
};
case (currentChannel == 4):{
playSound "in0";
player setVariable ["selectedChannel", 4];
{
if((alive _x) && {(_x in crew vehicle player)})then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
if(count _toBroadcast > 0) then {
{
_x remoteExec["radioStatic",_x];
}forEach _toBroadcast;
_toBroadcast=[];
};
};
};
//systemChat "IN";
};
\ No newline at end of file
if (currentChannel==5) exitWith {};
if ("ItemRadio" in assignedItems player) then {
private _toBroadcast = [];
switch (true) do {
case ((player getVariable "selectedChannel") == 0): {
{
if(alive _x)then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
{
_x remoteExec["stopStatic",_x];
} forEach _toBroadcast;
_toBroadcast = [];
playSound "out1";
};
case ((player getVariable "selectedChannel") == 1): {
{
if((side _x == side player) && (alive _x))then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
{
_x remoteExec["stopStatic",_x];
} forEach _toBroadcast;
_toBroadcast = [];
playSound "out1";
};
case ((player getVariable "selectedChannel") == 2): {
{
if((side _x == side player)&& (alive _x) && (leader(group(vehicle _x)) == _x))then{
_toBroadcast pushBack _x;
};
} forEach allPlayers - [player];
{
_x remoteExec["stopStatic",_x];
} forEach _toBroadcast;
_toBroadcast = [];
playSound "out1";
};
case ((player getVariable "selectedChannel") == 3): {
{
if((alive _x) && (group player==group _x))then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
{
_x remoteExec["stopStatic",_x];
} forEach _toBroadcast;
_toBroadcast = [];
playSound "out1";
};
case ((player getVariable "selectedChannel") == 4): {
{
if((alive _x) && {(_x in crew vehicle player)})then{
_toBroadcast pushBack _x;
};
}forEach allPlayers - [player];
{
_x remoteExec["stopStatic",_x];
} forEach _toBroadcast;
_toBroadcast = [];
playSound "out1";
};
};
//systemChat "OUT" ;
};
\ No newline at end of file
[] spawn {
while {true} do {
waitUntil{sleep 0.2; (inputAction"pushToTalk">=1) || (inputAction"PushToTalkAll">=1) || (inputAction"PushToTalkSide">=1) || (inputAction"PushToTalkCommand">=1) || (inputAction"PushToTalkGroup">=1) || (inputAction"PushToTalkVehicle">=1)};
[] call VONIn;
waitUntil{sleep 0.2; (inputAction "pushToTalk" == 0) && (inputAction "PushToTalkAll" == 0) && (inputAction"PushToTalkSide" == 0) && (inputAction"PushToTalkCommand" == 0) && (inputAction"PushToTalkGroup" == 0) && (inputAction"PushToTalkVehicle" == 0)};
[] call VONOut;
};
};
\ No newline at end of file
private _static = objNull;
private _attached = objNull;
if("ItemRadio" in assignedItems player && alive player) then {
};
\ No newline at end of file
private _attached = attachedObjects player;
private _attachedParent = attachedObjects objectParent player;
_attached append _attachedParent;
{
if (_x isKindOf "Land_HelipadEmpty_F" ) then {
deleteVehicle _x;
};
} forEach _attached;
sleep 0.40;
playSound "out2";
\ No newline at end of file
if(!isDedicated && hasInterface && isMultiplayer)then{
waitUntil{!isObjectHidden player && alive player};
VONIn = compile preprocessFileLineNumbers "PRAR\func\VONIn.sqf";
VONOut = compile preprocessFileLineNumbers "PRAR\func\VONOut.sqf";
radioStatic = compile preprocessFileLineNumbers "PRAR\func\static.sqf";
stopStatic = compile preprocessFileLineNumbers "PRAR\func\stopStatic.sqf";
execVM "PRAR\func\init.sqf";
systemChat "PRAR Initialized";
};
\ No newline at end of file
/*
* Add a double-slash ( // ) at the begining of the #include line to disable the logistics system.
* To enable the logistics system, write #define R3F_LOG_enable withouth the double-slash.
*
* Ajoutez deux barres obliques ( // ) au début de la ligne #include pour désactiver le système logistique.
* Pour activer le système logistique, écrivez #define R3F_LOG_enable sans les deux barres obliques.
*/
#define R3F_LOG_enable
\ No newline at end of file
/*
* Add a double-slash ( // ) at the begining of the #include line to disable the logistics system.
* To enable the logistics system, write #define R3F_LOG_enable withouth the double-slash.
*
* Ajoutez deux barres obliques ( // ) au début de la ligne #include pour désactiver le système logistique.
* Pour activer le système logistique, écrivez #define R3F_LOG_enable sans les deux barres obliques.
*/
#define R3F_LOG_enable
\ No newline at end of file
/**
* Logistics configuration for A3 vanilla.
* The configuration is splitted in categories dispatched in the included files.
*/
#include "A3_vanilla\Air.sqf"
#include "A3_vanilla\LandVehicle.sqf"
#include "A3_vanilla\StaticWeapon.sqf"
#include "A3_vanilla\Ship.sqf"
#include "A3_vanilla\Building.sqf"
#include "A3_vanilla\ReammoBox_F.sqf"
#include "A3_vanilla\Others.sqf"
#include "A3_vanilla\delta_A3_1.32_to_1.35.sqf"
\ No newline at end of file
/**
* Logistics configuration for A3 vanilla.
* The configuration is splitted in categories dispatched in the included files.
*/
#include "A3_vanilla\Air.sqf"
#include "A3_vanilla\LandVehicle.sqf"
#include "A3_vanilla\StaticWeapon.sqf"
#include "A3_vanilla\Ship.sqf"
#include "A3_vanilla\Building.sqf"
#include "A3_vanilla\ReammoBox_F.sqf"
#include "A3_vanilla\Others.sqf"
#include "A3_vanilla\delta_A3_1.32_to_1.35.sqf"
\ No newline at end of file
R3F_LOG_CFG_can_tow = R3F_LOG_CFG_can_tow +
[
];
R3F_LOG_CFG_can_be_towed = R3F_LOG_CFG_can_be_towed +
[
];
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
];
R3F_LOG_CFG_can_be_lifted = R3F_LOG_CFG_can_be_lifted +
[
];
R3F_LOG_CFG_can_transport_cargo = R3F_LOG_CFG_can_transport_cargo +
[
["helicopter_base_f", 8],
["heli_attack_01_base_f", 2],
["heli_attack_02_base_f", 20],
["heli_light_02_base_f", 15],
["heli_transport_01_base_f", 15],
["heli_transport_02_base_f", 120],
["i_heli_light_03_base_f", 25],
["uav_01_base_f", 0],
["plane", 3],
["uav", 0]
];
R3F_LOG_CFG_can_be_transported_cargo = R3F_LOG_CFG_can_be_transported_cargo +
[
["uav_01_base_f", 3],
["uav_02_base_f", 100]
];
R3F_LOG_CFG_can_be_moved_by_player = R3F_LOG_CFG_can_be_moved_by_player +
[
"uav_01_base_f"
];
\ No newline at end of file
R3F_LOG_CFG_can_tow = R3F_LOG_CFG_can_tow +
[
];
R3F_LOG_CFG_can_be_towed = R3F_LOG_CFG_can_be_towed +
[
"plane"
];
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
"heli_light_02_base_f",
"heli_transport_01_base_f",
"heli_transport_02_base_f"
];
R3F_LOG_CFG_can_be_lifted = R3F_LOG_CFG_can_be_lifted +
[
];
R3F_LOG_CFG_can_transport_cargo = R3F_LOG_CFG_can_transport_cargo +
[
["helicopter_base_f", 8],
["heli_attack_01_base_f", 2],
["heli_attack_02_base_f", 20],
["heli_light_02_base_f", 15],
["heli_transport_01_base_f", 15],
["heli_transport_02_base_f", 120],
["i_heli_light_03_base_f", 25],
["uav_01_base_f", 0],
["plane", 3],
["uav", 0]
];
R3F_LOG_CFG_can_be_transported_cargo = R3F_LOG_CFG_can_be_transported_cargo +
[
["uav_01_base_f", 3],
["uav_02_base_f", 100]
];
R3F_LOG_CFG_can_be_moved_by_player = R3F_LOG_CFG_can_be_moved_by_player +
[
"uav_01_base_f"
];
\ No newline at end of file
R3F_LOG_CFG_can_tow = R3F_LOG_CFG_can_tow +
[
];
R3F_LOG_CFG_can_be_towed = R3F_LOG_CFG_can_be_towed +
[
];
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
];
R3F_LOG_CFG_can_be_lifted = R3F_LOG_CFG_can_be_lifted +
[
];
R3F_LOG_CFG_can_transport_cargo = R3F_LOG_CFG_can_transport_cargo +
[
];
R3F_LOG_CFG_can_be_transported_cargo = R3F_LOG_CFG_can_be_transported_cargo +
[
["camping_base_f", 1],
["flagsmall_f", 1],
["hbarrier_base_f", 3],
["land_hbarriertower_f", 8],
["land_hbarrierwall6_f", 4],
["land_hbarrierwall_corridor_f", 4],
["land_hbarrier_1_f", 1],
["land_hbarrier_3_f", 2],
["helper_base_f", 1],
["helih", 1],
["land_portablelight_single_f", 1],
["land_metalbarrel_empty_f", 2],
["land_campfire_f", 1],
["land_fireplace_f", 1],
["land_obstacle_bridge_f", 2],
["land_razorwire_f", 2],
["land_sign_mines_f", 1],
["land_pallet_milboxes_f", 5],
["land_paperbox_closed_f", 5],
["land_paperbox_open_empty_f", 5],
["land_paperbox_open_full_f", 5],
["land_bargate_f", 2],
["land_cncbarriermedium4_f", 6],
["land_cncbarriermedium_f", 2],
["land_cncbarrier_f", 2],
["land_cncbarrier_stripes_f", 2],
["land_cncwall1_f", 2],
["land_cncwall4_f", 6],
["land_mil_concretewall_f", 2],
["land_shoot_house_wall_f", 2],
["sign_f", 2],
["signad_sponsors_f", 1],
["shelter_base_f", 2],
["land_plasticbarrier_01_f", 2],
["land_plasticbarrier_02_f", 2],
["bagbunker_base_f", 15],
["land_bagbunker_small_f", 6],
["bagfence_base_f", 2],
["flagcarriercore", 2]
];
R3F_LOG_CFG_can_be_moved_by_player = R3F_LOG_CFG_can_be_moved_by_player +
[
];
\ No newline at end of file
R3F_LOG_CFG_can_tow = R3F_LOG_CFG_can_tow +
[
];
R3F_LOG_CFG_can_be_towed = R3F_LOG_CFG_can_be_towed +
[
];
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
];
R3F_LOG_CFG_can_be_lifted = R3F_LOG_CFG_can_be_lifted +
[
];
R3F_LOG_CFG_can_transport_cargo = R3F_LOG_CFG_can_transport_cargo +
[
];
R3F_LOG_CFG_can_be_transported_cargo = R3F_LOG_CFG_can_be_transported_cargo +
[
["camping_base_f", 1],
["flagsmall_f", 1],
["hbarrier_base_f", 3],
["land_hbarriertower_f", 8],
["land_hbarrierwall6_f", 4],
["land_hbarrierwall_corridor_f", 4],
["land_hbarrier_1_f", 1],
["land_hbarrier_3_f", 2],
["helper_base_f", 1],
["helih", 1],
["land_portablelight_single_f", 1],
["land_metalbarrel_empty_f", 2],
["land_campfire_f", 1],
["land_fireplace_f", 1],
["land_obstacle_bridge_f", 2],
["land_razorwire_f", 2],
["land_sign_mines_f", 1],
["land_pallet_milboxes_f", 5],
["land_paperbox_closed_f", 5],
["land_paperbox_open_empty_f", 5],
["land_paperbox_open_full_f", 5],
["land_bargate_f", 2],
["land_cncbarriermedium4_f", 6],
["land_cncbarriermedium_f", 2],
["land_cncbarrier_f", 2],
["land_cncbarrier_stripes_f", 2],
["land_cncwall1_f", 2],
["land_cncwall4_f", 6],
["land_mil_concretewall_f", 2],
["land_shoot_house_wall_f", 2],
["sign_f", 2],
["signad_sponsors_f", 1],
["shelter_base_f", 2],
["land_plasticbarrier_01_f", 2],
["land_plasticbarrier_02_f", 2],
["bagbunker_base_f", 15],
["land_bagbunker_small_f", 6],
["bagfence_base_f", 2],
["flagcarriercore", 2]
];
R3F_LOG_CFG_can_be_moved_by_player = R3F_LOG_CFG_can_be_moved_by_player +
[
];
\ No newline at end of file
R3F_LOG_CFG_can_tow = R3F_LOG_CFG_can_tow +
[
];
R3F_LOG_CFG_can_be_towed = R3F_LOG_CFG_can_be_towed +
[
];
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
];
R3F_LOG_CFG_can_be_lifted = R3F_LOG_CFG_can_be_lifted +
[
];
R3F_LOG_CFG_can_transport_cargo = R3F_LOG_CFG_can_transport_cargo +
[
["tank", 5],
["car", 6],
["motorcycle", 2],
["truck_f", 100],
["bus", 30],
["kart_01_base_f", 2],
["mrap_01_base_f", 12],
["mrap_02_base_f", 12],
["mrap_03_base_f", 12],
["offroad_01_base_f", 10],
["offroad_01_armed_base_f", 4],
["quadbike_01_base_f", 3],
["quadbike_base_f", 3],
["b_truck_01_mover_f", 5],
["b_truck_01_repair_f", 170],
["b_truck_01_covered_f", 120],
["b_truck_01_ammo_f", 0],
["b_truck_01_box_f", 170],
["truck_02_base_f", 120],
["i_truck_02_medical_f", 100],
["i_truck_02_fuel_f", 5],
["i_truck_02_transport_f", 100],
["o_truck_02_fuel_f", 5],
["o_truck_02_transport_f", 100],
["o_truck_03_ammo_f", 0],
["o_truck_03_device_f", 5],
["o_truck_03_fuel_f", 5],
["van_01_base_f", 5],
["c_van_01_box_f", 40],
["c_van_01_transport_f", 25],
["i_g_van_01_transport_f", 25],
["wheeled_apc_f", 10]
];
R3F_LOG_CFG_can_be_transported_cargo = R3F_LOG_CFG_can_be_transported_cargo +
[
["kart_01_base_f", 40],
["quadbike_01_base_f", 40],
["ugv_01_base_f", 100]
];
R3F_LOG_CFG_can_be_moved_by_player = R3F_LOG_CFG_can_be_moved_by_player +
[
];
\ No newline at end of file
R3F_LOG_CFG_can_tow = R3F_LOG_CFG_can_tow +
[
"truck_01_base_f",
"truck_02_base_f",
"truck_03_base_f",
"b_apc_tracked_01_crv_f"
];
R3F_LOG_CFG_can_be_towed = R3F_LOG_CFG_can_be_towed +
[
"car_f"
];
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
];