Popper Posted January 3, 2022 Share Posted January 3, 2022 (edited) Hi guys! Do you want to dynamically spawn, respawn and despawn groups in your DCS mission? Do you want to have sub folders in the F10 menu? Did they tell you you'll need to learn LUA coding and the DCS scripting environment to do it? Well, I learned LUA so you don't have to. This script will create submenu's in the F10 menu based on the names of groups. It will create a sub menu for every group that has within a spawn and despawn button, these do exactly that. For now it's possible to go 1 submenu deep and also to add multiple groups to 1 spawn/despawn button. An example: If I have the following groups: !! Red 1 !?Wave 1?! Red 2 !?Wave 1?! Red 3 !?Wave 2?*BULK 1*! Red 4 !?Wave 2?*BULK 1*! Red 5 The following F10 menu will be created (not accounting for the random order it will be in): Red 1 Spawn Despawn Wave 1 Red 2 Spawn Despawn Red 3 Spawn Despawn Wave 2 BULK 1 Spawn Despawn As you can see Red 4 and 5 are not shown as they are a part of BULK 1 and both will be spawned or despawned by the buttons. To learn more check it out on GitHub: https://github.com/Markoudstaal/DCS-Simple-Spawn-Menu Need help? Join this Discord: https://discord.gg/8VbKnKvN5r Edited January 8, 2022 by Popper Added Discord Server 1 1 Link to comment Share on other sites More sharing options...
The_Jab Posted January 6, 2022 Share Posted January 6, 2022 Hello et merci pour ton travail!!!!! 1 Link to comment Share on other sites More sharing options...
Maverick263 Posted January 7, 2022 Share Posted January 7, 2022 is there a video tutorial for beginners ?????? or more detailed or example mission ???? Link to comment Share on other sites More sharing options...
Popper Posted January 8, 2022 Author Share Posted January 8, 2022 On 1/7/2022 at 11:06 AM, Maverick263 said: is there a video tutorial for beginners ?????? or more detailed or example mission ???? Check out the Github page, it has all the documentation. I'll try to create a video tutorial soon. Link to comment Share on other sites More sharing options...
Maverick263 Posted January 8, 2022 Share Posted January 8, 2022 (edited) Video!!! Oh thank you Edited January 8, 2022 by Maverick263 Link to comment Share on other sites More sharing options...
Facocero Posted January 22, 2022 Share Posted January 22, 2022 Probably sure I miss some steps, because it doesn't work for me. I did exactly what the guide suggested. I put a group on the map, named it exactly as suggested. I entered mist and dssm.lua, as indicated. I start the sim and nothing appears, there is no menu. Someone who has succeeded could post me a small sample mission. Link to comment Share on other sites More sharing options...
Popper Posted January 22, 2022 Author Share Posted January 22, 2022 50 minutes ago, Facocero said: Probably sure I miss some steps, because it doesn't work for me. I did exactly what the guide suggested. I put a group on the map, named it exactly as suggested. I entered mist and dssm.lua, as indicated. I start the sim and nothing appears, there is no menu. Someone who has succeeded could post me a small sample mission. Attatched you will find the mission the guide text is based on. dssm test.miz Link to comment Share on other sites More sharing options...
Facocero Posted January 22, 2022 Share Posted January 22, 2022 Thanks a lot Popper Link to comment Share on other sites More sharing options...
Facocero Posted January 22, 2022 Share Posted January 22, 2022 Unfortunately it doesn't work. I uploaded the mission and only changed the dofile with my path but it doesn't work. Link to comment Share on other sites More sharing options...
Popper Posted January 28, 2022 Author Share Posted January 28, 2022 On 1/22/2022 at 6:34 PM, Facocero said: Unfortunately it doesn't work. I uploaded the mission and only changed the dofile with my path but it doesn't work. I suggest you delete the second line and use the third line (DO SCRIPT FILE). The path you are using in the second line (DO SCRIPT) seems to be invalid. Link to comment Share on other sites More sharing options...
titi69 Posted January 31, 2022 Share Posted January 31, 2022 Hi Thank you for the script, nice work Is there any way with the actual script to limit access to the submenu based on coalition? actually submenus are visible by both side as work around i just modified all "missionCommands.addSubMenu" with "missionCommands.addSubMenuForCoalition" so i load 2 script (1 for blue 1 for red coalition) But i was wondering if option is already there and if i am doing something wrong Link to comment Share on other sites More sharing options...
zaelu Posted January 31, 2022 Share Posted January 31, 2022 Awesome script! I struggled with a simple respawn for years without success after a first round of respawn but your script simply works! [sIGPIC][/sIGPIC] I5 4670k, 32GB, GTX 1070, Thrustmaster TFRP, G940 Throttle extremely modded with Bodnar 0836X and Bu0836A, Warthog Joystick with F-18 grip, Oculus Rift S - Almost all is made from gifts from friends, the most expensive parts at least Link to comment Share on other sites More sharing options...
Sukhoi1991 Posted February 1, 2022 Share Posted February 1, 2022 Awesome!!! Thanks for the script for singleplayers, I spent lots of time for figuring out how to use lua to resawn groups but still failled now I can BRRRZZZZZZ all day long... you make this game more fun for me! AMD 5800X | RTX 3080TI OC Edition | 64GB DDR4 3600 | 2TB nvme Win10 X64 | TrackIR 5 | WINWING F16 HOTAS ORION | Saitek Combat Pedals A-10C II | A/V-8B NA | UH-1H | AH-64D Longbow | F/A-18C | F-16C Caucasus | Persian Gulf | Syria | Nevada | Combined Arms Link to comment Share on other sites More sharing options...
Popper Posted February 6, 2022 Author Share Posted February 6, 2022 On 1/31/2022 at 1:47 PM, titi69 said: Hi Thank you for the script, nice work Is there any way with the actual script to limit access to the submenu based on coalition? actually submenus are visible by both side as work around i just modified all "missionCommands.addSubMenu" with "missionCommands.addSubMenuForCoalition" so i load 2 script (1 for blue 1 for red coalition) But i was wondering if option is already there and if i am doing something wrong Sorry for the late response. Not possible at this time but I'll add it to the list of features. Link to comment Share on other sites More sharing options...
Ipergallo Posted September 18, 2022 Share Posted September 18, 2022 Hi, thank you for this script. There is a way to get an order in the menu and submenu? Alphabetic or numeric order? Link to comment Share on other sites More sharing options...
Recommended Posts