Scaris Posted May 12, 2015 Report Share Posted May 12, 2015 This originally started into a way to stop the underwear clad newly spawned from happening on my server and give myself a way to get my load-out easily back while testing my server without re-looting my body every time. I decided to add a donor section as well as I know many server admin's would like to reward their donors. The script can be found here with instructions: https://github.com/briankgregory/Player-Loadout I am by no means a programmer, it's been years since I did any kind of scripting. However if you are having issues with I will try to assist as long as you have actually read and followed the instructions first. About the script: Has 3 tiers; admin, donors, and player. The Admin and donor lists are stored in a separate easy to edit file I have left examples in the script on how to equip most slots including uniform, vest, backpack, and attaching accessories to weapons. Edit: Now updated to slot attachments to multigun and load rpg. Please thank second_coming for this script as he did all the work. second_coming and tomasz73 2 Link to comment Share on other sites More sharing options...
second_coming Posted May 12, 2015 Report Share Posted May 12, 2015 I think to get the attachment on the multigun (if you have it equipped) you can use : player addHandgunItem "Heal_EPOCH"; // Heal player addHandgunItem "Defib_EPOCH"; // Revive player addHandgunItem "Repair_EPOCH"; // Repair Just choose one Link to comment Share on other sites More sharing options...
Scaris Posted May 12, 2015 Author Report Share Posted May 12, 2015 aha! I will try that! Thanks. Link to comment Share on other sites More sharing options...
cletus Posted May 14, 2015 Report Share Posted May 14, 2015 Thanks this is working nicely. had to edit scripts.txt and createvehicle.txt to stop the kicks Link to comment Share on other sites More sharing options...
Scaris Posted May 14, 2015 Author Report Share Posted May 14, 2015 Yes, depending on what you already have for exceptions in battleye you may have to add some exceptions. Glad it's working for you! Link to comment Share on other sites More sharing options...
tomasz73 Posted May 14, 2015 Report Share Posted May 14, 2015 I added onPlayerRespawn.sqf Admin.sqf Donor.sqf to the folder arma 3 . In donor_list I typed my id (UID) . I got the information Script admin.sqf not found. So I put the epoch.chernarus .pbo and I got the information been kicked out of the game BattleEye PublicVariable Restriction # 0 . What I'm doing wrong? maybe in the wrong place I gave class Sensors? Link to comment Share on other sites More sharing options...
Brogan AGG Posted May 14, 2015 Report Share Posted May 14, 2015 Your class sensors should be under all the Class Items as they are apart of groups Link to comment Share on other sites More sharing options...
Scaris Posted May 14, 2015 Author Report Share Posted May 14, 2015 And you shouldn't have put your userID in StartingLoadout.sqf. It pulls that from the admin or donor lists. You also need to take the second example out if you are not adding other people. The 76xxx is just a dummy spacer that needs to be removed. You have a class hanging outside a group just below that sensor, that is probably causing you issues as well. You need to group them all together as Brogan said above. Link to comment Share on other sites More sharing options...
tomasz73 Posted May 14, 2015 Report Share Posted May 14, 2015 Can someone give screen as it is to be pasted. I still have BattlEye PublicVariable Restriction # 0 Link to comment Share on other sites More sharing options...
Scaris Posted May 15, 2015 Author Report Share Posted May 15, 2015 Paste your publicvariable.log into here and I will try to see what exception you need to add. Link to comment Share on other sites More sharing options...
tomasz73 Posted May 15, 2015 Report Share Posted May 15, 2015 I hope that's what you mean Link to comment Share on other sites More sharing options...
Scaris Posted May 15, 2015 Author Report Share Posted May 15, 2015 ok so open your publicvariable.txt file and add to the end of the line: !="admin_list" !="donor_list" Link to comment Share on other sites More sharing options...
tomasz73 Posted May 15, 2015 Report Share Posted May 15, 2015 Thank you I logged. But I'm naked. How do I add myself and others, for example: weapons, backpack, food. I have tried here but no effects and here Link to comment Share on other sites More sharing options...
Scaris Posted May 15, 2015 Author Report Share Posted May 15, 2015 you need to add your steam64 ID into admin.sqf or donor.sqf. Once you do that, everything should work fine with the exception of whatever battleye exceptions you need to add for what you are equipping on yourself. However, you have the backpack added as a HINT so all you have done is made it say "B-Carryall-Olive" in the top right corner of the screen. I already have a backpack being added in the script. It's line 28 in your editor. Link to comment Share on other sites More sharing options...
tomasz73 Posted May 15, 2015 Report Share Posted May 15, 2015 I can not cope with it added steamID64 in Admin.sqf and the I was still naked I also tried as Donor.sqf nothing has changed Link to comment Share on other sites More sharing options...
speaR Posted May 15, 2015 Report Share Posted May 15, 2015 Great work! Thanks for sharing Link to comment Share on other sites More sharing options...
tomasz73 Posted May 15, 2015 Report Share Posted May 15, 2015 for me it's something new and trying to cope with it. But something did not go Link to comment Share on other sites More sharing options...
Scaris Posted May 15, 2015 Author Report Share Posted May 15, 2015 That ID you are adding is not your steam64 ID, your steam64 looks like this: 76561198127891843 It should start with 765. Link to comment Share on other sites More sharing options...
tomasz73 Posted May 15, 2015 Report Share Posted May 15, 2015 Agrees my steam64 ID 7656119xxxxxxxxxx. And this on the screen is just an example 12345678901234567 . now trying to add only player addWeapon "EpochRadio0"; and they also do not have it at the start. What am I doing wrong? Link to comment Share on other sites More sharing options...
Scaris Posted May 15, 2015 Author Report Share Posted May 15, 2015 Can you put your entire mission file into a zip file and send it to me to look at? Link to comment Share on other sites More sharing options...
tomasz73 Posted May 15, 2015 Report Share Posted May 15, 2015 shortly I will try to send. Link to comment Share on other sites More sharing options...
second_coming Posted May 15, 2015 Report Share Posted May 15, 2015 I can not cope with it added steamID64 in Admin.sqf and the I was still naked I also tried as Donor.sqf nothing has changed You are creating a variable called donor_list but checking for it later as donator_list Link to comment Share on other sites More sharing options...
tomasz73 Posted May 15, 2015 Report Share Posted May 15, 2015 but also I did admin_list and there was no change. This change donator_list and see Link to comment Share on other sites More sharing options...
second_coming Posted May 15, 2015 Report Share Posted May 15, 2015 If you are on a dedicated server the file admin.sqf needs to go in the same folder as your arma3server.exe not in your mission file. Link to comment Share on other sites More sharing options...
Steven1230 Posted May 16, 2015 Report Share Posted May 16, 2015 Im not able to get this to work on my end. I put the 3 files in the root of the server then the other in my mission.pbo folder. Along with that I added my arma ID like stated. Still spawn in with an undi mess. Edit: I also added the code that was required in the proper files. Link to comment Share on other sites More sharing options...
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