

0xDEADBEEF
Members-
Posts
449 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by 0xDEADBEEF
-
cannot write file with io.open() .write() .close()
0xDEADBEEF replied to 0xDEADBEEF's topic in Mission Editor
i wonder why I didnt look there in the first place :O thanks mate! is there any variable/function/reference to the missions folder in saved games? I don't quite feel like typing an absolute path on my harddrive, in case I ever move it to a server it wont work anymore ... -
Hi guys! I'm going circles! I'm trying to write a file like this: local function exportstats() local exportData = "text" exportFile = io.open("file.lua", "w") exportFile:write(exportData) exportFile:close() end at first io and lfs were sanitized, i commented the two lines in MissionScripting.lua then the file would still not open, although io not being nil, io.open() returned nil, launching DCS in Admin mode solved this error. So now the script runs error free, but there is no file anywhere :huh: I got absolutely no clue whats wrong ... any help is very much appreciated! thanks! beef
-
oh look, there's a more complicated way to do it :D I found a way that works well for me, on my second screen i got the explorer with the script-file open, next to it winrar with the mission-scriptfolder open. When I'm finished testing I load another mission so the mission is not open. I do my changes, safe them, drag the script file into the zip, reload the mission and im good to go. Loading takes about 10-15 seconds, which is not comfortable but bearable. ;)
-
Complete Transport and Logistics Deployment - CTLD
0xDEADBEEF replied to Ciribob's topic in Scripting Tips, Tricks & Issues
Hi Ciribob, I got a quick question. Just playing around with the ctld.addCallback, and I realized some inconsistency in the values of _event.unloaded. if I drop the troops in a pickupzone, _event.unloaded would be a table of units. if I drop the troops anywhere else, it seems to be the groupID ("id_") of the units I dropped. Is there a reason for this? thanks! beef -
Hi guys! I'm just entering the scripting thing and I didn't manage to get a search result on this topic. So, i just found out, in order to have the script updated, you have to reassign the doscriptfile trigger. I'm looking for a way around. So far I understand that the .miz is a zipfile which contains the scripts. Updating the "doscriptfile" updates the script in the .miz-zip. My idea is to just have a button in my task bar, which when I click would update the scriptfile in the .miz-zip. So I edit the .lua outside the .miz, click my macro command and have it update the .miz-file with the new scripts. This way I could just reload the mission ... My problem is, i've spent the past 10 years on OS-X, so I got no real clue how to do this in Win10, but I figure chances are high somebody did this already? any help appreciated! beef
-
So good! Please don't forget to add the M2000 to the mission xcom! ;)
-
searching for transsonic drag quickly brought up this interesting paragraph: "In aeronautics, transonic refers to the condition of flight in which a range of velocities of airflow exist surrounding and flowing past an air vehicle or an airfoil that are concurrently below, at, and above the speed of sound in the range of Mach 0.8 to 1.0, i.e. 600–768 mph (965–1236 km/h) at sea level. This condition depends not only on the travel speed of the craft, but also on the temperature of the airflow in the vehicle's local environment. It is formally defined as the range of speeds between the critical Mach number, when some parts of the airflow over an air vehicle or airfoil are supersonic, and a higher speed, typically near Mach 1.2, when the vast majority of the airflow is supersonic. Between these speeds some of the airflow is supersonic, but a significant fraction is not." - source Wikipedia I finally understood the fact that Transsonic Drag occurs because parts of the airframe are supersonic, while other parts are not. This makes perfect sense! I didn't get to test the new mirage yet unfortunately.
-
I got the impression its WIP as well. The F15/AMRAAM has a pretty decent warning tone when it goes pitbull. Not when it goes off the rail though. The Su27 only triggers a contant lock tone, no way of telling when the missile goes off the rail. And I've also heard the SAM-launch tone, not to overhear. Hope this improves. I really miss the signal strength indicator of the russian Beryoza, that kinda pays off for the disadvantage of not knowing which unit you face ...
-
AIM9M on the M2000C! (Simple Mod)
0xDEADBEEF replied to OnlyforDCS's topic in Utility/Program Mods for DCS World
Am I blind or do these mirages have 4 Super 530s on them?? :O -
TM WARTHOG Force Feedback?
0xDEADBEEF replied to whiteside's topic in PC Hardware and Related Software
Not gonna work out. I have the idea of making one for myself maybe in the future (if I finally find the muse to dig out and relearn cad software. So far just in parts I need (Motor, PSU and controllerboards) I calculate a minimum of 300$. Not including milling/prototyping, and I plan to keep the WH stick. Sure might be done cheaper, but if I ever find/invest the time constructing one, I wanna have proper forces and floor mounting. Like the Op said, nothing sinderwinder like that you place in front of your desk. In theory its rather simple. 2 Axis gimbal mechanics where you connect two motors and a magnet. Gimbal is essentially a rod, a shaft with bearings, a centerpiece with another shaft (double half actually) and besrings. Two gears for the motors and a proper powersupply. There is a ffb-usb-controllerboard readily available for 150$ Per axis, so no need to develop this (Ultra timesafer). I really think its doable, and I'm surprised nobody did it yet ... so, now I finally publicly said it :D Maybe someone is doing it now before I get to do it :megalol: -
I seriously cannot wait for this!! You think you could provide a berioza-only version too? It is such a vital instrument and hidden in the bottom right ...
-
Also in dogfight, corner speed is key. Afaik with the M2k its around 450KIAS depending on your loading. If anyone has more precise values I'd be happy to hear them :)
-
DictKey_Waypoint ... all waypoints renamed
0xDEADBEEF replied to 0xDEADBEEF's topic in Mission Editor
Well thats what I'm doing. Mission Editor and Multiplayer session. Write-access error. Or am I missing your point? -
DictKey_Waypoint ... all waypoints renamed
0xDEADBEEF replied to 0xDEADBEEF's topic in Mission Editor
ahh ok, so this also implies that the technique to reduce load-times by just reloading a mission file in multiplayer in a second instance that I've read in one of the beginner-threads is no longer working? weird, i searched for DictKey but didnt get a result neither in google nor the forum search ... -
Hi guys! I'm in the process of getting to know the ME. I'm starting with scripting (I have a coding background from 10 years ago, also lua), added MIST to my Mission, but didnt do anything with it instead of loading it. Then I've tried to run DCS in a second instance and reload the mission for faster testing. Once the mission was running in the second instance (DCS 1.5 release) I could not save changes in the ME anymore (running 1.5.2 openbeta, same version as release). After closing the running mission I could save again in ME, but, and this is what I completely not understand: *all* waypoints are now renamed to "DictKey_WptName_%number". While I do have a backup of the mission with proper waypoint names. I would really like to understand what happened. I did a search on the Forum for DictKey_Wpt but didnt get any results. So I felt like opening a new thread. Thanks in advance! beef
-
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
645 is the number of the function that is called, i dont know where the 3 comes from. the device number is in file called something like cockpitdevices.lua, you add +1 to every number there. -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
found the file through the notepad++ search function (i made it search the whole folder), its in the clickabledata.lua in the m200s cockpit folder. -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
Some more goodies, the Engine Start Panel: {down = 3645, up = 3645, cockpit_device_id = 7, value_up=1, value_down=0, name = "Start Button Safety Cover", category = "Engine"}, {down = 3646, up = 3646, cockpit_device_id = 7, value_up=0, value_down=1, name = "Starter Fuel Pump", category = "Engine"}, {down = 3647, up = 3647, cockpit_device_id = 4, value_up=0, value_down=1, name = "Left Fuel Boost Pump", category = "Engine"}, {down = 3648, up = 3648, cockpit_device_id = 4, value_up=0, value_down=1, name = "Right Fuel Boost Pump", category = "Engine"}, {down = 3649, up = 3649, cockpit_device_id = 7, value_up=1, value_down=0, name = "Engine Start Switch", category = "Engine"}, {down = 3650, up = 3650, cockpit_device_id = 7, value_up=0.5, value_down=0, name = "Ventilation Selector Switch", category = "Engine"}, {down = 3467, up = 3467, cockpit_device_id = 7, value_up=0, value_down=1, name = "Engine Shutdown Switch", category = "Engine"}, -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
there you go! I thought it was Device 11, EW_RWR, and added a 1 to that ... thanks! -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
I solved the airbrakes with a simple double-on toggle: {down = iCommandPlaneAirBrake, up = iCommandPlaneAirBrake, name = _('Toggle Airbrake'), category = _('Systems')}, did anyone get the jammer going? I could not even assign a working button :( button is 606 and cathegory 12 -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
Boom, i need this little push, haha! please let me contribute the jettison safetycover switch up/down capable. You guys made me look up the functions :) {down = 3248, up = 3248, value_up = 1, value_down = 0, cockpit_device_id = 6, name = 'Selective Jettison Safety Cover', category = 'Armament Panel (PCA)'}, this makes this plane a lot more enjoyable :) -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
slective jettison doesnt seem to work for me? -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
<3 -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
ohhh would you mind posting these lines of code here? that would be fantastic!! -
Manual Tweak - keybind addition for Radar On / Standby on Hotas / Keyboard
0xDEADBEEF replied to Rlaxoxo's topic in M-2000
so good! thank you!