EDIT:
Also, would it be possible to fetch the camera position and draw that on the map (either via button to toggle it or whenever the camera mode is F7)?
Camera position can be fetched as is done in AccExtHelper.py.
I don't understand a thing of Classes in Python, or I would have tried to implement it myself, but yeah..
For anyone that wants this, insert this at the bottom of "def render_cars(self):":
Code:
#Camera Position
camx,camy,camz = ac.ext_getCameraPos()
cam_dx = camx*self.scale+self.offsetx
cam_dy = camz*self.scale+self.offsety
ac.glColor4f(*color)
self.glQuad(cam_dx-3*self.arrow_size, cam_dy-3*self.arrow_size, 7*self.arrow_size, 7*self.arrow_size)
Attachments
Last edited: