-
Posts
1996 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Wrecking Crew
-
This is the latest 2.5.4 Open Beta release. When I go to Fly from the Mission Editor, sometimes not all the aircraft are present. For instance, in the attached mission there are four aircraft groups of Su-24s in the lower left to attack the Blue carrier group. Sometimes not all four Su-s4s are present at the mission start. There is no apparent reason for the aircraft to be missing. This is very frustrating. Other aircraft will also go missing. There are no Late Activations, no delayed time for their Start, all a/c are in the air at mission start. Anyone else seeing these issues? Red Sky 254P0h.miz
-
Armor Sinks Into Bridge In Caucasus This is on a bridge west of Beslan - per the Status Bar - LOC: 43°16'00"N 44°16'11"E. The vehicles get stuck. The Combined Arms mission cannot continue.
-
ME Text Editing, Ext. ASCII 248 Incorrect The Extended ACSII 248 character should be the symbol for degree - ° In the mission editor it is a Phi-like character - like Ext Acsii 237 - φ See the screenshot. Happens in the Briefing panel and in event action Message To All.
-
Condition "anything from blue coallition inside zone"
Wrecking Crew replied to Darcaem's topic in Mission Editor
With Mist - detect any Blue Plane in a zone - is this what you are looking for? mist.flagFunc.units_in_zones{ units = {'[blue][plane]'}, zones = {'01 Sukhumi Zone'}, flag = 90156, toggle = true, } -
Load Unit Names Table At Mission Start
Wrecking Crew replied to Wrecking Crew's topic in Mission Editor
This is the result. Thank you Wes for the help to add the Player Name & Callsign to the code. And thank you Grimes, for always being there with answers. -- new, detect Client Takeoff with names, etc... do local function detectClientTakeoff(event) local function contains(tbl, val) for _,v in ipairs(tbl) do if v == val then return true end end return false end if(event.id == world.event.S_EVENT_TAKEOFF and event.initiator) then local airborneUnitName = event.initiator:getName() [color="SeaGreen"] local airbornePlayerName = event.initiator:getPlayerName() --Added Variable to store PlayerName. Note: This is the account name, not the MP Nickname. local callsign = event.initiator:getCallsign() --Added Variable to store the Callsign. Note: The dash for "1-1" isn't in this function. local airborneCallsign = string.sub(callsign, 1, string.len(callsign)-2) .. ' ' .. string.sub(callsign, string.len(callsign)-1, string.len(callsign)-1) .. '-' .. string.sub(callsign, string.len(callsign)) --Modified the above line to add the space and dash back with string manipulation. Dodge11 -> Dodge 1-1[/color] if(contains(aircraftClientRedNames, airborneUnitName)) then trigger.action.setUserFlag(10008, true) trigger.action.outText('Red pilot ' .. airbornePlayerName .. ', callsign: ' .. airborneCallsign .. ' just tookoff in ' .. airborneUnitName .. '!', 5) --Modified the above line to include the new variable, and reformmatted it to something quicker to read. end if(contains(aircraftClientBlueNames, airborneUnitName)) then trigger.action.setUserFlag(50008, true) trigger.action.outText('Blue pilot ' .. airbornePlayerName .. ', callsign: ' .. airborneCallsign .. ' just tookoff in ' .. airborneUnitName .. '!', 5) --Modified the above line to include the new variable, and reformmatted it to something quicker to read. end end end mist.addEventHandler(detectClientTakeoff) end This returns like: Blue pilot Wrecking Crew, callsign: Enfield 1-1 just tookoff in F-15C 01. Flag 5008 is set True and triggers mission activity to begin. This is for multiplayer missions so that a mission can advance in time until a client shows up and takes off. All of the activity that I want to have happen when clients are in the mission are delayed, but the time of day will advance normally, without the mission being paused. -
That's an interesting solution, Hardcard. If I can grab a height/altitude value when any Blue plane is in a cylinder zone then it could work in Mist script. What I did was put a spherical (Mist) zone and a cylinder zone in the same spot. The spherical zone controls the height while the cylinder sets the radius from center. The spherical zone, in this case, has to be much larger than it would need to be if I could place the center of it at the desired altitude.
-
Yes an altitude setting would be a nice feature to use with a spherical zone. https://forums.eagle.ru/showthread.php?t=228642
-
The solution needs to be for any Blue Plane.
-
I'm getting CTDs since yesterday whilst doing mission editing in the Persian Gulf. Attached is the latest DCS log. Logs Wrecking Crew 20190102T1645.zip
-
Load Unit Names Table At Mission Start
Wrecking Crew replied to Wrecking Crew's topic in Mission Editor
Thank you Wrench, That is a good technique. My events are based upon a client takeoff event. It is really quite specific in this case to the particular client who takes off. In any case, I really do not know how to join these two attributes to the uName I have :-) I've had my head stuck in some other code recently, but will get to adding these Client Name & Callsign values in soon. -
I'm having ME crash problems, too, while working on an F/A-18C mission in the Persian Gulf. The game will randomly exit to the desktop. Attached are the logs from the latest. Logs WreckingCrew 20190102.zip
-
Can a Spherical Zone have an altitude assigned to it? For instance, I want this small-diameter (~70 feet) spherical zone to be about 100 feet off the ground. I am using the zone to detect an aircraft flying through it. Is there a possible Mist solution? I'd like to use something like this - mist.flagFunc.units_in_zones{ units = {'[blue][plane]'}, zones = {'30 Keyhole Zone'}, flag = 93056, zone_type = 'sphere', [color="SeaGreen"]zone_altitude = 100,[/color] interval = .02, } Somehow the ground height is known. From my experience a spherical zone is centered at the 'x' and 'y' coordinates on the ground with half below and half above. The .miz file code for this zone is - [13] = { ["y"] = -114081.72458564, ["radius"] = 23.7744, ["zoneId"] = 253, ["x"] = -114237.40133295, ["color"] = { [1] = 1, [2] = 1, [3] = 0, [4] = 0.14901960784314, }, -- end of ["color"] ["properties"] = { }, -- end of ["properties"] ["hidden"] = false, ["name"] = "30 Keyhole Zone", }, -- end of [13] Is there a Height property or some other attribute that can be assigned in order to get a spherical zone completely above the ground?
-
Load Unit Names Table At Mission Start
Wrecking Crew replied to Wrecking Crew's topic in Mission Editor
This ^^^ script has been working well. The text output contains the client Pilot Name, like "F-15C 01". This value is assigned in the Mission Editor for the Unit within its Airplane Group - see the green arrow in the screenshot. The complete code is also attached. I need a little bit more help with this. I want to include two more values in the text output, but I don't see these values in the S_EVENT_TAKEOFF data or in the mist.DBs.humansByName table. The values are: The Client's handle, like "Wrecking Crew". The Callsign, like "Dodge 1-1" in the screenshot at the blue arrow. The result would be in the text out, something like this: trigger.action.outText('Blue Client ' ..clientHandle.. ' in ' .. airborneUnitName .. ', Callsign ' ..unitCallsign.. ' just tookoff!', 5) And would look like: Blue Client Wrecking Crew in F-15C 01, Callsign Dodge 1-1 just tookoff! My questions: Where do I get "Wrecking Crew" and "Dodge 1-1"? And how to link those to what I know which is the "F-15C 01" unitName? Blue Sky Scripts.lua -
ME Unit of Measure for Zone Radius The values for Zone Radius should be the same in both fields, regardless of the measurement system. See the screenshot red arrows.
-
ME Unit of Measure in UNITS SPEED LOWER THAN
Wrecking Crew replied to Wrecking Crew's topic in Mission Editor Bugs
I heard that suggestion before :-) The values should be the same regardless of the measurement system. -
ME Unit of Measure in UNITS SPEED LOWER THAN The Arguments include SPEED in 'kts'. In the screenshot it is set to 2 - see the red arrows. In the Conditions panel the value is shown as 1.02777..
-
ME Event Action MESSAGE...: Comment & Seconds = 0
Wrecking Crew posted a topic in DCS Core Wish List
ME Event Action MESSAGE...: Make a Comment by setting Seconds = 0 Enable a "Comment" capability in the Mission Editor Events simply by setting the Seconds to Zero for any Action of MESSAGE... -
For Mission Editor Events, for the Action of LOAD MISSION: Add a checkbox labeled "RELOAD THIS MISSION". When it is checked, the dialog box for the .miz file name is greyed out and disabled. When the Event Condition is met then the same mission will be reloaded/restarted. When the checkbox is unchecked then the dialog box for the file name will be open and enabled. This update will be especially helpful for multiplayer servers where a mission is designed to restart after completion. Currently, when a mission name is changed, all related LOAD MISSION actions also need changing; sometimes this gets forgotten and the server will stop when it tries to load an old mission that no longer exists.
-
Thank you Deltaalphalima1! I got mine installed last night - works perfectly - #338. Great instructions including your calibration process. I used the square opening. Looking forward to many enjoyable hours with this new slew control.
-
Red Jets Stuck Inside Hardened Hangers at Krymsk Su-27s with Takeoff From Ramp at Krymsk are stuck inside the hangers, particularly parking spots 9 and 39, others. These are AI in groups of 2 jets / flight. The Su-27 spawned with its nose outside of the hanger door. This group spawned with lights on and I could hear their engines but the doors never opened.
-
MLRS does not fire weapons..
Wrecking Crew replied to Snacko's topic in Aircraft AI Bugs (Non-Combined Arms)
Your MLRS is too close to your fire point. Look for the MLRS range Rings and you will see the inner one is beyond your target. -
In DCS v2.5 there are new chain link fences around airbases. I just took this screenie of Kutasi's fence. These fences are impassable. Missions that were won based upon Coalition Captures Airbase are not achievable because the attacking vehicles cannot run over the fence. This is Kutasi's fence -
-
weather and time settings with moonlight? (2.5)
Wrecking Crew replied to SierraFox's topic in Mission Editor
I use the calendar that Spez posted, the 2011 year. Up north in the Caucasus it is 0900 at sunrise in the winter. The calendar is good for full moon night missions. Here is my old link, same I think - https://forums.eagle.ru/showpost.php?p=1590249&postcount=21 -
This is one contribution And, here's a screenshot of setting up zones. One of the many aspects of mission design in DCS. If you want some help, let us know what you want to do. Put together a starting mission to review.