-
-
Notifications
You must be signed in to change notification settings - Fork 65
P51‐D Generator Disconnect Switch
The P-51D manual states that the disconnect switch is the left switch on the upper row.
- Now start ModelViewer2.exe.
- Open
Cockpit_P-51D-25-NA.edm
When you place your cursor on the connector box for the generator you will see an argument_id
pop up. In this case it is pnt_102
.
You can now go to that argument in the Args
window of model viewer and with the slider you can see that the control moves.
Now we have verified that 102
is the argument_id
for the control.
Now we need the device category ID which we will find from several files.
Searching for ptn_102
or 102
in the DCS World\Mods\aircraft\P-51D\Cockpit\Scripts\
shows this entry in clickabledata.lua
.
There the device category is listed. We need the actual ID which is a number. So opening devices.lua
we find that this.
The device category ID is 14
.
Now we need the command ID
for the control. Going back to clickabledata.lua
we have this piece of information.
It is Button3 we are interested in. We find information about that in the command_defs.lua
file.
You can see that the command start with 3000
so for each button in the list you add 1
. We can deduce that the command ID
is 3003
.
Now you have enough information to create the control in DCS-BIOS.