diepAPI icon indicating copy to clipboard operation
diepAPI copied to clipboard

they removed ren_minimap_viewport from the game

Open Cazka opened this issue 3 years ago • 5 comments

we used the minimap viewport to find out the players fov.

Other ways to find players fov:

  • size of a background tile
  • whenever a square is seen, use its side length to calculate fov.

Cazka avatar Jan 03 '23 05:01 Cazka

I have to correct myself. fov still works. what doesn't work is getting arena size anymore.

Cazka avatar Jan 03 '23 05:01 Cazka

also getting camera position doesn't work anymore

Cazka avatar Jan 03 '23 05:01 Cazka

The background lines' opacity decreases with increased FoV. Just check for that to get FoV in a portable manner.

supahero1 avatar Jul 23 '23 14:07 supahero1

yeah, the current method uses the opacity of the lines.

Getting the camera position is currently the problem

Cazka avatar Jul 23 '23 14:07 Cazka

Why? Can't you just get your triangle from the minimap?

supahero1 avatar Jul 23 '23 19:07 supahero1

nope, since the triangle is player position. Camera position changes based on movement + when using predator tank.

working on a PoC that uses the games memory.

Cazka avatar Dec 13 '25 17:12 Cazka