Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
/**
* Exile Mod
* www.exilemod.com
* © 2015 Exile Mod Team
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
*/
private["_duration"];
disableSerialization;
_duration = _this;
ExileClientPlayerIsBambi = true;
ExileClientPlayerBambiStateExpiresAt = time + _duration;
true call ExileClient_gui_hud_toggleBambiIcon;
DeployBikeAction = player addaction [("<t color=""#00CF11"">" + ("Spawn Quad: $1000") +"</t>"),"addons\bike\spawn_bike.sqf","",-97,false,false,"",""];
ExileClientEndBambiStateThread = [_duration, ExileClient_object_player_bambiStateEnd, [], true] call ExileClient_system_thread_addTask;
true
/**
* Exile Mod
* www.exilemod.com
* © 2015 Exile Mod Team
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
*/
disableSerialization;
if (alive player) then
{
[["Exile", "BambiStateEnded"], 15, "", 35, "", true, false, true, true] call BIS_fnc_advHint;
["endBambiStateRequest"] call ExileClient_system_network_send;
};
[ExileClientEndBambiStateThread] call ExileClient_system_thread_removeTask;
ExileClientPlayerIsBambi = false;
false call ExileClient_gui_hud_toggleBambiIcon;
true
///////////////////////////////////////////////////////////////////////
// PLAYER SPAWN CONFIGURATION
///////////////////////////////////////////////////////////////////////
class BambiSettings
{
/**
* Loadout of new bambi players
*
* (They will always spawn with a bambi overall - you cannot
* change the loadout uniform)
*/
loadOut[] =
{
"ItemCompass",
"ItemMap",
"Exile_Item_XM8",
"ItemRadio",
"Exile_Item_InstaDoc",
"Exile_Item_Catfood_Cooked",
"NVGoggles_OPFOR",
"Exile_Item_PlasticBottleFreshWater"
};
/**
* Enables or disables parachute spawning.
*
* 1 = On
* 0 = Off
*/
parachuteSpawning = 0;
/**
* Enables or disables halo jumping. Only applies
* if parachute spawning is enabled.
etc....
etc....
etc....
etc....
{
_cargoType = _x call ExileClient_util_cargo_getType;
switch (_cargoType) do
{
case 1: { _bambiPlayer addItem _x; };
case 2: { _bambiPlayer addWeaponGlobal _x; };
case 3: { _bambiPlayer addBackpackGlobal _x; };
case 4: { _bambiPlayer linkItem _x; };
default { _bambiPlayer addItem _x; };
};
}
forEach getArray(configFile >> "CfgSettings" >> "BambiSettings" >> "loadOut");
switch (playerUID) do
{
case 00000: {
_bambiPlayer addItem _x;
_bambiPlayer addWeaponGlobal _x;
_bambiPlayer addBackpackGlobal _x;
_bambiPlayer linkItem _x;
};
case 00001:
{
_bambiPlayer addItem _x;
_bambiPlayer addWeaponGlobal _x;
_bambiPlayer addBackpackGlobal _x;
_bambiPlayer linkItem _x;
};
default
{
_bambiPlayer addItem _x;
_bambiPlayer addWeaponGlobal _x;
_bambiPlayer addBackpackGlobal _x;
_bambiPlayer linkItem _x;
};
}