Cavadus Posted January 12, 2016 Report Share Posted January 12, 2016 So in 0.3.5.0... Spoiler [Added] Ability to fully change default player loadouts via CfgEpochServer configs: (defaultGoggles, defaultHeadgear, defaultBackpack, defaultVestFemale, defaultVestMale, defaultUniformFemale, defaultUniformMale, itemsInContainers, weaponsInContainers, normalMagazines, weaponsAndItems) CfgEpochServer configs. Ummmm, where in the server file structure is that file? Thanks. Link to comment Share on other sites More sharing options...
1 He-Man Posted January 12, 2016 Report Share Posted January 12, 2016 Epochconfig.hpp: defaultUniformFemale = "U_Test_uniform"; defaultVestFemale = "V_F41_EPOCH"; defaultUniformMale = "U_Test1_uniform"; defaultVestMale = "V_41_EPOCH"; defaultGoggles = ""; linkedItems[] = {"ItemMap"}; itemsInContainers[] = {}; weaponsInContainers[] = {}; normalMagazines[] = {}; weaponsAndItems[] = { "srifle_EBR_F", // Current Weapon { {"srifle_EBR_F","muzzle_snds_B","acc_pointer_IR","optic_DMS","bipod_02_F_blk",{"20Rnd_762x51_Mag",20}}, // Weapon 1 + Attach + Mags {"srifle_EBR_F","muzzle_snds_B","acc_pointer_IR","optic_DMS","bipod_02_F_blk",{"20Rnd_762x51_Mag",20}} // Weapon 2 + Attach + Mags }, {"srifle_EBR_F"} // Weapons on Man (not in Inventory) }; Cavadus 1 Link to comment Share on other sites More sharing options...
1 mgm Posted January 12, 2016 Report Share Posted January 12, 2016 3 hours ago, Cavadus said: So I don't have any of that in my EpochConfig.hpp. Running a server hosted by GTX. Do I simply copy-->paste that code into the bottom? you sure can go with the trial & error method if you have an abundance of time but the most efficient way if you ask your game hosting provider as they know their stuff best. Link to comment Share on other sites More sharing options...
1 He-Man Posted January 14, 2016 Report Share Posted January 14, 2016 Yes, copy and paste it. But in "my" code you will have automatic a mk18! Delete it, if you dont't want to have a weapon on respawn. You can also only paste the leadouts you want. For example, if you only want to change the uniform, this will be enough: defaultUniformMale = "xxxxxxxx"; Link to comment Share on other sites More sharing options...
1 Ghostrider-GRG Posted January 14, 2016 Report Share Posted January 14, 2016 Just to clarify, the file you need to modify is in a folder named @epochhive. I believe GTX uses TCAdmin as a user interface and that may allow you to access @epochhive via the file brower function. epochconfig.hpp is also often one of the editable files listed in TCAdmin under configuration files. Cheers, Ghost Link to comment Share on other sites More sharing options...
1 He-Man Posted January 19, 2016 Report Share Posted January 19, 2016 If you delete the lines, the standard epoch leadout (small bag) will be set. If you set your example above, the players should have no bag. Link to comment Share on other sites More sharing options...
0 Cavadus Posted January 12, 2016 Author Report Share Posted January 12, 2016 So I don't have any of that in my EpochConfig.hpp. Running a server hosted by GTX. Do I simply copy-->paste that code into the bottom? Link to comment Share on other sites More sharing options...
0 Cavadus Posted January 13, 2016 Author Report Share Posted January 13, 2016 Argh, so here's the response I got from GTX: Quote You will need too find a guide on how and where too paste the code i have not done this my self so i am not too sure, maybe also check our gtx forums. Halp. Link to comment Share on other sites More sharing options...
0 Cavadus Posted January 13, 2016 Author Report Share Posted January 13, 2016 Anybody? Link to comment Share on other sites More sharing options...
0 Cavadus Posted January 14, 2016 Author Report Share Posted January 14, 2016 Awesome, got it working. Thanks, everyone :) Link to comment Share on other sites More sharing options...
0 Cavadus Posted January 19, 2016 Author Report Share Posted January 19, 2016 If I wanted something to be empty would I just leave in a blank field? I didn't set up default vests so my players are spawning in with a fanny pack and a sports bag but that's too much storage. I'd rather have the pack then the fanny pack so would just throwing in the default vests get rid of the fanny pack? So like this: defaultVestFemale = ""; defaultVestMale = ""; Link to comment Share on other sites More sharing options...
0 Cavadus Posted January 19, 2016 Author Report Share Posted January 19, 2016 Cool, that's exactly what I wanted to know. Thank you! Link to comment Share on other sites More sharing options...
0 He-Man Posted May 12, 2017 Report Share Posted May 12, 2017 I have made a pull request for the Start-Leadouts. You will find it here: https://github.com/EpochModTeam/Epoch/pull/753/files Drokz, vbawol and natoed 3 Link to comment Share on other sites More sharing options...
Question
Cavadus
So in 0.3.5.0...
[Added] Ability to fully change default player loadouts via CfgEpochServer configs:
(defaultGoggles, defaultHeadgear, defaultBackpack, defaultVestFemale, defaultVestMale, defaultUniformFemale, defaultUniformMale, itemsInContainers, weaponsInContainers, normalMagazines, weaponsAndItems)
CfgEpochServer configs. Ummmm, where in the server file structure is that file?
Thanks.
Link to comment
Share on other sites
12 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