Jump to content

Need Assist for a Command ID for Weapon Release on A-10C II


Recommended Posts

Posted

Hello,

I've been trying to figure out the command ID for weapon release (pickle) which I want to trigger an event (a message).

1. Would that be X: cockpit parameter (the weapon release)?

2. Does anyone know what the command ID is for weapon release?

I've searched the command_defs.lua and cockpit arguments list and can't seem to find the right one. I've seen 350 somewhere but it doesn't work.

Thanks in advance,

John

Posted (edited)
49 minutes ago, King39 said:

I've been trying to figure out the command ID for weapon release (pickle) which I want to trigger an event (a message).

1. Would that be X: cockpit parameter (the weapon release)?

 

I would use the Action X:START LISTEN COMMAND, with command 350 (for the weapon release button), it will turn a designated Flag to True when the button is pressed.

 

49 minutes ago, King39 said:

2. Does anyone know what the command ID is for weapon release?

... I've seen 350 somewhere but it doesn't work.

 

Strange, 350 is the correct command code for the A-10C II in real mode, I assume you are not using Game Mode. Keep in mind that this action only detects if the Weapon release button is  pressed .. it does not mean that the weapon was actually released.

A better approach, in my opinion, is to define a Zone around your aircraft, and then use the MISSILE IN ZONE or BOMB IN ZONE conditions to detect if one of these weapons was launched or dropped.

Edited by Rudel_chw

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted
58 minutes ago, King39 said:

Thank, you I'll probably go that route. 

 

Hi. Just to be sure, I tested that code 350, to detect the button press, and it does work .. here a small test:

 

test.miz

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted
1 hour ago, Sedlo said:

@King39just to be certain, the command ID only works with single player missions.  If you're trying to do multiplayer, then you're out of luck in that regard.  Rudel's way would be the way to go.

Roger that. Thanks again.

  • Recently Browsing   0 members

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