Jump to content
  • 1

User Loadouts


Froanta

Question

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/

Link to comment
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
  • Discord

×
×
  • Create New...