Jump to content
tydansie

Strategic map missions.

Recommended Posts

5 minutes ago, tydansie said:

 

Yeah Its still an issue, they spawn with their custom loadout, they have full ammo etc but still report Low Ammo for whatever reason, I'm guessing it's a bug or something.


Weird.
Are the magazines compatible?
Any issues with them shooting?

There's a nice quiet workaround...
disableAI "RADIOPROTOCOL"; Stops AI from talking and texting while still being able to issue orders.


EDIT:
How are you adding the loadouts?

Edited by Maff
Further question...

Share this post


Link to post
Share on other sites
1 hour ago, Maff said:


Sorry. My bad.

 


["<img image='IMAGE-PATH' size='4'/>"] spawn BIS_fnc_dynamicText;


You will probably need to play around with "size" depending on the size of your image.

 


So I gave this a go and placed it in the strategic  mission module:

 

["<img image=''mission1.jpg' size='200'/>"] spawn BIS_fnc_dynamicText;

 

but no luck, should I try placing it in the individual mission.sqf?

 

 

5 minutes ago, Maff said:


Weird.
Are the magazines compatible?
Any issues with them shooting?

There's a nice quiet workaround...
disableAI "RADIOPROTOCOL"; Stops AI from talking and texting while still being able to issue orders.


EDIT:
How are you adding the loadouts?

 

Yep, I made sure it was all Vanilla/Aegis mod only. No issues with them shooting as they have all the ammo they require, they just initially report "low ammo", it doesn't bother me, as long as they have ammo that's all that matters.

 

So for each individual mission on the strategic map I have a mission.sqf with the below code:

 

 

M1 setTriggerActivation ["West", "NOT PRESENT", true];
sleep 5;
deleteVehicle Mission; 

 

setDate [2035, 7, 2, 23, 0];

 

p1 setUnitLoadout [["arifle_SPAR_01_snd_F","muzzle_snds_M","acc_pointer_IR","optic_Holosight_blk_F",["30Rnd_556x45_Stanag_red",30],[],""],[],["hgun_Pistol_heavy_01_black_F","muzzle_snds_acp","acc_flashlight_pistol","optic_MRD",["11Rnd_45ACP_Mag",15],[],""],["U_B_survival_uniform",[["optic_NVS",1],["G_Tactical_Clear",1],["PiR_bint",3],["30Rnd_556x45_Stanag_red",1,30]]],["V_RebreatherB",[]],["B_AssaultPackSpec_mcamo",[["PiR_bint",1],["ACE_Clacker",1],["DemoCharge_Remote_Mag",4,1],["30Rnd_556x45_Stanag_red",2,30]]],"H_HelmetB_light_snakeskin","G_B_Diving",["Rangefinder","","","",[],[],""],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","ACE_NVG_Wide_Black"]];

 

_unit = group player createUnit ["B_Recon_F", position player, [], 0, "FORM"]; "B_Recon_F"; _unit1 = group player createUnit ["B_Recon_F", position player, [], 0, "FORM"]; "B_Recon_F"; _unit2 = group player createUnit ["B_Recon_F", position player, [], 0, "FORM"]; "B_Recon_F";

 

_unit setUnitLoadout [["arifle_SPAR_01_snd_F","muzzle_snds_M","acc_pointer_IR","optic_Holosight_blk_F",["30Rnd_556x45_Stanag_red",30],[],""],[],["hgun_Pistol_heavy_01_black_F","muzzle_snds_acp","acc_flashlight_pistol","optic_MRD",["11Rnd_45ACP_Mag",15],[],""],["U_B_survival_uniform",[["optic_NVS",1],["G_Tactical_Clear",1],["PiR_bint",2],["30Rnd_556x45_Stanag_red",1,30]]],["V_RebreatherB",[]],["B_AssaultPackSpec_mcamo",[["FirstAidKit",1],["DemoCharge_Remote_Mag",4,1],["30Rnd_556x45_Stanag_red",2,30]]],"H_HelmetB_light_snakeskin","G_B_Diving",["Rangefinder","","","",[],[],""],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","ACE_NVG_Wide_Black"]];

 

_unit1 setUnitLoadout [["arifle_SPAR_01_snd_F","muzzle_snds_M","acc_pointer_IR","optic_Holosight_blk_F",["30Rnd_556x45_Stanag_red",30],[],""],[],["hgun_Pistol_heavy_01_black_F","muzzle_snds_acp","acc_flashlight_pistol","optic_MRD",["11Rnd_45ACP_Mag",15],[],""],["U_B_survival_uniform",[["optic_NVS",1],["G_Tactical_Clear",1],["PiR_bint",2],["30Rnd_556x45_Stanag_red",1,30]]],["V_RebreatherB",[]],["B_AssaultPackSpec_mcamo",[["FirstAidKit",1],["DemoCharge_Remote_Mag",4,1],["30Rnd_556x45_Stanag_red",2,30]]],"H_HelmetB_light_snakeskin","G_B_Diving",["Rangefinder","","","",[],[],""],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","ACE_NVG_Wide_Black"]];
 
_unit2 setUnitLoadout [["arifle_SPAR_01_snd_F","muzzle_snds_M","acc_pointer_IR","optic_Holosight_blk_F",["30Rnd_556x45_Stanag_red",30],[],""],[],["hgun_Pistol_heavy_01_black_F","muzzle_snds_acp","acc_flashlight_pistol","optic_MRD",["11Rnd_45ACP_Mag",15],[],""],["U_B_survival_uniform",[["optic_NVS",1],["G_Tactical_Clear",1],["PiR_bint",2],["30Rnd_556x45_Stanag_red",1,30]]],["V_RebreatherB",[]],["B_AssaultPackSpec_mcamo",[["FirstAidKit",1],["DemoCharge_Remote_Mag",4,1],["30Rnd_556x45_Stanag_red",2,30]]],"H_HelmetB_light_snakeskin","G_B_Diving",["Rangefinder","","","",[],[],""],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch","ACE_NVG_Wide_Black"]];

 

{[_x]joinSilent grpNull; [_x]joinSilent group player;} forEach units _unit;

 

What this does is once the player selects the mission from the strategic map he is teleported to the mission start. AI are then spawned in with the custom loadout and join the player. The tasks etc are assigned using the trigger/task modules. Once the mission is complete and the player reaches his exfil area the player is then teleported back to the briefing area with his original loadout and the AI are deleted.

 

Share this post


Link to post
Share on other sites
3 minutes ago, tydansie said:

["<img image=''mission1.jpg' size='200'/>"] spawn BIS_fnc_dynamicText;


"mission1.jpg" should be placed within your mission folder.
Where do you have it now?

What is "strategic  mission module"?

Share this post


Link to post
Share on other sites
7 minutes ago, Maff said:


"mission1.jpg" should be placed within your mission folder.
Where do you have it now?

What is "strategic  mission module"?

 

yep I have mission1.jpg in the mission folder

 

The strategic mission module is a module in the Eden Editor under "Strategic" you use that and link it to the StrategicMap module, so when you open the Strategic Map your mission shows up on the map to select. 

Share this post


Link to post
Share on other sites
2 hours ago, tydansie said:

Yeah Its still an issue, they spawn with their custom loadout, they have full ammo etc but still report Low Ammo for whatever reason, I'm guessing it's a bug or something.

 

Yes. Even if they are full of ammo and magazine loaded in primary weapon. The reload command doesn't change anything.

 

Share this post


Link to post
Share on other sites
4 hours ago, tydansie said:

they spawn with their custom loadout, they have full ammo etc but still report Low Ammo for whatever reason, I'm guessing it's a bug or something.

 

Have you tried listing magazines before weapons?  Perhaps setUnitLoadout is using the commands addWeapon and addMagazine in the order given?  And if so, this comment from @.kju would be relevant.

Share this post


Link to post
Share on other sites
4 hours ago, tydansie said:

Yeah Its still an issue, they spawn with their custom loadout, they have full ammo etc but still report Low Ammo for whatever reason, I'm guessing it's a bug or something.


I just noticed that each loadout contains 4x 30Rnd magazines.
That could be the issue. Try adding more magazines.

Share this post


Link to post
Share on other sites
45 minutes ago, opusfmspol said:

 

Have you tried listing magazines before weapons?  Perhaps setUnitLoadout is using the commands addWeapon and addMagazine in the order given?  And if so, this comment from @.kju would be relevant.

 

I can give that a go.

 

34 minutes ago, Maff said:


I just noticed that each loadout contains 4x 30Rnd magazines.
That could be the issue. Try adding more magazines.


I'll also try adding a few mor magazines, but generally, I thought they reported low ammo at 2 mags. 

Currently trying to figure out how to put that custom image in, instead of the Fade Black screen....anymore thoughts on this one? 

Share this post


Link to post
Share on other sites
1 minute ago, tydansie said:

Currently trying to figure out how to put that custom image in, instead of the Fade Black screen....anymore thoughts on this one? 


Can you share your mission folder?
Seeing how you've set up your mission and how it works / doesn't work will help people to help you more easily.
 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×