Jump to content

Question

good evening all,

Once again i am in a pickle, I am setting up a new server, I am wondering how to set up custom load outs

AND how to edit players loadouts that already have items.

 

Thanks in advance

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You can change the default loadout: 
https://epochmod.com/forum/topic/43026-default-loadout/
 

[Added] Ability to fully change default player loadouts via CfgEpochServer configs:
(defaultGoggles, defaultHeadgear, defaultBackpack, defaultVestFemale, defaultVestMale, defaultUniformFemale, defaultUniformMale, itemsInContainers, weaponsInContainers, normalMagazines, weaponsAndItems)

Custom per player loadouts, could be added easily. This is the file that is responsible for assigning the default loadout and can be edited to your liking.

Below is an example of how to add custom loadouts to A3 Epoch. Insert this code (and edit as desired) just below the default loadout section: https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf#L79

if (_playerUID in ["12345678","45678910"]) then { // Change these to equal the STEAM64ID of each player you want to have this loadout.
	_uniform = "U_Test_uniform";
	_class = "Epoch_Female_F";
	_vest = "V_F41_EPOCH";
	if (_this select 1) then { //true == male
		_uniform = "U_Test1_uniform";
		_class = "Epoch_Male_F";
		_vest = "V_41_EPOCH";
	};
	_goggles = "";
	_headgear = "";
	_backpack = "";
	_linkedItems = ["ItemMap","EpochRadio0"];
	_itemsInContainers = [];
	_weaponsInContainers = [];
	_normalMagazines = [];
	_weaponsAndItems = [];
};

GLHF!

If you are wanting to edit loadouts for players that already have items, directly editing the database should work. Use/Download: https://redisdesktop.com/

Share this post


Link to post
Share on other sites

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


  • Similar Content

    • By xDUKEx
      * Sorry ... This should be ARMA 2 not ARMA 3 ... Not sure how I got myself into the wrong forum*
      I'm currently on Epoch 1.0.6.2 and I've been banging my head against the wall when it comes to getting my intro.ogg file to play when a  player connects to the server. 
      I've been using some of my old server scripts to try to build a new one, and I've been online searching for a current script ... but they all seem pretty old and I wonder if they are still working.  Everyone I have tried does nothing.  I've tried adding it to a welcome message/credits script and to a camera intro script but nothing happens.  Actually, I can't even seem to get my stock Server Rules .sqf to stop running.  It's getting really frustrating. 
      Then I found the server_playerLogin.sqf and I wondered if maybe I needed to script the code in here?
      If anyone knows of a current playsound / welcome credits / camera intro script, in any combination of the three or you know where I should be placing the script, I would GREATLY appreciate it.
       
      Thanks!
    • By vbawol
      I am proud to present to you Arma 3 Epoch Mod version 1.0. This update represents the cumulative volunteer effort over 4 years by me and more than a dozen people and this latest update would not possible without help from these great developers: @He-Man, @DirtySanchez, @Raymix, @orangesherbet , @pumba and @Helion4. An extra thanks go to our donors and GSP sponsors for your ongoing support.
      Full Changelogs:
      https://github.com/EpochModTeam/Epoch/blob/release/changelog.md

      Release Notes:
      Added
      Favorites bar - Players can pin (almost) any item to the bar by dragging items from inventory to equip/un-equip (Weapons, attachments, headgear, etc.) or consume (eat, drink, build etc) using keyboard mapping without having gear open. Use ESC menu to change the mappings. Server admins, see client_init.sqf for config. Advanced Vehicle Repair System - Repairing your vehicle just got more realistic. Patch a leaky fuel tank with Duct Tape. If you blow a tire you now need to find a Spare. Engine too damaged? you'll need to grab an engine block to repair it.  Repair Items: Duct Tape - Used to repair fuel tanks. Fuel Tank - Replacement fuel tank. Spare Tire -  Repairs a blown out tire. Engine Parts - Repair parts for Engines. Engine Block - Replacement engine block. Glass - Fixes broken window glass. Rotors - Repairs helicopter rotors. Vehicles Armed Mosquito: helicopter variant that comes with 3 Grenades. Vehicle Upgrade System - Upgrade your ride by using one of the new vehicle upgrade documents found in the world. Vehicle Ammo Reloading from Inventory and Vehicle Ammo. Vector Base Building - Build in any direction or angle you want. (uses Arrow keys by default and with SHIFT / ALT you can control the steps). Base Building: Quarter and Half wood floors. Concrete floor. Cinder wall with a window. Cinder wall with a metal door and window shutter. Barbed Wire. Concrete and Metal Towers. A-frame and Domed Tents. Burn Barrel Wooden Light Pole Small (forest and desert) Camo Nets Large (forest and desert) Camo Nets Camp Fire Field Toilet Scaffolding Sink (water source), Single and Double Portable Lights Lifeguard Tower Sun Shade Fuel Pump Small Sandbag Bunker Short Sandbag Wall Long Sandbag Wall Bar Gate Water Pump Crafting Canvas Smelting Tools Female outfits 84 new outfits based on 20 top designs and 4 new pairs of jeans. Halloween masks Witch Skull Ghostface Plague Hockey Medical items: Adrenaline Shot Caffeine Pills Orlistat Pills Vitamins Antibiotic Atropine (Radiation Toxicity) Nanite Pills, Cream, and Shot (Radiation Toxicity) Iodide Pills (Radiation Toxicity) Food items: 100 Krypto Candy Bar RedKing Burger BluKing Burger Gyro Wrap Ice Cream Cereal Powdered Milk Box o Rice Farming System: Craftable farm garden plot, Just place seeds and watch it grow. Seeds for growing: Goldenseal, Hemp, Poppy, Pumpkin, Sunflower. Karma System: Will affect your ability to perform certain missions and purchase some items in the future. Karma changes for deaths, suicides, PvP, trader kills, revives, trading sales and purchases. Radiation System Out of bounds radiation Digital Geiger counter Satellite crash event Dynamic Debris Vehicle wrecks that can be broken down to scrap metal using the sledgehammer. Trash and other debris on the roadways that can be "Examined" for loot.  Epoch Events 3.0: Support for external pbo based events. see epoch_server_vip_event or epoch_server_debris_event for examples. VIP Event: Reveals the map location of a random player that possesses a specific item (default: ItemBriefcaseGold100oz) every X (default: 15) minutes. Epoch Dev Libs: See https://github.com/EpochModTeam/Epoch/tree/experimental/Tools/DevFrameWork for more info. Dynamic Simulation is now fully enabled. See "CfgDynamicSimulation" for configs. Misc Items: Seed-based dynamic "underground" bunker concept using VR map.    Barrel Bomb: large craft-able explosive that can be placed and detonated. Brown Briefcase: that contains 100oz Silver. Bio Hazard bag "Zombie Parts Bag". Custom map markers and icons. Option to drink with your hands from water sources found in the world with an added chance for toxicity. Md5 hash function, See usage example with EPOCH_fnc_server_hiveMD5 SQF function. Map support for Malden 2035. Map support for Chernarus Redux. Changed
      Crafting recipes can now have item requirements and Crafting metal bars now require Smelting Tools. Karma now persists death and was moved to community stats. Optimized player saving and loading. CBA extended event handler and zeus curator support for Epoch Vehicles. Base PlotPole ESP added to Epoch Admin Panel. Helper arrow to indicate the door-opening direction for Base Building.  Made ServicePoint more configurable. Base Building: Elements can be detached to walk around the Element before saving. Replaced 0/90/180/270° direction build mode with "Rotate 90°". Max building height now will be checked directly at building element placement. Separated Hunger and Thirst loss values. Hunger and Thirst loss rates are now affected by server time Multiplier. Gas Station Auto-Refuel is now disabled on all maps by default. Note that this update requires extension (epochserver.dll/so) updates server side. Fixed
      Player stats variables are now obfuscated, and hitpoints tracked via the server. Bad conversion: bool RPT spam caused by incorrect usage of configClasses. Snapping issues with base building. Sounds not working due to changes to 3dSay command in recent A3 updates. Spawning at base above Water was not working correctly. One step is higher on stairs, can't run up while crouched. L85 Elcan optic issues. Zombie falsely triggers Mission success. Base Building 90° and 270° Snap was broken. Sometimes snapped Base Building elements rotated back on save. BE kicks since 1.76.  
       
       
    • By Schalldampfer
      https://github.com/andgregor/dayZ-AI-Bus-Route
      While testing this old script in Epoch 1.0.6.1, I got an issue:
      When I ride on the bus which an AI is driving, the bus start driving well.
      But after running about some ten or hundred meters away,
      the bus suddenly stop and damage me as if there's an invisible barrier in front of me, 
      and it starts bouncing like a football there.
       
      I want any idea to make the script works well.
      ---
      I have changed a part of init_bus.sqf from
      to
      to make it work in 1061, and player_axebus.qf to
      to make it work for any player skin.
    • By Flo|Atompilz
      I need some Help with Mad arma 
      i got same version from server in my mod list and get all the time 
      Wrong signature Chums buggy !!!
      what can be wrong?
    • By harcosgoogle
      Hi!
       
      How to fix Bug?
       
      The image is darkened,As if the character wanted to faint,darkens.
       
      Sometimes it happens,Random
       
      And: Tired of character, bad targeting too
       
      R3f?
       
      Thanks,Sorry NO SPEAK ENGLISH :)
  • Advertisement
  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Latest Donations

  • Advertisement
  • Discord

×