gadjr114 11 Posted May 10, 2015 So, I'm making a cooperative multiplayer mission and am running into two problems that I need assistance with: 1. I need a simple way to be able to respawn if one of us dies. Is there a SIMPLE script or even something in-game that would accomplish this? 2. I have made custom load-outs for the enemies on the map (all stock A3 items and weapons, no add-on equipment) and my intentions were for the players to be able to loot the gear off of the enemies once they were taken out (guns, ammo, clothes, vests, ect - but more importantly the compasses, watches, binoculars, maps, ect.). When I (the game's host) loot an enemy, I can loot everything from the body. When my friend loots a body, he can't loot items like the watch, compass, binoculars, map, gps, radio, or headgear like hats. Does anyone know why is happens???? Thank in advance! Share this post Link to post Share on other sites
dreadedentity 278 Posted May 10, 2015 1. description.ext 2. Your friend needs to drag the items from the body to the "ground" tab, then pick them up from there Share this post Link to post Share on other sites
gadjr114 11 Posted May 10, 2015 1. description.ext2. Your friend needs to drag the items from the body to the "ground" tab, then pick them up from there ------------ 1. Thanks for the link to the description.ext thing, but I'm not really sure what to do with it? I just want to be able to respawn (preferably on the group leader) after 10 seconds or so once killed. Is that possible? and is it something simple? 2. Thank you for the information about having to drag the items to the ground and then pick them up. Is this just a wierd bug or is there a reason for it? Share this post Link to post Share on other sites
dreadedentity 278 Posted May 10, 2015 1. You need to create a file and put it in your mission folder called description.ext. When you open that file in a text editor, you can use everything on that webpage I posted. Here is an example description.ext that I just pulled out of a random mission (Luckily, this particular description.ext was being used to experiment with multi-line #define's to create variable classes): author = DreadedEntity; #include "ACS\resources\BaseClasses.hpp" #include "ACS\resources\AdvancedConversationSystem.hpp" #include "ACS\resources\ACS_Editor.hpp" class CfgFunctions { #include "ACS\resources\ACS_functions.txt" #include "ACS\resources\ACSCE_functions.txt" }; #define TESTCLASS(WTF,IS,THIS) \ class TEST##WTF## \ { \ value1 = #IS; \ value2 = #THIS; \ } TESTCLASS(HOWDOESTHISWORK,mystring1,mystring2); You have 2 choices regarding how you want to make the respawn work, you can use respawn type "GROUP" or "BASE". If you choose to have respawn type "BASE" you will need to create a marker called "respawn_west", and to make sure you respawn at the leader you should also have a background loop running that keeps setting the marker position to the group leader position (NOTE: I have no idea what will happen if the group leader dies). The "GROUP" type respawn seems to just respawn you somewhere near the group, but not necessarily the leader, but it's a lot easier to implement. Then you can set a respawn timer of 10 seconds using the "respawnDelay" attribute. Here's an example: author = "gadjr114"; respawn = "GROUP"; respawnDelay = 10; 2. It's just a weird bug that's always been in the game (and probably always will), the "drop-to-ground" solution is the only way I've found to pick up those bugged items. Share this post Link to post Share on other sites
gadjr114 11 Posted May 10, 2015 So I just have to make a description.ext file, edit it as a txt and just put this in there: author = "gadjr114"; respawn = "GROUP"; respawnDelay = 10; Then change it back to an .ext file?? Do I have to put a trigger on the map to "fire" the .ext file or does it start it automatically when the mission starts? Does the "author" name matter? Like, can I make that say whatever I want it to? Also, this won't allow the enemy AI to respawn, correct? Just BLUFOR players, right? Share this post Link to post Share on other sites
gadjr114 11 Posted May 10, 2015 Okay, so I've been playing around with the description.ext file and pretty much have it down now. I even got the respawn to work where it respawns where we die at. Next question is if there's a way to either respawn with the exact gear/equipment that we had when we died or if there's a way to just respawn with a a pistol, two mags, and a uniform - nothing else. If I can figure out how to respawn with or without certain gear, I'd be set!! Thanks a lot for the help! Share this post Link to post Share on other sites
gadjr114 11 Posted May 11, 2015 So, the items that my friend can't loot off of the enemies already show as on the "ground", not on a "body" so he can't drag them to the ground and then loot them. The items I am talking about are the watch, compass, map, gps, radio, binoculars, and stuff like hats and glasses. Any suggestions?? He can loot them off of a dead civilian, but not a dead OPFOR. Share this post Link to post Share on other sites
Gunter Severloh 4067 Posted May 11, 2015 You can use VAS http://www.armaholic.com/page.php?id=19134 or virtual arsenal, build a custom loadout for your gear and then save it, you can either reload your loadout or you will need a script to load your gear that you had when you died. You could use something like this http://www.armaholic.com/page.php?id=20196 which when you set it up has revive, or you can set it up where you can respawn at base, respawn on your buddy (friendly), or respawn where you died. Share this post Link to post Share on other sites
gadjr114 11 Posted May 11, 2015 Okay, say I want to respawn with nothing other than the standard uniform. Can you post the script on here for me that I can copy and paste into my description.ext file? This is the part that I am not sure how it should look. Currently I have the revive enabled with a spawn point in-case we die, but if we die and then respawn, it starts us with the default rifleman loadout. I just want to respawn with a default NATO uniform, nothing else. Share this post Link to post Share on other sites
seed 11 Posted May 11, 2015 Okay, say I want to respawn with nothing other than the standard uniform. Can you post the script on here for me that I can copy and paste into my description.ext file? This is the part that I am not sure how it should look.Currently I have the revive enabled with a spawn point in-case we die, but if we die and then respawn, it starts us with the default rifleman loadout. I just want to respawn with a default NATO uniform, nothing else. You could try this : On your Description.ext author = "gadjr114"; respawn = "GROUP"; respawnDelay = 10; respawnTemplates[] = {"MenuInventory"}; class CfgRespawnInventory { class Gear1 { displayName = "Private Gear"; // Name visible in the menu icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa"; // Icon displayed next to the name // Loadout definition, uses same entries as CfgVehicles classes weapons[] = { "Binocular", "hgun_Pistol_heavy_01_F" }; magazines[] = { "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag" }; items[] = { "FirstAidKit" }; linkedItems[] = { "H_Watchcap_blk", "optic_MRD", "muzzle_snds_acp", "NVGoggles", "G_Sport_BlackWhite", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio" }; uniformClass = "U_I_G_Story_Protagonist_F"; backpack = "B_FieldPack_blk"; }; }; Then place on the Init of your unit : [west, "Gear1"] call BIS_fnc_addRespawnInventory; You can change that depending which faction your are. If your where Opfor then you would have placed [east, "Gear1"] call BIS_fnc_addRespawnInventory; You can add more loadouts on the description.ext to choose from. But you should take the time and read through what Günter Severloh and DreadedEntity have posted. Regards Seed Share this post Link to post Share on other sites
JesterOC 10 Posted May 11, 2015 (edited) Hello all, I am begining to create some simple missions for friends and on my machine I have been able to add a description.ext file and it works for me when I test it. However when I push it to the workshop (to friends only) the description.ext does not appear to transfer. When another machine hosts the game, there is no respawning. Also I noticed that when a client fulfilled the end game trigger, the mission only ended on his machine, the host and another client were still walking around. Is there a special setting I need to use to make sure it works the same on other machines as it does on mine. Thanks Nevermind the red section. when I saved the mission under a new name I assumed the description.ext would be copied also. It is not. Edited May 12, 2015 by JesterOC Share this post Link to post Share on other sites