Does there already exist an improved field-of-fire display code that would, in addition to left and right traverse of deployed guns, show which terrain is hidden behind obstacles and which is not?
The current display of field of fire in s44 is the following: As you can see, it does not indicate that there is a hill in the way.
Improved field of fire display
Moderator: Moderators
Re: Improved field of fire display
it'd be interesting to have this.
Shouldn't be enabled by default it the performance cost is significant, though.
Shouldn't be enabled by default it the performance cost is significant, though.
-
- Posts: 20
- Joined: 03 Jun 2019, 21:06
Re: Improved field of fire display
You can span circles from afar to up close and apply GetUnitWeaponHaveFreeLineOfFire to the points, finding those which are not obstructed. This will give u a mesh to draw.
And it will be moderately expensive.
And it will be moderately expensive.
Re: Improved field of fire display
For anyone else looking, FLOZi pointed me to this:
viewtopic.php?f=23&t=29606&p=543980&hil ... et#p543980
viewtopic.php?f=23&t=29606&p=543980&hil ... et#p543980