Garry's Mod

Garry's Mod

mCompass
Viser 1-9 af 9 forekomster
Opdatering: 12. maj 2020 kl. 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 🤷‍♂️

Opdatering: 5. maj 2020 kl. 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`

Opdatering: 17. nov. 2019 kl. 15:38

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

Opdatering: 27. mar. 2019 kl. 3:36

- Forgot to remove print statement :/

Opdatering: 26. mar. 2019 kl. 13:48

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

Credit to Phoenixf129 https://steamcommunity.com/profiles/76561198039440140/ for the recommendation.

Opdatering: 2. aug. 2018 kl. 8:22

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

Opdatering: 26. juli 2018 kl. 6:58

Opdatering: 26. juli 2018 kl. 6:57

Opdatering: 25. juli 2018 kl. 14:11