
Projectile Aim Indicator
Gives the bow, crossbow, slingshot and flare gun the same aim indicator as the thrown spear.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 where your shot really leaves: after your first shot with a weapon, it follows where that weapon's shots actually come from. 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 are on. Firearms are off, since bullets fly almost straight.[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 look of the line and target is the spear's, so it has no settings of its own. Changes apply while you play.
Credits
Idea and the way the game's path simulation is fed come from BowTrajectory by willis81808 (MIT).