bustednuts

Respect basd load outs

4 posts in this topic

Has anyone got this to work with the current build? I am not having any luck. It is giving a can not create bambi timeout. This is the script I am using 

Spoiler

/**
 * ExileServer_object_player_createBambi
 *
 * 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/.
 */
 
 // LATEST UPDATE - added donator loadouts - 07-July
 
private["_sessionID","_requestingPlayer","_spawnLocationMarkerName","_bambiPlayer","_accountData","_direction","_position","_spawnAreaPosition","_spawnAreaRadius","_clanID","_clanData","_clanGroup","_player","_devFriendlyMode","_devs","_parachuteNetID","_spawnType","_parachuteObject"];
_sessionID = _this select 0;
_requestingPlayer = _this select 1;
_spawnLocationMarkerName = _this select 2;
_bambiPlayer = _this select 3;
_accountData = _this select 4;
_direction = random 360;
if ((count ExileSpawnZoneMarkerPositions) isEqualTo 0) then 
{
    _position = call ExileClient_util_world_findCoastPosition;
    if ((toLower worldName) isEqualTo "namalsk") then 
    {
        while {(_position distance2D [76.4239, 107.141, 0]) < 100} do 
        {
            _position = call ExileClient_util_world_findCoastPosition;
        };
    };
}
else 
{
    _spawnAreaPosition = getMarkerPos _spawnLocationMarkerName;
    _spawnAreaRadius = getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "spawnZoneRadius");
    _position = [_spawnAreaPosition, _spawnAreaRadius] call ExileClient_util_math_getRandomPositionInCircle;
    while {surfaceIsWater _position} do 
    {
        _position = [_spawnAreaPosition, _spawnAreaRadius] call ExileClient_util_math_getRandomPositionInCircle;
    };
};
_name = name _requestingPlayer;
_clanID = (_accountData select 3);
if !((typeName _clanID) isEqualTo "SCALAR") then
{
    _clanID = -1;
    _clanData = [];
}
else
{
    _clanData = missionNamespace getVariable [format ["ExileServer_clan_%1",_clanID],[]];
    if(isNull (_clanData select 5))then
    {
        _clanGroup = createGroup independent;
        _clanData set [5,_clanGroup];
        _clanGroup setGroupIdGlobal [_clanData select 0];
        missionNameSpace setVariable [format ["ExileServer_clan_%1",_clanID],_clanData];
    }
    else
    {
        _clanGroup = (_clanData select 5);
    };
    [_player] joinSilent _clanGroup;
};
_bambiPlayer setPosATL [_position select 0,_position select 1,0];
_bambiPlayer disableAI "FSM";
_bambiPlayer disableAI "MOVE";
_bambiPlayer disableAI "AUTOTARGET";
_bambiPlayer disableAI "TARGET";
_bambiPlayer disableAI "CHECKVISIBLE";
_bambiPlayer setDir _direction;
_bambiPlayer setName _name;
_bambiPlayer setVariable ["ExileMoney", 0, true]; 
_bambiPlayer setVariable ["ExileScore", (_accountData select 0)];
_bambiPlayer setVariable ["ExileKills", (_accountData select 1)];
_bambiPlayer setVariable ["ExileDeaths", (_accountData select 2)];
_bambiPlayer setVariable ["ExileClanID", _clanID];
_bambiPlayer setVariable ["ExileClanData", _clanData];
_bambiPlayer setVariable ["ExileHunger", 100];
_bambiPlayer setVariable ["ExileThirst", 100];
_bambiPlayer setVariable ["ExileTemperature", 37];
_bambiPlayer setVariable ["ExileWetness", 0];
_bambiPlayer setVariable ["ExileAlcohol", 0]; 
_bambiPlayer setVariable ["ExileName", _name]; 
_bambiPlayer setVariable ["ExileOwnerUID", getPlayerUID _requestingPlayer]; 
_bambiPlayer setVariable ["ExileIsBambi", true];
_bambiPlayer setVariable ["ExileXM8IsOnline", false, true];
_bambiPlayer setVariable ["ExileLocker", (_accountData select 4), true];
_devFriendlyMode = getNumber (configFile >> "CfgSettings" >> "ServerSettings" >> "devFriendyMode");
if (_devFriendlyMode isEqualTo 1) then 
{
    _devs = getArray (configFile >> "CfgSettings" >> "ServerSettings" >> "devs");
    {
        if ((getPlayerUID _requestingPlayer) isEqualTo (_x select 0))exitWith 
        {
            if((name _requestingPlayer) isEqualTo (_x select 1))then
            {
                _bambiPlayer setVariable ["ExileMoney", 500000, true];
                _bambiPlayer setVariable ["ExileScore", 100000];
            };
        };
    }
    forEach _devs;
};
_parachuteNetID = "";
_bambiuniforms = [
            "U_C_Journalist",
            "U_C_Poloshirt_blue",
            "U_C_Poloshirt_burgundy",
            "U_C_Poloshirt_salmon",
            "U_C_Poloshirt_stripped",
            "U_C_Poloshirt_tricolour",
            "U_C_Poor_1",
            "U_C_Poor_2",
            "U_C_Poor_shorts_1",
            "U_C_Scientist",
            "U_OrestesBody",
            "U_Rangemaster",
            "U_NikosAgedBody",
            "U_NikosBody",
            "U_Competitor",
            "U_B_CombatUniform_mcam",
            "U_B_CombatUniform_mcam_tshirt",
            "U_B_CombatUniform_mcam_vest",
            "U_B_CombatUniform_mcam_worn",
            "U_B_CTRG_1",
            "U_B_CTRG_2",
            "U_B_CTRG_3",
            "U_I_CombatUniform",
            "U_I_CombatUniform_shortsleeve",
            "U_I_CombatUniform_tshirt",
            "U_I_OfficerUniform",
            "U_O_CombatUniform_ocamo",
            "U_O_CombatUniform_oucamo",
            "U_O_OfficerUniform_ocamo",
            "U_B_SpecopsUniform_sgg",
            "U_O_SpecopsUniform_blk",
            "U_O_SpecopsUniform_ocamo",
            "U_I_G_Story_Protagonist_F",
            "Exile_Uniform_Woodland",
            "U_C_HunterBody_grn",
            "U_IG_Guerilla1_1",
            "U_IG_Guerilla2_1",
            "U_IG_Guerilla2_2",
            "U_IG_Guerilla2_3",
            "U_IG_Guerilla3_1",
            "U_BG_Guerilla2_1",
            "U_IG_Guerilla3_2",
            "U_BG_Guerrilla_6_1",
            "U_BG_Guerilla1_1",
            "U_BG_Guerilla2_2",
            "U_BG_Guerilla2_3",
            "U_BG_Guerilla3_1",
            "U_BG_leader",
            "U_IG_leader",
            "U_I_G_resistanceLeader_F"
] call BIS_fnc_selectRandom;
_bambifood = ["Exile_Item_EMRE","Exile_Item_GloriousKnakworst","Exile_Item_Surstromming","Exile_Item_SausageGravy","Exile_Item_Catfood","Exile_Item_ChristmasTinner","Exile_Item_BBQSandwich","Exile_Item_Dogfood","Exile_Item_BeefParts","Exile_Item_Cheathas","Exile_Item_Noodles","Exile_Item_SeedAstics","Exile_Item_Raisins","Exile_Item_Moobar"] call BIS_fnc_selectRandom;
_bambidrink = ["Exile_Item_PlasticBottleCoffee","Exile_Item_PowerDrink","Exile_Item_PlasticBottleFreshWater","Exile_Item_Beer","Exile_Item_EnergyDrink","Exile_Item_MountainDupe"] call BIS_fnc_selectRandom;
if ((getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "parachuteSpawning")) isEqualTo 1) then
{
    _position set [2, getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "parachuteDropHeight")]; 
    if ((getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "haloJump")) isEqualTo 1) then
    {
        _bambiPlayer addBackpackGlobal "B_Parachute";    
        _bambiPlayer setPosATL _position;
        _spawnType = 2;
    }
    else 
    {
        _parachuteObject = createVehicle ["Steerable_Parachute_F", _position, [], 0, "CAN_COLLIDE"];
        _parachuteObject setDir _direction;
        _parachuteObject setPosATL _position;
        _parachuteObject enableSimulationGlobal true;
        _parachuteNetID = netId _parachuteObject;
        _spawnType = 1;
    };
}
else
{
    _spawnType = 0;
};

/* //SEEKS: taking out next 3 lines from new 098 code to allow us to control loadouts per respect level
_bambiplayer forceadduniform _bambiuniforms;
_bambiplayer addItem _bambifood;
_bambiplayer addItem _bambidrink;    
*/

// SEEKS START ======================= INSERTING SECTION BELOW FOR RESPECT LEVEL BAMBI GEAR =============================

/* GIVE CUSTOM LOADOUT BY RESPECT STATE */
// LAST UPDATED: SEEKS 07-JUL - fixed incorrect MAS scopes and flashlights + added donator gear setups
// As per Busted conversation 03-JUL, respect levels changing to:
// Level 1 - under 5000 RP
// Level 2 - 5000 to 19,999 RP
// Level 3 - 20K to 59,999 RP
// Level 4 - 60K to 99,999 RP
// Level 5 - 100K to 249,999 RP
// Level 6 - >=250K RP (currently same gear as L5)

// NEW DONATOR + REPUTATION BAMBI SETUP================================================START
_score = (_accountData select 0);
{
if((getPlayerUID _requestingPlayer) in ["76561198029036498"]) then 
    {
        // ASSAULT DONATOR PACKAGE ASSIGNED TO: (Salty Mofo)
        clearWeaponCargo _bambiPlayer; 
        clearMagazineCargo _bambiPlayer; 
        _bambiPlayer forceAddUniform "Exile_Uniform_Woodland"; 
        _bambiPlayer addVest "V_PlateCarrierGL_rgr";
        _bambiPlayer addWeapon "TRYK_Shemagh_G_NV";
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "ItemRadio";
        _bambiPlayer addWeapon "ItemGPS";
        _bambiPlayer addWeapon "Laserdesignator_03";
        _bambiPlayer addWeapon "H_HelmetSpecB";
        _bambiPlayer addWeapon "Exile_Weapon_TaurusGold";
        _bambiPlayer addWeapon "hlc_rifle_g3a3v";
        _bambiPlayer addPrimaryWeaponItem "hlc_optic_accupoint_g3";            
        _bambiPlayer addPrimaryWeaponItem "muzzle_snds_B";        
        _bambiPlayer addItemToVest "HandGrenade";                        
        _bambiPlayer addItemToVest "Exile_Item_DuctTape";
        _bambiPlayer addItemToVest "Exile_Magazine_6Rnd_45ACP";                    
        _bambiPlayer addItemToVest "Exile_Magazine_6Rnd_45ACP";                    
        _bambiPlayer addItemToVest "Exile_Magazine_6Rnd_45ACP";                    
        _bambiPlayer addItemToVest "hlc_20rnd_762x51_Mk316_G3";                        
        _bambiPlayer addItemToVest "hlc_20rnd_762x51_Mk316_G3";                        
        _bambiPlayer addItemToVest "hlc_20rnd_762x51_Mk316_G3";                        
        _bambiPlayer addItemToVest "hlc_20rnd_762x51_Mk316_G3";                        
        _bambiPlayer addItemToUniform "Exile_Item_InstaDoc";
        _bambiPlayer addItemToUniform "Exile_Item_EMRE";
        _bambiPlayer addItemToUniform "Exile_Item_EMRE";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
    } else 
    //{
    if ((getPlayerUID _requestingPlayer) in ["76561198041478399"]) then 
    {
        // SNIPER DONATOR PACKAGE ASSIGNED TO: (Striker)
        clearWeaponCargo _bambiPlayer; 
        clearMagazineCargo _bambiPlayer; 
        _bambiPlayer forceAddUniform "U_O_SpecopsUniform_ocamo";             
        _bambiPlayer addVest "V_PlateCarrier2_rgr";                    
        _bambiPlayer addWeapon "TRYK_Shemagh_G_NV";
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "ItemRadio";
        _bambiPlayer addWeapon "ItemGPS";
        _bambiPlayer addWeapon "CUP_SOFLAM";                        
        _bambiPlayer addWeapon "TRYK_H_ghillie_over_green";        
        _bambiPlayer addWeapon "hlc_smg_mp5k";
        _bambiPlayer addWeapon "CUP_srifle_M107_Base";                                
        _bambiPlayer addPrimaryWeaponItem "optic_Nightstalker";            
        _bambiPlayer addHandgunItem "CUP_optic_CompM4";
        _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
        _bambiPlayer addItemToVest "Exile_Item_Vishpirin";
        _bambiPlayer addItemToVest "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToVest "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToVest "CUP_10Rnd_127x99_M107";                    
        _bambiPlayer addItemToVest "CUP_10Rnd_127x99_M107";                    
        _bambiPlayer addItemToVest "CUP_10Rnd_127x99_M107";                    
        _bambiPlayer addItemToVest "CUP_10Rnd_127x99_M107";                    
        _bambiPlayer addItemToUniform "Exile_Item_DuctTape";
        _bambiPlayer addItemToUniform "Exile_Item_CanOpener";
        _bambiPlayer addItemToUniform "Exile_Item_MacasCheese_Cooked";        
        _bambiPlayer addItemToUniform "Exile_Item_MacasCheese_Cooked";        
        _bambiPlayer addItemToUniform "Exile_Item_MacasCheese_Cooked";        
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
    } else 
    //{
    if ((getPlayerUID _requestingPlayer) in ["76561198052891021"]) then 
    {
        // SEEKS DONATOR PACKAGE ASSIGNED TO: (Seeks)
        clearWeaponCargo _bambiPlayer; 
        clearMagazineCargo _bambiPlayer; 
        _bambiPlayer forceAddUniform "CUP_U_O_RUS_Flora_1_VDV"; 
        _bambiPlayer addVest "CUP_V_B_MTV_LegPouch";
        _bambiPlayer addWeapon "TRYK_Headset_NV";
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "ItemRadio";
        _bambiPlayer addWeapon "I_UavTerminal";
        _bambiPlayer addWeapon "CUP_SOFLAM";
        _bambiPlayer addWeapon "CUP_H_C_Ushanka_03";
        _bambiPlayer addWeapon "hlc_smg_mp5k";
        _bambiPlayer addWeapon "hlc_rifle_G36TAC";
        _bambiPlayer addWeapon "CUP_launch_RPG7V";                            //RPG might not load ammo
        _bambiPlayer addSecondaryWeaponItem "CUP_PG7V_M";                //Test auto-loading ammo
        _bambiPlayer addPrimaryWeaponItem "hlc_muzzle_556NATO_KAC";
        _bambiPlayer addPrimaryWeaponItem "CUP_acc_Flashlight";
        _bambiPlayer addPrimaryWeaponItem "CUP_optic_ACOG";
        _bambiPlayer addPrimaryWeaponItem "bipod_01_F_blk";
        _bambiPlayer addPrimaryWeaponItem "hlc_30rnd_556x45_SPR_G36";        //Test auto-loading ammo
        _bambiPlayer addHandgunItem "CUP_optic_CompM4";
        _bambiPlayer addHandgunItem "hlc_muzzle_Tundra";
        _bambiPlayer addHandgunItem "hlc_30Rnd_9x19_GD_MP5";                //Test auto-loading ammo
        _bambiPlayer addItemToVest "CUP_optic_AN_PVS_10";
        _bambiPlayer addItemToVest "G_Balaclava_lowprofile";
        _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
        _bambiPlayer addItemToVest "Exile_Item_Vishpirin";    
        _bambiPlayer addItemToVest "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToVest "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
        _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
        _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
        _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
        _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
        _bambiPlayer addItemToUniform "Exile_Item_DuctTape";
        _bambiPlayer addItemToUniform "Exile_Item_DuctTape";
        _bambiPlayer addItemToUniform "Exile_Item_DuctTape";
        _bambiPlayer addItemToUniform "Exile_Item_CanOpener";
        _bambiPlayer addItemToUniform "Exile_Item_MacasCheese_Cooked";
        _bambiPlayer addItemToUniform "Exile_Item_MacasCheese_Cooked";
        _bambiPlayer addItemToUniform "Exile_Item_MacasCheese_Cooked";
        _bambiPlayer addItemToUniform "Exile_Item_MacasCheese_Cooked";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleCoffee";
    } else 
    //{ 
    if(_score < 5000) then 
    {
        clearWeaponCargo _bambiPlayer;
        clearMagazineCargo _bambiPlayer;
        hint "0 - 5k respect loadout attached (L1)";
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "CUP_hgun_glock17_flashlight";
        _bambiPlayer forceAddUniform "U_BG_Guerilla2_1";  
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "Exile_Item_DuctTape";
        _bambiPlayer addItemToUniform "CUP_17Rnd_9x19_glock17";
        _bambiPlayer addVest "V_HarnessO_gry";
        _bambiPlayer addItemToVest "Exile_Item_EMRE";
        _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
        _bambiPlayer addItemToVest "CUP_17Rnd_9x19_glock17";
    } else 
    //{
    if(_score > 4999 && _score < 20000) then 
    {
        clearWeaponCargo _bambiPlayer;
        clearMagazineCargo _bambiPlayer;
        hint "5 - 20k respect loadout attached (L2)";
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemGPS";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "NVGoggles";
        _bambiPlayer addWeapon "Binocular";
        _bambiPlayer addWeapon "hlc_smg_mp5k";
        _bambiPlayer addWeapon "hlc_rifle_ak74";
        _bambiPlayer forceAddUniform "U_I_G_resistanceLeader_F";  
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "Exile_Item_DuctTape";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addVest "V_PlateCarrier_Kerry";
        _bambiPlayer addItemToVest "Exile_Item_EMRE";
        _bambiPlayer addItemToVest "Exile_Item_EMRE";
        _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
        _bambiPlayer addPrimaryWeaponItem "acc_flashlight";
        _bambiPlayer addPrimaryWeaponItem "optic_ACO_grn";
        _bambiPlayer addItemToVest "hlc_45Rnd_545x39_t_rpk";
        _bambiPlayer addItemToVest "hlc_45Rnd_545x39_t_rpk";
        _bambiPlayer addItemToVest "hlc_45Rnd_545x39_t_rpk";
        _bambiPlayer addHandgunItem "hlc_muzzle_Tundra";
    } else 
    //{
    if(_score > 19999 && _score < 60000) then 
    {
        clearWeaponCargo _bambiPlayer;
        clearMagazineCargo _bambiPlayer;
        hint "20 - 60k respect loadout attached (L3)";
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemGPS";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "NVGoggles_OPFOR";
        _bambiPlayer addWeapon "CUP_Vector21Nite";
        _bambiPlayer addWeapon "hlc_smg_mp5k";
        _bambiPlayer addWeapon "hlc_rifle_G36KV";
        _bambiPlayer forceAddUniform "CUP_U_O_CHDKZ_Kam_05";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
        _bambiPlayer addItemToUniform "Exile_Item_CanOpener";
        _bambiPlayer addVest "TRYK_V_harnes_od_L";
        _bambiPlayer addItemToVest "Exile_Item_DuctTape";
        _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
        _bambiPlayer addPrimaryWeaponItem "CUP_optic_ACOG";
        _bambiPlayer addPrimaryWeaponItem "acc_flashlight";
        _bambiPlayer addPrimaryWeaponItem "bipod_01_F_blk";
        _bambiPlayer addPrimaryWeaponItem "hlc_muzzle_556NATO_KAC";  
        _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
        _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
        _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
        _bambiPlayer addHandgunItem "CUP_optic_CompM4";
        _bambiPlayer addHandgunItem "hlc_muzzle_Tundra";
    } else 
    //{
    if(_score > 59999 && _score < 100000) then 
    {
        clearWeaponCargo _bambiPlayer;
        clearMagazineCargo _bambiPlayer;
        hint "60 - 100k respect loadout attached (L4)";
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemGPS";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "TRYK_Shemagh_G_NV";
        _bambiPlayer addWeapon "Rangefinder";
        _bambiPlayer addWeapon "H_HelmetB_camo";
        _bambiPlayer addWeapon "hlc_smg_mp5k";
        _bambiPlayer addWeapon "arifle_MX_SW_Black_F";
        _bambiPlayer forceAddUniform "CUP_U_B_USMC_Officer";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
        _bambiPlayer addItemToUniform "Exile_Item_CanOpener";
        _bambiPlayer addVest "CUP_V_B_RRV_Scout3";
        _bambiPlayer addItemToVest "Exile_Item_DuctTape";
        _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
        _bambiPlayer addPrimaryWeaponItem "optic_AMS";
        _bambiPlayer addPrimaryWeaponItem "acc_flashlight";
        _bambiPlayer addPrimaryWeaponItem "bipod_01_F_blk";
        _bambiPlayer addPrimaryWeaponItem "muzzle_snds_H";  
        _bambiPlayer addItemToVest "100Rnd_65x39_caseless_mag";
        _bambiPlayer addItemToVest "100Rnd_65x39_caseless_mag";
        _bambiPlayer addHandgunItem "CUP_optic_CompM4";
        _bambiPlayer addHandgunItem "hlc_muzzle_Tundra";          
    } else 
    //{
    if(_score > 99999 && _score < 250000) then 
    {
        clearWeaponCargo _bambiPlayer;
        clearMagazineCargo _bambiPlayer;
        hint "100k to 250k respect loadout attached (L5)";
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemGPS";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "TRYK_Shemagh_G_NV";
        _bambiPlayer addWeapon "Laserdesignator_03";
        _bambiPlayer addWeapon "H_HelmetSpecB_paint1";
        _bambiPlayer addWeapon "hlc_smg_mp5k";
        _bambiPlayer addWeapon "CUP_srifle_AWM_wdl";
        _bambiPlayer forceAddUniform "CUP_U_I_Ghillie_Top";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
        _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
        _bambiPlayer addVest "V_PlateCarrierIAGL_oli";
        _bambiPlayer addItemToVest "Exile_Item_DuctTape";
        _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
        _bambiPlayer addPrimaryWeaponItem "optic_KHS_blk";
        _bambiPlayer addPrimaryWeaponItem "CUP_muzzle_snds_AWM";
        _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
        _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
        _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
        _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
        _bambiPlayer addItemToVest "Exile_Item_CanOpener";
        _bambiPlayer addHandgunItem "CUP_optic_CompM4";
        _bambiPlayer addHandgunItem "hlc_muzzle_Tundra";          
    } else 
    //{
    if(_score > 249999) then 
    {
        clearWeaponCargo _bambiPlayer;
        clearMagazineCargo _bambiPlayer;
        hint ">250k respect loadout attached (L6)"; //CURRENTLY SAME AS L5
        _bambiPlayer addWeapon "Exile_Item_XM8";
        _bambiPlayer addWeapon "ItemCompass";
        _bambiPlayer addWeapon "ItemGPS";
        _bambiPlayer addWeapon "ItemMap";
        _bambiPlayer addWeapon "TRYK_Shemagh_G_NV";
        _bambiPlayer addWeapon "Laserdesignator_03";
        _bambiPlayer addWeapon "H_HelmetSpecB_paint1";
        _bambiPlayer addWeapon "hlc_smg_mp5k";
        _bambiPlayer addWeapon "CUP_srifle_AWM_wdl";
        _bambiPlayer forceAddUniform "CUP_U_I_Ghillie_Top";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
        _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
        _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
        _bambiPlayer addVest "V_PlateCarrierIAGL_oli";
        _bambiPlayer addItemToVest "Exile_Item_DuctTape";
        _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
        _bambiPlayer addPrimaryWeaponItem "optic_KHS_blk";
        _bambiPlayer addPrimaryWeaponItem "CUP_muzzle_snds_AWM";
        _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
        _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
        _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
        _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
        _bambiPlayer addItemToVest "Exile_Item_CanOpener";
        _bambiPlayer addHandgunItem "CUP_optic_CompM4";
        _bambiPlayer addHandgunItem "hlc_muzzle_Tundra";
    };
//                        };
//                    };
//                };
//            };
//        };
//    };
//};
};
// NEW DONATOR + REPUTATION BAMBI SETUP================================================END

// SEEKS END ======================= INSERTING SECTION ABOVE FOR RESPECT LEVEL BAMBI GEAR =============================

_bambiPlayer addMPEventHandler ["MPKilled", {_this call ExileServer_object_player_event_onMpKilled}];
_bambiPlayer call ExileServer_object_player_database_insert;
_bambiPlayer call ExileServer_object_player_database_update;
[
    _sessionID, 
    "createPlayerResponse", 
    [
        _bambiPlayer, 
        _parachuteNetID, 
        str (_accountData select 0),
        (_accountData select 1),
        (_accountData select 2),
        100,
        100,
        0,
        (getNumber (configFile >> "CfgSettings" >> "BambiSettings" >> "protectionDuration")) * 60, 
        _clanData,
        _spawnType
    ]

call ExileServer_system_network_send_to;
[_sessionID, _bambiPlayer] call ExileServer_system_session_update;
true

and theses are the exile custom codes

Spoiler

/**
 * ExileServer_object_player_createBambi
 *
 * 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/.
 */
 
 // LATEST UPDATE patched for Exile 098: SEEKS 03-JUL-2016 430pm PST
 
private["_sessionID","_requestingPlayer","_spawnLocationMarkerName","_bambiPlayer","_accountData","_direction","_position","_spawnAreaPosition","_spawnAreaRadius","_clanID","_clanData","_clanGroup","_player","_devFriendlyMode","_devs","_parachuteNetID","_spawnType","_parachuteObject"];
_sessionID = _this select 0;
_requestingPlayer = _this select 1;
_spawnLocationMarkerName = _this select 2;
_bambiPlayer = _this select 3;
_accountData = _this select 4;
_direction = random 360;
if ((count ExileSpawnZoneMarkerPositions) isEqualTo 0) then 
{
    _position = call ExileClient_util_world_findCoastPosition;
    if ((toLower worldName) isEqualTo "namalsk") then 
    {
        while {(_position distance2D [76.4239, 107.141, 0]) < 100} do 
        {
            _position = call ExileClient_util_world_findCoastPosition;
        };
    };
}
else 
{
    _spawnAreaPosition = getMarkerPos _spawnLocationMarkerName;
    _spawnAreaRadius = getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "spawnZoneRadius");
    _position = [_spawnAreaPosition, _spawnAreaRadius] call ExileClient_util_math_getRandomPositionInCircle;
    while {surfaceIsWater _position} do 
    {
        _position = [_spawnAreaPosition, _spawnAreaRadius] call ExileClient_util_math_getRandomPositionInCircle;
    };
};
_name = name _requestingPlayer;
_clanID = (_accountData select 3);
if !((typeName _clanID) isEqualTo "SCALAR") then
{
    _clanID = -1;
    _clanData = [];
}
else
{
    _clanData = missionNamespace getVariable [format ["ExileServer_clan_%1",_clanID],[]];
    if(isNull (_clanData select 5))then
    {
        _clanGroup = createGroup independent;
        _clanData set [5,_clanGroup];
        _clanGroup setGroupIdGlobal [_clanData select 0];
        missionNameSpace setVariable [format ["ExileServer_clan_%1",_clanID],_clanData];
    }
    else
    {
        _clanGroup = (_clanData select 5);
    };
    [_player] joinSilent _clanGroup;
};
_bambiPlayer setPosATL [_position select 0,_position select 1,0];
_bambiPlayer disableAI "FSM";
_bambiPlayer disableAI "MOVE";
_bambiPlayer disableAI "AUTOTARGET";
_bambiPlayer disableAI "TARGET";
_bambiPlayer disableAI "CHECKVISIBLE";
_bambiPlayer setDir _direction;
_bambiPlayer setName _name;
_bambiPlayer setVariable ["ExileMoney", 0, true]; 
_bambiPlayer setVariable ["ExileScore", (_accountData select 0)];
_bambiPlayer setVariable ["ExileKills", (_accountData select 1)];
_bambiPlayer setVariable ["ExileDeaths", (_accountData select 2)];
_bambiPlayer setVariable ["ExileClanID", _clanID];
_bambiPlayer setVariable ["ExileClanData", _clanData];
_bambiPlayer setVariable ["ExileHunger", 100];
_bambiPlayer setVariable ["ExileThirst", 100];
_bambiPlayer setVariable ["ExileTemperature", 37];
_bambiPlayer setVariable ["ExileWetness", 0];
_bambiPlayer setVariable ["ExileAlcohol", 0]; 
_bambiPlayer setVariable ["ExileName", _name]; 
_bambiPlayer setVariable ["ExileOwnerUID", getPlayerUID _requestingPlayer]; 
_bambiPlayer setVariable ["ExileIsBambi", true];
_bambiPlayer setVariable ["ExileXM8IsOnline", false, true];
_bambiPlayer setVariable ["ExileLocker", (_accountData select 4), true];
_devFriendlyMode = getNumber (configFile >> "CfgSettings" >> "ServerSettings" >> "devFriendyMode");
if (_devFriendlyMode isEqualTo 1) then 
{
    _devs = getArray (configFile >> "CfgSettings" >> "ServerSettings" >> "devs");
    {
        if ((getPlayerUID _requestingPlayer) isEqualTo (_x select 0))exitWith 
        {
            if((name _requestingPlayer) isEqualTo (_x select 1))then
            {
                _bambiPlayer setVariable ["ExileMoney", 500000, true];
                _bambiPlayer setVariable ["ExileScore", 100000];
            };
        };
    }
    forEach _devs;
};
_parachuteNetID = "";
_bambiuniforms = [
            "U_C_Journalist",
            "U_C_Poloshirt_blue",
            "U_C_Poloshirt_burgundy",
            "U_C_Poloshirt_salmon",
            "U_C_Poloshirt_stripped",
            "U_C_Poloshirt_tricolour",
            "U_C_Poor_1",
            "U_C_Poor_2",
            "U_C_Poor_shorts_1",
            "U_C_Scientist",
            "U_OrestesBody",
            "U_Rangemaster",
            "U_NikosAgedBody",
            "U_NikosBody",
            "U_Competitor",
            "U_B_CombatUniform_mcam",
            "U_B_CombatUniform_mcam_tshirt",
            "U_B_CombatUniform_mcam_vest",
            "U_B_CombatUniform_mcam_worn",
            "U_B_CTRG_1",
            "U_B_CTRG_2",
            "U_B_CTRG_3",
            "U_I_CombatUniform",
            "U_I_CombatUniform_shortsleeve",
            "U_I_CombatUniform_tshirt",
            "U_I_OfficerUniform",
            "U_O_CombatUniform_ocamo",
            "U_O_CombatUniform_oucamo",
            "U_O_OfficerUniform_ocamo",
            "U_B_SpecopsUniform_sgg",
            "U_O_SpecopsUniform_blk",
            "U_O_SpecopsUniform_ocamo",
            "U_I_G_Story_Protagonist_F",
            "Exile_Uniform_Woodland",
            "U_C_HunterBody_grn",
            "U_IG_Guerilla1_1",
            "U_IG_Guerilla2_1",
            "U_IG_Guerilla2_2",
            "U_IG_Guerilla2_3",
            "U_IG_Guerilla3_1",
            "U_BG_Guerilla2_1",
            "U_IG_Guerilla3_2",
            "U_BG_Guerrilla_6_1",
            "U_BG_Guerilla1_1",
            "U_BG_Guerilla2_2",
            "U_BG_Guerilla2_3",
            "U_BG_Guerilla3_1",
            "U_BG_leader",
            "U_IG_leader",
            "U_I_G_resistanceLeader_F"
] call BIS_fnc_selectRandom;
_bambifood = ["Exile_Item_EMRE","Exile_Item_GloriousKnakworst","Exile_Item_Surstromming","Exile_Item_SausageGravy","Exile_Item_Catfood","Exile_Item_ChristmasTinner","Exile_Item_BBQSandwich","Exile_Item_Dogfood","Exile_Item_BeefParts","Exile_Item_Cheathas","Exile_Item_Noodles","Exile_Item_SeedAstics","Exile_Item_Raisins","Exile_Item_Moobar"] call BIS_fnc_selectRandom;
_bambidrink = ["Exile_Item_PlasticBottleCoffee","Exile_Item_PowerDrink","Exile_Item_PlasticBottleFreshWater","Exile_Item_Beer","Exile_Item_EnergyDrink","Exile_Item_MountainDupe"] call BIS_fnc_selectRandom;
if ((getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "parachuteSpawning")) isEqualTo 1) then
{
    _position set [2, getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "parachuteDropHeight")]; 
    if ((getNumber(configFile >> "CfgSettings" >> "BambiSettings" >> "haloJump")) isEqualTo 1) then
    {
        _bambiPlayer addBackpackGlobal "B_Parachute";    
        _bambiPlayer setPosATL _position;
        _spawnType = 2;
    }
    else 
    {
        _parachuteObject = createVehicle ["Steerable_Parachute_F", _position, [], 0, "CAN_COLLIDE"];
        _parachuteObject setDir _direction;
        _parachuteObject setPosATL _position;
        _parachuteObject enableSimulationGlobal true;
        _parachuteNetID = netId _parachuteObject;
        _spawnType = 1;
    };
}
else
{
    _spawnType = 0;
};

/* //SEEKS: taking out next 3 lines from new 098 code to allow us to control loadouts per respect level
_bambiplayer forceadduniform _bambiuniforms;
_bambiplayer addItem _bambifood;
_bambiplayer addItem _bambidrink;    
*/

// SEEKS START ======================= INSERTING SECTION BELOW FOR RESPECT LEVEL BAMBI GEAR =============================

/* GIVE CUSTOM LOADOUT BY RESPECT STATE */
// LAST UPDATED: SEEKS 04-JUL 742pm PST - fixed incorrect MAS scopes and flashlights :)
// As per Busted conversation 03-JUL, respect levels changing to:
// Level 1 - under 5000 RP
// Level 2 - 5000 to 19,999 RP
// Level 3 - 20K to 59,999 RP
// Level 4 - 60K to 99,999 RP
// Level 5 - >= 100K RP

_score = (_accountData select 0); // REPUTATION now value 0 (Exile 098)
switch (true) do {
 case (_score < 5000) :   //(_score > 0 && _score < 5000) :
 {
  clearWeaponCargo _bambiPlayer;
  clearMagazineCargo _bambiPlayer;
  hint "0 - 5k respect loadout attached (L1)";
  _bambiPlayer addWeapon 'Exile_Item_XM8';
  _bambiPlayer addWeapon "ItemCompass";
  _bambiPlayer addWeapon "ItemMap";
  _bambiPlayer addWeapon "CUP_hgun_glock17_flashlight";
  _bambiPlayer forceAddUniform "U_BG_Guerilla2_1";  
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "Exile_Item_DuctTape";
  _bambiPlayer addItemToUniform "CUP_17Rnd_9x19_glock17";
  _bambiPlayer addVest "V_HarnessO_gry";
  _bambiPlayer addItemToVest "Exile_Item_EMRE";
  _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
  _bambiPlayer addItemToVest "CUP_17Rnd_9x19_glock17";
   
 };
 case (_score > 4999 && _score < 20000) :
 {
  clearWeaponCargo _bambiPlayer;
  clearMagazineCargo _bambiPlayer;
  hint "5 - 20k respect loadout attached (L2)";
  _bambiPlayer addWeapon 'Exile_Item_XM8';
  _bambiPlayer addWeapon "ItemCompass";
  _bambiPlayer addWeapon "ItemGPS";
  _bambiPlayer addWeapon "ItemMap";
  _bambiPlayer addWeapon "NVGoggles";
  _bambiPlayer addWeapon "Binocular";
  _bambiPlayer addWeapon "hlc_smg_mp5k";
  _bambiPlayer addWeapon "hlc_rifle_ak74";
  _bambiPlayer forceAddUniform "U_I_G_resistanceLeader_F";  
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "Exile_Item_DuctTape";
  _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
  _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
  _bambiPlayer addVest "V_PlateCarrier_Kerry";
  _bambiPlayer addItemToVest "Exile_Item_EMRE";
  _bambiPlayer addItemToVest "Exile_Item_EMRE";
  _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
  _bambiPlayer addItemToVest "acc_flashlight";
  _bambiPlayer addItemToVest "optic_ACO_grn";
  _bambiPlayer addItemToVest "hlc_45Rnd_545x39_t_rpk";
  _bambiPlayer addItemToVest "hlc_45Rnd_545x39_t_rpk";
  _bambiPlayer addItemToVest "hlc_45Rnd_545x39_t_rpk";
  _bambiPlayer addItemToVest "hlc_muzzle_Tundra";  
  
 };
 case (_score > 19999 && _score < 60000) :
 {
  clearWeaponCargo _bambiPlayer;
  clearMagazineCargo _bambiPlayer;
  hint "20 - 60k respect loadout attached (L3)";
  _bambiPlayer addWeapon 'Exile_Item_XM8';
  _bambiPlayer addWeapon "ItemCompass";
  _bambiPlayer addWeapon "ItemGPS";
  _bambiPlayer addWeapon "ItemMap";
  _bambiPlayer addWeapon "NVGoggles_OPFOR";
  _bambiPlayer addWeapon "CUP_Vector21Nite";
  _bambiPlayer addWeapon "hlc_smg_mp5k";
  _bambiPlayer addWeapon "hlc_rifle_G36KV";
  _bambiPlayer forceAddUniform "CUP_U_O_CHDKZ_Kam_05";
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
  _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
  _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
  _bambiPlayer addItemToUniform "Exile_Item_CanOpener";
  _bambiPlayer addVest "V_PlateCarrier_Kerry";
  _bambiPlayer addItemToVest "Exile_Item_DuctTape";
  _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
  _bambiPlayer addItemToVest "CUP_optic_ACOG";
  _bambiPlayer addItemToVest "acc_flashlight";
  _bambiPlayer addItemToVest "bipod_01_F_blk";
  _bambiPlayer addItemToVest "hlc_muzzle_556NATO_KAC";  
  _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
  _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
  _bambiPlayer addItemToVest "hlc_30rnd_556x45_SPR_G36";
  _bambiPlayer addItemToVest "CUP_optic_CompM4";
  _bambiPlayer addItemToVest "hlc_muzzle_Tundra";
  
 }; 
 case (_score > 59999 && _score < 100000) :
 {
  clearWeaponCargo _bambiPlayer;
  clearMagazineCargo _bambiPlayer;
  hint "60 - 100k respect loadout attached (L4)";
  _bambiPlayer addWeapon 'Exile_Item_XM8';
  _bambiPlayer addWeapon "ItemCompass";
  _bambiPlayer addWeapon "ItemGPS";
  _bambiPlayer addWeapon "ItemMap";
  _bambiPlayer addWeapon "NVGoggles";
  _bambiPlayer addWeapon "Rangefinder";
  _bambiPlayer addWeapon "H_HelmetB_camo";
  _bambiPlayer addWeapon "hlc_smg_mp5k";
  _bambiPlayer addWeapon "arifle_MX_SW_Black_F";
  _bambiPlayer forceAddUniform "CUP_U_B_USMC_Officer";
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
  _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
  _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
  _bambiPlayer addItemToUniform "Exile_Item_CanOpener";
  _bambiPlayer addVest "CUP_V_B_RRV_Scout3";
  _bambiPlayer addItemToVest "Exile_Item_DuctTape";
  _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
  _bambiPlayer addItemToVest "optic_AMS";
  _bambiPlayer addItemToVest "acc_flashlight";
  _bambiPlayer addItemToVest "bipod_01_F_blk";
  _bambiPlayer addItemToVest "muzzle_snds_H";  
  _bambiPlayer addItemToVest "100Rnd_65x39_caseless_mag";
  _bambiPlayer addItemToVest "100Rnd_65x39_caseless_mag";
  _bambiPlayer addItemToVest "CUP_optic_CompM4";
  _bambiPlayer addItemToVest "hlc_muzzle_Tundra";

 }; 
 case (_score > 99999) :
 {
  clearWeaponCargo _bambiPlayer;
  clearMagazineCargo _bambiPlayer;
  hint ">100k respect loadout attached (L5)";
  _bambiPlayer addWeapon 'Exile_Item_XM8';
  _bambiPlayer addWeapon "ItemCompass";
  _bambiPlayer addWeapon "ItemGPS";
  _bambiPlayer addWeapon "ItemMap";
  _bambiPlayer addWeapon "TRYK_Shemagh_G_NV";
  _bambiPlayer addWeapon "Laserdesignator_03";
  _bambiPlayer addWeapon "H_HelmetSpecB_paint1";
  _bambiPlayer addWeapon "hlc_smg_mp5k";
  _bambiPlayer addWeapon "CUP_srifle_AWM_wdl";
  _bambiPlayer forceAddUniform "CUP_U_I_Ghillie_Top";
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "Exile_Item_PlasticBottleFreshWater";
  _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
  _bambiPlayer addItemToUniform "hlc_30Rnd_9x19_GD_MP5";
  _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
  _bambiPlayer addItemToUniform "Exile_Item_GloriousKnakworst";
  _bambiPlayer addVest "V_PlateCarrierIAGL_oli";
  _bambiPlayer addItemToVest "Exile_Item_DuctTape";
  _bambiPlayer addItemToVest "Exile_Item_InstaDoc";
  _bambiPlayer addItemToVest "optic_KHS_blk";
  _bambiPlayer addItemToVest "CUP_muzzle_snds_AWM";
  _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
  _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
  _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
  _bambiPlayer addItemToVest "CUP_5Rnd_86x70_L115A1";
  _bambiPlayer addItemToVest "CUP_optic_CompM4";
  _bambiPlayer addItemToVest "hlc_muzzle_Tundra";  
  _bambiPlayer addItemToVest "Exile_Item_CanOpener";

  };
 default {
 
 };
};
/* END */

// SEEKS END ======================= INSERTING SECTION ABOVE FOR RESPECT LEVEL BAMBI GEAR =============================

_bambiPlayer addMPEventHandler ["MPKilled", {_this call ExileServer_object_player_event_onMpKilled}];
_bambiPlayer call ExileServer_object_player_database_insert;
_bambiPlayer call ExileServer_object_player_database_update;
[
    _sessionID, 
    "createPlayerResponse", 
    [
        _bambiPlayer, 
        _parachuteNetID, 
        str (_accountData select 0),
        (_accountData select 1),
        (_accountData select 2),
        100,
        100,
        0,
        (getNumber (configFile >> "CfgSettings" >> "BambiSettings" >> "protectionDuration")) * 60, 
        _clanData,
        _spawnType
    ]

call ExileServer_system_network_send_to;
[_sessionID, _bambiPlayer] call ExileServer_system_session_update;
true

and this one,

Spoiler

/**
 * ExileServer_object_player_network_createPlayerRequest
 *
 * 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/.
 */
// LATEST UPDATE - patched for Exile 098: Seeks 03-Jul-2016 2:30pm PST
 
private["_sessionID","_parameters","_requestingPlayer","_spawnLocationMarkerName","_playerUID","_accountData","_bambiPlayer","_cargoType"];
_sessionID = _this select 0;
_parameters = _this select 1;
_requestingPlayer = _sessionID call ExileServer_system_session_getPlayerObject;

_bambiuniforms = [
            "U_C_Journalist",
            "U_C_Poloshirt_blue",
            "U_C_Poloshirt_burgundy",
            "U_C_Poloshirt_salmon",
            "U_C_Poloshirt_stripped",
            "U_C_Poloshirt_tricolour",
            "U_C_Poor_1",
            "U_C_Poor_2",
            "U_C_Poor_shorts_1",
            "U_C_Scientist",
            "U_OrestesBody",
            "U_Rangemaster",
            "U_NikosAgedBody",
            "U_NikosBody",
            "U_Competitor",
            "U_B_CombatUniform_mcam",
            "U_B_CombatUniform_mcam_tshirt",
            "U_B_CombatUniform_mcam_vest",
            "U_B_CombatUniform_mcam_worn",
            "U_B_CTRG_1",
            "U_B_CTRG_2",
            "U_B_CTRG_3",
            "U_I_CombatUniform",
            "U_I_CombatUniform_shortsleeve",
            "U_I_CombatUniform_tshirt",
            "U_I_OfficerUniform",
            "U_O_CombatUniform_ocamo",
            "U_O_CombatUniform_oucamo",
            "U_O_OfficerUniform_ocamo",
            "U_B_SpecopsUniform_sgg",
            "U_O_SpecopsUniform_blk",
            "U_O_SpecopsUniform_ocamo",
            "U_I_G_Story_Protagonist_F",
            "Exile_Uniform_Woodland",
            "U_C_HunterBody_grn",
            "U_IG_Guerilla1_1",
            "U_IG_Guerilla2_1",
            "U_IG_Guerilla2_2",
            "U_IG_Guerilla2_3",
            "U_IG_Guerilla3_1",
            "U_BG_Guerilla2_1",
            "U_IG_Guerilla3_2",
            "U_BG_Guerrilla_6_1",
            "U_BG_Guerilla1_1",
            "U_BG_Guerilla2_2",
            "U_BG_Guerilla2_3",
            "U_BG_Guerilla3_1",
            "U_BG_leader",
            "U_IG_leader",
            "U_I_G_resistanceLeader_F"
] call BIS_fnc_selectRandom;
_bambifood = ["Exile_Item_EMRE","Exile_Item_GloriousKnakworst","Exile_Item_Surstromming","Exile_Item_SausageGravy","Exile_Item_Catfood","Exile_Item_ChristmasTinner","Exile_Item_BBQSandwich","Exile_Item_Dogfood","Exile_Item_BeefParts","Exile_Item_Cheathas","Exile_Item_Noodles","Exile_Item_SeedAstics","Exile_Item_Raisins","Exile_Item_Moobar"] call BIS_fnc_selectRandom;
_bambidrink = ["Exile_Item_PlasticBottleCoffee","Exile_Item_PowerDrink","Exile_Item_PlasticBottleFreshWater","Exile_Item_Beer","Exile_Item_EnergyDrink","Exile_Item_MountainDupe"] call BIS_fnc_selectRandom;

try
{
    if (isNull _requestingPlayer) then 
    {
        throw format ["Session %1 requested a bambi character, but doesn't have a player object. Hacker or Monday?", _sessionID];
    };
    _spawnLocationMarkerName = _parameters select 0;
    _playerUID = getPlayerUID _requestingPlayer;
    if(_playerUID isEqualTo "")then
    {
        throw format ["Player: '%1' has no player UID. Arma/Steam sucks!.",name _requestingPlayer];
    };
    _accountData = format["getAccountStats:%1", _playerUID] call ExileServer_system_database_query_selectSingle;
    _group = call ExileServer_system_group_getOrCreateLoneWolfGroup;
    _bambiPlayer = _group createUnit ["Exile_Unit_Player", [0,0,0], [], 0, "CAN_COLLIDE"];
    _bambiplayer forceadduniform _bambiuniforms;
    _bambiplayer addItem _bambifood;
    _bambiplayer addItem _bambidrink;
    removeHeadgear _bambiPlayer;
    {
        _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");
    [_sessionID, _requestingPlayer, _spawnLocationMarkerName, _bambiPlayer, _accountData] call ExileServer_object_player_createBambi;
}
catch
{
    _exception call ExileServer_util_log;
};

I can get the rpt error if needed. Let me know if this can be fixed?  Thanks in advance. 

Share this post


Link to post
Share on other sites
Advertisement
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.