Jump to content
Sign in to follow this  
Fiasco

How do you get 6dof trackIR to work

Recommended Posts

I can't get 6dof to work with ArmA lib. I installed Armalib and also have the sample 6dof file but am still limited to normal trackir function.

Any help appreciated

Share this post


Link to post
Share on other sites

Umm. did you try the test mission?

Also did you disable TrueView for the ArmA profile in your TrackIR settings";

i dont got track ir.. but from what i understand. is that if you want to use it all the time. like in the example. you need to make a addon/mod.

this could be done simply by using extended eventhandler.

but not quarantied access to all server. some server kick you when you use mod's

hope this helped.

Share this post


Link to post
Share on other sites

It comes with a sample 6d0f mod but it doesnt' appear to work.

Share this post


Link to post
Share on other sites

a sample mod? i think you mean a sample mission.

i got armalib myself. and the sample pack only seams to include a example mission "*.pbo". make sure you put it in the right dir..

have you tried unpbo the file and tested the "test" mission in the editor?

Share this post


Link to post
Share on other sites

Has anyone got it to work in MP ? How on earth did you do that ?

Share this post


Link to post
Share on other sites

using extended eventhandles should work "if server allows the mod(s)",, get it @ armaholic.com

so what you do i to make

config.cpp

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgPatches {

class TrackIr {

units[] = {};

weapons[] = {};

requiredVersion = 0.14;

requiredAddons[] = {"Extended_EventHandlers"};

};

};

class Extended_Init_EventHandlers

{

class Man

{

TrackIR_Init_Man="_this execVM ""\TrackIR\scripts\init.sqf"";";

};

};

then use the init.sqf file in the armalib sample pack.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

// Include armalib

call compile preprocessfile "alibinterface.sqf";

sleep 0.1;

hint "TrackIR 6DOF sample\nEnter the vehicles and use TrackIR to move around in the cockpit.\nYou should disable TrueView for the ArmA profile in your TrackIR settings";

// Wait until player goes into a vehicle, then enable 6DOF

while{alive player} do {

[0,0,0,0] call setTrackIRfreedom; // Disable "freedom"

waitUntil{vehicle player != player};

[1,1,1,90] call setTrackIRfreedom; // Allow freedom. Ideally the values would be defined in the vehicle config

waitUntil{vehicle player == player};

};

also remember to include alibinterface.sqf in the addon dir.

then you just make a moddir example @TrackIr

Note. i have not tested this, since i have no trackir.

Share this post


Link to post
Share on other sites

It works ! At least when I don't get kicked for having this mysterious 6DOF addon.

Thanks a lot for your time. notworthy.gif

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  

×