Jump to content

Project Dynamism

Members
  • Posts

    66
  • Joined

  • Last visited

Everything posted by Project Dynamism

  1. ED actually made an effort recently to revamp the manual. In the said folder \DCS World 2\Doc there is the new DCS User Manual EN 2020.pdf It covers all the basics of the editor, the various triggers and conditions as well as the advanced waypoint actions (pages 79 to 350). What it lacks is some tutorials or walk through example. This existed in the past as an PDF that came along the DCS installation. I can't find it anymore however... I used that to get into mission building with the editor years ago...
  2. Anyone tried this with the new Syria map or The Channel, Normany, Nevada? No complaints so far so I assume I correctly guessed the identifier of the map in DCS and everything is working as expected? Thanks for trying, Happy flying!
  3. Definitely the last option ChillNG, I kept the F10 menu open so I would guess thats exactly it: "[...] it is possible that you selected an option that was still showing but was actually now something else"
  4. Hi ChillNG, My first attempt to mission 3 ... really nice twist ! Would have never guessed. You are very creative. I really enjoy flying that mission as well. Pretty hard to spot stuff... and I broke it again :pilotfly: Not sure you can do anything about it. I will try tomorrow again and I'm sure to perform better. Thanks for the outstanding work and effort put in this. So many small details that make the scenario believable and immersive. Nice!
  5. @MobiSev, hi all Investigated the last days the topic of scenery destruction and made some adjustments. From now on only scenery that has a "destroyed" model will be exploded. Scenery without will just disappear. This limits the number of explosions at mission start quite a bit, as e.g. light poles and fences do not explode anymore... it also counters excessive destruction or self-accelerating destruction chains that sometimes develop. You still need the F10 option to switch off scenery destruction persistence? I would implement this and release a new improved version soon.
  6. Hi, Recently I started putting audio in one of my missions and settled on the following combo https://ttsmp3.com/ -> text to MP3 with https://convertio.co/en/ -> MP3 to WAV To me as a non-native speaker it sounds convincing. Having no problem with above generated WAV files in the editor.
  7. Hi zionid, In theory Project Dynamism will be only needed on the host (dedicated server) and all saves and recreations of battle damages should happen automatically. I tested running both a dedicated server and regular DCS on my machine (localhost). Connecting to the server hosted mission I could then use the F10 menu and everything worked as expected. Note that essentially it is not needed to use the F10 menu as for regular use all should happen automatically.
  8. Hi MobiSev, Regarding point 1: destructions to units, statics and scenery are saved and recreated at next mission start. This does not include an updated position of alive units (wrecks are placed at the destruction site though). From your comments I think you are referring to a complete state save, including the last position of units. To port this to a following mission requires to create a miz file (there is no teleport command at mission runtime). This is not implemented yet. Point 2: "Destruction Report [ON/OFF]" refers to all destructions be it units, statics or scenery. It is not selective. If you simply want to exclude scenery then I think this could be implemented quite easily. Will investigate...
  9. Hi MobiSev, Thanks for the feedback. Let me try to answer your questions. 1. Persistence of Airbases Currently persistence of captured airbases is not implemented. It is just about whether a base is blue/red/neutral? You know whether this could be achieved via LUA script? Workaround could be to spawn a unit. Aim for the future is to persist the airbase warehouse levels and (runway) damage. This however will require to create a miz file, currently Project Dynamism modifies it at mission runtime. 2. Selective Persistence Not implemented yet but could be made available. Is it only about bridges or about units/statics vs. scenery? The latter would be easier to implement. For bridges and some unique scenery object types (factories, comms towers) I should have the means already to check which object type they are and hence could filter. For a generic solution I would need to export all map objects and classify them. Unfortunately MIST does not report the type of destroyed scenery objects. Will investigate this a bit. Via the mission accompanying LUA file one yould then configure which damages are persisted / recreated. Is that what you are asking for? 3. Scenery Destruction DCS has no "scenery to rubble" function available in the LUA as well as no zones can be created dynamically via LUA to apply a "scenery destruction in zone" trigger. Therefore, yes you are right, everything needs to be exploded at mission start (or a miz file would need to be created). 4. Game Master Restriction I am a single player guy so you will need to help me. What different roles are there in multi player? Regular player, game master, any other? And how to distinguish between them? If this could be done via LUA from within the running mission then it would be easy to implement. How is this done for other multiplayer "management" scripts? Do they check if command comes from a pre-configured user name, or is issued with a password via chat message?
  10. Nice! Just finished mission two after 4 attempts over the last days. 1st I was too impatient 2nd I was shot down by SAM 3rd some trigger / script failure 4th everything went smooth and enjoyable During 3rd somehow my F10 radio menu got messed up. Being handed over from Whiplash to Condor instead of an entry of "F9 - Contact Condor" I had my wingman commands a second time (the various formations) in the list... no way to contact Condor... switched all radios and frequencies but to no avial... I could not reproduce it today... Thanks for the immersive mission. Looking forward to play the next.
  11. Hi ESAc_matador, There shoud be no problem. Project Dynamism does not impose a naming convention of units nor will it change them. Destroyed units however will be removed [ Obj.destroy() ] on mission start and be replaced by a wreck static unit spanwed at the correct position and heading. The destroyed proxies do not have the original unit name but get some kind of sequential id like '90001' (standard behaviour of MIST). Hope it works! Let me know about your success integrating it with CTLD.
  12. Hi kraszus, Please PM or e-mail (project.dynamism@outlook.com) me the old username and e-mail combination you used. I will then delete your old account so you can sign up fresh. Alternatively I can also reset the password if you wish to not lose your data / progress.
  13. The code is not public to protect the server API, but hosted on GitLab as private projects. Volunteer C# and Angular developers are welcome to collaborate. We will define what could be a good entry point and how to share the work and credit.
  14. Project Dynamism - Release Version 1.0 Dear all, Thank you for your continued interest in Project Dynamism. I'm happy to announce the release of version 1.0 which leads over from the public test phase to stable. The project website is now online. https://dynamism.stoxtime.com/ - News and Features - Download and Donation - Comprehensive Instructions with Screenshots. Also a new forum thread was started. https://forums.eagle.ru/showthread.php?t=283500 - Please use above official one instead of this old test version thread. The following improvements were introduced: [FIX] More robust recovery of user settings on update. [FIX] Handle error on unprotecting encrypted user settings. [FEATURE] Setup via Installer creating shortcuts. [FEATURE] Proper uninstall via Windows menu completely removing the DCS World integration. [FEATURE] Automatic updater that keeps the software up-to-date. [FEATURE] Improved error logging and stability. [FEATURE] Swapped the database for a spatially enabled one (PostgeSQL + PostGIS). [FEATURE] Categorization and grouping of Caucasus scenery e.g. into factory complexes and bridge compounds. [FEATURE] Saving of geo-locations for future map display. [FEATURE] Battle Damage Assessment of scenery object destructions via F10 menu. The Battle Damage Assessment analyses destroyed scenery in respect of target definitions made by the mission designer. A textual report lists destroyed scenery object types and statistics. Based on the assessment results the mission designer might trigger additional actions. This feature takes advantage of the exported and grouped Caucasus map objects, e.g. the Tuapse Oil Refinery complex. A respective mission is planned to be released. Currently a mission "Winter Bridgehead" was added to demo the Battle Damage Assessment feature on 3 bridges to be destroyed. More missions to come! Therefore I would like to invite you to download the new version and check out the added features. Please delete the existing application v0.9 Your settings and user account should be ported over automatically. Direct Download https://www.digitalcombatsimulator.com/en/files/3308298/ Get Started https://dynamism.stoxtime.com/getstarted.html - The one-click installer sets up everything in seconds. - Proper integration is monitored and renewed after an update automatically. - Download compatible missions from a curated library, select them in DCS World and get ready for takeoff instantly. - Control the persistence from within the mission. Create and Share Content https://dynamism.stoxtime.com/getcreative.html - Easily convert regular missions and campaigns to use full power of damage persistence. - No scripting required. - Be invited to share your creations with others. Happy weekend, Happy flying Project Dynamism
  15. Hi ChillNG, Downloaded all 4 released campaign missions and flew the first one some weeks ago. I really liked it. Very immersive, totally well done. Professional voice overs and procedures. Nice idea with the optional dialogs. Looking forward to try out the second mission... or refly the first... a third time then :music_whistling: First time I got the coordinates of the shooting range wrong. Typed them right from hearing into the CDU... and ended up in Saudi Arabia... Destination was believable as an US ally, but was wondering about the radio silence. So you might consider a "strayed away too far" circle beyond which the instructor starts to complain and repeats the current target coordinates/waypoint. Or have it accessible via F10 menu to ask him any time. Thanks for the outstanding work!
  16. Hi Dzsekeb, Sorry, there is no offline mode or means to host everything yourself locally. "Project Dynamism" really needs to telephone out. I opted for server based technology to - require minimal setup and resources on gaming rig - be more independent of DCS and LUA - support a range of DCS versions and react to scripting framework changes by serving adapted LUA scripts - provide dynamic content e.g. news/changelog, new missions and campaigns - centrally host an already pretty huge geo-database containing map objects data (airbases, factories, bridges, comms towers, etc. for Caucasus) used to assess damages - and most important auto-create mission files and control assets during mission runtime (in future) In summary to be future proof to develop this into a dynamic campaign framework that is configured via web interface and interacts with DCS at runtime.
  17. Download and Instructions Project Website Overview and Goals News and Features Download and Donation Comprehensive Instructions with Screenshots https://dynamism.stoxtime.com/ Direct Download For the impatient https://www.digitalcombatsimulator.com/en/files/3308298/ Get Started The one-click installer sets up everything in seconds. Proper integration is monitored and renewed after an update automatically. Download compatible missions from a curated library, select them in DCS World and get ready for takeoff instantly. Control the persistence from within the mission. https://dynamism.stoxtime.com/getstarted.html Create and Share Content Easily convert regular missions and campaigns to use full power of damage persistence. No scripting required. Be invited to share your creations with others. https://dynamism.stoxtime.com/getcreative.html Feature Promo Persistence of unit and scenery destruction for missions and campaigns. Single- and multiplayer supported. Curated library of compatible missions and campaigns. Grouping of scenery into factory complexes and bridge compounds (currently Caucasus only). Battle Damage Assessment of scenery destructions (soon more to be shown)
  18. Hello all, I would like to introduce "Project Dynamism", a persistence and dynamic content creation framework for DCS World. My aim is to provide a dynamic and persisting environment that allows for better immersion and a feeling of progression in DCS World campaigns and replayed single missions. This is achieved by recreating previously inflicted battle damage to scenery, static objects and AI units at mission start. At mission end all additional damage is recorded automatically. Project Dynamism is developed with focus on user-friendliness and feature-richness at minimal impact: integrated into DCS World as module with own campaign and mission section automatic check and renewal of the integration, e.g. after DCS update controllable via F10 radio menu minimum effort for mission creators to use (via naming convention, no triggers) ease to port existing missions and campaigns to use the persistence features minimal installation and integration overhead comes as Windows installer, one-click uninstallation, stable and reliable Typical use cases are: Create a single mission that is replayed until attrition of the enemy. Create a series of training missions that accumulate the damage and destruction at the shooting ground. Create a campaign that simulates weakening of the enemie's shield of SAM sites and final breakthrough to the valuable target. Create a campaign that accurately tracks attrition of air, ground and sea forces be they friendly or foe. Create a campaign with resource restrictions by persisting the destruction of warehouses, fuel storages and parked airplanes. Create a campaign that simulates the effect of destroyed infrastructure like bridges, FARPs and supply points. Inspired by DCS Witchcraft and the Dynamic Campaign Engine this project tries to push the boundaries even further. The long-term target is to develop "Project Dynamism" into a full dynamic campaign environment. Running independently from DCS as a browser app it automatically creates missions for the user into which content is spawned dynamically. In view of the RTS dynamic campaign under development by Eagle Dynamics this project instead will focus on turn-based elements (e.g. alternating planning and execution stages) and casual gamers with limited time to play. Currently this is a single-person project running next to a full-time job and small familiy. It started in summer 2019. So keep your expectations at bay. This is also the reason why I am planning to ask for funding via donations or for advanced features. The base version will remain for free. The money will be used to fund additional DCS maps and DCS modules if needed for development, pay local students who can spend more time in coding, and keeping the server running. In the end DCS and its community shall benefit due to the reinvestment of the money into DCS products as well as supporting related open-source projects. Enougth talking and dreaming, I would like to invite YOU to join the community of "Project Dynamism". Please give constructive feedback about its current state, bugs and problems found as well as the future plans mentioned above. Download link, installation instructions and how-to-use can be found in the post below as well as on the project's website. Happy flying!
  19. Hello Neon, I believe this comes from decrypting all your user settings (username, password, email) in the scope of the current user when starting up the Project Dynamism application. Encryption and decryption of the data must happen with code running under the same account on the same machine. Apparently either one has changed meantime, e.g. due to copying the user settings from the old machine / account. var userData = ProtectedData.Unprotect(encryptedData, optionalEntropy, DataProtectionScope.CurrentUser); If the issue persists you may try to delete the user settings file and relaunch the application. Do so by locating a folder "StoxTime" in the respectives user's folder similar to C:\Users\<username>\AppData\Local\StoxTime Simply delete that "StoxTime" folder with all its contents. Thanks for reporting this. :thumbup: Will make sure it will be handled in the next version of the software.
  20. Small steps accomplished towards v1.0 release: Yesterday: Updater is able to retrieve update packages served via internet Today: Spatially enabled database (PostgreSQL +PostGIS) installed on server
  21. Good news, The installer with updater, desktop shortcuts and uninstaller is finally working. :thumbup: Surprisingly there were many pitfalls with setting up the icons, Windows 7 & 10 in general (naming of the application, "correct" deinstallation entry point) and cleanly removing the scripts and folders added to the DCS user data folder. Will be all detailed on the website currently under construction.
  22. Currently working on a web page for the project. Once finished all will be orchestrated in a package: Installer with updater, desktop shortcuts and uninstaller Switch to geospatial database and revamp of backend + LUA scripts (allowing for the map feature teased earlier) Release of version 1.0 (stable technology- and feature-wise) Web page with information and detailled documentation of the project Currently the annual tax declaration, a new demanding project at work and nice spring weather is holding me back :music_whistling: By the way ikaruga, how is multiplayer working? Did you somehow succeed in resolving the issue of destructions not being properly synched to the clients?
  23. Hi Flappie, Any luck with the export script? Hope it will be useful for you and allow to automate some of the boring tasks. You think it will be possible to use your realistic Caucasus map in my project? The webapp I'm developing uses Leaflet, not OpenLayers. It can consume tile layers, WMS and GeoJSON. Also, you managed to export the true DCS road network of Caucasus, right? So in theory it can be used to place vehicles on road and to check if and how they can reach a given destination (e.g. path finding). The rivers and water bodies could serve as natural boundaries of movement. Were you able to export/outline the forests as well? Cheers
  24. Hi Flappie, Let me introduce you to the magical world of automation then :smartass: 1) First you need DCS Witchcraft and integrate it into DCS World - Original project see https://jboecker.github.io/dcs-witchcraft/ - Original download + instructions see https://github.com/jboecker/dcs-witchcraft - Problem is the included NodeJS version. Needs to be replaced by newer one, see: https://forums.eagle.ru/showthread.php?p=4199952#post4199952 2) Then set up and run a "Witchcraft enabled" mission in DCS and connect to it via http://localhost:3000/console.html 3) Fire the following script in the Witchcraft LUA Console while the mission is unpaused... might take a time... especially for first execution ------------------------------------------------------------------- -- scenery object as GeoJSON ------------------------------------------------------------------- local foundUnits = {} local volS = {id = world.VolumeType.SPHERE,params = {point = {x = 0,y = 0,z = 0},radius = 2000000000}} local ifFound = function(foundItem, val) if string.match(foundItem:getTypeName(), 'METEOBURO') then local point = foundItem:getPoint() local lat,lon,alt = coord.LOtoLL(point) local entry = { type = 'Feature', geometry = { type = 'Point', coordinates = { lon, lat } }, properties = { uid = foundItem.id_, type = foundItem:getTypeName(), location = { x = point.z, y = point.x, z = point.y } } } foundUnits[#foundUnits + 1] = entry end end world.searchObjects(Object.Category.SCENERY, volS, ifFound) return foundUnits 4) The result is a GeoJSON (minus some header and footer). - Copy paste the result into { "type": "FeatureCollection", "features": <copy_Witchcraft_output_here> } - Now you can paste the whole thing here for a nice map view: http://www.geojsonlint.com/ Thats it! Important for your scenery object search is the "TypeName". For the example here I use "METEOBURO" which is some kind of weather radar with round cupola on a stone tower. Many more interesting objects with thumbnail picture and type name you get from the \Mods\terrains\<terrain>\Models\ folder mentioned in the post before. To get you easier started I packaged all together in a ZIP you can download here: https://wetransfer.com/downloads/bd864a4a1ea1f9bfa2c03cbd18a02cd120200513145208/63c8e336aec18182b88814464ba29a0820200513152259/3beaad 30 MB, link valid for 7 days - put "witchcraft.lua" into your DCS user files directory something like C:\Users\<username>\Saved Games\DCS\Scripts - adapt "MissionScripting.lua" in your DCS installation folder something like C:\Games\DCS World 2\Scripts to match the one in the ZIP (Attention, your DCS installation is now vulnerable to malicious missionscripts, see Witchcraft documentation) - start DCS and run the contained mission Witchcraft_CAU.miz (if you trust me :music_whistling:, it basically only contains MIST library and the trigger to connect to Witchcraft) - put "DCS Witchcraft" folder wherever you want. Run the "witchcraft.cmd" in the "windows" subfolder. Once DCS is connected you can open your browser to http://localhost:3000/console.html and the Witchcraft LUA console should appear... Have fun!
  25. Hi Flappy, Following your mapping thread since the beginning. Great effort you have put so far. What a stunning new development. I am walking the same road as you, working currently on a web app and exporting scenery objects as well as grouping them e.g to factory complexes. See Project Dynamism - Persistence and Dynamic Content Creation Framework for DCS World In my case they are targets for dynamically created missions and damage persistence. bridges factories with smokestacks communication towers weather radars oil platforms and pumps For exporting points of interest in any DCS map I am using DCS Witchcraft and a custom LUA script to search for scenery objects. It creates GeoJSON format with X/Y/Z and Lat/Lon corrdinates. Interesting objects you can find by inspecting the ZIP files in <DCS_Installation_Folder>\Mods\terrains\<terrain>\Models\ e.g. \Mods\terrains\Caucasus\Models\BlockBuildings\BlockBuildings.preview.zip \Mods\terrains\Caucasus\Models\CaucasusAFBbuildings_new\CaucasusAFBbuildings_new.preview.zip If you are interested I can provide you the script and instructions how to get DCS Witchcraft working. It should then be straightforward to automatically listing ingame navaids like towers, stadiums, bridges, smokestacks, remarkable buildings, etc. BTW: In map #60 How did you get the oil derriks (the illuminated towers) exported? I can only get the pumps. The derriks themselves seem somehow exist only in a hidden state (even AI can not attack them properly)
×
×
  • Create New...