Jump to content

dark_wood

Members
  • Posts

    442
  • Joined

  • Last visited

Everything posted by dark_wood

  1. Well, that link was already in the OP
  2. Not sure I have understood your request, but I found this: https://www.digitalcombatsimulator.com/en/support/faq/1261/ At the bottom of the page you will find: Weapon.Desc "weapon descriptor. This is common part of descriptor for any weapon. Some fields are actual only for HE and AP+HE warheads, some fields are actual only for shaped explosive warheads. Descriptor format depended on weapon category." And some basic example at the end.. Hope it helps - ignore if useless
  3. ONCE > UNIT INSIDE ZONE > MARK ADD Hope it helps
  4. Just add at mission start a radio item which will trigger FLAG 1. When FLAG 1 is true you can trigger as many flags you want, in my example 2 and 3 MISSION SART > no condition > RADIO ITEM ADD [Some text] (will set FLAG 1 true when clicked in F10 menu) ONCE > FLAG 1 is TRUE > FLAG 2 set TRUE, FLAG 3 set TRUE Hope it helps
  5. With pleasure mate Maybe a GitHub page, with documentation and versions?
  6. Looks good man, nice idea
  7. Change those values to Common
  8. From manual: "UNIT INSIDE MOVING ZONE. This trigger allows you to attach a trigger area zone to a unit and the zone will move along with the assigned unit. Note, the trigger zone can be placed anywhere on the map, but will in fact be always attached to the center of the assigned unit in-game. When selected, you should first select the unit that the area trigger will be attached to by selecting it from the ZONE UNIT drop down list. Next, select the area trigger zone that will be attached to the unit from the ZONE drop down list. Lastly, you need to set the unit that will set the trigger to true when it enters the zone unit’s zone. Do this by selecting a unit from the UNIT drop down list."
  9. You can place Moving Zone wherever you want in ME, it will attach to desired unit in game only. Also, make sure you specify Unit names, and not Group names. Hope it helps
  10. This is the solution
  11. In DCS no, only when you are on runway, at least from my experience If you think is a bug, please report it in a separately thread, with a track attached, so devs can reproduce it
  12. Try to move the plane forward a few meters - if you contact ATC at the very end of the runway it may not respond. If you advance enough, the ATC will call you without using F10 comm menu. Hope it helps
  13. Hi, maybe the auto back-up feature is messing your savings? Try to disabled it, see what happens. Hope it helps
  14. You can easy do that in Mission Editor: just select your plane and go to failure tab (third or forth). On Viper they are not implemented, is WIP, but you can test with other module - Mig21 have them, for example... Hope it helps
  15. First tab, is called Select. This tab is to select, edit, delete - rest of them to draw
  16. I think is talking about modules images, in the main screen
  17. Well, yes that will be something This mod have some of them: https://www.digitalcombatsimulator.com/en/files/3319072/
  18. https://wiki.hoggitworld.com/view/MIST_markerDrawShape
  19. Cool, first time i tought they are some new MIST functions added in the last release :)) Nice script!
  20. Nice, I didn't know about those functions, thanks
  21. @104th_Maverick I have combined all the snippets, this is the result: function respawnSam() --unit is in zone if trigger.misc.getUserFlag(100) == 1 then trigger.action.activateGroup('R/QESHM/SA2/2') --unit is out of zone elseif trigger.misc.getUserFlag(100) == 0 then --get initial SAM group size local initialSize = Group.getByName('R/QESHM/SA2/2'):getInitialSize() --get actual size local actualSize = Group.getByName('R/QESHM/SA2/2'):getSize() --if units are missing/destroyed respawn if actualSize < initialSize then --remove damaged group Group.getByName('R/QESHM/SA2/2'):destroy() --respawn a new one mist.respawnGroup('R/QESHM/SA2/2', true) end end end do --check unit is in zone mist.flagFunc.units_in_zones{ units = {'R/QESHM/SA2/2-unitname'}, zones = {'YourZoneNAme'}, flag = 100, --flag on when unit is in zone toggle = true --set flag false if unit is out of zone interval = 10, --condition will be checked each 10 seconds zone_type = 'sphere' } --start calling function after 10 seconds, recall it after each 60 seconds, end process after 60 minutes mist.scheduleFunction(respawnSam(), {}, timer.getTime() + 10, 60, timer.getTime() + 3600) end I'm not very sure if i used correct the Group.getByName('R/QESHM/SA2/2'):destroy() syntax I really hope is working, I did it at work, without DCS to test it - even if is not 100%, you can make an idea, maybe @Grimes and @toutenglisse have better ideas/improvements to help you Cheers
  22. My pleasure, keep on coding, it will return great reward, trust me
  23. First, respawn is used for units that was destroyed. Here you have only late activation, use : if not Group.getByName('R/QESHM/SA2/2') then trigger.action.activateGroup('R/QESHM/SA2/2') end https://wiki.hoggitworld.com/view/DCS_func_activateGroup Check if unit is in zone with this MIST function: https://wiki.hoggitworld.com/view/MIST_units_in_zones (carefull, it is UNIT name, not Group Name) Call the activate trigger function with a scheduler: https://wiki.hoggitworld.com/view/MIST_scheduleFunction do mist.flagFunc.units_in_zones{ units = {'R/QESHM/SA2/2-unitname'}, zones = {'YourZoneNAme'}, flag = 100, zone_type = 'sphere' } function activateGroup if trigger.misc.getUserFlag(100) == 1 then trigger.action.activateGroup('R/QESHM/SA2/2') end end mist.scheduleFunction(activateGroup, {}, timer.getTime() + 10, 900, timer.getTime() + 3600) end So, the MIST function will check if your UNIT is in zone, and if it is will set a flag true. Then check the flag and activate the group. Hope it helps
×
×
  • Create New...