SQUAWK 10 Posted September 20, 2013 Hi everybody! First i want to say my name is Alain and i'm 26 years old and from Luxembourg/Europe. ARMA 3 is the first "Military Game" since Counter Strike i'm playing ;-) (If you call CS a Military Game) I served in the army and i have to say Arma 3 is so complex but great! I had a lot of fun with it since the BETA. Now i'm starting to make a simple Mission by myself Very simple : A : Take control of an outpost (only 3 enemy's) very easy (if no more enemy's = next Objective) B : Take control of outpost 2 (also very simple just a rifle squad there) and destroy the Antenna. Everything works fine but i got 2 problems : Here is my LOADOUT for the mission : removeallweapons this; removeallassigneditems this; removeuniform this; removevest this; removebackpack this; this addvest "V_TacVest_oli"; this addbackpack "b_kitbag_base"; this addheadgear "H_HelmetB"; this addGoggles "G_Shades_Black"; (unitBackpack this) additemCargo ["FirstAidKit",1]; (unitBackpack this) additemCargo ["FirstAidKit",1]; (unitBackpack this) additemCargo ["FirstAidKit",1]; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addweapon "hgun_P07_F"; this additem "nvgoggles"; this additem "ItemCompass"; this additem "itemgps"; this additem "itemmap"; this additem "itemradio"; this additem "itemwatch"; this assignitem "nvgoggles"; this assignitem "itemcompass"; this assignitem "itemgps"; this assignitem "itemmap"; this assignitem "itemradio"; this assignitem "itemwatch"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; removeallweapons this; removeallassigneditems this; removeuniform this; removevest this; removebackpack this; this addvest "V_TacVest_oli"; this addbackpack "b_kitbag_base"; this addheadgear "H_HelmetB"; this addGoggles "G_Shades_Black"; (unitBackpack this) additemCargo ["FirstAidKit",1]; (unitBackpack this) additemCargo ["FirstAidKit",1]; (unitBackpack this) additemCargo ["FirstAidKit",1]; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addweapon "arifle_TRG21_GL_ACO_pointer_F"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addweapon "hgun_P07_F"; this addmagazine "handgrenade"; this addmagazine "handgrenade"; this addmagazine "handgrenade"; this addmagazine "handgrenade"; this additem "nvgoggles"; this additem "ItemCompass"; this additem "itemgps"; this additem "itemmap"; this additem "itemradio"; this additem "itemwatch"; this assignitem "nvgoggles"; this assignitem "itemcompass"; this assignitem "itemgps"; this assignitem "itemmap"; this assignitem "itemradio"; this assignitem "itemwatch"; this adduniform "U_B_CombatUniform_mcam"; ------------- Everything works fine but my soldiers is yelling at the start of the mission : need ammo! or short on ammo! I think as you might see in the script he has "enough" of ammo for that kind of mission. Anyone an idea how i can fix that? Second question : I tried 10 times to add binoculars at the start but i doesn't work. No Error is reported but i also don't have the binoculars at the mission start? Urgent : English isn't my first language so please forgive grammar errors. I looked in some forums (also here) for a solution but didn't found one. IF i overlooked a thread with the solutions a link to that thread will be also enough for me :) Thank you in advance. ALAIN Share this post Link to post Share on other sites
dcthehole 1 Posted September 20, 2013 Well you could simply just disable the core conversations. Just throw this in your mission init.sqf {_x setvariable ["BIS_noCoreConversations",true]} foreach allunits; Share this post Link to post Share on other sites
SQUAWK 10 Posted September 20, 2013 Ah thank you i will try this out tonight when I'm at at home :) Share this post Link to post Share on other sites
kylania 567 Posted September 20, 2013 Hi Alain, Welcome the the ArmAverse! Is that code you posted two different scripts? Because you remove everything, add back everything, remove it all again, then add it back again. That might be why they are complaining about ammo since you are taking it away from them twice. Share this post Link to post Share on other sites
meatball 25 Posted September 20, 2013 Well you could simply just disable the core conversations. Just throw this in your mission init.sqf {_x setvariable ["BIS_noCoreConversations",true]} foreach allunits; DC, will that just do player units, or all AI units ingame as well? Share this post Link to post Share on other sites
SQUAWK 10 Posted September 20, 2013 Hi Sorry i did a mistake the Code i posted is TWICE! So just read the code ONCE :) ---------- Post added at 18:22 ---------- Previous post was at 17:45 ---------- Anyone got an idea how i can get the binoculars at the start? Share this post Link to post Share on other sites
kylania 567 Posted September 20, 2013 _unit addWeapon "Binocular"; or if you love your players: _unit addWeapon "Rangefinder"; Share this post Link to post Share on other sites
SQUAWK 10 Posted September 20, 2013 Ah thank you now i got my binocular :-) I found something now : when i only got MY player on the map he doesn't complains about ammo (nobody there to yell :D ) only when i assign him to a group as leader. Share this post Link to post Share on other sites
dcthehole 1 Posted September 20, 2013 @Meatball that should do it for allunits including players and AI. Share this post Link to post Share on other sites
SQUAWK 10 Posted September 20, 2013 So here i am again : THIS is my Script i currently use : removeallweapons this; removeallassigneditems this; removeuniform this; removevest this; removebackpack this; this addvest "V_TacVest_oli"; this addbackpack "b_kitbag_base"; this addheadgear "H_HelmetB"; this addGoggles "G_Shades_Black"; (unitBackpack this) additemCargo ["FirstAidKit",1]; (unitBackpack this) additemCargo ["FirstAidKit",1]; (unitBackpack this) additemCargo ["FirstAidKit",1]; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addmagazine "30Rnd_556x45_Stanag_Tracer_Yellow"; this addweapon "arifle_TRG21_GL_ACO_pointer_F"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addmagazine "16Rnd_9x21_Mag"; this addweapon "hgun_P07_F"; this addmagazine "handgrenade"; this addmagazine "handgrenade"; this addmagazine "handgrenade"; this addmagazine "handgrenade"; this additem "nvgoggles"; this additem "ItemCompass"; this additem "itemgps"; this additem "itemmap"; this additem "itemradio"; this additem "itemwatch"; this assignitem "nvgoggles"; this assignitem "itemcompass"; this assignitem "itemgps"; this assignitem "itemmap"; this assignitem "itemradio"; this assignitem "itemwatch"; this addWeapon "Binocular"; this adduniform "U_B_CombatUniform_mcam"; My Soldier is still screaming out of ammo don't know why. Last thing is have to do is find a good Tutorial about the Editor for ARMA 3 because i never played ARMA 2 so i don't have any XP in ARMA Scripting The YT Videos are great but most of them are for the ALPHA or BETA Version of the game. My Mission is "working" until the last Objective : Destroy the Antenna. I am currently looking saw already some posts about that. After the destruction i will get an Extraction by an Helicopter :-) (Don't laugh it is my first mission i ever made ;) ) Share this post Link to post Share on other sites
kylania 567 Posted September 20, 2013 You can replace all of that with this: removeAllWeapons this; removeAllAssignedItems this; removeAllContainers this; this adduniform "U_B_CombatUniform_mcam"; this addvest "V_TacVest_oli"; this addbackpack "B_Kitbag_mcamo"; this addheadgear "H_HelmetB"; this addGoggles "G_Shades_Black"; (unitBackpack this) additemCargo ["FirstAidKit", 3]; _muzzle = [this, "arifle_TRG21_GL_ACO_pointer_F", 5, "30Rnd_556x45_Stanag_Tracer_Yellow"] call BIS_fnc_addWeapon; _muzzle = [this, "hgun_P07_F", 5] call BIS_fnc_addWeapon; this addWeapon "Binocular"; this addMagazines ["HandGrenade", 4]; { this linkItem _x; } forEach ["NVGoggles", "ItemCompass", "ItemGPS", "ItemMap", "ItemRadio", "ItemWatch"]; No yelling about ammo in the editor at least. Share this post Link to post Share on other sites
SQUAWK 10 Posted September 20, 2013 (edited) Hey many thanks :) EDIT : Still get the OUT OF AMMO :( When I got only 1 player (myself) there is no problem (there are no other squad members who i can call *G*) As soon i add a platoon my soldier is yelling he's out of ammo... Strange Edited September 20, 2013 by SQUAWK EDIT Share this post Link to post Share on other sites
bogdanm 0 Posted September 20, 2013 It might be some ArmA bug. It's too much of a coincidence that today one of my soldiers also started screaming out of ammo for no reason. It's even stranger that the guy isn't out of ammo if I run the mission with the latest dev. build but if I run the exact same mission with the official game version all his ammo magically disappears. Share this post Link to post Share on other sites
KevsNoTrev 44 Posted September 20, 2013 Squawk - remember to add the uniform before adding weapons and magazines as the newly added uniform will have nothing in it... Share this post Link to post Share on other sites
SQUAWK 10 Posted September 21, 2013 Ok i will try that ---------- Post added at 02:27 ---------- Previous post was at 02:21 ---------- No same problem :( It might be a bug? I don't care about him yelling anymore maybe i fix it later :-) I just still got 2 question : what's the command to add an explosive (40sec) to my soldier? Can't find the right command for it? And a VERY IMPORTANT question : I made an attack on an airfield controlled by about 30 men (enemys)... when i enter the trigger zone my Task is completed but only because the enemys running into cover so outside of the triggerzone... That's not what i want. I want that the Task is complete when EVERY enemy soldier is DOWN! and the Hostage is still alive! How can i do that? Thank you you helped me already a lot :) Share this post Link to post Share on other sites
bogdanm 0 Posted September 21, 2013 I don't care about him yelling anymore maybe i fix it later :-) I just still got 2 question : what's the command to add an explosive (40sec) to my soldier? Can't find the right command for it? I've found the code needed but I can't make it work. Maybe you'll have better luck. And a VERY IMPORTANT question :I made an attack on an airfield controlled by about 30 men (enemys)... when i enter the trigger zone my Task is completed but only because the enemys running into cover so outside of the triggerzone... That's not what i want. I want that the Task is complete when EVERY enemy soldier is DOWN! and the Hostage is still alive! How can i do that? Thank you you helped me already a lot :) One way you can do it is to put in the trigger's condition field a code that counts all the units that are still alive. The easiest way to do it is to assign names to each group of enemies ("group1=group this" in the group leaders init. field) and that make a trigger(don't change anything in it) that is synced. to the Set Task State module and put in the trigger's condition field: "{alive _x} count units group1 == 0 && {alive _x} count units group2 == 0" <- this way you can add all the enemy groups. Share this post Link to post Share on other sites
wiggum2 31 Posted July 15, 2014 This is still not fixed, even if you import gear (sqf format) from the new virtual arsenal your teammates (editor/SP) yell "OUT OF AMMO" althought they have a magazine loaded and a backpack full of stuff ! Share this post Link to post Share on other sites
panicsferd 24 Posted July 17, 2014 This is still not fixed, even if you import gear (sqf format) from the new virtual arsenal your teammates (editor/SP) yell "OUT OF AMMO" althought they have a magazine loaded and a backpack full of stuff ! I hate to bump this old thread, but like I noticed this to and even though my team mates were clearly yelling "OUT OF AMMO" they were still able to shoot and kill the enemy. So until this can be fixed I think you will just have to live with the sound of them yelling. At least for me even though they were yelling that they were out of ammo they still had at least another clip to kill the enemy. Share this post Link to post Share on other sites