Mods / Projectile Trajectory

Tags:
QoL Simplification combat gameplay
Author:
urisan
Side:
Both
Created:
Apr 10th at 7:32 PM
Last modified:
Apr 22nd at 9:03 PM
Downloads:
2306
Follow Unfollow 78
Latest release (for Vintage Story 1.22.0, potentially outdated):
speartrajectory_10.0.9.zip  1-click install

Projectile Trajectory

  • Draws the trajectory and impact point of most projectiles when you aim with them
  • Draws a ghost trajectory when you are close to hitting an entity
  • Turns the trajectory red when a collision with an entity is detected

 

Config

  • Trajectory color on entity collision
  • Trajectory circle radius
  • Ghost Assist toggle on/off
  • Ghost Assist color
  • Ghost Assist search radius (smaller radius = less help from the assist, bigger radius = basically ESP)

Compatibility

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
10.0.9 speartrajectory 594 Apr 22nd at 9:03 PM speartrajectory_10.0.9.zip 1-click install

Changelog

  • It works for new version now. =D
10.0.8 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.9
126 Apr 18th at 3:43 AM speartrajectory_10.0.8.zip 1-click install

Changelog

  • Fixed hard crash when ConfigLib was not installed
10.0.7 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.9
23 Apr 17th at 10:21 PM speartrajectory_10.0.7.zip 1-click install

Changelog

  • Now you can use different values in CO's "spears_thrown_distance" setting in config lib. (not perfect but still)
10.0.6 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.8
35 Apr 17th at 2:49 PM speartrajectory_10.0.6.zip 1-click install

Changelog

  • Now CO Crosshair gets removed while aiming
  • It's now possible to change the impact particle color and size
  • Trajectory Line is now hidden by default
  • New animation for the impact circle when the trajectory collides with an entity
10.0.5 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.8
52 Apr 15th at 11:41 PM speartrajectory_10.0.5.zip 1-click install

Hotfix

  • Added a tiny check to fix cases where Combat Overhaul is not active but Overhaul is, as only Overhaul is needed to hijack the vanilla gravity calculation.
10.0.4 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.8
26 Apr 15th at 9:44 PM speartrajectory_10.0.4.zip 1-click install

Changelog

  • The trajectory when aiming at a target that is below the player character with a Combat Overhaul weapon is more accurate now
  • Added a toggle for the impact particle
  • Resized the base circle to be smaller
  • Added a slider for the outline size
10.0.3 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.8
32 Apr 15th at 5:12 PM speartrajectory_10.0.3.zip 1-click install

Changelog

  • Fixed accuracy when aiming downwards (ON VANILLA, COMBAT OVERHAUL: WIP)
  • Added a little particle where the projectile is supposed to land, will integrate ConfigLib to this feature soon
  • Fixed parallax (camera rotation) on trajectory calculation
10.0.2 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.8
70 Apr 13th at 5:49 PM speartrajectory_10.0.2.zip 1-click install

Changelog

  • Adjusted every type of bow's velocity in combat overhaul
10.0.1 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.8
44 Apr 12th at 8:28 PM speartrajectory_10.0.1.zip 1-click install

Changelog

  • Adjusted the bow velocity
10.0.0 speartrajectory
1.22.0-pre.1 - 1.22.0-rc.8
91 Apr 12th at 6:48 PM speartrajectory_10.0.0.zip 1-click install

Changelog

  • Reverted own implementation of accuracy
  • This mod file should work for VS 1.22

 

1.1.9 speartrajectory
1.21.0 - 1.21.6
172 Apr 18th at 3:42 AM speartrajectory_1.1.9.zip 1-click install

Changelog

  • Fixed hard crash when ConfigLib was not installed.
1.1.8 speartrajectory
1.21.0 - 1.21.6
40 Apr 17th at 10:21 PM speartrajectory_1.1.8.zip 1-click install

Changelog

  • Now you can use different values in CO's "spears_thrown_distance" setting in config lib. (not perfect but still)
1.1.7 speartrajectory
1.21.0 - 1.21.6
41 Apr 17th at 2:49 PM speartrajectory_1.1.7.zip 1-click install

Changelog

  • Now CO Crosshair gets removed while aiming
  • It's now possible to change the impact particle color and size
  • Trajectory Line is now hidden by default
  • New animation for the impact circle when the trajectory collides with an entity
1.1.6 speartrajectory
1.21.0 - 1.21.6
113 Apr 15th at 11:40 PM speartrajectory_1.1.6.zip 1-click install

Hotfix

  • Added a tiny check to fix cases where Combat Overhaul is not active but Overhaul is, as only Overhaul is needed to hijack the vanilla gravity calculation.
1.1.5 speartrajectory
1.21.0 - 1.21.6
40 Apr 15th at 9:44 PM speartrajectory_1.1.5.zip 1-click install

Changelog

  • The trajectory when aiming at a target that is below the player character with a Combat Overhaul weapon is more accurate now
  • Added a toggle for the impact particle
  • Resized the base circle to be smaller
  • Added a slider for the outline size
1.1.4 speartrajectory
1.21.0 - 1.21.6
43 Apr 15th at 5:11 PM speartrajectory_1.1.4.zip 1-click install

Changelog

  • Fixed accuracy when aiming downwards (ON VANILLA, COMBAT OVERHAUL: WIP)
  • Added a little particle where the projectile is supposed to land, will integrate ConfigLib to this feature soon
  • Fixed parallax (camera rotation) on trajectory calculation
1.1.3 speartrajectory
1.21.0 - 1.21.6
153 Apr 13th at 3:06 PM speartrajectory_1.1.3.zip 1-click install

Changelog

  • Adjusted every type of bow's velocity in combat overhaul
1.1.2 speartrajectory
1.21.0 - 1.21.6
71 Apr 12th at 8:27 PM speartrajectory_1.1.2.zip 1-click install

Changelog

  • Adjusted the bow velocity
1.1.1 speartrajectory
1.21.0 - 1.21.6
47 Apr 12th at 6:23 PM speartrajectory_1.1.1.zip 1-click install

Changelog

  • Reverted own implementation of accuracy
  • Removed 1.22.* versions from playable versions with this mod file
1.1.0 speartrajectory
1.21.0 - 1.21.6
99 Apr 12th at 1:38 AM speartrajectory_1.1.0.zip 1-click install

Changelog

  • Added my own implementation of accuracy, now you have to actually take care when aiming with my mod
1.0.9 speartrajectory
1.21.0 - 1.21.6
68 Apr 11th at 7:26 PM speartrajectory_1.0.9.zip 1-click install

Changelog

  • Added full compatibility and integration with Combat Overhaul and OverhaulLib
    • Now the trajectory updates in real-time based on actual accuracy
1.0.8 speartrajectory
1.21.0 - 1.21.6
67 Apr 11th at 1:58 PM speartrajectory_1.0.8.zip 1-click install

Changelog

  • Added support for config lib
    • Trajectory Color on collision with entity
    • Trajectory Circle radius
    • Toggle Ghost Assist on/off
    • Ghost Assist Color
  • Adjusted the Combat Overhaul Spear's trajectory to cover a wider range of shots
  • Adjusted the overall entity's calculated height when checking for a collision (before it was just 0, AKA the base of the model)
1.0.7 speartrajectory
1.21.0 - 1.21.6
81 Apr 11th at 2:35 AM speartrajectory_1.0.7.zip 1-click install

Changelog

  • Changed mod icon to better reflect new features
  • Adjusted bow projectile velocity calculation a bit (You can do pretty long shots now)
  • Added support for vanilla bows (not just Combat Overhaul's)
1.0.6 speartrajectory
1.21.0 - 1.21.6
29 Apr 11th at 1:38 AM speartrajectory_1.0.6.zip 1-click install

Changelog

  • Added support for bows

 

Bug fixes

- Fixed a crash that happened when right clicking with a block (catastrophic I know)

1.0.5 speartrajectory
1.21.0 - 1.21.6
28 Apr 11th at 1:07 AM speartrajectory_1.0.5.zip 1-click install

Changelog

  • Added support for Combat Overhaul: Armory javelins
1.0.4 speartrajectory
1.21.0 - 1.21.6
36 Apr 10th at 11:34 PM speartrajectory_1.0.4.zip 1-click install

Changelog

  • Adjusted the trajectory a bit
  • Added ghost aim assistance (shows where to aim to land a hit)

 

Next release

  • Integration with ConfigLib
1.0.3 speartrajectory
1.21.0 - 1.21.6
45 Apr 10th at 9:08 PM speartrajectory_1.0.3.zip 1-click install

- Now mod is somewhat compatible with Combat Overhaul

1.0.2 speartrajectory
1.21.0 - 1.21.6
39 Apr 10th at 7:32 PM Empty speartrajectory_1.0.2.zip 1-click install

30 Comments (oldest first | newest first) (threaded | flat)

CrashToDesktop, Apr 18th at 5:00 AM

It seems like 10.0.0 is the only version that works on 1.22.0-rc9, while the later versions crash with the same error as Fedarmens below.

TH3ShadowDragon, Apr 16th at 10:07 PM

joined and added you

TH3ShadowDragon, Apr 16th at 8:26 PM

here is a photo if the "circle issue" https://imgur.com/a/eN3byux

urisan , Apr 16th at 8:54 PM
@TH3ShadowDragon: here is a photo if the "circle issue" https://imgur.com/a/eN3byux

wow that never happened to me, can you go into mi bio and add me on discord?

TH3ShadowDragon, Apr 16th at 8:05 PM (modified Apr 16th at 8:05 PM)

urisan 1.1.6 works pretty good. The particle is very accrurate and im hitting targets from my tower. Still having issues with the circle clippiing and making it smaller didnt seem to help. Im gonna see if i have any conflicting mods. 

LDP487, Apr 15th at 8:07 AM

I installed mod.. hold spear.. start to throw.. nothing is different. Is there a hotkey that I need to use to enable it?

urisan , Apr 15th at 1:59 PM (modified Apr 15th at 2:07 PM)
@LDP487: I installed mod.. hold spear.. start to throw.. nothing is different. Is there a hotkey that I need to use to enable it?

In what version are you playing? which version of the mod? are you playing with other mods?

TH3ShadowDragon, Apr 15th at 6:22 AM (modified Apr 15th at 8:38 AM)

urisan The "Circle rendering behind the block it's supposed to render on top of" problem is something I didn't understand; Is the circle not visible in certain scenarios because it's being rendered behind? Yeah pretty much. I tested it on two dirt blocks and the arcs end point hits the block, but the circle is rendered behind the block for some reason. If you aim at a mob it shows on the blocks behind the mob instead. Will test the new version now

Tested and feels a better in terms of accuracy, and i have been shooting from about two blocks up from a fortified position. My recent tests have been at my archery range though, which is level. Also any plans for crossbows from the crossbow mods, maybe after you hammer the kinks out?

urisan , Apr 15th at 2:02 PM (modified Apr 15th at 3:13 PM)
@TH3ShadowDragon: urisan The "Circle rendering behind the block it's supposed to render on top of" problem is something I didn't understand; Is the circle not visible in certain scenarios because it's being rendered behind? Yeah pretty much. I tested it on two dirt blocks

Yeah, right now there's a slight problem about aiming towards an objective that is below you, so that's where your inaccuracy comes from.
The circle rendering thing may be a problem with how the geometry of the world works, try using a smaller size with config lib and tell me, as it can help visualize the actual contact point of the dotted line
About the crossbows, yes I can add them later, but first I'd like to completely fix the physics for the projectiles before adding more

urisan , Apr 15th at 5:21 PM (modified Apr 15th at 9:47 PM)
@TH3ShadowDragon: urisan The "Circle rendering behind the block it's supposed to render on top of" problem is something I didn't understand; Is the circle not visible in certain scenarios because it's being rendered behind? Yeah pretty much. I tested it on two dirt blocks

I released 1.1.5
- Now aiming towards a target that is in a lower position than you is more accurate.
- Now the trajectory should react better to camera rotation (before it would have a slight lateral difference whether you were facing north or south)
- Now I placed a little particle to show where the trajectory is actually colliding with something, it's pretty accurate for now.

urisan , Apr 13th at 3:14 PM

TH3ShadowDragon I released 1.1.3.

 

  • You should be able to hit your shots with combat overhaul now, as I gave every type of bow a different velocity for the calculations now (I didn't know CO did that.. as vanilla bows are all exactly the same)
  • The arc starting too far from the bow is a work in progress, stay tuned for next updates changelogs
  • The "Circle rendering behind the block it's supposed to render on top of" problem is something I didn't understand; Is the circle not visible in certain scenarios because it's being rendered behind?
  • In theory if you don't have Combat Overhaul, the mod should take the vanilla system and show the real trajectory values (a bit jagged for now), and when you have Combat Overhaul, it should only show the CO's system
  • A known bug is that when you aim with a bow and you don't have arrows, the trajectory still shows, but that really shouldn't be a problem atm

 

Let me know if you are able to land shots now, I tested CO spears, javelins and bows at render distance shots and also tell me if the shots you are missing are on a higher target, lower or equal altitude, as the altitude is something I'm not currently taking into consideration (WIP)

urisan , Apr 13th at 4:39 AM

TH3ShadowDragon I just tested the 1.1.2 (latest) vanilla it works fine, I just noticed that bug with combat overhaul. I'll fix it tomorrow, thx for the feedback

TH3ShadowDragon, Apr 13th at 3:02 AM (modified Apr 13th at 3:16 AM)

I also run a 1.21.6 world and im having issues there as well. The arc starts too far away from the bow to be useful, the circle renders behind the block its supposed to render ontop of, and with combat overhaul it seams to still overide acuraccy or something. i'm about to test the newest version, i didnt see the update when i wrote this and will update afterwards.

All the issues above are still present. I might ask what aiming system are we supposed to use for combat overhaul, i.e none, moving, fixed, moving none? i cant land any shots either.

Calbain, Apr 12th at 7:01 PM

Yup, it works on 1.22 now!

urisan , Apr 12th at 6:53 PM

Fedarmens TH3ShadowDragon the new file (version 10.0.0) should work just fine with 1.22 onwards, (I tested it) so please tell me if you get any errors while using it. Thanks for the feedback guys

urisan , Apr 12th at 12:48 PM

Hi Fedarmens and TH3ShadowDragon, I just woke up, I think the mod doesn't work on versions from 1.22 onwards because I was developing with an outdated version of Visual Studio that forced me to develop only for .NET versions up to 8, and I just found out that 1.22 needs .NET 10, so I'm updating Visual Studio right now and will test if that was the case, stay tuned for the next mod update.

Fedarmens, Apr 12th at 5:46 AM

Hi. On the rc-8 version, an error occurs when loading the world. Only this mod is installed. It sounds cool, but I can't try it out yet...

Crash Report

Running on 64 bit Windows 10.0.26200.0 with 16304 MB RAM
Game Version: v1.22.0-rc.8 (Unstable)
12.04.2026 8:43:36: Critical error occurred in the following mod: speartrajectory@1.1.0
Loaded Mods: game@1.22.0-rc.8, speartrajectory@1.1.0, creative@1.22.0-rc.8, survival@1.22.0-rc.8
System.MissingFieldException: Field not found: 'Vintagestory.API.Common.Entities.Entity.Pos'.
at MonoMod.Core.Interop.CoreCLR.V60.InvokeCompileMethod(IntPtr functionPtr, IntPtr thisPtr, IntPtr corJitInfo, CORINFO_METHOD_INFO* methodInfo, UInt32 flags, Byte** nativeEntry, UInt32* nativeSizeOfCode)
at MonoMod.Core.Platforms.Runtimes.Core60Runtime.JitHookDelegateHolder.CompileMethodHook(IntPtr jit, IntPtr corJitInfo, CORINFO_METHOD_INFO* methodInfo, UInt32 flags, Byte** nativeEntry, UInt32* nativeSizeOfCode)
at SpearTrajectory.Rendering.TrajectoryRenderer.OnRenderFrame(Single deltaTime, EnumRenderStage stage)
at SpearTrajectory.Rendering.TrajectoryRenderer.OnRenderFrame(Single deltaTime, EnumRenderStage stage)
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 257
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 856
at Vintagestory.Client.NoObf.ClientMain.RenderAfterFinalComposition(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1010
at Vintagestory.Client.GuiScreenRunningGame.RenderAfterFinalComposition(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 229
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 753
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 685
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 112
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 354
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 131
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95

Event Log entries for Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 12.04.2026 8:41:44, Site = , Source = Application Error, Message = Имя сбойного приложения: Vintagestory.exe, версия: 1.22.0.0, метка времени: 0x693c0000
Имя сбойного модуля: openal32.dll, версия: 1.23.0.0, метка времени: 0x63dd31ad
Код исключения: 0x40000015
Смещение ошибки: 0x00000000000df046
Идентификатор сбойного процесса: 0x2b0
Время запуска сбойного приложения: 0x1dcca3ee5057111
Путь сбойного приложения: C:\Users\boils\AppData\Roaming\Vintagestory\Vintagestory.exe
Путь сбойного модуля: C:\Users\boils\AppData\Roaming\Vintagestory\Lib\openal32.dll
Идентификатор отчета: 5df1fcb3-05c7-4503-a9e4-cf11b1e07f6d
Полное имя сбойного пакета:
Код приложения, связанного со сбойным пакетом: }
--------------
{ TimeGenerated = 12.04.2026 8:39:37, Site = , Source = Application Error, Message = Имя сбойного приложения: Vintagestory.exe, версия: 1.22.0.0, метка времени: 0x693c0000
Имя сбойного модуля: openal32.dll, версия: 1.23.0.0, метка времени: 0x63dd31ad
Код исключения: 0x40000015
Смещение ошибки: 0x00000000000df046
Идентификатор сбойного процесса: 0x644
Время запуска сбойного приложения: 0x1dcca3e6a0bc2de
Путь сбойного приложения: C:\Users\boils\AppData\Roaming\Vintagestory\Vintagestory.exe
Путь сбойного модуля: C:\Users\boils\AppData\Roaming\Vintagestory\Lib\openal32.dll
Идентификатор отчета: 7bda6bd2-55f4-46ea-b13f-80a44e423590
Полное имя сбойного пакета:
Код приложения, связанного со сбойным пакетом: }
--------------
{ TimeGenerated = 06.04.2026 9:32:44, Site = , Source = Application Error, Message = Имя сбойного приложения: Vintagestory.exe, версия: 1.22.0.0, метка времени: 0x691d0000
Имя сбойного модуля: nvoglv64.dll, версия: 32.0.15.6094, метка времени: 0x66bc35f7
Код исключения: 0xc0000409
Смещение ошибки: 0x0000000000fcb235
Идентификатор сбойного процесса: 0x253c
Время запуска сбойного приложения: 0x1dcc58ddfbf2dbc
Путь сбойного приложения: C:\Users\boils\AppData\Roaming\Vintagestory\Vintagestory.exe
Путь сбойного модуля: C:\WINDOWS\System32\DriverStore\FileRepository\nvmd.inf_amd64_aa54f7a758543a0a\nvoglv64.dll
Идентификатор отчета: 2e28fc85-3d95-41b5-a252-681d5fa17634
Полное имя сбойного пакета:
Код приложения, связанного со сбойным пакетом: }

TH3ShadowDragon, Apr 12th at 5:41 AM

CTD on RC7

urisan , Apr 12th at 3:17 AM

kamipixel Yeah! But keep in mind that the mod overrides normal projectile behaviours with my own implementation; although it's similar to vanilla spray, it's different nonetheless, so the practice you may get with this mod won't really translate to other servers without it.. (unless you always play with/on servers with the Combat Overhaul accuracy implementation!)

Although If many ppl suggest it, I may add a toggle for the custom accuracy implementation and another for the removal of vanilla spread

kamipixel, Apr 12th at 3:04 AM

Oh this will be very nice for practicing long range. I'm having such a hard time figuring out distances and angles :')

urisan , Apr 11th at 7:30 PM (modified Apr 11th at 7:30 PM)
porkjorker321, Apr 11th at 11:34 AM

its like that one mobile game where u have to shoot eachother and it has a trajectory line like this

urisan , Apr 11th at 1:09 AM

Cuddly_Khan Done, tell me if you get any problems with the javelin implementation, have fun and thanks for your feedback, it's invaluable since I don't really play with many content mods like Armory so I don't know everything 😅

urisan , Apr 11th at 12:30 AM

Cuddly_Khan I don't think they should work, as they most probably don't have "spear" in their item code (that's what I'm using rn to identify spears)
But I can add it if you want!

Cuddly_Khan, Apr 11th at 12:07 AM

In Combat Overhaul, spears aren't really meant for throwing. It adds javelins for that purpose. Does this work with those as well?

urisan , Apr 10th at 9:11 PM

Zaelesh
I fixed the Combat Overhaul compat issue, it SHOULD be working for you now.
One thing to consider is that I didn't really implement combat overhaul into the mod still, just did a quick fix, so the trajectory gets rendered when you right click with a spear no matter the stance.
If it still doesn't work for you, then maybe you have another mod that changes spear things, but I don't think that should be the case.

Thank you for your feedback

Apotheotic_Crow, Apr 10th at 8:23 PM

This is awesome.

urisan , Apr 10th at 8:22 PM

Zaelesh
I don't think this works with combat overhaul, as both touch things related to spears.. 
I'll let you know if I can fix this incompatibility!

Zaelesh, Apr 10th at 7:53 PM

does this work with combat overhaul? That's the only reason i can figure why this mod isn't working for me