CommanderWolf Posted July 5, 2014 Report Share Posted July 5, 2014 Can anyone share a custom loadout for overpoch? ive tried the one for epoch but it bugs the server/waiting for host Link to comment Share on other sites More sharing options...
0 insertcoins Posted July 5, 2014 Report Share Posted July 5, 2014 Do you mean the regular every player load out everyone gets? Link to comment Share on other sites More sharing options...
0 STENCHOVDETH Posted July 5, 2014 Report Share Posted July 5, 2014 Hello CommanderWolf, This is just one for me but can be replicated into many. loadout.sqf //________________________________start_loadout_______________________________ private ["_isSet","_puid"]; // Get player uid. if (!isDedicated) then { waitUntil {(getPlayerUID player) != ""}; _puid = getPlayerUID player; //diag_log ("Player UID retrieved."); } else { // not player so set to empty. _puid = ""; }; _isSet = false; // Stench if ((_puid == "666666666")) then { DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemAntibiotic","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","FoodSteakCooked","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","Skin_Soldier_TL_PMC_DZ"]; DefaultWeapons = ["glock17_EP1","vil_M110sd","Binocular_Vector","NVGoggles","ItemMap","ItemMatchbox","Itemtoolbox","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemCrowbar","Itemetool","ItemHatchet"]; DefaultBackpack = "DZ_LargeGunBag_EP1"; DefaultBackpackWeapon = "RH_m1stacog"; DefaultBackpackMagazines = ["ItemSodaPepsi","FoodCanPasta"]; _isSet = true; }; if (!(_isSet)) then { DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemWatch","ItemCompass","ItemMap","Itemtoolbox"]; DefaultBackpack = "DZ_TerminalPack_EP1"; DefaultBackpackWeapon = ""; }; //_______________________________finish _loadout____________________________ This method does three things: 1. Sets the loadout for selected player. 2. Sets the default loadout for any other players. 3. Sets gender selection as a requirement. Call it from your mission/init.sqf in this fashion: //Load in compiled functions call compile preprocessFileLineNumbers "file_path\loadout.sqf"; Hope this helps. STENCH Link to comment Share on other sites More sharing options...
0 CommanderWolf Posted July 5, 2014 Author Report Share Posted July 5, 2014 yes insert regular loadouts Link to comment Share on other sites More sharing options...
0 CommanderWolf Posted July 5, 2014 Author Report Share Posted July 5, 2014 stench can you guide me on how to do this properly Link to comment Share on other sites More sharing options...
0 redcloud78 Posted July 5, 2014 Report Share Posted July 5, 2014 Copy and paste into a notepad from stench' post above all the content from here //________________________________start_loadout_______________________________ to //_______________________________finish _loadout____________________________ rename the notepad to loadout.sqf make sure you have show file extensions enabled in windows ( http://lmgtfy.com/?q=show+file+extensions ) upload this to your mission folder here is the path in vilayer to follow to your mission folder ( ) at the bottome of your init.sqf in the same folder paste this //Load in compiled functions call compile preprocessFileLineNumbers "loadout.sqf"; Link to comment Share on other sites More sharing options...
0 mysticviperx Posted July 5, 2014 Report Share Posted July 5, 2014 works fine for me, 90% of everyone else whos used it with 1.0.5.1 they changed one of the loadout varibles: [CHANGED] Replaced variable DefaultBackpackWeapon = ""; with DefaultBackpackItems = [""]; which accepts both weapons and magazines. @icomrade if thats in your code it could be bugging your startup, also over taxed server like overpoch servers will sometimes ignore this script during startup. Link to comment Share on other sites More sharing options...
Question
CommanderWolf
Can anyone share a custom loadout for overpoch? ive tried the one for epoch but it bugs the server/waiting for host
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now