Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Release] [ZM] Compass Display

[Release] [ZM] Compass Display

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
3 Posts 2 Posters 693 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • techboy04gamingundefined Offline
    techboy04gamingundefined Offline
    techboy04gaming
    wrote on last edited by
    #1

    I made a compass thing inspirated from Cold War.
    Its very minimalistic but I hope it would be useful.

    This script shows the players direction, the angle, and the zone and you can configure what do you want shown/hidden

    Compiled: https://github.com/techboy04/Compass-T6Zombies/blob/main/compass.gsc
    Source: https://github.com/techboy04/Compass-T6Zombies/blob/main/compass_sourcecode.gsc

    alt text

    JezuzLizardundefined 1 Reply Last reply
    0
    • JezuzLizardundefined Offline
      JezuzLizardundefined Offline
      JezuzLizard Plutonium Staff
      replied to techboy04gaming on last edited by
      #2

      techboy04gaming One issue with this mod is you aren't using an overflow fix despite using setText(). If someone runs this on their server they will eventually run into the configstring overflow error due to potentially have 8 players with their own hud calling setText(). The error can happen in solo after a period of time as well.

      techboy04gamingundefined 1 Reply Last reply
      1
      • techboy04gamingundefined Offline
        techboy04gamingundefined Offline
        techboy04gaming
        replied to JezuzLizard on last edited by techboy04gaming
        #3

        JezuzLizard I do not! That was my mistake. While testing I played it for awhile without using it and have not gotten a single overflow error. The only time I got it was with the numbers but I switched to using labels and havent gotten one since. I will keep the fix in mind for tomorrow. Thank you!

        1 Reply Last reply
        0

        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Donate