Sons Of The Forest
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
1K
Size
24KB

Projectile Aim Indicator

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.

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, all on. Firearms get no indicator. Thrown items (grenade, molotov, small rock, time bomb) and the rope gun keep the game's own indicator.
  • [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).

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