Page MenuHomeFeedback Tracker

[Feature Request] Improvements to checkVisibility for better "VIEW" and "FIRE" LOD support
New, NormalPublic

Description

The checkVisibility command has two limitations:

  1. When checking "VIEW" visibility, it seems that it zeros out very fast near the ground with grass. This causes the command to give invalid visibility results. E.g. the AI still see a unit lying in the grass but checkVisibility returns 0.

I was hoping if this could be investigated and improved to match AI visibility if possible.

  1. When using the "FIRE" or "IFIRE" LODs, using the command as it is is nonsensical, since "visibility" for these LODs actually means "penetration", and you need to specify parameters such as bullet velocity, caliber, etc. to detect penetration.

Being able to customize the command for detecting penetration would be very much appreciated. For example:

[objNull, "FIRE"] checkVisibility [p1, p2, configFile >> "CfgAmmo" >> _ammoType]

or

[objNull, "FIRE"] checkVisibility [p1, p2, _bulletVelocity, _caliber, ... (other related parameters that I don't know)]

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Leopard20 updated the task description. (Show Details)