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?

  • English

    Interesting Concept

    Accuracy is dependent on player movement. Walking or looking around reduces it. So, player needs to hold still for a better aim. I tried it with shuriken mod. It's very neat how projectiles stick into nodes & can be picked up for re-use. I haven't played with it for long, but I haven't found any issues with it so far.

    0 comments

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