

Experimenting with TrackIR/Freelook and the AN/AAQ-28:

Hehehe..i've was curious how long it takes to someone asking exactly this question.
Well, can't say for sure but probably yes...if MLOD's are available. In fact it is pretty simple. These are just 2 user driven (scripted) animations.
This is the test code. Take note that it is kept pretty simple just for testing.Code:nul = [this] spawn { _plane = _this select 0; while {true} do { _head = 0 - (inputAction "LookLeftCont") + (inputAction "LookRightCont"); _eye = 0 - (inputAction "LookUpCont") + (inputAction "LookDownCont"); _plane animate ["liteningHead", _head]; _plane animate ["liteningEye", _eye]; hintsilent format ["%1\n%2", _head, _eye]; }; };
Respect! Myke. That is sooo awsome![]()
Btw that leaning your working on, can that be put on land vehicles too ? Ei when driveing backward in a car you could lean to the side to see more.

It can be added to any vehicle as long you have the MLOD's to edit.
The leaning is nothing more than a rotational animation applied to the pilot(/driver) proxy and controlled with the lean inputaction by a simple script.
But as this requires defining a new animation, having the MLOD's is absolutely inevitable.
just to prove a point about the TrackIR on an apache
can you try with the ah-1 arma1 mlod? ^^
either way, fantastic work
![]()
![]()
Twitter: https://twitter.com/Slatts_modding
PhotoBucket album: http://s296.beta.photobucket.com/use...o-man/library/
For those who won't buy A3 because of Steam, all I can say is I'll be having the best 5 minutes of my life before my PC explodes in a massive fireball engulfing me as I laugh from dying at the awesomeness of Arma3.
Slatts & HydroPump - Brothers in ArmA since 2002
Unfortunately I think using Myke's approach still wouldn't work well for the apache gun. The animation sources used for turrets cannot be controlled by script. Perhaps you could just use user animations to aim the gun and remove the turret aiming animation sources, but then it would be totally unusable by AI.

I really wish people would be more curious, spend more time on researching, trying, playing around. Sometimes people are really fast in saying "can't be done" instead just trying it.
*Link removed, feel free to ask for it*
AH-1Z with turret/gun controlled by TrackIR/Freetrack. Not set up for freelook at this stage. Not meant for playing!!!!
It is a quick and dirty ArmA 1 port, it spits countless errors in the rpt as it is in no way optimized for A2. It is just a proof of concept.
I was pretty lazy, actually the head up/down movement is inversed but this is just a matter of value tweaking.
And about the AI concerns: hell, it isn't that hard and unique to make a fake turret to use as data source if the gunner is AI and then by script using this data (animationPhase anyone?) to animate the real things.
So again, this is just to show that it works, nothing more. No support given on that, don't even think of asking if i would be so kind to finish this thing. Answer is no. I'm quite busy with the F-16 and just because i can use the gained knowledge on the F-16 i made the effort and tried this.
And for the credits: model and textures made by BIS.
:EDITH:
Forgot to say:
Blufor -> US -> Air -> AH-1Z
This is the one i've quickly set up for TrackIR. The other one at USMC is the original.
:EDITH again:
The download contain a pbo aswell the source files so anyone can take a look how it was made. For the BIS parts, the BIS license matters, for my parts (which isn't really much): it's opensource, if it's even worthy to mention.
Last edited by [FRL]Myke; Feb 28 2011 at 10:25.
I looked around (maybe not enough) and i couldn't find the instructions to use the GLT rearm feature, can someone tell me how it's done? Thanks.
My TF86 videos: http://www.youtube.com/user/DarthVenger?feature=mhee