-
Posts
442 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by dark_wood
-
Stupid Q: How to access Weapon.flag to identify a weapons capabilities?
dark_wood replied to cfrag's topic in Mission Editor
Well, that link was already in the OP -
Stupid Q: How to access Weapon.flag to identify a weapons capabilities?
dark_wood replied to cfrag's topic in Mission Editor
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 -
ONCE > UNIT INSIDE ZONE > MARK ADD Hope it helps
-
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
-
With pleasure mate Maybe a GitHub page, with documentation and versions?
-
Looks good man, nice idea
-
-
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."
-
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
-
This is the solution
-
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
-
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
-
Hi, maybe the auto back-up feature is messing your savings? Try to disabled it, see what happens. Hope it helps
-
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
-
First tab, is called Select. This tab is to select, edit, delete - rest of them to draw
-
I think is talking about modules images, in the main screen
-
-
Well, yes that will be something This mod have some of them: https://www.digitalcombatsimulator.com/en/files/3319072/
-
https://wiki.hoggitworld.com/view/MIST_markerDrawShape
-
Using MIST to spawn late activation groups
dark_wood replied to 104th_Maverick's topic in Mission Editor
Cool, first time i tought they are some new MIST functions added in the last release :)) Nice script! -
Using MIST to spawn late activation groups
dark_wood replied to 104th_Maverick's topic in Mission Editor
Nice, I didn't know about those functions, thanks -
Using MIST to spawn late activation groups
dark_wood replied to 104th_Maverick's topic in Mission Editor
@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 -
Using MIST to spawn late activation groups
dark_wood replied to 104th_Maverick's topic in Mission Editor
My pleasure, keep on coding, it will return great reward, trust me -
Using MIST to spawn late activation groups
dark_wood replied to 104th_Maverick's topic in Mission Editor
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 -
can not reproduce Cannot fire AMRAAM when auto start
dark_wood replied to Bob Morton's topic in DCS: F-16C Viper
Also, MASTER ARM on