Rising Thunder Alpha Test

A "Career Level" DCS World Server Series

Code Repository: MDN Web Docs Tutorial Projects

This is the lua. function to export the DCS mission time < local TIME = LoGetModelTime() >.


	local log_file = nil

	function LuaExportStart()
	  log_file = io.open("C:/Users/YourUserName/Saved Games/DCS/Logs/Data.txt", "w")
	end

	function LuaExportBeforeNextFrame()
	end

	function LuaExportAfterNextFrame()
		
	end

	function LuaExportActivityNextEvent(t)
	  local tNext = t
	  local TIME = LoGetModelTime()
	  log_file:write(string.format("Time: %.0f \n",TIME))
	  tNext = tNext + 6
	  return tNext
	end
	
	function LuaExportStop()
	  log_file:write(string.format("EXIT"))
		if log_file then
		log_file:close()
		log_file = nil
        end
        end
	    

The code in the function "function LuaExportStart ()" will be executed when the mission starts

Copy code with Ctrl + C, paste to export.lua file in the saved games folder to export, as follows.


	    C:\Users\DigitalEngine\Saved Games\DCS\Logs\data.txt
	
	    TIME: 0 
	    TIME: 6 
	    TIME: 12 
	    TIME: 18 
	    TIME: 24 
	    EXIT
	    

DCS Export - Simple TCP-Server Console


CH HOTAS maps

Su-25T


Time Formats

Projected Rising Thunder Execute Date & Time for limited Alfa Test availability in differing formats.