Accuracy

Description

Does nothing on its own. Do not manually install this. 🔗

Accuracy GUI library for all kinds of ranged weapons. Provides a hit indicator and and a circle indicating the amount of accuracy. Accuracy is gained by standing still or sneaking. However you will have most accuracy when standing still. It is lost through moving or quick camera pans.

accuracy.register(item_name) 🔗

Registers your weapon into the system. If your weapon has more than one item and switches between them, register all items. Note that those will still be viewed as different weapons and accuracy will be fully reset as if you just armed it.

accuracy.hit(player) 🔗

Shows hit indicator to player that disappears after half a second. Please ensure that your player reference is valid.

accuracy.get(player) 🔗

Gets an accuracy value from 0 to 1.

0 is the highest accuracy, 1 the lowest.

accuracy.reset(player) 🔗

Resets accuracy for a player. You can use this after shooting or reloading for example.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

2025-02-16 15:40 UTC

1.3 🔗

  • increased smoothness
  • more tolerant with slight movement
  • better rotation accuracy loss
  • other internal changes
2025-01-25 21:22 UTC

1.2.2 🔗

  • fix warning about accessing undefined global "wield_index"
2025-01-16 18:39 UTC

1.2.1 🔗

  • fix hit indicator getting stuck and not disappearing
  • switching between guns now causes accuracy to reset
2025-01-07 23:56 UTC

1.1 🔗

Fixed error in the chat when selecting a weapon about a texture file not being present.

All releases

Threads

New thread

Thread Last Reply

No threads found

Information

Provides

accuracy

Dependencies

Required
No required dependencies

Information

Type
Mod
Technical Name
accuracy
Languages
English
License
CC0-1.0
Maintenance State
Actively Developed
Added
2024-12-24 23:17 UTC
Maintainers
shaft

Used By