-
Posts
4680 -
Joined
-
Last visited
-
Days Won
10
Content Type
Profiles
Forums
Events
Everything posted by cfrag
-
DML - Mission Creation Toolbox [no Lua required]
cfrag replied to cfrag's topic in Scripting Tips, Tricks & Issues
Probably not - I'm not entirely sure that I correctly understand the question, though. That being said, controlling the behavior of units isn't DML, strong suit (let's be honest, neither is it DCS's), so there aren't many modules in DML that even try to control unit behavior. None of them attempt it without involving some for of spawning since controlling the behavior of already spawned units is exceedingly bad implemented with DCS's mission scripting environment's API. -
DML - Mission Creation Toolbox [no Lua required]
cfrag replied to cfrag's topic in Scripting Tips, Tricks & Issues
That should be entirely doable. Let me see if I can get it into one of the next updates. -
Any update as to when mid-mission saves will be implemented?
cfrag replied to goot66's topic in DCS Core Wish List
It costs nothing to promise something. See "MAC", Dynamic Campaigns. The latter is seemingly competing for some vaporware record. Judging by what I see of DCS, I would not hold my breath wrt what a 'save game' feature would be able to deliver. I highly doubt that such a feature would be deep (i.e. be able to save a player's plane state) and compatible with existing missions. So let's be cautiously optimistic. Any progress would be better than the current situation; just don't expect much, nor soon. -
DML - Mission Creation Toolbox [no Lua required]
cfrag replied to cfrag's topic in Scripting Tips, Tricks & Issues
Perhaps it would help if you invested some time into finding out what DML is and how it works. There’s a manual in the download, and it should answer most of your questions. -
DML - Mission Creation Toolbox [no Lua required]
cfrag replied to cfrag's topic in Scripting Tips, Tricks & Issues
Perhaps re-visit the manual. I recommend against using DML's demos as a base for your own missions. Use the demo to experiment only. DML demos quickly become hopelessly outdated (DCS requires rapid changed to many modules), so the demos only serve to present the idea of the module for you to experiment with. Build your own mission with DML's newest and brightest modules as only the newest versions are supported. Below please find a miz that uses a factory to build groups of BTR-80 and sends them to a red owned zone. A countDown zone is used to limit the factory's production to exactly three blue production cycles. This is a bare-bones implementation, using textbook countDown and a factory. Of note may be "CommanderConfig" that sets "forceOffRoad" to true to work around a DCS pathing bug. Have fun, -ch produce three times.miz -
Was there a bug that you discovered that prompted you to upgrade radioMenus? This is not a critique -- I'm always on the look-out of bugs in missions that I contributed to be able to provide a better experience. So why did you update RM in IW? Is there something that I overlooked? If you update a module in a mission to a newer version from DML, I strongly recommend that you always update all modules that it is dependent on, and all modules that those depend on etc. all the way down, so that they all match the DML release that they were taken from. In this particular case, the newer version of RM depends on a newer version of dcsCommon that was part of the same DML version that you took RM from. It means that upon mission start, RadioMenus now asks for the MX module if it is not present. This happens as part of the messages that appear when the miz starts up so mission designers can go through all messages and determine if anything is amiss. In IW I intentionally clear the message space when the miz starts, and I usually look back at past messages through the 'Messages History' function that is always available via 'ESC' The easiest approach is 'fix one, fix all'. Replace all scripts with their newest DML version. Tedious, and occasionally may create issues if there was a major functionality update past the miz's publication. In IW's case this involved owned zones which were split into two modules (OZ and Factories) but I think (hope) that I resolved that. So replace all modules with their newest versions, and you should be set.
-
DML - Mission Creation Toolbox [no Lua required]
cfrag replied to cfrag's topic in Scripting Tips, Tricks & Issues
Confirmed, reproduced and corrected. Root cause was that the impostor code did not check if a unit that was "impostored" was killed before being impostored, leading to a unit not found. Below please find the corrected module. Note that I took the opportunity to tweak the code's performance which required an update to cfxMX as well (see below) I'm sure that you are aware of this: units that are spawned (e.g. by a factory) will not be controlled by an impostor zone since it can only handle groups that are present from the mission start. impostors.lua cfxMX.lua -
DML - Mission Creation Toolbox [no Lua required]
cfrag replied to cfrag's topic in Scripting Tips, Tricks & Issues
If you post the mission that you have, I think that we can quickly connect the remaining dots together -
DML - Mission Creation Toolbox [no Lua required]
cfrag replied to cfrag's topic in Scripting Tips, Tricks & Issues
I believe that you are 90% on track. Instead of a pulser, use the countDown module that is triggered each time that the factory produces something (through the factories blueP! or redP! outputs). When the countdown reaches zero, send a signal to the fctory pause? input to prevent further production. -
Yes they are. On the other hand: Peter Dinklage.
-
Because, as you so astutely observed, there is nothing new to see here. Just re-runs of the same old topics, by the same, now older, people. In other words: Quite Pointless. Then again, I'm on my fifth re-run of the entire 'Game of thrones' series, and still derive entertainment -- so yeah, you do you.
-
Is MAC still alive? No. Like this thread, it died peacefully a long time ago. After MAC failed to launch in 2018 (you do remember ED's launch announcement video, right?), any lingering IP that was still marketable got packaged into the "FC2024 sausage" (fine with me, I own FC2024 and the FF planes) and is now done. Now can we please let this zombie thread rest in peace?
-
DML - Mission Creation Toolbox [no Lua required]
cfrag replied to cfrag's topic in Scripting Tips, Tricks & Issues
Apologies, can't load the mission, requires ww2 pack. -
Version 1.75 - 20241002: new hospitals - major update Syria's map has received some love from the devs and the scenery has improved, new hospitals been added. Angels Syria is now better than ever Changes: slightly better csarFX cleaned up parking in Adana cleaned up parking in Beirut cleaned up parking in Nikosia added new hospital in Adana added new hospital in Beirut added new hospital in Haifa added new hospital in Nicosia added new hospital in Kyrenica moved Kyrenica Field hospital Enjoy, -ch
-
StopGaps - Script to fill empty player slots with planes
cfrag replied to cfrag's topic in Mission Editor
DCS hotfix from Oct 2nd 2024 fixes this issue. -
fixed DCS crashing on multiplayer when pressing f10 map after newest update
cfrag replied to ullmannbh's topic in Game Crash
Thank you, @BIGNEWY! -ch -
fixed DCS crashing on multiplayer when pressing f10 map after newest update
cfrag replied to ullmannbh's topic in Game Crash
My current thinking is that since some mission script (the stopGap script) creates static objects at mission start, this can lead to a full CTD crash when you call up F-10 map later on, perhaps because the static objects aren't yet fully initialized or incorrectly initialized when they happen during mission startup. @Flappie - may I request your kind expertise on this? -
PLEASE BE ADVISED: a DCS bug introduced with the latest DCS patch (Sept 30) renders any mission that uses some yet to be identified official DCS Mission Scripting API inoperable: it can lead to a CTD on mission start and/or when you press F-10. The following missions are affected (at minimum): Expansion, Angels (Caucasus, Sinai, Syria), COIN Ops, Cesar, Dustblower, Heroes of Flame, Marianas Proving Grounds, FC 2024, Kiowa Kitchen, probably more. I have stopped development on these and other missions to see what remedial action is required. I'm awaiting any messaging from ED on this, I have filed a report in multiple locations.
-
There seems to be a severe (CTD) new bug in the Sept-30 release. Below mission runs without problems in previous version, and CTD when you press F-10 in the new version. 100% reproducible for me. It will make at least the following missions crash, so please be advised to not play them until a bugfix has been issued by the kind folk at ED: Expansion, Angels (Caucasus, Sinai, Syria), COIN Ops, Cesar, Dustblower, Heroes of Flame, Marianas Proving Grounds, FC 2024, Kiowa Kitchen, probably more. Pity. Press F-10 to crash.miz
-
StopGaps - Script to fill empty player slots with planes
cfrag replied to cfrag's topic in Mission Editor
Confirmed. Requires a fix in DCS. Sigh. -
fixed DCS crashing on multiplayer when pressing f10 map after newest update
cfrag replied to ullmannbh's topic in Game Crash
Enclosed mission runs without problems on pre Sept 30 DCS. After the patch, mission crashes when pressing F-10 I'm suspecting a causal link with the spawned static objects. For reproduction, run mission, press F-10, boom. Press F-10 to crash.miz -
Oooooh. Syria AND Sinai updates! Is it Christmas already? Nice!