MisterT Posted December 20, 2014 Report Share Posted December 20, 2014 Here is a simple loadouts script you can put into INIt.sqf I put Random Classnames for items. So please Change them according to what you want. if (!isServer) then { waitUntil {!isNull player}; waitUntil {player == player}; while {true} do { _player = player; player addEventHandler ["Respawn", { if (getPlayerUID player in ["0"]) then { player addWeapon "srifle_EBR_F"; player addWeapon "hgun_Pistol_heavy_01_F"; player addWeapon "RPG32_F"; player addMagazine "20Rnd_762x51_Mag"; player addMagazine "11Rnd_45ACP_Mag"; player addMagazine "launch_RPG32_F"; player addWeapon "NVG_EPOCH"; player addWeapon "EpochRadio0"; player addWeapon "ItemMap"; player addWeapon "optic_tws_mg"; player addWeapon "muzzle_snds_B"; player addWeapon "ItemGPS"; player addWeapon "ItemWatch"; player addWeapon "ItemCompass"; player addWeapon "RangeFinder"; player addWeapon "hgun_Pistol_heavy_01_F"; player addBackpack "B_Carryall_cbr"; player addVest "V_TacVest_camo"; player addItemToBackpack "FirstAidKit"; player addItemToVest "10Rnd_762x51_Mag"; player addItemToVest "10Rnd_762x51_Mag"; player addItemToVest "11Rnd_45ACP_Mag"; player addItemToVest "WhiskeyNoodle"; player addItemToVest "ItemSodaOrangeSherbet"; player addItemToVest "meatballs_epoch"; player addItemToVest "sweetcorn_epoch"; player addItemToVest "scam_epoch"; player addItemToVest "ItemSodaRbull"; player addItemToVest "ItemSodaRbull"; player addItemToBackpack "ItemLockbox"; player addItemToBackpack "20Rnd_762x51_Mag"; player addItemToBackpack "20Rnd_762x51_Mag"; player addItemToBackpack "11Rnd_45ACP_Mag"; player addItemToBackpack "11Rnd_45ACP_Mag"; player addItemToBackpack "CinderBlocks"; player addItemToBackpack "CinderBlocks"; player addItemToBackpack "CinderBlocks"; player addItemToBackpack "CinderBlocks"; player addItemToBackpack "CinderBlocks"; player addItemToBackpack "ItemCorrugated"; player addItemToBackpack "MortarBucket"; player addItemToBackpack "launch_NLAW_F"; player addItemToBackpack "launch_NLAW_F"; player addItemToBackpack "HeatPack"; player addItemToBackpack "ColdPack"; player addItemToBackpack "FirstAidKit"; player addItemToBackpack "MeleeSledge"; player addItemToBackpack "Hatchet"; player forceAddUniform "U_O_GhillieSuit"; EPOCH_playerCrypto = 30000; } else { player addWeapon "EpochRadio0"; player addWeapon "ItemMap"; player addWeapon "hgun_Pistol_heavy_01_F"; player addMagazine "11Rnd_45ACP_Mag"; EPOCH_playerCrypto = 100; }; }]; waitUntil {_player != player}; }; }; Top one with "0" = Admin steamdid the one with 7656xxxxxxxxxxx after the else if is regular player loadouts. OR YOU CAN ADD STEAMID SERVER SIDE SO THEY ARE NOT PUBLIC. BELOW IS HOW. if (getPlayerUID player in admin_list) then { Than adding the admin_list to yout admin.sqf admin.sqf admin_list = ["0"]; Put admin.sqf in root directory. Open up missions.sqm Goto line 81 ADD THIS init="if (isServer) then {execVM '\admin.sqf';};"; BELOW skill=0.60000002; Should look like this class Item0 { position[]={14090.048,11.188511,11554.008}; azimut=136.241; special="NONE"; id=0; side="CIV"; vehicle="VirtualMan_EPOCH"; player="PLAY CDG"; leader=1; skill=0.60000002; init="if (isServer) then {execVM '\admin.sqf';};"; }; Any questions let me know. Hope this helps someone. Mister T. teamcrisiz, Tobias Solem, ZENITHOVMAN and 4 others 7 Link to comment Share on other sites More sharing options...
Tobias Solem Posted December 20, 2014 Report Share Posted December 20, 2014 Thank you for this! MisterT 1 Link to comment Share on other sites More sharing options...
ThelMightylThor Posted December 20, 2014 Report Share Posted December 20, 2014 Is the addItemToVest/Backpack required or can you just do addItem? Link to comment Share on other sites More sharing options...
MisterT Posted December 20, 2014 Author Report Share Posted December 20, 2014 Is the addItemToVest/Backpack required or can you just do addItem? Add Item to Vest https://community.bistudio.com/wiki/addItemToVest Add Item to Backpack https://community.bistudio.com/wiki/addItemToBackpack If you want a item in a certain spot yes. Link to comment Share on other sites More sharing options...
MisterT Posted December 20, 2014 Author Report Share Posted December 20, 2014 Thank you for this! No problemo MerryXmas!!! Link to comment Share on other sites More sharing options...
teamcrisiz Posted December 20, 2014 Report Share Posted December 20, 2014 many thanks for your share. Link to comment Share on other sites More sharing options...
pr0dukt Posted December 20, 2014 Report Share Posted December 20, 2014 Awesome share thanks man. One of us need to put together a clothing unlock script, for cross faction uniforms. Would open up more options for clothing finds on the map. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted December 21, 2014 Report Share Posted December 21, 2014 Gives lots of script.txt errors and kicks when trying to use this. Link to comment Share on other sites More sharing options...
MisterT Posted December 21, 2014 Author Report Share Posted December 21, 2014 Gives lots of script.txt errors and kicks when trying to use this. Paste your Script kick error. This is BattleEye. Link to comment Share on other sites More sharing options...
MisterT Posted December 21, 2014 Author Report Share Posted December 21, 2014 Awesome share thanks man. One of us need to put together a clothing unlock script, for cross faction uniforms. Would open up more options for clothing finds on the map. I'll get this going. Link to comment Share on other sites More sharing options...
Tobias Solem Posted December 21, 2014 Report Share Posted December 21, 2014 Hmm, just a question. When you do this clientside, and add an exception to BattlEye, won't this basically open a hole for anyone spawning in whatever they want? Is there any way to do this completely serverside instead? Link to comment Share on other sites More sharing options...
Friendly Posted December 21, 2014 Report Share Posted December 21, 2014 Hmm, just a question. When you do this clientside, and add an exception to BattlEye, won't this basically open a hole for anyone spawning in whatever they want? Is there any way to do this completely serverside instead? Yes there will be a whole in a way that certain hacks might allow very minimal things go through. But no one will know what is possible on which server without actually doing it, and it will still log what they are doing. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted December 21, 2014 Report Share Posted December 21, 2014 Paste your Script kick error. This is BattleEye. 20.12.2014 19:12:56: [SoA]Darth_Rogue (69.180.175.228:2304) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - #25 "k "B_Carryall_cbr"; player addVest "V_TacVest_camo"; player addItemToBackpack "FirstAidKit"; player addItemToVest "10Rnd_762x51_" 20.12.2014 19:14:42: [SoA]Darth_Rogue (69.180.175.228:2304) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - #26 "inder"; player addWeapon "hgun_Pistol_heavy_01_F"; player addBackpack "B_Carryall_cbr"; player addVest "V_TacVest_camo"; player " I'm sure I could figure it out but I just spent two days fixing BE restrictions so I could run JSRS and I don't have the brain power left for this. lol Link to comment Share on other sites More sharing options...
Saltzman Posted December 21, 2014 Report Share Posted December 21, 2014 If I dont have admin.sqf, obviously I will have to make one right? Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted December 21, 2014 Report Share Posted December 21, 2014 Oh boy... custom loadouts. Let the care bears begin. Pringlez, happydayz and Santa 3 Link to comment Share on other sites More sharing options...
Darth_Rogue Posted December 21, 2014 Report Share Posted December 21, 2014 Oh boy... custom loadouts. Let the care bears begin. Yeah the more I think about this the more I don't like it. Stuff is pretty easy to get in Epoch as it is. The only legit rationale I can think of for doing a starting loadout would be to give freshies a sidearm so they at least have a chance at defending themselves from spawn rapers. Other than that it's just dumbing things down too much. Chainsaw Squirrel 1 Link to comment Share on other sites More sharing options...
Tobias Solem Posted December 21, 2014 Report Share Posted December 21, 2014 Personally I am thinking that variety in loadouts is a nice dynamic, for example: Having every player spawn in an array of different clothing items. Or having people from a certain group (eg. admins) carry a certain piece of gear, etc. - you do not necessarily need to use this for "bad" reasons. Link to comment Share on other sites More sharing options...
horbin Posted December 21, 2014 Report Share Posted December 21, 2014 ya, might as well turn off battleye if you let this script run :) I do like the idea. Permits alot of options, such as checking if a player had a 'token' upon death, and enabling them to spawn with different gear. Sort of like a clone bank token..while they are cloning you, they go ahead and spend some credits and energy to reproduce a some gear for you. cring0 1 Link to comment Share on other sites More sharing options...
itsatrap Posted December 21, 2014 Report Share Posted December 21, 2014 if your admin why not use the admin menu to get your gear ? this is just n00b mod on for playes, your spawn with a map and a man purse what more do you need :) kayzee 1 Link to comment Share on other sites More sharing options...
ZENITHOVMAN Posted December 21, 2014 Report Share Posted December 21, 2014 WOW, What a game breaker :( now every nub will be adding this to their already empty servers. What ever happened to Survival Simulation? The Adventure? The Hunger? The Thirst? The Fear? Ahh the memories of when two fresh spawns meet up ingame and worked together to get geared up and start building. :rolleyes: These kind of additions only promote spawn killing and headaches for Admins and Moderators alike. I joined a server just yesterday which I will not name, and to my surprise upon spawn there is a huge crate with all sorts of gear in there. Not just food and clothing ,but everything from M107's to Quad Bikes. Well my jaw hit the ground "WTF" were my first thoughts. WOW What a Game Breaker! The Mod is supposed to be difficult! STENCH happydayz, MisterT, Havoc302 and 2 others 5 Link to comment Share on other sites More sharing options...
matrixmark Posted December 21, 2014 Report Share Posted December 21, 2014 20.12.2014 19:12:56: [SoA]Darth_Rogue (69.180.175.228:2304) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - #25 "k "B_Carryall_cbr"; player addVest "V_TacVest_camo"; player addItemToBackpack "FirstAidKit"; player addItemToVest "10Rnd_762x51_" 20.12.2014 19:14:42: [SoA]Darth_Rogue (69.180.175.228:2304) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - #26 "inder"; player addWeapon "hgun_Pistol_heavy_01_F"; player addBackpack "B_Carryall_cbr"; player addVest "V_TacVest_camo"; player " I'm sure I could figure it out but I just spent two days fixing BE restrictions so I could run JSRS and I don't have the brain power left for this. lol Yea pretty much same kicks I'm getting. Link to comment Share on other sites More sharing options...
pr0dukt Posted December 27, 2014 Report Share Posted December 27, 2014 This won't load from the init oddly. No change in loadouts. Couldn't find anything in the rpt about it either. Link to comment Share on other sites More sharing options...
Riddlez Posted December 27, 2014 Report Share Posted December 27, 2014 yes frustrating id like to add a couple of random loadouts for spawns just to add a variety from the same newb gear all the time. Link to comment Share on other sites More sharing options...
blckeagls Posted December 27, 2014 Report Share Posted December 27, 2014 This won't load from the init oddly. No change in loadouts. Couldn't find anything in the rpt about it either. Due to this: player addEventHandler ["Respawn", { if (getPlayerUID player in ["0"]) then { \\admin id it will only happen on respawn.. Also, you need the player ID's in there... Link to comment Share on other sites More sharing options...
MisterT Posted December 27, 2014 Author Report Share Posted December 27, 2014 You can use this above way as stated by blckeagls or setup a admin.sqf in the root directory. Private msg me if you need help Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now