Add carrier name to LSO grade message - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 06-30-2020, 03:05 AM   #1
Fuujin
Junior Member
 
Join Date: Jun 2020
Posts: 15
Default Add carrier name to LSO grade message

Without it, it is impossible to distinguish which carrier did LSO grading in a mission with multiple carriers in operating.
I want to distinguish it in S_EVENT_PLAYER_COMMENT handler in lua script.
Fuujin is offline   Reply With Quote
Old 06-30-2020, 09:17 AM   #2
draconus
DCS Ground Crew
 
draconus's Avatar
 
Join Date: Nov 2017
Location: Poland
Posts: 3,038
Default

Maybe take info from corresponding player landing event?
__________________
G4560@3,5GHz/DDR4-16GB/GTX970-4GB/SATA3-SSD, Win7-64, 27"LCD-FullHD, T16000M HOTAS, customTiR
Aircraft: FC3, F-14B
/ Supercarrier / Maps: NTTR, PG
draconus is offline   Reply With Quote
Old 06-30-2020, 01:45 PM   #3
Fuujin
Junior Member
 
Join Date: Jun 2020
Posts: 15
Default

@draconus

Thanks for your reply.

There are the following patterns for events when the player lands on the carrier:
- EVENT_LAND->EVENT_PLAYER_COMMENT: it is a normal case.
- EVENT_PLAYER_COMMENT->EVENT_LAND: LSO called wave off but the player ignored it and do land.

Therefore, there is no guarantee that the next event of EVENT_LAND will be EVENT_PLAYER_COMMENT.
So first I considered that EVENT_PLAYER_COMMENT that occurred within 7 seconds before and after the player's EVENT_LAND as the player's LSO grade.

But, in that case, I thought it was necessary to consider that, even if the player lands OK if the AI aircraft lands with WO on another carrier within a few seconds if there is no carrier name in the LSO grade, the LUA script may determine that the player has obtained WO.

By the way, operating multi-carrier is common in large scale operations such as Operation desert storm, Operation Iraqi Freedom, etc.
Fuujin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:25 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.