What function can display the RCS value of an aircraft?

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
hanzawa1991
Posts: 71
Joined: Tue Apr 05, 2022 9:05 am

What function can display the RCS value of an aircraft?

Post by hanzawa1991 »

I'm doing a small experiment on radar detection of aircraft. I don't want to manually check the database to get the RCS value. Is there a function like 'ScenEdit_GetUnit' that can display the RCS value of a flying target at any time?
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

Re: What function can display the RCS value of an aircraft?

Post by KnightHawk75 »

Not that I know of yet.
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

Re: What function can display the RCS value of an aircraft?

Post by KnightHawk75 »

Getting caught up on release note reading, maybe try new unitwrapper.signature property in 1288.1?
Looks like this should have it, and a great addition if it's working now.

https://commandlua.github.io/assets/Tab ... _Signature
hanzawa1991
Posts: 71
Joined: Tue Apr 05, 2022 9:05 am

Re: What function can display the RCS value of an aircraft?

Post by hanzawa1991 »

KnightHawk75 wrote: Thu Nov 03, 2022 7:27 am Getting caught up on release note reading, maybe try new unitwrapper.signature property in 1288.1?
Looks like this should have it, and a great addition if it's working now.

https://commandlua.github.io/assets/Tab ... _Signature
That's great, but there's no infrared data in there
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

Re: What function can display the RCS value of an aircraft?

Post by KnightHawk75 »

hanzawa1991 wrote: Sun Nov 06, 2022 2:24 am
KnightHawk75 wrote: Thu Nov 03, 2022 7:27 am Getting caught up on release note reading, maybe try new unitwrapper.signature property in 1288.1?
Looks like this should have it, and a great addition if it's working now.

https://commandlua.github.io/assets/Tab ... _Signature
That's great, but there's no infrared data in there
It does appear to be there, both IR, RCS, and Visual, look at the response table and the type or typeN properties ("IR_Detect"|"IR_ID" |4001|4002) to parse out the IR related data specifically, it may be similarly called rcs but it looks like it's the data you want. no?

Code: Select all

{
loadout = 19867
[2] = { text = { rear = '3.56 nm', front = '3.56 nm', side = '7.94 nm' }, rcs = { rear = 3.56, front = 3.56, side = 7.94 }, typeN = 3001, type = 'Visual_Detect' },
[3] = { text = { rear = '3.26 nm', front = '1.90 nm', side = '4.30 nm' }, rcs = { rear = 3.26, front = 1.9, side = 4.3 }, typeN = 3002, type = 'Visual_ID' },
[4] = { text = { rear = '11.94 nm', front = '3.56 nm', side = '8.00 nm' }, rcs = { rear = 11.9425, front = 3.56, side = 7.9985 }, typeN = 4001, type = 'IR_Detect' },
[5] = { text = { rear = '1.90 nm', front = '1.90 nm', side = '4.30 nm' }, rcs = { rear = 1.9, front = 1.9, side = 4.3 }, typeN = 4002, type = 'IR_ID' },
[6] = { text = { rear = '9.04 dBsm, 8.0 sq.m.', front = '9.04 dBsm, 8.0 sq.m.', side = '11.15 dBsm, 13.0 sq.m.' }, typeN = 5001, rcs = { rear = 9.03988, front = 9.03988, side = 11.14721 }, sqm = { rear = 8.016566, front = 8.016566, side = 13.023313 }, type = 'Radar_A_D' },
[7] = { text = { rear = '9.04 dBsm, 8.0 sq.m.', front = '9.04 dBsm, 8.0 sq.m.', side = '11.15 dBsm, 13.0 sq.m.' }, typeN = 5002, rcs = { rear = 9.03988, front = 9.03988, side = 11.14721 }, sqm = { rear = 8.016566, front = 8.016566, side = 13.023313 }, type = 'Radar_E_M' },
}
Post Reply

Return to “Lua Legion”