Mods / Projectile Trajectory
- Tags:
- 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 Identifier | For 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
| |||||||
| 10.0.8 | speartrajectory | 126 | Apr 18th at 3:43 AM | speartrajectory_10.0.8.zip | 1-click install | ||
Changelog
| |||||||
| 10.0.7 | speartrajectory | 23 | Apr 17th at 10:21 PM | speartrajectory_10.0.7.zip | 1-click install | ||
Changelog
| |||||||
| 10.0.6 | speartrajectory | 35 | Apr 17th at 2:49 PM | speartrajectory_10.0.6.zip | 1-click install | ||
Changelog
| |||||||
| 10.0.5 | speartrajectory | 52 | Apr 15th at 11:41 PM | speartrajectory_10.0.5.zip | 1-click install | ||
Hotfix
| |||||||
| 10.0.4 | speartrajectory | 26 | Apr 15th at 9:44 PM | speartrajectory_10.0.4.zip | 1-click install | ||
Changelog
| |||||||
| 10.0.3 | speartrajectory | 32 | Apr 15th at 5:12 PM | speartrajectory_10.0.3.zip | 1-click install | ||
Changelog
| |||||||
| 10.0.2 | speartrajectory | 70 | Apr 13th at 5:49 PM | speartrajectory_10.0.2.zip | 1-click install | ||
Changelog
| |||||||
| 10.0.1 | speartrajectory | 44 | Apr 12th at 8:28 PM | speartrajectory_10.0.1.zip | 1-click install | ||
Changelog
| |||||||
| 10.0.0 | speartrajectory | 91 | Apr 12th at 6:48 PM | speartrajectory_10.0.0.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.9 | speartrajectory | 172 | Apr 18th at 3:42 AM | speartrajectory_1.1.9.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.8 | speartrajectory | 40 | Apr 17th at 10:21 PM | speartrajectory_1.1.8.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.7 | speartrajectory | 41 | Apr 17th at 2:49 PM | speartrajectory_1.1.7.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.6 | speartrajectory | 113 | Apr 15th at 11:40 PM | speartrajectory_1.1.6.zip | 1-click install | ||
Hotfix
| |||||||
| 1.1.5 | speartrajectory | 40 | Apr 15th at 9:44 PM | speartrajectory_1.1.5.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.4 | speartrajectory | 43 | Apr 15th at 5:11 PM | speartrajectory_1.1.4.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.3 | speartrajectory | 153 | Apr 13th at 3:06 PM | speartrajectory_1.1.3.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.2 | speartrajectory | 71 | Apr 12th at 8:27 PM | speartrajectory_1.1.2.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.1 | speartrajectory | 47 | Apr 12th at 6:23 PM | speartrajectory_1.1.1.zip | 1-click install | ||
Changelog
| |||||||
| 1.1.0 | speartrajectory | 99 | Apr 12th at 1:38 AM | speartrajectory_1.1.0.zip | 1-click install | ||
Changelog
| |||||||
| 1.0.9 | speartrajectory | 68 | Apr 11th at 7:26 PM | speartrajectory_1.0.9.zip | 1-click install | ||
Changelog
| |||||||
| 1.0.8 | speartrajectory | 67 | Apr 11th at 1:58 PM | speartrajectory_1.0.8.zip | 1-click install | ||
Changelog
| |||||||
| 1.0.7 | speartrajectory | 81 | Apr 11th at 2:35 AM | speartrajectory_1.0.7.zip | 1-click install | ||
Changelog
| |||||||
| 1.0.6 | speartrajectory | 29 | Apr 11th at 1:38 AM | speartrajectory_1.0.6.zip | 1-click install | ||
Changelog
Bug fixes- Fixed a crash that happened when right clicking with a block (catastrophic I know) | |||||||
| 1.0.5 | speartrajectory | 28 | Apr 11th at 1:07 AM | speartrajectory_1.0.5.zip | 1-click install | ||
Changelog
| |||||||
| 1.0.4 | speartrajectory | 36 | Apr 10th at 11:34 PM | speartrajectory_1.0.4.zip | 1-click install | ||
Changelog
Next release
| |||||||
| 1.0.3 | speartrajectory | 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 | 39 | Apr 10th at 7:32 PM | Empty | speartrajectory_1.0.2.zip | 1-click install | |
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.
huh, I just noticed the rc.9 update, I'll try to fix it later, thx for telling
joined and added you
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?
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.
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?
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?
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
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.
TH3ShadowDragon I released 1.1.3.
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)
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
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.
Yup, it works on 1.22 now!
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
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.
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...
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
Полное имя сбойного пакета:
Код приложения, связанного со сбойным пакетом: }
CTD on RC7
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
Oh this will be very nice for practicing long range. I'm having such a hard time figuring out distances and angles :')
porkjorker321
Worms?
its like that one mobile game where u have to shoot eachother and it has a trajectory line like this
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 😅
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!
In Combat Overhaul, spears aren't really meant for throwing. It adds javelins for that purpose. Does this work with those as well?
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
This is awesome.
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!
does this work with combat overhaul? That's the only reason i can figure why this mod isn't working for me