Garry's Mod
mCompass
Se afișează 1-9 din 9 intrări
Actualizare: 12 mai 2020 @ 5:33

- 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 🤷‍♂️

Actualizare: 5 mai 2020 @ 0:17

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`

Actualizare: 17 nov. 2019 @ 15:38

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

Actualizare: 27 mart. 2019 @ 3:36

- Forgot to remove print statement :/

Actualizare: 26 mart. 2019 @ 13:48

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

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

Actualizare: 2 aug. 2018 @ 8:22

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

Actualizare: 26 iul. 2018 @ 6:58

Actualizare: 26 iul. 2018 @ 6:57

Actualizare: 25 iul. 2018 @ 14:11