You are viewing a potentially older version of this package. View all versions.
AzNean-Projectile_Aim_Indicator-0.2.13 icon

Projectile Aim Indicator

Gives the bow, crossbow, slingshot and flare gun the same aim indicator as the thrown spear.

By AzNean
Date uploaded 2 weeks ago
Version 0.2.13
Download link AzNean-Projectile_Aim_Indicator-0.2.13.zip
Downloads 26
Dependency string AzNean-Projectile_Aim_Indicator-0.2.13

This mod requires the following mods to function

BepInEx-BepInExPack_IL2CPP-6.0.788 icon
BepInEx-BepInExPack_IL2CPP

BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.

Preferred version: 6.0.788

README

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).

CHANGELOG

Changelog

1.0.0

  • The aim line now starts where the game really launches the shot (camera, sights or laser), not where the previous shot left from.

0.2.20

  • The diagnostic log (Debug/FullLogging) no longer repeats the item in your hand when you switch back to it, and says why no aim line is drawn.

0.2.19

  • Added: settings names and descriptions in the game's language in the in-game Mods menu.
  • Fixed: the aim line stayed on screen after you stopped drawing the bow or slingshot without shooting.

0.2.18

  • The log no longer repeats the held item each time the backpack is opened.

0.2.17

  • Added: a box for every item that can be shot or thrown: thrown spear, thrown items (grenade, molotov, time bomb, rocks, severed limbs), rope gun, stun gun and firearms.
  • Added: for the items the game already marks itself (spear, thrown items, rope gun), its landing target now keeps the same size on screen as ours, also in Projectile Cam's preview; untick a box to keep the game's size.
  • Added: stun gun and firearms can get the aim indicator; they are off by default.

0.2.16

  • Fixed: the landing target is no longer huge in ProjectileCam's aim preview; every view now shows it at the same small size on screen.

0.2.15

  • Fixed: the bow's line no longer flies off sideways and lies in the grass; the line and target now start exactly where the game launches the shot, for every weapon.

0.2.14

  • Added how to contact me.

0.2.13

  • Fixed: the line and target no longer stay drawn over the pause menu.

0.2.12

  • Fixed: with the bow, the line and target pointed a little off where the arrow really went (from a few centimetres to many metres far away); they now take the same turn the game gives each weapon's shot.
  • Changed: the landing target is smaller and keeps the same size on your screen near or far; new Marker settings choose that size and its largest size on the ground.

0.2.11

  • The line is now right from the first shot to the last: it always starts from the projectile in your weapon, instead of copying your previous shot, which could put it several metres off.

0.2.10

  • Firearms no longer have an aim indicator, and their setting is gone.

0.2.9

  • Each weapon is now handled the way the game fires it: shotgun pellets and several pebbles shot at once count as one aim (their average), so the line no longer jumps with the spread.
  • Thrown items (grenade, molotov, small rock, time bomb) and the rope gun keep the game's own indicator, made for each of them; the mod no longer draws a second line over it.
  • FullLogging now names the loaded ammo and its flight values for each weapon and shot.

0.2.8

  • Fixed: the aim line often pointed somewhere else than where the shot really landed. It now starts from where your shots really leave: after your first shot with a weapon, the line follows that weapon's real shots.
  • New Performance setting PathUpdateSeconds: how often the line is recalculated while aiming (every frame by default).
  • FullLogging now writes, for each shot, where the line said it would land, where it really landed and the gap in metres.

0.2.7

  • Fixed: the aim line and target could stay frozen in the world after switching weapons while aiming.

0.2.6

  • Listed in the right categories on Thunderstore.

0.2.5

  • New icon.

0.2.4

  • No longer experimental.

0.2.3

  • New Debug setting FullLogging: writes every step to the BepInEx log, to send with a bug report (off by default).

0.2.2

  • Number settings have no limits any more: type any value (the advised range is in each setting's description).

0.2.1

  • Settings are grouped in the same order in every mod; your values are kept.
  • New on/off setting for the whole mod.

0.2.0

  • Changed the indicator to the one the game shows when you throw the spear: same line and same landing target.
  • Removed the colour, width, dot size, path length and update rate settings, since the look now comes from the game.

0.1.1

  • Fixed the bow and slingshot showing no path: the mod now finds the weapon even when it is not ready the moment you take it in hand.

0.1.0

  • First version: path line and landing dot for the bow, crossbow, slingshot and flare gun.
  • Firearms can be added in the settings.
  • Colours, widths, dot size, path length and update rate can all be changed.