Jump to content

NeoBlue

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by NeoBlue

  1. Hi, there~ Recently I encountered a problem which cause landing success rate drop by around 9 percent. Im not familiar with the collision model shape of the tail hook and arresting cable. After several attempts after this problem. I change my aircraft landing pose by pushing the stick just before landing on the deck. Ofcourse the AoA would be smaller, but it seems the arresting cables are all properly caught by the hook. Could anyone tell me the right landing AoA control making the tail hook catching arresting cables, without just running through. I was keeping the AoA indicator in orange getting about 8degree AoA. Appreciate the help in advance and looking forward to any suggestion~
  2. UPDATE: The Server.lua can certain affect missions newly created, for example the Case I landing mission in INSTANT ACTION. In order to affect the mission I saved from trk, I have to open the .miz pack and change the Config/Server.lua file. This is SO UNCONVENIENT! I modified the AnglesDefault field to following values which make F4 same as before DCS update. Did new version change the axis orientation definition or something? Are there any techinical reference stating the change especially with the lua APIs? Chase = { LocalPoint = {6.000000,-1.000000,0.000000},--{0.600000,3.682000,0.000000}, AnglesDefault = {0.000000,8.000000,0.000000},--{180.000000,-8.000000}, }, -- Chase
  3. Hi, there~ I need ur help! After the forced update today from 2.8 to 2.9, I found the F4 setting in Server.lua NOT WORKING for FA18c hornet. I used the Chase view with 8 degree down to do some computer vision task below the aircarft. However, the AnglesDefault field not affected by the setting and the camera facing the same direction with plane. I tried to modify the valuables, turned out nothing changed for the F4 camera. NOTE: I create the mission from previous trk file. However, the Config/Server.lua is exactly the same with one I placed under DCS/Config/View/ folder ViewSettings["FA-18C_hornet"] = { -- Cockpit = { -- [1] = default_fighter_player({CockpitLocalPoint = {4.710000,1.28000,0.000000}, -- EyePoint = {0.000000,0.000000,0.000000}, -- limits_6DOF = {x = {-0.050000,0.600000}, -- y = {-0.300000,0.100000}, -- z = {-0.250000,0.250000}, -- roll = 90.000000}}), -- }, -- Cockpit Chase = { LocalPoint = {6.000000,-1.00000,0.000000},--{0.600000,3.682000,0.000000}, AnglesDefault = {0.000000,-8.000000},--{180.000000,-8.000000}, }, -- Chase Arcade = { LocalPoint = {-27.000000,12.000000,0.000000}, AnglesDefault = {0.000000,-12.000000}, }, -- Arcade }
  4. thx for ur helpful information. The trigger in Mission Editor is really a powerful tool. Timeout restart and pilot death restart can work via your method. Because my need is to restart the mission externally using export.lua via socket commands. I would love to share some other skills I discovered recently. 1. in directory /DCSWorld/MissionEditor/ change file MissionEditor.lua line 4 OPTIONS_ADD_COMMAND_CODES_TO_TOOLTIP = true 2. Now restart DCS and in control configurations, the internal command code will be displayed in tooltip. Search for Restart Mission Action code=1641 null 3. The export.lua file should be modified to support socket communication(usually the lua side work as a server). Once a predefined msg is transmitted to lua socket server, the lua script will use LoSetCommand(1641) to restart my mission. 4. Now lots of clickable thing can be done by following combos of commands --Step 1. Anti-skid OFF, hook lever DOWN, hook bypass switch to CARRIER, landing lights ON -- Anti-skid OFF: GetDevice(5):performClickableAction(3004,0) -- Arresting Hook Handle-DOWN GetDevice(5):performClickableAction(3013, 0) -- hook bypass switch to CARRIER GetDevice(9):performClickableAction(3009, 0)--(3025) this also work -- landing lights ON GetDevice(8):performClickableAction(3010, 1) --Step 2. Set ALTITUDE Switch to RDR, set Radar Altimeter Index to 320 ft(proper altitude when 3/4nm from carrier) GetDevice(34):performClickableAction(3021, 0) LoSetCommand(317)--317 decrease/316 increased --Step 3. Set Landing Gear Lever-DOWN, Flaps Level-FULL(DOWN) LoSetCommand(431) GetDevice(2):performClickableAction(3007, 2)
  5. Hi, Preacher74. Have u figure out how to do this? I also want to invoke iCommandMissionRestart command to restart my mission automatically in export.lua file via a socket message from my other program.
×
×
  • Create New...