159th_Falcon Posted May 13, 2010 Posted May 13, 2010 Well, topic says just about all. What i need is an DUMMY guide on how to export game data. For example; Airspeed (true/indicated) Ground speed Atmospheric altitude Fuel remaining Engine N1% (to be displayed on a 2nd monitor, updated x times a second) I have tried searching the forums and google but was left whit having to reinstall FC2 to get it working normally again. The results i booked where none-existing. In any reply you make please take into consideration i have 0 experience whit coding anything. (not counting "hello world" in html..........:music_whistling:) [sIGPIC][/sIGPIC] The keeper of all mathematical knowledge and the oracle of flight modeling.:)
71st_Mastiff Posted May 13, 2010 Posted May 13, 2010 Well you can try yodas LWUVU2 it has ADI and HUD all though I havnet been able to get the HUD to work the radr and rwr and ADI works. http://forums.eagle.ru/showthread.php?t=53464 Well, topic says just about all. What i need is an DUMMY guide on how to export game data. For example; Airspeed (true/indicated) Ground speed Atmospheric altitude Fuel remaining Engine N1% (to be displayed on a 2nd monitor, updated x times a second) I have tried searching the forums and google but was left whit having to reinstall FC2 to get it working normally again. The results i booked where none-existing. In any reply you make please take into consideration i have 0 experience whit coding anything. (not counting "hello world" in html..........:music_whistling:) "any failure you meet, is never a defeat; merely a set up for a greater come back", W Forbes. "Success is not final, failure is not fatal, it is the courage to continue that counts", "He who never changes his mind, never changes anything," Winston Churchill. MSI z690 MPG DDR4 || i9-14900k|| ddr4-64gb PC3200 |zotac RTX 5080|Game max 1300w|Win11| |turtle beach elite pro 5.1|| ViRpiL,T50cm2||MFG Crosswinds|| VT50CM-plus rotor Throttle || Z10 RGB EVGA Keyboard/ G502LogiMouse || PiMax Crystal VR || 32 Asus||
159th_Falcon Posted May 13, 2010 Author Posted May 13, 2010 Thank's for the pointer, but i ain't really looking for that. purpose of exporting the stated data will be to gather fuel consumption of the SU25T on different altitude's, airspeeds and loadouts. [sIGPIC][/sIGPIC] The keeper of all mathematical knowledge and the oracle of flight modeling.:)
Case Posted May 13, 2010 Posted May 13, 2010 Check config/export/export.lua. It has some nice info on how to extract exported data and write it to a file. Be sure to set exports on in config/export/config.lua before doing tests. There are only 10 types of people in the world: Those who understand binary, and those who don't.
jalebru Posted May 14, 2010 Posted May 14, 2010 yep, most of what you need will be in the export.lua file, the main functions you will be looking at will be LoGetEngineInfo() -- (args - 0 ,results = table) engineinfo = { RPM = {left, right},(%) Temperature = { left, right}, (Celcium degrees) HydraulicPressure = {left ,right},kg per square centimeter FuelConsumption = {left ,right},kg per sec fuel_internal -- fuel quantity internal tanks kg fuel_external -- fuel quantity external tanks kg } LoGetIndicatedAirSpeed() -- (args - 0, results - 1 (m/s)) LoGetTrueAirSpeed() -- (args - 0, results - 1 (m/s)) LoGetAltitudeAboveSeaLevel() -- (args - 0, results - 1 (meters)) I've attached a modman pack with a couple scripts to get you started.FC2 Datadump.rar [sIGPIC][/sIGPIC]
Heks-Hunter Posted May 14, 2010 Posted May 14, 2010 export announciators? Is it possible to export data for announciator or gear light LEDs(via usb hardware)?How to realise an export of alt.,speed,fuel etc. on a usb lcd display like the (elv) ULA 200:book:
sweinhart3 Posted May 14, 2010 Posted May 14, 2010 My question is if the export.lua is the same as in BS in that you can take the same type of data and export it in the same way or does it use different coding format? Intel i7 990X, 6GB DDR3, Nvidia GTX 470 x2 SLI, Win 7 x64 http://picasaweb.google.com/sweinhart
Recommended Posts