Everest 10 Posted May 5, 2012 Hey everyone, I've been working on a huge missing for a long time now, but some how I've just found out some issues I can't get to work... 1) Ammo boxes. Everytime I go to a ammo box and press "Gear" the ammo box is empty, the werd thing is if I drop my geat in to it the gear lands on top of the box like if I dropped the gear outside the ammo box. I've tested every single ammo box on ArmA II OA but none of them are working it's the same on every box. I've also tested to fill everybox with a script It's not working either. 2) Exporting mission to Multiplayer. So well I wanted to test my mission if on multiplayer to see if there where some issues on the 2D editor but this is also a werd thing. When I enter the server none of my group members or anything are there, everything is empty 0/0 on every group even tho I have 10 members in each group. The mission works fine of course when I test it on the 2D editor besides the ammo boxes thats the only thing that doesn't work on the preview, and on multiplayer none of my groups are displayed it's all empty. If any one have any ideas on how I can solve this please help me out. -Best Regards Everest Share this post Link to post Share on other sites
larsiano 12 Posted May 5, 2012 1) As far as i know all ammo boxes have a standard loadout that if you want altered contents have to be removed by cript to empty out. Every object could be used to support an ammo crate filler cript (by commandline). So i'm guessing your using some mod thats messing things up or the wrong boxes to begin with? If not maybe you can give more info what steps you have taken sofar on the ammo crates and script mods etc in use? 2)maybe you have disabled AI in the MP lobby? or have in a description.ext this: DisabledAI=1; Share this post Link to post Share on other sites
Everest 10 Posted May 5, 2012 1) As far as i know all ammo boxes have a standard loadout that if you want altered contents have to be removed by cript to empty out. Every object could be used to support an ammo crate filler cript (by commandline). So i'm guessing your using some mod thats messing things up or the wrong boxes to begin with? If not maybe you can give more info what steps you have taken sofar on the ammo crates and script mods etc in use?2)maybe you have disabled AI in the MP lobby? or have in a description.ext this: DisabledAI=1; 1) Well you are right tho, I've got @CBA Mod activated, cars & models thats all mod I use but I've also tried to use original US characters but it's still the same, about the scripts I've been trying on I've found one on armaholic (http://www.armaholic.com/page.php?id=11174) I've also had an old on my PC since a while back but that one worked fine at that time, the main issue I think is that something is wrong when I try to open the box by pressing "gear" in the menu because when I drop like a gun or something like that in to the box from my character I've got on the preview I drops the gun outside the box and not inside, It's like your pressing "G" when in game some where on the map and just drop your ammo and such, if you want I can sen pictures how it looks like. 2) At the moment I doesn't have any description file on my server cause I'm not done and I just wanted to check everything out in the game, I'm not sure about it but maby it has something to do with the export from the 3D editor to the 2D editor. Because I've made the template on the 3D editor much easier from there to design thinks ingame. This is accualy the first time I've used the 3D editor found some great tutorials on youtube how to export everything and such. As I mention earlier if you want I'm able to post or make a video about this issues. Share this post Link to post Share on other sites
PELHAM 10 Posted May 6, 2012 I think is that something is wrong when I try to open the box by pressing "gear" in the menu because when I drop like a gun or something like that in to the box from my character I've got on the preview I drops the gun outside the box and not inside, It's like your pressing "G" when in game some where on the map and just drop your ammo and such, if you want I can sen pictures how it looks like. The option to drop is for dropping weapons on the ground, that is normal and what it is designed to do. To put weapons back in the box either select another weapon and it will be automatically swapped or press the < arrow next to the weapon. Share this post Link to post Share on other sites
Gunter Severloh 4068 Posted May 6, 2012 Ya drop is meant for dropping the weapon outside a gear box, just use gear as you would to enter the ammo box and pick a new weapon and the ammo box will basically swap weapons and ammo. choose from the left and it will update on the right. 3D editor is not really supported or even finished, I personally think the 2d editor is faster, of course anything with repetition and practice will be faster for you. Share this post Link to post Share on other sites
Everest 10 Posted May 6, 2012 Well I know how to play ArmA It's not that I'm doing it wrong with the ammo boxes. Check this video I've just uploaded to see what I meen about it. I've just made a simple gamemode at this time with one USMC member and one ammo box. Once I try to open the ammo box there are nothing inside it, and when I drop my gear inside it as well it drops the gear outside the ammo box. As you can see as well I am testing the GM on multiplayer as well and there are no groups at all on that either. Video link: http://youtu.be/YLIJUp7TkE4 Share this post Link to post Share on other sites
PELHAM 10 Posted May 6, 2012 (edited) At 0:18 you press the DROP button and your primary weapons and magazines fall on the ground, the ammo box has weapons in it as is indicated by the numbers on the left. It has precisely the same equipment your AI has which must all have been scripted. Did you use nearestObjects to select it so the name and init fields would be clear? Why are you trying to fake a bug? :D Edited May 6, 2012 by PELHAM Share this post Link to post Share on other sites
Everest 10 Posted May 6, 2012 At 0:18 you press the DROP button and your primary weapons and magazines fall on the ground, the ammo box has weapons in it as is indicated by the numbers on the left. It has precisely the same equipment your AI has which must all have been scripted. Did you use nearestObjects to select it so the name and init fields would be clear? Why are you trying to fake a bug? :D I'm sware I'm not faking a bug, I'm trying everything to fix this. Cause of this I'm not able to show my gamemode for my friends. The whole project have stopped until I fix it. I've been trying for to long to fix this, and if you see on the video I press gear like I do on every other server online and it works fine there. On servers online I do exacly the same but then I get alot of weapons inside the boxes and such besides my own gear. As well I dont know how to fix the multiplayer thing where I start the server and cant continue cause all groups are empty, and all characters are scripted in the 2D edtior and not in the template. The ammo boxes are the same, scripted in the 2D editor and not the template cause I thought it would be something wrong on the template that made the ammo boxes like that. So how it can be like this I have no idea... If i could afford it I would pay you a ticket to my home so you would self see it by your own eyes how everything is messed up. I've played ArmA 2 since it came out and I can assure you that I do not fake it and I've never seen such problem before... Btw, what is nearestObjects? I'm not that good of a scripter... Share this post Link to post Share on other sites
Gunter Severloh 4068 Posted May 6, 2012 (edited) Ya as PELHAM said, I see the same thing, Once I try to open the ammo box there are nothing inside it theres ammo in the box, seen on the left. when I drop my gear inside it as well it drops the gear outside the ammo box. you press the drop button which is not for in the ammo box its for outside, thats why you see your primary and magazines outside. why it even works inside the ammo box IDK but as far as i can tell thats whats going on. 2) Exporting mission to Multiplayer.So well I wanted to test my mission if on multiplayer to see if there where some issues on the 2D editor but this is also a werd thing. When I enter the server none of my group members or anything are there, everything is empty 0/0 on every group even tho I have 10 members in each group. The mission works fine of course when I test it on the 2D editor besides the ammo boxes thats the only thing that doesn't work on the preview, and on multiplayer none of my groups are displayed it's all empty. Displayed where? Where are you looking for the groups to be displayed at? The map once ingame, the mp list where you pick the roles? edit.............. I'm sware I'm not faking a bug, I'm trying everything to fix this. theres no bug and nothing to fix, I think your missing how the ammo boxes work ingame, from what your video showed, as i said above the ammo and weapons are on the left that are in the ammo box, your current weapons and ammo that you have are on the right. When you hit drop, it will drop your weapons and ammo outside of the box, not inside. All you need to do to change weapons and ammo in a ammo box is double click on the weapon you want, and the weapon on the right (yours) will replace with the new weapon and ammo (magazines) accordingly. Edited May 6, 2012 by Gnter Severloh Share this post Link to post Share on other sites
Everest 10 Posted May 6, 2012 (edited) Ya as PELHAM said, I see the same thing,theres ammo in the box, seen on the left. you press the drop button which is not for in the ammo box its for outside, thats why you see your primary and magazines outside. why it even works inside the ammo box IDK but as far as i can tell thats whats going on. Displayed where? Where are you looking for the groups to be displayed at? The map once ingame, the mp list where you pick the roles? edit.............. theres no bug and nothing to fix, I think your missing how the ammo boxes work ingame, from what your video showed, as i said above the ammo and weapons are on the left that are in the ammo box, your current weapons and ammo that you have are on the right. When you hit drop, it will drop your weapons and ammo outside of the box, not inside. All you need to do to change weapons and ammo in a ammo box is double click on the weapon you want, and the weapon on the right (yours) will replace with the new weapon and ammo (magazines) accordingly. I know what you mean, but tho I've tested to fill the ammo boxes with everything theres nothing still showing inside the box besides my own gear, some how it's like my character are not able to reach the box. Cause when I enter the box I press gear like I do on all other game servers but it doesn't show any ammo or weapons even tho I've filled the ammo box with every weapon and ammo on ArmA II. Edit- Got the groups to work, some how it turns out that I must create those characters on the template, I guess the template some how messes up the mission.sqm file. I will test out the ammo boxes soon to see if that is the same issue, but I guess tho it's the same. Edited May 6, 2012 by Everest Share this post Link to post Share on other sites
Gunter Severloh 4068 Posted May 6, 2012 Ok, I watched the vid again, and i see what you mean, on the left is all the gear you have. but you do have in the init line of the ammo box the codes, to add all the weapons and ammo that you currently have, that is why when you drop your current ammo (the stuff you are carrying) that there is still the same weapons and ammo i the ammo box. So you want to do what add more weapons and ammo? you see on the map editor I have 1 USMC guy on the map but the groups are still empty on the server launch when I try to run it on LAN. seeing when you host you are alone because theres nothing in the editor, you have no squad under your command, nor are they playable even if you had a squad there which means no AI will show in the list on the mp server list because they are not playable, but again you dont have any i the emission so they wont show in the list. Share this post Link to post Share on other sites
Darkhorse 1-6 16 Posted May 6, 2012 If they are falling on the ground, maybe the ammo box is just full? Happens when you load too much into a vehicle etc. Share this post Link to post Share on other sites
Gunter Severloh 4068 Posted May 6, 2012 (edited) If they are falling on the ground, maybe the ammo box is just full? No. When you push the drop button while in the ammo box, the ammo and weapon you have gets dropped outside the box. You cannot drop weapons and ammo inside a box, you can only switch or replace what you have with whats in the box. @Everest What I suggest doing is create a script for your mission for weapons and ammo that you want to add to an ammo box, put the script in the folder of your mission. to start create a script using Armaedit, here is a following rough code for a ammo script, with a few weapons and their ammo as an example: name the script ammo, and make it an SQF if isnull _this exitwith {}; clearweaponcargo _this; clearmagazinecargo _this; // weapons _this addweaponcargo ["M9", 5]; _this addweaponcargo ["M16A2", 5]; _this addweaponcargo ["M16A2GL", 5]; // Ammo _this addmagazinecargo ["15Rnd_9x19_M9", 50]; _this addmagazinecargo ["30Rnd_556x45_Stanag", 50]; _this addmagazinecargo ["1Rnd_HE_M203", 50]; what it means: _this addweaponcargo ["M9SD", 5]; m9sd is the weapon, the number after is the number of weapons, so theres 5 m9's. Put this code in the init line of the ammo box nothing else _dummy = this execvm "ammo.sqf"; so what happens is you will go to the ammo box and you will see those weapons listed in the ammobox. The ammo box gets cleared,a nd or emptied first, ad then the script adds the listed weapons and ammo. Now if you wanted to add more weapons and ammo, and other stuff then refer to a class names of weapons to do it, heres 2 links to some class names: 6browser http://browser.six-projects.net/cfg_weapons/classlist?=A2+with+OA%3A+1.56&version=37&commit=Change&options[group_by]=weap_type&options[custom_type]=&options[faction]= ArmA II & OA Classnames http://forums.bistudio.com/showthread.php?73241-ArmA-II-amp-OA-Classnames-No-questions-no-discussion-here!&p=1663809#post1663809 as for the mp, make the AI soldiers playable if you wish to see them in the list, but the catch is they have to be in the mission to show on the list. Edited May 7, 2012 by Gnter Severloh Share this post Link to post Share on other sites
Everest 10 Posted May 7, 2012 No. When you push the drop button while in the ammo box, the ammo and weapon you have gets dropped outside the box.You cannot drop weapons and ammo inside a box, you can only switch or replace what you have with whats in the box. @Everest What I suggest doing is create a script for your mission for weapons and ammo that you want to add to an ammo box, put the script in the folder of your mission. to start create a script using Armaedit, here is a following rough code for a ammo script, with a few weapons and their ammo as an example: name the script ammo, and make it an SQF if isnull _this exitwith {}; clearweaponcargo _this; clearmagazinecargo _this; // weapons _this addweaponcargo ["M9", 5]; _this addweaponcargo ["M16A2", 5]; _this addweaponcargo ["M16A2GL", 5]; // Ammo _this addmagazinecargo ["15Rnd_9x19_M9", 50]; _this addmagazinecargo ["30Rnd_556x45_Stanag", 50]; _this addmagazinecargo ["1Rnd_HE_M203", 50]; what it means: _this addweaponcargo ["M9SD", 5]; m9sd is the weapon, the number after is the number of weapons, so theres 5 m9's. Put this code in the init line of the ammo box nothing else _dummy = this execvm "ammo.sqf"; so what happens is you will go to the ammo box and you will see those weapons listed in the ammobox. The ammo box gets cleared,a nd or emptied first, ad then the script adds the listed weapons and ammo. Now if you wanted to add more weapons and ammo, and other stuff then refer to a class names of weapons to do it, heres 2 links to some class names: 6browser http://browser.six-projects.net/cfg_weapons/classlist?=A2+with+OA%3A+1.56&version=37&commit=Change&options[group_by]=weap_type&options[custom_type]=&options[faction]= ArmA II & OA Classnames http://forums.bistudio.com/showthread.php?73241-ArmA-II-amp-OA-Classnames-No-questions-no-discussion-here!&p=1663809#post1663809 as for the mp, make the AI soldiers playable if you wish to see them in the list, but the catch is they have to be in the mission to show on the list. Thanks, going to test it out soon. I have tested 2 ammo scripts as well on my game, which are located of course in my mission folder. Script one. // Settings _amountWeapon = 20; _amountAmmo = 100; _refreshTime = 360; // refill every 5 minutes _this allowDamage false; // Loop forever while {true} do { // Clear box clearWeaponCargo _this; clearMagazineCargo _this; // Fill box // US Army Weapons & Ammo _this addWeaponCargo ["M14_EP1", _amountWeapon]; _this addMagazineCargo ["20Rnd_762x51_DMR", _amountAmmo]; _this addWeaponCargo ["M16A2", _amountWeapon]; _this addWeaponCargo ["M16A2GL", _amountWeapon]; _this addMagazineCargo ["1Rnd_HE_M203", _amountAmmo]; _this addMagazineCargo ["FlareWhite_M203", _amountAmmo]; _this addMagazineCargo ["FlareGreen_M203", _amountAmmo]; _this addMagazineCargo ["FlareRed_M203", _amountAmmo]; _this addMagazineCargo ["FlareYellow_M203", _amountAmmo]; _this addMagazineCargo ["1Rnd_Smoke_M203", _amountAmmo]; _this addMagazineCargo ["1Rnd_SmokeRed_M203", _amountAmmo]; _this addMagazineCargo ["1Rnd_SmokeGreen_M203", _amountAmmo]; _this addMagazineCargo ["1Rnd_SmokeYellow_M203", _amountAmmo]; _this addWeaponCargo ["M4A1", _amountWeapon]; _this addWeaponCargo ["M4A3_RCO_GL_EP1", _amountWeapon]; _this addWeaponCargo ["M4A3_CCO_EP1", _amountWeapon]; _this addWeaponCargo ["SCAR_L_CQC_CCO_SD", _amountWeapon]; _this addWeaponCargo ["SCAR_L_CQC", _amountWeapon]; _this addWeaponCargo ["SCAR_L_CQC_Holo", _amountWeapon]; _this addWeaponCargo ["SCAR_L_CQC_EGLM_Holo", _amountWeapon]; _this addWeaponCargo ["SCAR_L_STD_EGLM_RCO", _amountWeapon]; _this addWeaponCargo ["SCAR_L_STD_EGLM_TWS", _amountWeapon]; _this addWeaponCargo ["SCAR_L_STD_HOLO", _amountWeapon]; _this addWeaponCargo ["SCAR_L_STD_Mk4CQT", _amountWeapon]; _this addWeaponCargo ["SCAR_H_CQC_CCO", _amountWeapon]; _this addMagazineCargo ["20Rnd_762x51_B_SCAR", _amountAmmo]; _this addWeaponCargo ["SCAR_H_CQC_CCO_SD", _amountWeapon]; _this addMagazineCargo ["20Rnd_762x51_SB_SCAR", _amountAmmo]; _this addWeaponCargo ["SCAR_H_STD_EGLM_Spect", _amountWeapon]; _this addWeaponCargo ["SCAR_H_LNG_Sniper", _amountWeapon]; _this addWeaponCargo ["SCAR_H_LNG_Sniper_SD", _amountWeapon]; _this addWeaponCargo ["SCAR_H_STD_TWS_SD", _amountWeapon]; _this addWeaponCargo ["m240_scoped_EP1", _amountWeapon]; _this addMagazineCargo ["100Rnd_762x51_M240", _amountAmmo]; _this addWeaponCargo ["M249_EP1", _amountWeapon]; _this addMagazineCargo ["200Rnd_556x45_M249", _amountAmmo]; _this addMagazineCargo ["100Rnd_556x45_M249", _amountAmmo]; _this addWeaponCargo ["M249_m145_EP1", _amountWeapon]; _this addWeaponCargo ["M249_TWS_EP1", _amountWeapon]; _this addWeaponCargo ["M60A4_EP1", _amountWeapon]; _this addWeaponCargo ["Mk_48_DES_EP1", _amountWeapon]; _this addWeaponCargo ["m107", _amountWeapon]; _this addMagazineCargo ["10Rnd_127x99_m107", _amountAmmo]; _this addWeaponCargo ["m107_TWS_EP1", _amountWeapon]; _this addWeaponCargo ["M110_NVG_EP1", _amountWeapon]; _this addWeaponCargo ["M110_TWS_EP1", _amountWeapon]; _this addWeaponCargo ["M24_des_EP1", _amountWeapon]; _this addMagazineCargo ["5Rnd_762x51_M24", _amountAmmo]; _this addWeaponCargo ["Colt1911", _amountWeapon]; _this addMagazineCargo ["7Rnd_45ACP_1911", _amountAmmo]; _this addWeaponCargo ["M9", _amountWeapon]; _this addMagazineCargo ["15Rnd_9x19_M9", _amountAmmo]; _this addMagazineCargo ["15Rnd_9x19_M9SD", _amountAmmo]; _this addWeaponCargo ["M9SD", _amountWeapon]; _this addWeaponCargo ["Javelin", _amountWeapon]; _this addMagazineCargo ["Javelin", _amountAmmo]; _this addWeaponCargo ["Stinger", _amountWeapon]; _this addMagazineCargo ["Stinger", _amountAmmo]; _this addWeaponCargo ["M136", _amountWeapon]; _this addMagazineCargo ["M136", _amountAmmo]; _this addWeaponCargo ["M47Launcher_EP1", _amountWeapon]; _this addMagazineCargo ["Dragon_EP1", _amountAmmo]; _this addWeaponCargo ["MAAWS", _amountWeapon]; _this addMagazineCargo ["MAAWS_HEAT", _amountAmmo]; _this addMagazineCargo ["MAAWS_HEDP", _amountAmmo]; _this addWeaponCargo ["MetisLauncher", _amountWeapon]; _this addMagazineCargo ["AT13", _amountAmmo]; _this addWeaponCargo ["Mk13_EP1", _amountWeapon]; _this addWeaponCargo ["M32_EP1", _amountWeapon]; _this addMagazineCargo ["6Rnd_HE_M203", _amountAmmo]; _this addWeaponCargo ["M79_EP1", _amountWeapon]; _this addMagazineCargo ["HandGrenade_West", _amountAmmo]; // German Weapons _this addWeaponCargo ["G36A_camo", _amountWeapon]; _this addMagazineCargo ["30Rnd_556x45_G36", _amountAmmo]; _this addMagazineCargo ["100Rnd_556x45_BetaCMag", _amountAmmo]; _this addMagazineCargo ["30Rnd_556x45_G36SD", _amountAmmo]; _this addMagazineCargo ["30Rnd_556x45_Stanag", _amountAmmo]; _this addMagazineCargo ["30Rnd_556x45_StanagSD", _amountAmmo]; _this addMagazineCargo ["20Rnd_556x45_Stanag", _amountAmmo]; _this addWeaponCargo ["G36C_camo", _amountWeapon]; _this addWeaponCargo ["G36_C_SD_camo", _amountWeapon]; _this addWeaponCargo ["G36K_camo", _amountWeapon]; _this addWeaponCargo ["MG36_camo", _amountWeapon]; _this addWeaponCargo ["glock17_EP1", _amountWeapon]; _this addMagazineCargo ["17Rnd_9x19_glock17", _amountAmmo]; // Czeck Weapons _this addWeaponCargo ["Sa58P_EP1", _amountWeapon]; _this addMagazineCargo ["30Rnd_762x39_SA58", _amountAmmo]; _this addWeaponCargo ["Sa58V_EP1", _amountWeapon]; _this addWeaponCargo ["Sa58V_RCO_EP1", _amountWeapon]; _this addWeaponCargo ["Sa58V_CCO_EP1", _amountWeapon]; _this addWeaponCargo ["Sa61_EP1", _amountWeapon]; _this addMagazineCargo ["20Rnd_B_765x17_Ball", _amountAmmo]; // Other Weapons _this addWeaponCargo ["UZI_EP1", _amountWeapon]; _this addMagazineCargo ["30Rnd_9x19_UZI", _amountAmmo]; _this addWeaponCargo ["UZI_SD_EP1", _amountWeapon]; _this addMagazineCargo ["30Rnd_9x19_UZI_SD", _amountAmmo]; _this addMagazineCargo ["SmokeShell", _amountAmmo]; _this addMagazineCargo ["SmokeShellRed", _amountAmmo]; _this addMagazineCargo ["SmokeShellGreen", _amountAmmo]; _this addMagazineCargo ["SmokeShellYellow", _amountAmmo]; _this addMagazineCargo ["SmokeShellOrange", _amountAmmo]; _this addMagazineCargo ["SmokeShellPurple", _amountAmmo]; _this addMagazineCargo ["SmokeShellBlue", _amountAmmo]; _this addMagazineCargo ["TimeBomb", _amountAmmo]; _this addMagazineCargo ["PipeBomb", _amountAmmo]; _this addMagazineCargo ["Mine", _amountAmmo]; _this addMagazineCargo ["MineE", _amountAmmo]; _this addMagazineCargo ["HandGrenade_Stone", _amountAmmo]; _this addWeaponCargo ["Binocular_Vector", _amountWeapon]; _this addWeaponCargo ["Binocular", _amountWeapon]; _this addWeaponCargo ["Laserdesignator", _amountWeapon]; _this addMagazineCargo ["Laserbatteries", _amountAmmo]; _this addWeaponCargo ["NVGoggles", _amountWeapon]; _this addMagazineCargo ["IRStrobe", _amountWeapon]; _this addMagazineCargo ["IR_Strobe_Marker", _amountWeapon]; //_this addWeaponCargo ["ItemCompass", _amountWeapon]; //_this addWeaponCargo ["ItemGPS", _amountWeapon]; //_this addWeaponCargo ["ItemMap", _amountWeapon]; //_this addWeaponCargo ["ItemRadio", _amountWeapon]; //_this addWeaponCargo ["ItemWatch", _amountWeapon]; // Taki Weapons & Ammo _this addWeaponCargo ["AK_74", _amountWeapon]; _this addMagazineCargo ["30Rnd_545x39_AK", _amountAmmo]; _this addWeaponCargo ["AK_74_GL", _amountWeapon]; _this addMagazineCargo ["1Rnd_HE_GP25", _amountAmmo]; _this addMagazineCargo ["FlareWhite_GP25", _amountAmmo]; _this addMagazineCargo ["FlareGreen_GP25", _amountAmmo]; _this addMagazineCargo ["FlareRed_GP25", _amountAmmo]; _this addMagazineCargo ["FlareYellow_GP25", _amountAmmo]; _this addMagazineCargo ["1Rnd_Smoke_GP25", _amountAmmo]; _this addMagazineCargo ["1Rnd_SmokeRed_GP25", _amountAmmo]; _this addMagazineCargo ["1Rnd_SmokeGreen_GP25", _amountAmmo]; _this addMagazineCargo ["1Rnd_SmokeYellow_GP25", _amountAmmo]; _this addWeaponCargo ["AK_74_GL_kobra", _amountWeapon]; _this addWeaponCargo ["AK_47_M", _amountWeapon]; _this addMagazineCargo ["30Rnd_762x39_AK47", _amountAmmo]; _this addWeaponCargo ["AK_47_S", _amountWeapon]; _this addWeaponCargo ["AKS_74", _amountWeapon]; _this addWeaponCargo ["AKS_74_GOSHAWK", _amountWeapon]; _this addWeaponCargo ["AKS_74_kobra", _amountWeapon]; _this addWeaponCargo ["AKS_74_NSPU", _amountWeapon]; _this addWeaponCargo ["AKS_74_pso", _amountWeapon]; _this addWeaponCargo ["AKS_74_U", _amountWeapon]; _this addWeaponCargo ["FN_FAL", _amountWeapon]; _this addWeaponCargo ["FN_FAL_ANPVS4", _amountWeapon]; _this addWeaponCargo ["LeeEnfield", _amountWeapon]; _this addMagazineCargo ["10x_303", _amountAmmo]; _this addWeaponCargo ["PK", _amountWeapon]; _this addMagazineCargo ["100Rnd_762x54_PK", _amountAmmo]; _this addWeaponCargo ["RPK_74", _amountWeapon]; _this addMagazineCargo ["75Rnd_545x39_RPK", _amountAmmo]; _this addMagazineCargo ["30Rnd_545x39_AKSD", _amountAmmo]; _this addWeaponCargo ["KSVK", _amountWeapon]; _this addMagazineCargo ["5Rnd_127x108_KSVK", _amountAmmo]; _this addWeaponCargo ["SVD_des_EP1", _amountWeapon]; _this addMagazineCargo ["10Rnd_762x54_SVD", _amountAmmo]; _this addWeaponCargo ["SVD", _amountWeapon]; _this addWeaponCargo ["SVD_NSPU_EP1", _amountWeapon]; _this addWeaponCargo ["Makarov", _amountWeapon]; _this addMagazineCargo ["8Rnd_9x18_Makarov", _amountAmmo]; _this addWeaponCargo ["MakarovSD", _amountWeapon]; _this addMagazineCargo ["8Rnd_9x18_MakarovSD", _amountAmmo]; _this addWeaponCargo ["revolver_EP1", _amountWeapon]; _this addMagazineCargo ["6Rnd_45ACP", _amountAmmo]; _this addWeaponCargo ["revolver_gold_EP1", _amountWeapon]; _this addWeaponCargo ["Igla", _amountWeapon]; _this addMagazineCargo ["Igla", _amountAmmo]; _this addWeaponCargo ["RPG7V", _amountWeapon]; _this addMagazineCargo ["PG7V", _amountAmmo]; _this addMagazineCargo ["PG7VL", _amountAmmo]; _this addMagazineCargo ["PG7VR", _amountAmmo]; _this addMagazineCargo ["OG7", _amountAmmo]; _this addWeaponCargo ["RPG18", _amountWeapon]; _this addMagazineCargo ["RPG18", _amountAmmo]; _this addWeaponCargo ["Strela", _amountWeapon]; _this addMagazineCargo ["Strela", _amountAmmo]; _this addMagazineCargo ["HandGrenade", _amountAmmo]; _this addMagazineCargo ["HandGrenade_East", _amountAmmo]; // Wait the duration of _refreshTime sleep _refreshTime; }; Script 2 while {alive _this} do { clearweaponcargo _this; clearmagazinecargo _this; //BIS WEAPONS// _this addWeaponCargo ["AK_107_kobra",20]; _this addWeaponCargo ["AK_107_GL_kobra",20]; _this addWeaponCargo ["AK_107_GL_pso",20]; _this addWeaponCargo ["AK_107_pso",20]; _this addWeaponCargo ["AK_74",20]; _this addWeaponCargo ["AK_74_GL",20]; _this addWeaponCargo ["AK_47_M",20]; _this addWeaponCargo ["AK_47_S",20]; _this addWeaponCargo ["AKS_74_kobra",20]; _this addWeaponCargo ["AKS_74_pso",20]; _this addWeaponCargo ["AKS_74_U",20]; _this addWeaponCargo ["AKS_74_UN_kobra",20]; _this addWeaponCargo ["Bizon",20]; _this addWeaponCargo ["bizon_silenced",20]; _this addWeaponCargo ["G36a",20]; _this addWeaponCargo ["G36C",20]; _this addWeaponCargo ["G36_C_SD_eotech",20]; _this addWeaponCargo ["G36K",20]; _this addWeaponCargo ["M1014",20]; _this addWeaponCargo ["M16A2",20]; _this addWeaponCargo ["M16A2GL",20]; _this addWeaponCargo ["M16A4",20]; _this addWeaponCargo ["M16A4_GL",20]; _this addWeaponCargo ["M16A4_ACG_GL",20]; _this addWeaponCargo ["M16A4_ACG",20]; _this addWeaponCargo ["M4A1",20]; _this addWeaponCargo ["M4A1_HWS_GL",20]; _this addWeaponCargo ["M4A1_HWS_GL_camo",20]; _this addWeaponCargo ["M4A1_HWS_GL_SD_Camo",20]; _this addWeaponCargo ["M4A1_RCO_GL",20]; _this addWeaponCargo ["M4A1_Aim",20]; _this addWeaponCargo ["M4A1_Aim_camo",20]; _this addWeaponCargo ["M4A1_AIM_SD_camo",20]; _this addWeaponCargo ["MP5A5",20]; _this addWeaponCargo ["MP5SD",20]; _this addWeaponCargo ["Saiga12K",20]; _this addWeaponCargo ["VSS_vintorez",20]; _this addWeaponCargo ["M8_carbine",20]; _this addWeaponCargo ["M8_carbineGL",20]; _this addWeaponCargo ["M8_compact",20]; _this addWeaponCargo ["MG36",20]; _this addWeaponCargo ["Mk_48",20]; _this addWeaponCargo ["M240",20]; _this addWeaponCargo ["M249",20]; _this addWeaponCargo ["Pecheneg",20]; _this addWeaponCargo ["PK",20]; _this addWeaponCargo ["RPK_74",20]; _this addWeaponCargo ["M8_SAW",20]; _this addWeaponCargo ["Huntingrifle",20]; _this addWeaponCargo ["DMR",20]; _this addWeaponCargo ["KSVK",20]; _this addWeaponCargo ["M107",20]; _this addWeaponCargo ["M24",20]; _this addWeaponCargo ["M40A3",20]; _this addWeaponCargo ["M4SPR",20]; _this addWeaponCargo ["SVD",20]; _this addWeaponCargo ["SVD_CAMO",20]; _this addWeaponCargo ["M8_sharpshooter",20]; _this addWeaponCargo ["Colt1911",20]; _this addWeaponCargo ["M9",20]; _this addWeaponCargo ["M9SD",20]; _this addWeaponCargo ["Makarov",20]; _this addWeaponCargo ["MakarovSD",20]; _this addWeaponCargo ["Igla",20]; _this addWeaponCargo ["Javelin",20]; _this addWeaponCargo ["M136",20]; _this addWeaponCargo ["MetisLauncher",20]; _this addWeaponCargo ["RPG18",20]; _this addWeaponCargo ["RPG7V",20]; _this addWeaponCargo ["SMAW",20]; _this addWeaponCargo ["Stinger",20]; _this addWeaponCargo ["Strela",20]; _this addWeaponCargo ["Binocular",20]; _this addWeaponCargo ["NVGoggles",20]; _this addWeaponCargo ["Laserdesignator",10]; //BIS AMMO// _this addMagazineCargo ["30Rnd_545x39_AK",100]; _this addMagazineCargo ["30Rnd_545x39_AKSD",100]; _this addMagazineCargo ["30Rnd_762x39_AK47",100]; _this addMagazineCargo ["64Rnd_9x19_Bizon",100]; _this addMagazineCargo ["64Rnd_9x19_SD_Bizon",100]; _this addMagazineCargo ["30Rnd_556x45_G36",100]; _this addMagazineCargo ["30Rnd_556x45_G36SD",100]; _this addMagazineCargo ["8Rnd_B_Beneli_74Slug",100]; _this addMagazineCargo ["30Rnd_556x45_Stanag",100]; _this addMagazineCargo ["30Rnd_556x45_StanagSD",100]; _this addMagazineCargo ["30Rnd_9x19_MP5",100]; _this addMagazineCargo ["30Rnd_9x19_MP5SD",100]; _this addMagazineCargo ["8Rnd_B_Saiga12_74Slug",100]; _this addMagazineCargo ["10Rnd_9x39_SP5_VSS",100]; _this addMagazineCargo ["20Rnd_9x39_SP5_VSS",100]; _this addMagazineCargo ["1Rnd_HE_GP25",100]; _this addMagazineCargo ["FlareWhite_GP25",100]; _this addMagazineCargo ["FlareGreen_GP25",100]; _this addMagazineCargo ["FlareRed_GP25",100]; _this addMagazineCargo ["FlareYellow_GP25",100]; _this addMagazineCargo ["1Rnd_SMOKE_GP25",100]; _this addMagazineCargo ["1Rnd_SMOKERED_GP25",100]; _this addMagazineCargo ["1Rnd_SMOKEGREEN_GP25",100]; _this addMagazineCargo ["1Rnd_SMOKEYELLOW_GP25",100]; _this addMagazineCargo ["1Rnd_HE_M203",100]; _this addMagazineCargo ["FlareWhite_M203",100]; _this addMagazineCargo ["FlareGreen_M203",100]; _this addMagazineCargo ["FlareRed_M203",100]; _this addMagazineCargo ["FlareYellow_M203",100]; _this addMagazineCargo ["1Rnd_Smoke_M203",100]; _this addMagazineCargo ["1Rnd_SmokeRed_M203",100]; _this addMagazineCargo ["1Rnd_SmokeGreen_M203",100]; _this addMagazineCargo ["1Rnd_SmokeYellow_M203",100]; _this addMagazineCargo ["100Rnd_556x45_BetaCMag",100]; _this addMagazineCargo ["100Rnd_762x51_M240",100]; _this addMagazineCargo ["200Rnd_556x45_M249",100]; _this addMagazineCargo ["100Rnd_762x54_PK",100]; _this addMagazineCargo ["75Rnd_545x39_RPK",100]; _this addMagazineCargo ["5x_22_LR_17_HMR",100]; _this addMagazineCargo ["20Rnd_762x51_DMR",100]; _this addMagazineCargo ["5Rnd_127x108_KSVK",100]; _this addMagazineCargo ["10Rnd_127x99_m107",100]; _this addMagazineCargo ["5Rnd_762x51_M24",100]; _this addMagazineCargo ["20Rnd_556x45_Stanag",100]; _this addMagazineCargo ["10Rnd_762x54_SVD",100]; _this addMagazineCargo ["7Rnd_45ACP_1911",100]; _this addMagazineCargo ["15Rnd_9x19_M9",100]; _this addMagazineCargo ["15Rnd_9x19_M9SD",100]; _this addMagazineCargo ["8Rnd_9x18_Makarov",100]; _this addMagazineCargo ["8Rnd_9x18_MakarovSD",100]; _this addMagazineCargo ["Igla",20]; _this addMagazineCargo ["Javelin",20]; _this addMagazineCargo ["M136",20]; _this addMagazineCargo ["AT13",20]; _this addMagazineCargo ["RPG18",20]; _this addMagazineCargo ["PG7V",20]; _this addMagazineCargo ["PG7VL",20]; _this addMagazineCargo ["PG7VR",20]; _this addMagazineCargo ["OG7",20]; _this addMagazineCargo ["SMAW_HEAA",20]; _this addMagazineCargo ["SMAW_HEDP",20]; _this addMagazineCargo ["Stinger",20]; _this addMagazineCargo ["Strela",20]; _this addMagazineCargo ["HandGrenade",50]; _this addMagazineCargo ["HandGrenade_West",50]; _this addMagazineCargo ["HandGrenade_East",50]; _this addMagazineCargo ["SmokeShell",50]; _this addMagazineCargo ["SmokeShellRed",50]; _this addMagazineCargo ["SmokeShellGreen",50]; _this addMagazineCargo ["SmokeShellYellow",50]; _this addMagazineCargo ["TimeBomb",50]; _this addMagazineCargo ["PipeBomb",50]; _this addMagazineCargo ["Mine",50]; _this addMagazineCargo ["MineE",50]; _this addMagazineCargo ["HandGrenade_Stone",50]; _this addMagazineCargo ["Laserbatteries",50]; sleep 1800; }; But it's still the same on game, some how like I mention before It's like it doesn't even open the box to look inside, it's like the boxes are bugged or something like that. It's like I press "gear" but the box is not in range so it doesn't open the box it only opens my gear which also opens when you open the ammo boxes. Share this post Link to post Share on other sites
Gunter Severloh 4068 Posted May 12, 2012 Everest, are you having the ammo box issue in the editor with just a soldier and the ammo box or in the mission you built, or are building while testing? Share this post Link to post Share on other sites