Jump to content
Korean Random

Minimap - no camera direction line after sniper mode


Recommended Posts

The camera direction line on the minimap is shown properly when round starts, but disappears when entering sniper mode for the first time and does not reappear for the rest of the round.

 

I normally use the following config for that line, but have observed issue with default config as well:

"camera": [
    { "enabled": true, "from": 50, "to": 2000, "inmeters": true, "thickness": 0.4,   "alpha": 40, "color": "0xEE0044"}
],
XVM version: 5.4.1.1 (problem present in earlier versions, at least several months back)

OS: Windows 7

Antivirus: Bitdefender

 

Log files attached was from starting WoT and playing a single game, exiting to hangar on death and then immediately exiting WoT.

 

Edit:

Screenshots

Before entering sniper mode:

shot_022.jpg

After entering and leaving sniper mode:

shot_023.jpg

After studying the screenshots, I noticed that the green camera triangle also disappeared. After some testing, I found that the "cameraAlpha" setting in "minimap" affected the camera line. I still consider it a bug, since the camera line has it's own alpha - thus there is no reason for the cameraAlpha setting to affect it as well. Also it means that there is no way to have the camera line instead of the green triangle.

 

Conclusion:

This behavior is caused by two bugs:

1. The cameraAlpha setting is applied to the camera line as well as to the green triangle.

2. The cameraAlpha setting is not applied until entering sniper mode for the first time.

python.log

xvm.log

configs.zip

Edited by cower
Link to comment
Short link
Share on other sites

1. The cameraAlpha setting is applied to the camera line as well as to the green triangle.

2. The cameraAlpha setting is not applied until entering sniper mode for the first time.

1. look demon's answer

2. fixed, will be commited soon

1. added option minimap/hideCameraTriangle - hide camera direction green triangle

  • Upvote 1
Link to comment
Short link
Share on other sites

it's not a bug: "Camera transparency and its attached geometry (green triangle)" see minimap.xc

OK, strange design choice then. As I said, the line has it's own alpha and doesn't need to be tied to another option for "controlling alpha for all elements related to camera direction on the minimap".

 

1. added option minimap/hideCameraTriangle - hide camera direction green triangle

Sounds like a good compromise.

 

2. fixed, will be commited soon

Great, thanks. :)
Link to comment
Short link
Share on other sites

It was not design, but restriction.

Do you mean that it was not possible to add a way to control alpha for the green triangle without tying it to the line, am I just not understanding what you mean with restriction here?
Link to comment
Short link
Share on other sites

Do you mean that it was not possible to add a way to control alpha for the green triangle without tying it to the line, am I just not understanding what you mean with restriction here?

Line of sight drawn on the green triangle, so when we change alpha of triangle, alpha for line will also be changed.

Edited by sirmax
Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...