Jump to content
Larpushka

Using treadmill with ArmA 3 - it works! Now how to do perfect sync?...

Recommended Posts

I managed to integrate a treadmill with PC games; as the title said, it works. Also works for ArmA 3. Here is me doing it on a Russian multiplayer S.T.A.L.K.E.R server

 

 

(I improved the code since) 

Essentially it presses 'w' for every slab  that passes by it - I  have an arduino microcontroller connected to it. It really helps that ArmA has 3 speed types, walk, run and sprint; while I managed to sync it quite well with my latest code and it works semi-realistically, I would like to  completely and accurately sync the speed of the character to the treadmill. How do I tap into the speed/movement code of ArmA? The way I think to go about it is that I can provide the speed value of the treadmill through my arduino microcontroller, now question is how do I read it and convert it to motion in ArmA 3. How difficult would that be to do? 

  • Like 1

Share this post


Link to post
Share on other sites
On 7/18/2020 at 9:45 AM, Larpushka said:

How do I tap into the speed/movement code of ArmA?

Its Arma btw, not ArmA. And I don't think you can, its not exposed through SQF.

You may be able to control the animations the player does, and teleport him forward, but that very likely won't look right in multiplayer.

Share this post


Link to post
Share on other sites
32 minutes ago, Dedmen said:

Its Arma btw, not ArmA. 

Are you serious? Does it really matter how someone refers to it. ^^

It's spelt they way it's been used for all promotional/retail purposes throughout the years going back to Armed Assault. 

Pernickety to say the least.

  • Like 2

Share this post


Link to post
Share on other sites

lol i had a very hard time to find the way of how to write it for myself...

WIKI say ArmA on others sites its written Arma i'm used to write it ARMA! 😋

 

Sorry offtopic... 😇

Share this post


Link to post
Share on other sites
1 hour ago, EO said:

Are you serious?

Yes I am

https://www.bohemia.net/blog/arma-2-the-name-tale

 

1 hour ago, EO said:

It's spelt they way it's been used for all promotional/retail purposes

Its not. I've seen our marketing guidelines.

 

33 minutes ago, snkman said:

Sorry offtopic... 😇

Yes. That.

  • Confused 1

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

×