Jump to content

Recommended Posts

Posted

Is it possible to have the radar display on a second display? Would this be feasible using LUAscript?

 

TWS works nice, but I have to zoom the radar screen so much to see anything at all that I loose sight on the combat. I'ld be willing to hang a second monitor on my PC if I could display the F-15C's radar right on it.

[sIGPIC][/sIGPIC]

Posted

once in STT-Mode you can do it with LoGetLockedTargetInformation(), but imo modelling the radar in TWS wouldn't be precise or fair enough...

 

LoGetTargetInformation() -- (args - 0, results - 1 (table of current targets tables))

LoGetLockedTargetInformation() -- (args - 0, results - 1 (table of current locked targets tables))

this functions return the table of the next target data

target =

{

ID , -- world ID (may be 0 ,when ground point track)

type = {level1,level2,level3,level4}, -- world database classification

country = , -- object country

position = {x = {x,y,z}, -- orientation X ort

y = {x,y,z}, -- orientation Y ort

z = {x,y,z}, -- orientation Z ort

p = {x,y,z}} -- position of the center

velocity = {x,y,z}, -- world velocity vector m/s

distance = , -- distance in meters

convergence_velocity = , -- closing speed in m/s

mach = , -- M number

delta_psi = , -- aspect angle rad

fim = , -- viewing angle horizontal (in your body axis) rad

fin = , -- viewing angle vertical (in your body axis) rad

flags = , -- field with constants detemining method of the tracking

-- whTargetRadarView

-- whTargetEOSView

-- whTargetRadarLock

-- whTargetEOSLock

-- whTargetRadarTrack

-- whTargetEOSTrack

-- whTargetNetHumanPlane = 0x0200;

-- whTargetAutoLockOn = 0x0400;

-- whTargetLockOnJammer = 0x0800;

 

reflection = , -- target cross section square meters

course = , -- target course rad

isjamming = , -- target ECM on or not

start_of_lock = , -- time of the beginning of lock

forces = { x,y,z}, -- vector of the acceleration units

updates_number = , -- number of the radar updates

}

Input:

LoSetCommand(command, value) -- (args - 2, results - 0)

-1.0 <= value <= 1.0

  • Recently Browsing   0 members

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