Skip to content

DEV Undercover

Saveliy Tronza edited this page Jul 5, 2020 · 1 revision

WIP

UndercoverMonitor

The UndercoverMonitor changes the player's captive state depending on behaviour, speed, clothing, weapons.

If captive is true: Player is a civilian

If captive is false: Player returns to his original side (e.g. BLUFOR)

METHOD: "handleMessage"

On each process interval the UndercoverMonitor calculates a suspicion variable. Example:

Uniform: 0.5

NVGs: 0.3

Backpack: 0.1

Suspicion sum: 0.9


If suspicion is >= 1.0, player is not captive. If it's below 1.0, player is captive/civilian.

In vehicles

https://docs.google.com/spreadsheets/d/18DhanyCv4QOeH84P2KdculYSU8mpX-uCiZkyNVgZP3w/edit?usp=sharing