+sophocles 1,345 Posted September 17, 2022 (edited) Hello all! I've been working on getting some functionality to the Recon variant of the new Norwegian RF-5a variant and have set up a "fake" gun to act as a camera so that when you fire the secondary guns, you get a neat "whirring" film projector type sound. I've subsequently set up the camera frame counters on the Recon panel in the cockpit to count down the camera frames as the camera "fires". Although the counters work just fine as I "fire" the secondary guns, the problem is that the counter dials count back even when I fire the primary guns! How do you get the game to use the GUN_ROUNDS_INDICATOR to refer only to the secondary gun? Here is the cockpit.ini entry for the camera frame counters.. [CameraFrameCounter] Type=GUN_ROUNDS_INDICATOR => How do I get this parameter to refer only to the secondary gun? CounterNodeFormat=gun_dial%d MovementType=ANALOG_COUNTER Would appreciate some help! Edited September 17, 2022 by sophocles Share this post Link to post Share on other sites
+yakarov79 11,089 Posted September 17, 2022 try something like itemnumber= 1 or 2 ??? in cockpit.ini. But if I remember correctly..round counter refers to the total amount of rounds. And also did not work with gun pods. Share this post Link to post Share on other sites
+sophocles 1,345 Posted September 17, 2022 1 minute ago, yakarov79 said: try something like itemnumber= 1 or 2 ??? in cockpit.ini. But if I remember correctly..round counter refers to the total amount of rounds. And also did not work with gun pods. Thanks @yakarov79 I tried "_2" but it didn't work. I fear you're right about the total number of rounds .. never mind it's still cool! Share this post Link to post Share on other sites
+yakarov79 11,089 Posted September 17, 2022 there is something like a "gun group" in aircraft data ini ? maybe try to match the item number to gun group number (if there is something like this - do not remember now) Share this post Link to post Share on other sites
+sophocles 1,345 Posted September 17, 2022 (edited) 14 minutes ago, yakarov79 said: here is something like a "gun group" in aircraft data ini ? maybe try to match the item number to gun group number (if there is something like this - do not remember now) I just seperated the primary guns and the "camera frame" secondary gun as different gun groups in the data.ini and it worked!!!!!! By selecting the secondary gun group, the counter now only counts back when you fire the secondary gun! Good job @yakarov79!!!!! BTW I also added "item number in the cockpit .ini as you said.. [CameraFrameCounter] Type=GUN_ROUNDS_INDICATOR itemnumber=2 => This now works!!!!!!!!! CounterNodeFormat=gun_dial%d MovementType=ANALOG_COUNTER Edited September 17, 2022 by sophocles 4 Share this post Link to post Share on other sites
+sophocles 1,345 Posted September 17, 2022 (edited) You know .. most of you are probably thinking WGAF .. but it's now infinitely more rewarding when you can fly Recon missions - and instead if just pretending it all, you get to 1. activate the camera, 2. get an image of the camera view in the top right corner, 3. get a sound of it operating .. and 4. have the camera frame counters on the left console of the pit rolling backwards as you run out of film.. Huge shout out to @Cliff7600, @logan4, @paulopanz and @yakarov79 for helping me put it together! Edited September 17, 2022 by sophocles 6 1 Share this post Link to post Share on other sites
Wrench 9,848 Posted September 17, 2022 that is pretty damn cool!!! 1 Share this post Link to post Share on other sites
+sophocles 1,345 Posted September 18, 2022 some pics .. the first showing the camera selected in the gunsight as per the flight handbook .. and the second showing the switch turned to "ON" when the camera is selected, and the counter rolling back the frames.. 7 Share this post Link to post Share on other sites