-
Posts
1996 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Wrecking Crew
-
Like this -- with a simple Do Script -- --- Erl Sis, detect F-15Cs mist.flagFunc.units_in_zones{ units = {'F-15C 01','F-15C 02','F-15C 03','F-15C 04'}, zones = {'04 Air Zone'}, flag = 90457, zone_type = 'cylinder', toggle = true, } --- end of Erl Sis, detect F-15Cs See the events in the mission -- Erl Sis Mission WC's Mist Examples WC
-
I was just fooling around with this... See attached. WC
-
That looks like it will work, and it is easy enough to troubleshoot. If you ever wonder if a flag is firing you can add in an Action -> Message as visual feedback. If you lead your group names with something like "Blue" and "Red" then they will all sort into their two sections on the Unit List, instead of having them listed mixed. Same for the Events -- they are spread out rather than grouped with like events together. Take a look at my attachment. :-) WC
-
Fog is modeled in Dynamic Weather but there is no setting that is variable throughout the mission, unlike the rotation that can be applied to the cyclones. WC
-
I have the fog dialed in so it is just covering Kutaisi Airbase. As Red moves northeast to Kutaisi City I want the fog level to increase to hide the Red advance. This is the Fog Of War mission. WC
-
Is there a way to increase the fog height during a mission? WC
-
Consistent Mission Crash, "F-15C Kill Bombers"
Wrecking Crew replied to Wrecking Crew's topic in Game Crash
Testing this mission in single player and it continues to crash with DCS Stopped Working right at about 0852 time of day after a 0700 mission start -- so just under 2 hours. This is at the end of the dcs.log files -- 00039.293 INFO EDCORE: (wcTanker::Channel)enterToState_:0 00039.293 INFO EDCORE: (wcTanker::Channel)enterToState_:1 00039.484 INFO EDCORE: (wcTanker)enterToState_:0 00039.484 INFO DCS: wcTanker::onEvent:4 00039.484 INFO EDCORE: (wcTanker)enterToState_:1 00039.484 INFO EDCORE: (wcTanker::Channel)enterToState_:0 00039.484 INFO EDCORE: (wcTanker::Channel)enterToState_:1 02139.281 ERROR GRAPHICSXP: ModelManager: can't find TU-22-OBLOMOK-WING-R 02139.283 ERROR GRAPHICSXP: ModelManager: can't find TU-22-OBLOMOK-WING-L 02139.286 ERROR GRAPHICSXP: ModelManager: can't find TU-22-OBLOMOK-WING-R 02139.287 ERROR GRAPHICSXP: ModelManager: can't find TU-22-OBLOMOK-WING-L 03319.112 INFO TERRAIN: lObjectFire::lObjectFire for building id=278194 03325.132 WARNING LOG: 2 duplicate message(s) skipped. 03325.132 INFO TERRAIN: lObjectFire::lObjectFire for building id=278210 03386.452 WARNING LOG: 5 duplicate message(s) skipped. 03386.452 INFO TERRAIN: lObjectFire::lObjectFire for building id=269931971 03501.411 WARNING LOG: 7 duplicate message(s) skipped. 03501.411 INFO TERRAIN: lObjectFire::lObjectFire for building id=278327 03959.397 WARNING LOG: 3 duplicate message(s) skipped. 03959.397 INFO TERRAIN: lObjectFire::lObjectFire for building id=269931947 06840.054 WARNING LOG: 4 duplicate message(s) skipped. 06840.054 INFO DCS: try to write dump information 06840.186 INFO EDCORE: Minidump created. 06840.189 INFO DCS: try to write track file I've gone through the TU-22 flights -- there are two of them -- and they look OK from the ME. Any one see why this mission is crashing? BTW -- how to decode the left-hand numbers, like 06840.189? WC -
:thumbup:
-
You can spawn infantry groups when a convoy is attacked, but you need to get the convoy's position to know where to put the infantry. PM me if you want a short script that could be used. WC
-
In your reactivation scripts you may need to check for True in the condition by adding '== 1'. I'm not a LUA expert though. See the mission attachment,,, it's how I would do it -- look at Range #3 groups and events. Also look at the Flags attachment for a naming and flag scheme to help your mission structure. Using regular events is easy to troubleshoot, and, I'll say it, not as prone to version update issues. Load your mist with a Once and Time More Than ... I use 4 seconds. There is a later version,,, I'm on 3.5.37. Messages length is good at 20 seconds. WC
-
What's with this limit of 10K on Explode events!? I'm trying to set off suitcase nukes here! :joystick:
-
Ships still disappear at version 1.2.16.38741 -- When I get down close to the water and fly over this ship group with a cargo ship and three speedboats, the ships disappear but the wake is still visible. As I fly away from the group then they appear again. Also, I had a MAV D lock on the cargo ship and fired the MAV but it tracked several hundred yards behind the ship and exploded like it had a false lock. WC
-
The attached file has the latest crash logs, mission and track file. This mission, WC's F-15C Kill Bombers 1216v1p.miz, will crash every time it is hosted for multiplayer. I've gone through the groups and events to look for anything out of the ordinary... This mission has crashed on every DCS version release for 2-3 years. Please take a look to see if any clues can lead to fixing it. The current version is 1.2.16.38741. WC
-
The use of Mavericks to kill igla,s
Wrecking Crew replied to oscar19681's topic in DCS: A-10C Warthog
Heck, NUKE the little suckers from orbit if you can! And set your code to C on the CMSP to dump flares when they shoot at you. WC -
Here's a way to display flag values. === Displaying Flag Values With Text Messages Use a Do Script Action (does not require Mist) - local msg = {} msg[#msg + 1]='Blue All Points Flag 10000 value = ' msg[#msg + 1]=trigger.misc.getUserFlag('10000') msg[#msg + 1]='. \n' msg[#msg + 1]='Blue Vehicles In Zone Points Flag 20000 value = ' msg[#msg + 1]=trigger.misc.getUserFlag('20000') msg[#msg + 1]='. \n' msg[#msg + 1]='. \n' msg[#msg + 1]='Blue Aircraft Points Flag 50000 value = ' msg[#msg + 1]=trigger.misc.getUserFlag('50000') msg[#msg + 1]='. \n' msg[#msg + 1]='Blue Heli Points Flag 60000 value = ' msg[#msg + 1]=trigger.misc.getUserFlag('60000') msg[#msg + 1]='. \n' msg[#msg + 1]='Blue Vehicle Points Flag 70000 value = ' msg[#msg + 1]=trigger.misc.getUserFlag('70000') msg[#msg + 1]='. \n' msg[#msg + 1]='Blue Ship Points Flag 80000 value = ' msg[#msg + 1]=trigger.misc.getUserFlag('80000') msg[#msg + 1]='. \n' msg[#msg + 1]='\n' msg[#msg + 1]='Press Pause to freeze the action. \n' trigger.action.outText(table.concat(msg), 6) local msg = {} msg[#msg + 1]='Flag 1 value = ' msg[#msg + 1]=trigger.misc.getUserFlag('1') msg[#msg + 1]='. \n' msg[#msg + 1]='Flag 2 value = ' msg[#msg + 1]=trigger.misc.getUserFlag('2') msg[#msg + 1]='. \n' msg[#msg + 1]='. \n' trigger.action.outText(table.concat(msg), 6) === There's is the Witchcraft tool to help debug LUA scripts. WC
-
Well, you can test if two flag do equal, and use that result. I can think of a couple appraoches. Set two flags equal and when they are no longer return True. Test if one flag goes true while the other is still false and return True. ... WC
-
For Single Player: If a A-10C or F-15C slot was set to 'Player' instead of 'Client', can the a/c group have multiple units for the wingmen in units 2-x? And will those wingmen respond to radio commands from the Player? Multiplayer: AFAIK, this ^^^ is not an option with multiplayer Clients. WC
-
Here are some resources for using flags and Mist -- WC's Mist Examples WC's Flags The majority of my flags are five digits, and tie back to the Group and Units, and numbered Zones. A couple of pointers that are quite helpful for my designs: --- Stop Condition when a flag is true if trigger.misc.getUserFlag(90115) == 1 then return true end --- end of Stop Condition when a flag is true --- set a flag at a waypoint 'Perform Command', Run Script trigger.action.setUserFlag(71007, 1) --- end of set a flag at a waypoint WC
-
Set all groups to Late Activation. My approach is to place all of your groups on the map, and use events to activate them. To set a random value, say between 1-4, inclusive, set up an event for 'Mission Start', Random Flag #4, values 1 Min & 4 Max. Then use Flag 4 to activate your groups. If Flag 4 = 1 then activate some of the groups, if it = 2 then a different set of groups, and so on. I'm not sure if the UAV will give you a detection on the groups. If not, there are other ways to get a location and message you with it. WC
-
Impossible to switch OFF these 3 lights under my Mi-8...
Wrecking Crew replied to Skulleader's topic in Bugs and Problems
These lights are on in the AI Mi-8s, too. WC -
Ground Unit movement stops working
Wrecking Crew replied to Catastrophy's topic in Bugs and Problems
I would rather switch the gears. It can be tough getting a vehicle to get going in the mountains. WC -
Ground Unit movement stops working
Wrecking Crew replied to Catastrophy's topic in Bugs and Problems
Do you know if your Automatic Transmission is checked on in Options? WC -
Hi near_blind, In Moa's Pirates Of The Crimean mission there are motion-less ships that do get deactivated and replacements spawn in at the same place on the next event and then sail to their destinations. We haven't seen that mission on Hollo Pointe in quite a while, as ships had a problem with disappearing when you got close to them. But recently it seems that this may be fixed (i'd posted a screenie in the Firehouse thread). I have a script that determines the map location of a unit helicopter and spawns infantry. You sure could use that for your ship idea. See my last post in this thread. I'll get the ol' Pirates dusted off this week and see how it performs. WC
-
v1.2.16.38741 A Late Activated Group with Visible Before Start checked will not show the unit Labels once activated. Also, the same group will not show on the F10 map after activation. WC