Jump to content

dcs_event_bind_config.js and DCS_ID


Recommended Posts

Posted

Hello,

I am looking for the "DCS_ID" as indicated in the file "dcs_event_bind_config.js" but I did not find anything to match in the files "device.lua" or "clickabledata.lua".


Example :
{
// ALR67 POWER
>>dcs_id: "0.276",
device_name: ["F18_COMBAT_READY_PANEL"],
led: ["ALR67_POWER"]
},

Thanks in advance.

Posted

Why?

 

Ryzen 9 7950X3D - MSI MAG X670E TomaHawk MB, ASUS ROG Ryujin III 360 AIO

64gig Corsair DDR5@6000, Gigabyte GeForce RTX 4090 AORUS

Winwing Super Taurus, Orion2, TO / Combat panels, Collective with Topgun MIP

Winwing Skywalker pedals, NLR Boeing Mil Edition Simpit, 55" Samsung Odyssey Ark, Trackir

Posted

Because Winwing allows via the "dcs_event_bind_config.js" file to assign functions to the leds of their control panels since the last update.

I finally found the solution, just add "0." (zero and dot) in front of the IDs in the "dcs_event_bind_config.js" file, the IDs that are in the clickabledata.lua file without the "0."

Exemple for F-16 :

{
		aircraft_name: ["F-16C_50"],
		isResetLight: true,
		recv: [
			// F-16C_50
			{
				// 控制台灯
				// Console light
				dcs_id: "0.788",
				device_name: 0,
				led: ["Backlight"]
			},
			{
				// 起落架手柄灯
				// Landing gear handle lights
				dcs_id: "0.369",
				device_name: ["F18_TAKEOFF_PANEL"],
				led: ["Landing_gear_lights"]
			},
			{
				// A/A
				dcs_id: "0.169",
				device_name: ["F18_COMBAT_READY_PANEL", "WINWING_THROTTLE_BASE2"], // Multiple device names. 0: means all devices
				led: ["A/A"]
			},
			{
				// A/G
				dcs_id: "0.170",
				device_name: ["F18_COMBAT_READY_PANEL", "WINWING_THROTTLE_BASE2"], // Multiple device names. 0: means all devices
				led: ["A/G"]
			},
			{
				// ALR67 POWER
				dcs_id: "0.401",
				device_name: ["F18_COMBAT_READY_PANEL"], // Multiple device names. 0: means all devices
				led: ["ALR67_POWER"]
			},
			{
				// CRT
				dcs_id: "0.375",	// 0.375 CMDS RWR power // 0.555 AA refuel // 0.125 IFF ident
				device_name: ["F18_COMBAT_READY_PANEL"], // Multiple device names. 0: means all devices
				led: ["CRT"]
			},
			{
				// LI
				dcs_id: "0.670",	//left sensor ON/OFF
				device_name: ["F18_COMBAT_READY_PANEL"], // Multiple device names. 0: means all devices
				led: ["LI"]
			},
			{
				// RI
				dcs_id: "0.671",	// right sensor ON/OFF
				device_name: ["F18_COMBAT_READY_PANEL"], // Multiple device names. 0: means all devices
				led: ["RI"]
			},
			{
				// LO
				dcs_id: "0.367",	//chaf
				device_name: ["F18_COMBAT_READY_PANEL"], // Multiple device names. 0: means all devices
				led: ["LO"]
			},
			{
				// RO
				dcs_id: "0.368", //flare
				device_name: ["F18_COMBAT_READY_PANEL"], // Multiple device names. 0: means all devices
				led: ["RO"]
			}
		]
	},

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...