Jump to content

Range Finder 1.4.5

$5.00
   (2 reviews)
Message added by Cannabis,

Rework complete. If updating from 1.3.X to 1.4.X please regenerate a new default config to avoid any issues and errors.

Message added by Cannabis,

Due to binoculars now having a built in rangefinder added by Facepunch, support for binoculars will be removed and this plugin will exclusively work for weapon attachments.

3 Screenshots

  • 22.5k
  • 76
  • 20.22 kB
 Share

About Range Finder

Adds a simplistic range finder to the binoculars and any weapon/scope combination you desire!

Configuration:

{
  "Refresh interval (seconds) (Values too low may cause performance issues, but do make it more fluid)": 1.0,
  "anchorMax for held items (Holdable items that do not require attachments)": "0.552 0.205",
  "anchorMin for held items (Holdable items that do not require attachments)": "0.448 0.147",
  "Guns or held items that can accept, or be, a range finder, attachment and range finder settings": {
    "tool.binoculars": {
      "Is this a held item? (Does not require any attachments) (Will use the default rangefinder.use permission)": true,
      "Maximum distance of the held item": 350.0,
      "ItemID of a weapon attachment to be used as a range finder and settings of the attachment": null
    },
    "rifle.l96": {
      "Is this a held item? (Does not require any attachments) (Will use the default rangefinder.use permission)": false,
      "Maximum distance of the held item": 350.0,
      "ItemID of a weapon attachment to be used as a range finder and settings of the attachment": {
        "174866732": {
          "SkinID of the attachment and settings for attachment skins": {
            "0": {
              "Maximum distance of the attachment": 550.0,
              "Permission required for this specific attachment?": true,
              "Permission required to use attachment as range finder": "defaultskin16x",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            },
            "1234": {
              "Maximum distance of the attachment": 69.42,
              "Permission required for this specific attachment?": true,
              "Permission required to use attachment as range finder": "trololscope",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            },
            "5678": {
              "Maximum distance of the attachment": 3000.0,
              "Permission required for this specific attachment?": true,
              "Permission required to use attachment as range finder": "icanseemyhousefromhere",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            }
          }
        },
        "567235583": {
          "SkinID of the attachment and settings for attachment skins": {
            "0": {
              "Maximum distance of the attachment": 100.0,
              "Permission required for this specific attachment?": true,
              "Permission required to use attachment as range finder": "defaultskin8x",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            }
          }
        }
      }
    },
    "rifle.ak": {
      "Is this a held item? (Does not require any attachments) (Will use the default rangefinder.use permission)": false,
      "Maximum distance of the held item": 350.0,
      "ItemID of a weapon attachment to be used as a range finder and settings of the attachment": {
        "442289265": {
          "SkinID of the attachment and settings for attachment skins": {
            "0": {
              "Maximum distance of the attachment": 550.0,
              "Permission required for this specific attachment?": true,
              "Permission required to use attachment as range finder": "holosight",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            }
          }
        }
      }
    },
    "rifle.bolt": {
      "Is this a held item? (Does not require any attachments) (Will use the default rangefinder.use permission)": false,
      "Maximum distance of the held item": 350.0,
      "ItemID of a weapon attachment to be used as a range finder and settings of the attachment": {
        "174866732": {
          "SkinID of the attachment and settings for attachment skins": {
            "0": {
              "Maximum distance of the attachment": 550.0,
              "Permission required for this specific attachment?": false,
              "Permission required to use attachment as range finder": "defaultskin16x",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            },
            "1234": {
              "Maximum distance of the attachment": 69.42,
              "Permission required for this specific attachment?": true,
              "Permission required to use attachment as range finder": "mountaindewgamerfart",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            },
            "5678": {
              "Maximum distance of the attachment": 3000.0,
              "Permission required for this specific attachment?": true,
              "Permission required to use attachment as range finder": "icanseemyhousefromhere",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            }
          }
        },
        "567235583": {
          "SkinID of the attachment and settings for attachment skins": {
            "0": {
              "Maximum distance of the attachment": 100.0,
              "Permission required for this specific attachment?": false,
              "Permission required to use attachment as range finder": "defaultskin8x",
              "anchorMax of attachment": "0.552 0.205",
              "anchorMin of attachment": "0.448 0.147"
            }
          }
        }
      }
    }
  }
}

Permissions:

  • rangefinder.use
  • ranged.{0}   <- Defined in config

 

Important!! Some permissions may or may not automatically register, I am aware of the issue and looking into a fix, please let me know if you experience this issue.

 

Upcoming:

  • Official website for configuration modification made easy

 

  • Love 3

Cannabis's Collection

User Feedback

1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.3k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.