Jump to content
Sign in to follow this  
p75

Trackir slave support (for the onboard gun) by script/addon

Recommended Posts

Hi Lads,

I'm looking into the TrackIr 5 system and hoped there was slave support for the onboard gun of Attack Helicopters. It is sadly not.

Now, I was wondering if you could be built in by a script? Is that technically possible?

As for example, it would be realistic for the AH-64's, which are in several addons.

Could some scriptwonder tell me if this is possible? And if it is what needs to be done as it would seem a really nice feature to have.

Share this post


Link to post
Share on other sites
Could some scriptwonder tell me if this is possible?

Certainly not without TrackIR mouse emulation (I hear that what's available isn't all that great). Even then there wouldn't be much you can do in terms of scripting. Essentially the only solutions I can think of involve mapping TrackIR to control aiming. No scripted solution though.

Share this post


Link to post
Share on other sites
Certainly not without TrackIR mouse emulation (I hear that what's available isn't all that great). Even then there wouldn't be much you can do in terms of scripting. Essentially the only solutions I can think of involve mapping TrackIR to control aiming. No scripted solution though.

Dawg,

Thanks for the reply, do you know if one can bind both the looking and the aiming to the TrackIR 5? If not possible, you couldn't fool the TrackIR/Arma 2 keybinding somehow with a script? So that they both follow the Head Movement of the TrackIR.

Edited by p75

Share this post


Link to post
Share on other sites

Script really isn't meant for this kind of thing. Handling user input (especially something like TIR input) is too low level for ArmA2 scripting. I would pretty much rule out any use of scripting for this.

Now it may be possible to fool the engine through config tricks or (probably your best bet) through control mapping.... but the only real way I can see this working is to either remap TIR to control your aim, or use a mouse emulator.

Share this post


Link to post
Share on other sites
Script really isn't meant for this kind of thing. Handling user input (especially something like TIR input) is too low level for ArmA2 scripting. I would pretty much rule out any use of scripting for this.

Now it may be possible to fool the engine through config tricks or (probably your best bet) through control mapping.... but the only real way I can see this working is to either remap TIR to control your aim, or use a mouse emulator.

Thanks Dawg, I'll ask if someone can test this.

Share this post


Link to post
Share on other sites

You can map aiming to TrackIR, however this will be extremely hard to control, but it is possible.

Share this post


Link to post
Share on other sites
You can map aiming to TrackIR, however this will be extremely hard to control, but it is possible.

Hey mate, thank you for your reply, the question would be if you can combine it with freelook? If you would bind the freelook and the aiming (if possible) to the TrackIR, do they then move simultaneously?

Share this post


Link to post
Share on other sites

I am not (yet) using TIR, but this is a very interesting subject.

If aiming can be controlled by TIR, how could you hope to make it accurate enough to hit something from a moving helicopter? Wouldn't you need some kind of locking feature similar to what missiles use? How does this work in reality?

In the 80s or 90s there were some helo sims which simulated this "monocle" by placing an overlay on the screen. This overlay was bound to the keys which controlled the movement of the head. I don't remember if freelook was an option or not.

Share this post


Link to post
Share on other sites
I am not (yet) using TIR, but this is a very interesting subject.

If aiming can be controlled by TIR, how could you hope to make it accurate enough to hit something from a moving helicopter? Wouldn't you need some kind of locking feature similar to what missiles use? How does this work in reality?

In the 80s or 90s there were some helo sims which simulated this "monocle" by placing an overlay on the screen. This overlay was bound to the keys which controlled the movement of the head. I don't remember if freelook was an option or not.

I think the gunner can lock a soldier when the crosshairs pass it. So, with some scripting help or even without and hitting next target should work, not?

Edited by p75

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×