OCAP
OCAP copied to clipboard
unit role icon expansion
pass through requirement to record in-game > extension (player info logged w OCAP ID) > Leaflet support for unique icons by role
in-game:
- record via unit type > primary weapon > launcher schema that A3 uses to identify roles of players in their UI
- possibly expensive to throw in every loop of captureLoop, so offload to every 10th loop using global var to track instances (similar to Debug log)
extension:
- record this "role" dynamically at frame intervals with events of specific unit via OCAP ID
Leaflet:
- add supported player icons (has to be svg?) to facilitate display of roles such as AT, MG, Medic, Sniper, Grenadier, Squad Leader, Officer
- take new property from extension-logged data and display player icon based on this property