Garry's Mod

Garry's Mod

mCompass
Showing 1-9 of 9 entries
Update: 12 May, 2020 @ 5:33am

- Flipped compass direction to how it should have been, and this in turn fixed incorrect heading display. Not sure how this one slipped passed me, but oh well 🤷‍♂️

Update: 5 May, 2020 @ 12:17am

I decided to rewrite mCompass and found out a lot of the code I wrote two years ago didn't make sense in some places and was pretty unreadable in others. Also I discovered some pretty significant bugs which was surprising given that it has been out for about two years.

The following has been fixed:
- Setting mcompass width breaks completely.
- Offset didn't work properly. (It instead made adjustments to compass's x position, lol)
- Ratio for the font sizes behaved sort of wierd, so I changed the calculation for the size and it seems better.
- Exo fonts that I was shipping with mCompass weren't actually being loaded.

The following has been updated/changed:
- The x calculation for the compass made no sense to me at all and I am not sure how it was even working. I deleted much of the compass positioning code and rewrote it into what it should have been initially.
- `mCompass_AddMarker` parameters have changed and it has also been split up into `mCompass_AddEntityMarker`. `mCompass_AddMarker` now uses the players team to know which players to show the markers too. You can still pass your own table like before if you want. It's still a bit confusing, but definitely better than before I think.
- mCompass no longer requires game reload for when editing settings.
- Code was reformatted in many places for easier readability.
- Many variables were removed where possible and many more renamed for the sake of readability.
- `Multiplier` in config was renamed to `Spacing`

Update: 17 Nov, 2019 @ 3:38pm

Fixed some weird flickering from towards the ends of the compass.

Update: 27 Mar, 2019 @ 3:36am

- Forgot to remove print statement :/

Update: 26 Mar, 2019 @ 1:48pm

- Slight change to server-side command to add markers.

Credit to Phoenixf129 https://test-steamproxy.haloskins.io/profiles/76561198039440140/ for the recommendation.

Update: 2 Aug, 2018 @ 8:22am

- Added in options menu for easier use. (Q-menu)
- Ratio cvar now updates live.
- Added spot duration var for server config.

Update: 26 Jul, 2018 @ 6:58am

Update: 26 Jul, 2018 @ 6:57am

Update: 25 Jul, 2018 @ 2:11pm