The compass widget that we all know and love from games like PR, PUBG, Squad, etc it’s now available as a standalone mod for Venice Unleashed. Just add it in your ModList and it should work out of the box with any other mod or for any vanilla server.
You can check the ext/client/config.lua file for the available config options. You can changes those options:
by directly changing the config file
using the RCON commands compass.SetPosition, compass.SetIndicator and compass.ShowDegrees
by dispatching an event from another mod, passing your preferred values
-- update the config from another mod example
Events:Dispatch('Compass:Config', {
['position'] = 'bottom'
})
Warzone Compass
I also added a Warzone styled compass as a bonus . If anyone wants to use it instead of the default one, you can simply download it from here Warzone Compass (zip). The ui is already precompiled for you. Don’t expect the config options to work though.
btw if anyone wants to use the warzone styled compass, you can simply download the code from the warzone branch from here https://github.com/kapraran/vu-compass/tree/warzone. The ui is already precompiled for you. Don’t expect the config options to work though.
I’ve played many rounds with it and i didn’t have any issues. Also, the lua code is simple. Pretty much just sends the yaw to the ui + some code to show/hide the compass. I don’t think that this mod causes the issues that you are dealing.
If there was a way to replicate the crashes, i may be able to help.
Whats the best way to debug the crash? I just ran a local server in my pc with this mod, ran the client version and connected to the server and the client crashed at spawn. I see there are other compass version mods in the mod folders of the vu client from when I tried to connect to ther servers running compass mod and crashed. Gonna try removing all other compass mod folders and connect to my server only.
Edit: Yet another crash, no change after removing all compass mod folders in the client…
I have tested it tens of times, reloading the mod, restarting it, moving to the next round etc and never had an issue with it. Please post a crash id cause i can’t reproduce.
Hi breaknix, thanks, could you please tell me how to create the logfiles?
I’ve run vu.exe with the -debuglog and -trace options. That creates a logfile but empty… Any recommendations to generate good crash info?
This mod seems to cause the Round Start Countdown (when players can spawn but cant yet move or shoot) and Waiting for Players (when there is not enough players to start the round) elements to not appear.