Jump to content

GTFreeFlyer

Members
  • Posts

    594
  • Joined

  • Last visited

Everything posted by GTFreeFlyer

  1. I use LUA to build a nested menu, but am trying to figure out how to remove a command. Example snippet below from a section of the menu you'll see after clicking "AI Hornets" in the main menu. After issuing the "Start Up" command for either of the Hornets below, how can I remove the command from the list and leave the CAP and RTB where they are? I can't find the function. Thanks! [color=#d4d4d4][font=Consolas][color=Black]local AIHornetMenu = missionCommands.addSubMenu("AI Hornets", nil) local AIHornet5Menu = missionCommands.addSubMenu("Hornet 5 (CAP)", AIHornetMenu) missionCommands.addCommand("Start Up", AIHornet5Menu, function() trigger.action.setUserFlag(9, 1) end, nil) missionCommands.addCommand("Fly CAP", AIHornet5Menu, function() trigger.action.setUserFlag(9, 17) end, nil) missionCommands.addCommand("RTB", AIHornet5Menu, function() trigger.action.setUserFlag(9, 10) end, nil) local AIHornet6Menu = missionCommands.addSubMenu("Hornet 6 (SEAD)", AIHornetMenu) missionCommands.addCommand("Start Up", AIHornet6Menu, function() trigger.action.setUserFlag(10, 1) end, nil) missionCommands.addCommand("Fly SEAD", AIHornet6Menu, function() trigger.action.setUserFlag(10, 17) end, nil) missionCommands.addCommand("RTB", AIHornet6Menu, function() trigger.action.setUserFlag(10, 10) end, nil) [/color][/font][/color]
  2. To all the guys who just replied in the past few hours, as stated in the original post, “If this sounds like the MP experience you’re looking for, shoot me a PM and introduce yourself and I’ll get you into the group from there. The server is not public. Please let me know which city you’re in and I’ll introduce you to the BuDs.” It’s easier for me to track who is who and get you in. Thanks!
  3. We have many busy grandads! Shoot me a PM.
  4. I set up a mission to revolve around sunset. I picked up the local sunset time from timeanddate.com for the specific area and date. The sunset time in the DCS simulation wasn’t even close.
  5. ILS is listed as 333 MHz. Please fix this. Is there a frequency that actually works and is tunable?
  6. I just noticed them last night for first time when I put on the NVG. I guess the brightness wasn’t enough to be picked up with my Oculus Rift, but the sky was quite pretty with the NVG on.
  7. Our link is not public. I’ll shoot you a PM
  8. Thanks. Will try that method!
  9. The group has grown quite nicely and we’ve got over 70 now. There are typically 3-4 on at a given time with as much as 10 when it’s busy. There are still some slots in the day where it’s empty, so more are welcome. Just shoot me a PM if the original post looks like something you’d be interested in. We’ve got a great little community of guys who just have fun and/or help each other out. Lots of guys have made friends and taken each other into their other formal squads. In between squad nights, the guys seem to hang out in BuDs for the casual laid back experience to change things up. There’s a different mission and/or training going on each night and a few guys have put up dedicated servers with our favorite missions so that we can play them any time. Cheers all!
  10. I’ve added a beacon to a ground unit along with a custom .ogg sound file for the Morse code. I’m flying the Huey and testing the beacon and found that the beacon works properly when I dial the frequency into my ADF, but I get no sound. I know the volume is correct because when I dial in a beacon included with the map, I do hear the sound. Any ideas?
  11. I fixed the group embarking issues I've been having. I switched back to CTLD and really dug deep into the code, and found that when you embark, the LUA runs the group:destroy() command, which totally eliminates your group from the game, along with all the triggers associated with them. Before it does this, it saves their group name in a variable. When you unload the troops, CTLD uses MIST's "dynAdd" to create a new group WITH THE SAME NAME as before. This was killing me because I thought it was the same group that had been loaded in the first place and was scratching my head as to why the triggers were not working when the group was in a zone after dropoff. Again, this is because the triggers were killed off along with the group when they were destroyed. Once I realized this, I injected a few lines of code in the CLTD lua script that checked exactly which group was “dynAdd”ed and then set a flag. In the mission editor, I now check for a flag instead of Group in Zone, that way the trigger never gets killed off along with the group. Just some feedback for those that were interested.
  12. Thanks so much for your responses. This is exactly what I set up last night, but then ran out of time and didn’t get to test it. I’ll be doing that later tonight :)
  13. You can use ViaCom’s deep interrogate function (see the manual) or you can always replace F10 menu commands with “Take 2” for F2, “Take 5” for F5, etc.
  14. How do you set a trigger when a group embarks a helo? First, I had CTLD in my mission and it all worked great, but when you pick up some soldiers, the “group is dead” trigger goes off. CTLD kills the soldiers, then brings them back from the dead when you disembark them. That didn’t work for me, so I got rid of CTLD and now found that when you embark them and fly away, the “group out of zone” (out of their pickup zone) never gets triggered until you drop them off somewhere else. This means they remain in the pickup zone but hidden until you disembark them. I’m just trying to get a trigger to function right when they hop in the helo, but not a “group is dead” trigger. Grrrr, mission design!
  15. They aren’t all bad. Some work really well. I like the Kashuri Gap and In the Weeds the best for those SP ones. If you are really enjoying single player, pick up a solid campaign like The Enemy Within or Piercing Fury. Great fun. I’ve now moved into the multiplayer world and can’t seem to go back to SP.
  16. Exactly what he said. Older mission that wasn’t updated after they added trees. Same thing happened to me and was totally frustrating. You can also change your load to carry 10 CBUs and 1 targeting pod and just carpet bomb the forest, lol.
  17. Glad you got it worked out. I don’t think I’ve ever used the planner. The editor is great :)
  18. After you pick the individual stations and assign weapons, and after it creates the new loadout configuration, do you go back and actually select it? Strange.
  19. Just found this page :) Been loving Krasnodar Ground Attack. Looking forward to giving the new version a go :)
  20. Just open up the mission editor from the main menu screen, then open your mission file. Select your aircraft, change the load, then save and exit.
  21. I had several instances now where my MWS wasn’t detecting launches. It used to pick everything up before. Played some multiplayer and the other guys in Hogs were picking up the launches with their MWS but mine was not. Yes, my MWS power switch was set to on in the CMSP. Anyone else?
  22. The new 2.5.5 update downloads lots of terrain/texture files. Any idea yet if your mod will still work well with it, not affecting the performance gains? I know it’s early right now and untested, so just whenever it is figured out, let us know. Thanks!
  23. Yeah, that’s what I’ve been doing. Seems there is no reset button to make it quick, but this works until they fix the firmware I suppose.
×
×
  • Create New...