Welcome to Epoch Mod Community

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

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

  • 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
  • 0

Thanks for that @vbawol - that's very useful.

@Froanta you may also want to take a look at

and see whether that suits you needs. Works pretty well

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 JakeQue
      Hi,
       
      I've recently tried to edit the spawn select mod and everytime a player dies, I get the message displayed twice      Bob was Killed     Bob was killed.
      When the player respawns the spawn select isn't there and I spawn into worldspace with the same items as when I died and 2 of my old bodies on the floor.
      Any help would be appreciated.
      arma2oaserver.RPT :
      if (isServer) > 16:01:43 Error Undefined variable in expression: dze_deployables_config 16:01:43 File mpmissions\DayZ_Epoch_11.Chernarus\addons\bike\init.sqf, line 35 16:01:43 "Loading custom server compiles" 16:01:44 "HIVE: Starting" 16:01:44 ["TIME SYNC: Local Time set to:",[2012,8,2,13,1],"Fullmoon:",true,"Date given by HiveExt.dll:",[2017,5,25,13,1]] 16:01:44 "HIVE: trying to get objects" 16:01:44 "HIVE: found 6 objects" 16:01:44 "HIVE: Request sent" 16:01:44 "HIVE: Streamed 6 objects" 16:01:44 "Res3tting B!S effects..." 16:01:44 "HIVE: BENCHMARK - Server_monitor.sqf finished streaming 6 objects in 0.169983 seconds (unscheduled)" 16:01:44 "Total Number of spawn locations 6" 16:01:44 "[DZAI] Initializing DZAI version 2.2.1 Release Build 20141208 using base path z\addons\dayz_server\DZAI." 16:01:44 "[DZAI] Reading DZAI configuration file." 16:01:44 "[DZAI] DZAI configuration file loaded." 16:01:44 "[DZAI] Compiling DZAI functions." 16:01:44 "[DZAI] DZAI functions compiled." 16:01:45 "[DZAI] Epoch classnames loaded." 16:01:45 "[DZAI] DZAI settings: Debug Level: 0. DebugMarkers: false. WorldName: chernarus. ModName: epoch (Ver: dayz epoch 1.0.6.1). DZAI_dynamicWeaponList: true. VerifyTables: true." 16:01:45 "[DZAI] AI spawn settings: Static: false. Dynamic: false. Random: false. Air: false. Land: false." 16:01:45 "[DZAI] AI settings: DZAI_findKiller: false. DZAI_useHealthSystem: false. DZAI_weaponNoise: false. DZAI_zombieEnemy: true." 16:01:45 "[DZAI] DZAI loading completed in 0.240997 seconds." 16:01:45 "SERVER FPS: 43 PLAYERS: 1" 16:01:45 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [8818.56,6352.77,0] with 9 items." 16:01:45 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [9552.11,11592.5,0] with 8 items." 16:01:45 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [7750.49,8778.34,0] with 7 items." 16:01:45 "DEBUG: Spawning a care package (Misc_cargo_cont_net1) at [7200.35,5241.69,0] with 5 items." 16:01:45 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [2672.79,6926.47,0] with 7 items." 16:01:45 "DEBUG: Spawning a care package (Misc_cargo_cont_net2) at [6771.79,10043.7,0] with 8 items." 16:01:45 "CRASHSPAWNER: Starting crash site spawner. Frequency: 25±20 min. Spawn chance: 0.75" 16:01:45 "CRASHSPAWNER: Spawning crash site (CrashSite_RU) at [3029.85,11950.4,0] with 6 items." 16:01:46 Strange convex component93 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component94 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component95 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component96 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component99 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component100 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component101 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component102 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component103 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component104 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component105 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component106 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component107 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component108 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component109 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component110 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component111 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component112 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component113 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component114 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component115 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component116 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component117 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component118 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component119 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component120 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component121 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component122 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component123 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component124 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component125 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component126 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component127 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component128 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component129 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component130 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component131 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component132 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component133 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:46 Strange convex component134 in zero_buildings\models\mil_house_i.p3d:geometryView 16:01:55 "HIVE: Vehicle Spawn limit reached!" 16:01:55 "HIVE: Spawning # of Debris: 1" 16:01:56 "HIVE: Spawning # of Ammo Boxes: 3" 16:01:56 "HIVE: Spawning # of Veins: 50" 16:01:57 "HIVE: BENCHMARK - Server finished spawning 0 DynamicVehicles, 1 Debris, 3 SupplyCrates and 50 MineVeins in 11.527 seconds (scheduled)" 16:01:57 "EPOCH EVENTS INIT" 16:01:59 Error in expression <0012207031]; }; _group_8 = createGroup _center_0; _vehicle_627 = objNull; if (> 16:01:59 Error position: <_center_0; _vehicle_627 = objNull; if (> 16:01:59 Error Undefined variable in expression: _center_0 16:01:59 File mpmissions\DayZ_Epoch_11.Chernarus\bsb_updates\bsb_chernarus_plus_v2.sqf, line 3808 16:01:59 Warning Message: Script z\addons\dayz_server\WAI\customsettings.sqf not found 16:01:59 "WAI: AI Config File Loaded" 16:01:59 "WAI: AI Monitor Started" 16:01:59 "WAI: Initialising missions" 16:02:01 "[DZAI] Verified 156 unique classnames in 1.47101 seconds." 16:02:01 "CLEANUP: INITIALIZING Vehicle SCRIPT" 16:02:01 ["z\addons\dayz_server\system\scheduler\sched_sync.sqf","TIME SYNC: Local Time set to:",[2012,8,2,13,2],"Fullmoon:",true,"Date given by HiveExt.dll:",[2017,5,25,13,2]] 16:02:06 "infiSTAR.de - Player-Log: JakeQue(76561198133333192) - 0h 00min | ******ADMIN******" 16:02:09 "Chernarus static spawn configuration loaded." 16:02:09 "INFO - Player: PID#3(JakeQue)(UID:76561198133333192/CID:95) Status: LOGGING IN" 16:02:10 Server: Object 3:8 not found (message 99) 16:02:10 Server: Object 3:6 not found (message 98) 16:02:10 Server: Object 3:7 not found (message 91) 16:02:10 Server: Object 3:9 not found (message 91) 16:02:10 "INFO - Player: PID#3(JakeQue)(UID:76561198133333192/CID:95) Status: LOGIN PUBLISHING, Location Drakon [108129]" 16:02:10 "INFO: Cannot Sync Character JakeQue near respawn_west [-18700,25800,0.00149536]. This is normal when relogging or changing clothes." 16:02:10 "infiSTAR.de fnc_AdminFirstReq: [1234,B 1-1-C:1 (JakeQue) REMOTE,"76561198133333192"]" 16:02:10 "infiSTAR.de ******ADMIN-LOGIN******: JakeQue(76561198133333192)" 16:02:10 "infiSTAR.de fnc_AdminReqProceed: [1234,B 1-1-C:1 (JakeQue) REMOTE,"76561198133333192"]" 16:02:10 "INFO - Player: JakeQue(UID:76561198133333192/CID:95) Status: CLIENT LOADED & PLAYING" 16:02:37 "infiSTAR.de fnc_AdminFirstReq: [4,B 1-1-C:1 (JakeQue) REMOTE,B 1-1-C:1 (JakeQue) REMOTE]" 16:02:37 "infiSTAR.de fnc_AdminReqProceed: [4,B 1-1-C:1 (JakeQue) REMOTE,B 1-1-C:1 (JakeQue) REMOTE]" 16:02:37 "infiSTAR.de PVAH_WriteLog: B 1-1-C:1 (JakeQue) REMOTE JakeQue Adminkilled JakeQue" 16:02:37 "PLAYERDEATH: Player Died 76561198133333192" 16:02:49 "INFO: OnPlayerDisconnect exiting. Player is near respawn_west. This is normal after death. ["76561198133333192","JakeQue"]" 16:02:49 Warning: Cleanup player - person 3:19 not found 16:03:30 "INFO - Player: PID#3(JakeQue)(UID:76561198133333192/CID:95) Status: LOGGING IN" 16:03:30 Server: Object 3:28 not found (message 99) 16:03:30 Server: Object 3:26 not found (message 98)  
    • By SryImAnooB
      Hey guys im trying to make a little script, which allows a player to delete a nearby Object. In that case a "Sr_border".
      First i did it like this:
      With Clickaction.
      removeBorder.sqf
      _nearBorder = nearestObject [player,"Sr_border"]; if (_nearBorder distance player < 5) then { {deleteVehicle _x} forEach nearestObjects [_player, ["Sr_border"], _range] } else { SystemChat "No Carspawn nearby!"; }; Worked pretty good, except for the problem, that after restart the border was back.
      I think thats because the {deleteVehicle _x} is exec. localy.
      So i tryed this:
      init.sqf
      "removecarspawn" addPublicVariableEventHandler { {deleteVehicle _x} forEach nearestObjects [_player, ["Sr_border"], _range] }; removeBorder.sqf
      _nearBorder = nearestObject [player,"Sr_border"]; _range = 5; _player = player; if (_nearBorder distance player < 5) then { publicVariable "removecarspawn"; } else { SystemChat "No Carspawn nearby!"; }; But its not working. Im a bit clueless, any tips for me?
    • By Froanta
      Hello all, Wish the new year is/was well to you's.
      How do I change the trader prices for example Buying something worth 20 Krypto and selling something for 10 krypto?
      Is it even possible, is it a file edit or a database edit?
       
      Thanks!
    • By kangawroon
      Hi! I'm relatively new to this but I know how to edit the various files on my server and pack/unpack PBO's. I've just bought a Epoch-server and I've already set it up with status bar, ATMs and HS-dealers/blackmarkets. I've tried searching through the forums, but there is a couple of things I so far could not find a decent and concrete solution to:
      - functioning Safe Zone script with both vehicle and player protection (in/out notifications would be nice).
      - respawn loadout (default respawn gear)
      - Getting the server to lock itself for 5 minutes after restart (for all scripts to load, I think)
       
       I'm humbly hoping someone out there can help me with at least ONE of these :)
       
  • Latest Donations

  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Advertisement
  • Forum Statistics

    • Total Topics
      26114
    • Total Posts
      241246
  • Member Statistics

    • Total Members
      29234
    • Most Online
      1497

    Newest Member
    Wizz
    Joined