Jump to content

Recommended Posts

Posted (edited)

In Fc2 it was possible to control stuff like radar angles, cursors etc by using the appropriate LoSetCommand(id, params)

 

Fc2 had a file (the name of which I don't remember) which showed all the commands (not only those outdated ones in export.lua), but the actual ones used by the sim itself!

 

Now though, I've grep:ed through the entire Fc3 folder for an hour or so, finding nothing!

And the command ids from fc2 that I want don't seem to work at all :/.

 

How would I go about creating lua input for "place radar tdc x at 0.5" in fc3?

in fc2 this was LoSetCommand(2103, 0.5)

in fc3 this command doesnt do anything (no error, just no effect)

 

commands like LoSetCommand(156) still work though (cycles hud color)

Edited by =RvE=Yoda

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted (edited)

Got help from another forum member on skype. Some commands work. Like setting radar elevation.

but no joy on cursor position so far.

 

Update: Issue solved. Used a home made remote lua console (RMI sort of) to the dcs/fc lua environment :).

Looped every number from 2000 and above. Guess what 2130 turned out to be :) (tdc x!).

Oh and 2131 is tdc y!

Edited by =RvE=Yoda

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...