Sons Of The Forest
Install with App

Details

Latest version
0.2.20
Last Updated
First Uploaded
Downloads
560
Likes
0
Size
41KB
Dependants

Categories

Projectile Aim Indicator

What it does: Shows where your shot will land with the bow, crossbow, slingshot and flare gun.
How to use: Aim: the game's own path line and landing target appear.
Multiplayer: On your screen only; install it if you want to see it yourself.

Shows where your shot will go. When you aim the bow, crossbow, slingshot or flare gun, you get the same aim indicator as when you throw the spear: the game's own path line and landing target. The path is the game's own flight calculation, started from the projectile in your weapon and pointed the way the game really fires it. It replaces BowTrajectory, covers more weapons and needs no extra mod. For what the game already marks itself (thrown spear, grenades and other thrown items, rope gun), its own landing target keeps the same size on screen as ours, also in Projectile Cam's preview. The stun gun and firearms can get the indicator too if you tick them.

The path follows the projectile you have loaded, read each time you aim, so it stays right if another mod changes how far or how fast your shots fly.

Multiplayer

The indicator is on your own screen only and nothing is sent over the network. It works the same alone, as host or as a guest. Install it only if you want to see it yourself.

Settings

Change them in the Mods menu of Mod Config Menu or in your mod manager's config editor (aznan.sotf.projectileaimindicator.cfg):

  • [General] Enabled: on or off for the whole mod.
  • [Weapons]: one box per weapon. Bow, crossbow, slingshot and flare gun get the indicator (on). Stun gun and firearms (pistol, revolver, shotgun, rifle) can get it too (off by default). The thrown spear, thrown items (grenade, molotov, time bomb, rocks, severed limbs) and the rope gun keep the game's own indicator; with their box on (default), its landing target keeps the size set in [Marker], in your view and in Projectile Cam's preview.
  • [Marker]: size of the landing target on your screen (it keeps the same size near or far, 2 % of the screen height by default) and its largest size on the ground (1 m).
  • [Performance]: how often the path is recalculated while aiming (every frame by default), and how often the mod looks again for a weapon that is not ready yet in your hand.
  • [Debug] FullLogging: writes every step to the BepInEx log (decisions, values read, failures with their cause; for each shot, where the indicator said it would land, where it really landed and the gap in metres), to send with a bug report. Off by default: then only loading, version and errors are written.

The line and target are the spear's; only the target's size can be changed. Changes apply while you play.

With Projectile Cam installed, the landing target also shows in its aim preview window.

Credits

Idea and the way the game's path simulation is fed come from BowTrajectory by willis81808 (MIT).

Contact

Contact me on X (@aznantriks) or Reddit (u/aznan-triks).

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.