Fractal Softworks Forum

Starsector => Mods => Topic started by: Sundog on March 11, 2020, 09:07:42 PM

Title: [0.95a] Flux Reticle v1.1.1 - A more useful and immersive aiming cursor
Post by: Sundog on March 11, 2020, 09:07:42 PM
Flux Reticle


(https://img.shields.io/github/downloads/NateNBJ/FluxReticle/total?color=496B8E&label=Download%20Flux%20Reticle&style=flat&logo=DocuSign&logoColor=white)
 (https://github.com/NateNBJ/FluxReticle/releases/download/v1.1.1/Flux.Reticle.zip)
Old Versions (https://github.com/NateNBJ/FluxReticle/releases/)
Change Log (https://github.com/NateNBJ/FluxReticle/wiki/Change-Log)

Compatible with all known mods.
Integrated with Version Checker (http://fractalsoftworks.com/forum/index.php?topic=8181).
Can be added to existing games.
Can be removed from games in which it was already used.


Known Issue:
A few people have reported that the reticle will occasionally disappear, and that they've observed weird graphical bugs while using this mod.
I haven't managed to figure out what's causing these problems or reproduce them, so any information about the circumstances that lead to any issues would be a great help.

This mod replaces the default cursor during combat with a reticle that displays flux level.
It also allows you to toggle "strafe and turn to cursor" behavior during battle by pressing "K"
The size and colors of the reticle can be customized by editing FLUX_RETICLE_OPTIONS.ini, as well as the toggle hotkey.

(https://i.imgur.com/Iv8x4u0.png)
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: pedro1_1 on March 11, 2020, 09:12:49 PM
Flux Reticle

Download link will be here in a few minutes


Compatible with all known mods.
Integrated with Version Checker (http://fractalsoftworks.com/forum/index.php?topic=8181).
Can be added to existing games.
Can be removed from games in which it was already used.


This mod replaces the default cursor during combat with a reticle that displays flux level.

(https://i.imgur.com/uxnQgz7.jpg)
Did not think I would need someting like this, It fits into that category of needing It but not knowing it
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: e on March 11, 2020, 11:40:35 PM
Wow!

This is useful for me because i always get distracted away from my flux bar.

Thanks a lot!!
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: Shrugger on March 12, 2020, 06:01:01 AM
Top notch idea!
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: TimeDiver on March 12, 2020, 06:30:02 AM
Does this work in combination with the Leading Pip (https://fractalsoftworks.com/forum/index.php?topic=7921.0) mod by Dark.Revenant?
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: SCC on March 12, 2020, 07:06:54 AM
I wish there was an alternate reticule, a simple crosshair. This one is a bit ambiguous and has a shadow around it. Shadow's probably useful, but it bothers me to no end.
Does this work in combination with the Leading Pip (https://fractalsoftworks.com/forum/index.php?topic=7921.0) mod by Dark.Revenant?
Yes, it does.
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: Sundog on March 13, 2020, 02:11:07 AM
Did not think I would need someting like this, It fits into that category of needing It but not knowing it
Top notch idea!
;D

This is useful for me because i always get distracted away from my flux bar.
Yup. Me too!  ;D

Does this work in combination with the Leading Pip (https://fractalsoftworks.com/forum/index.php?topic=7921.0) mod by Dark.Revenant?
Yup. Only thing it's likely to ever be incompatible with is another mod that changes the mouse cursor image somehow, but I'm not aware of any other mod that does that.

I wish there was an alternate reticule, a simple crosshair. This one is a bit ambiguous and has a shadow around it. Shadow's probably useful, but it bothers me to no end.
Yeah, the shadow is ugly as sin. A hard black outline should be enough to make it visible over light backgrounds and other gui elements. Someone on discord suggested a different, pointier reticle image to make it more clear exactly where the mouse's hotspot pixel is. I'll experiment a bit, but I think I'll probably just go with a simple crosshair, as you suggest.
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: Sundog on March 14, 2020, 05:28:26 PM
Someone on discord reported the reticle disappearing every once in a while during battle. If anyone knows of a reliable way to reproduce this issue, could you let me know? It would be a great help in figuring out how to fix it.

Also, I'm planning to change the reticle image in the next update. Thoughts?
(https://i.imgur.com/O4TMq5X.png)
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: Alex on March 14, 2020, 05:31:31 PM
IIRC, I tried some cursor manipulation (you're using Mouse.setNativeCursor, right?) beyond what the game already does for friend/foe and I ran into the same issue. Wasn't able to figure it out; this was a looooong time ago.
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: Sundog on March 14, 2020, 09:35:27 PM
I'm using Mouse.setNativeCursor to switch between the default cursor and an invisible cursor, but no part of the reticle itself is a proper hardware cursor. It's just drawn using sprites and primitives in CombatPlugin.advance. When the reticle goes AWOL, the vanilla cursor is rendered just fine in the contexts in which it should (e.g. escape menu and tactical screen), so my best guess is that some aspect of the OpenGL state that the mod doesn't account for is being changed in such a way that the reticle fails to render properly. No idea what that could be though. I'm a bit of a putz when it comes to graphics  ::)
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: Alex on March 16, 2020, 05:08:10 PM
Ah - that's definitely a different issue, then... hmm.
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: Yubbin on April 05, 2020, 08:59:03 AM
I got an error while using this mod while commanding the excelsior ship from ship and weapon pack (I have the newest version of both). This didn't crash the game, but it spammed the chat with an error message
Quote
Color parameter outside of expected range: Alpha
Flux reticle encountered an error!
Please let the mod author know.
I think this only happens when I start the combat with another ship, then switch into the excelsior. I have a lot of mods running, do I need to give a modlist? Thanks.
Title: Re: [0.9.1a] Flux Reticle v1.0.0 - A more useful and immersive aiming cursor
Post by: Sundog on April 05, 2020, 03:07:51 PM
Thanks for the report! Someone else actually reported the excelsior error spam earlier today, so I just fixed it. I should be able to get a patch out soon. Hopefully today.
Title: Re: [0.9.1a] Flux Reticle v1.0.1 - A more useful and immersive aiming cursor
Post by: Sundog on April 05, 2020, 04:24:17 PM
Flux Reticle 1.0.1 (http://fractalsoftworks.com/forum/index.php?topic=18166)
Compatible with all previous versions

Improved reticle icon
Fixed error spam sometimes occurring when ships with scripted flux mechanics were piloted (e.g. Excelsior, Ryoku)
Title: Re: [0.9.1a] Flux Reticle v1.0.1 - A more useful and immersive aiming cursor
Post by: PureTilt on April 13, 2020, 08:26:13 PM
reticle doesn't drawn if you use not your flagship (nvm traumtanzer bugs some effects)
Title: Re: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor
Post by: SCC on July 17, 2020, 05:28:25 AM
Hey Sundog, could you consider adding some indicator to the flux reticle to show when ship system is on?
Title: Re: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor
Post by: Sundog on July 18, 2020, 05:25:11 PM
Yeah, I think a system state indicator could be a good fit for flux reticle. I've got a list of potential indicators to add, and that one's near the top, but I'll probably hold off on adding too much until the next Starsector release.
Title: Re: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor
Post by: Sanrai on July 29, 2020, 04:24:50 PM
I've noticed a glitch with this mod where mousing near the center of the ship causes things like weapon arcs and the trails of weapon fire to skew a fixed amount.
Title: Re: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor
Post by: Sundog on July 29, 2020, 04:37:04 PM
Someone else reported something similar a while back, but that was only when the GUI was disabled with F11. Is that the case for you as well?
Title: Re: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor
Post by: Sanrai on July 29, 2020, 04:41:44 PM
No, I didn't even know you could diable the gui like that.
Title: Re: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor
Post by: Sundog on July 29, 2020, 09:16:29 PM
Ok, gotcha. Thanks for the info! Hopefully I'll get the chance to solve that issue soon, but unfortunately I haven't managed to reproduce it yet, which makes things a lot harder. By the way, do you use f.lux or have an AMD or integrated graphics card?
Title: Re: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor
Post by: Sanrai on July 29, 2020, 10:16:57 PM
No, I don't use F.lux. I've disabled my integrated GPU, I only use my 1080 nvidia card.
Title: Re: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor
Post by: Helldiver on January 24, 2021, 03:22:54 AM
This is super useful. I was wondering how to make player flux more obvious because I'd often lose track of it during brawly combat and this is a lot more elegant a solution than making a flux bar bigger.
Title: Re: [0.9.1a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: Sundog on March 29, 2021, 08:07:56 PM
Flux Reticle 1.1.0 (http://fractalsoftworks.com/forum/index.php?topic=18166)

Updated compatibility to Starsector version 0.95a
Added: pressing K (by default) toggles "Strafe and turn to cursor" functionality mid-battle, with appropriate audiovisual cues
Title: Re: [0.95a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: Achilles42x on March 30, 2021, 11:06:52 PM
EXACTLY what I wanted
Always gets too squirrely and losing track of my flux in the heat of things
Title: Re: [0.95a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: saya39 on April 01, 2021, 11:51:36 PM
Hi! It's me again :) (if you still remember me)
Just found this fantastic mod had already moved to Mods Board.
May I post it on Fossic, which is the Chinese starsector forum?
Title: Re: [0.95a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: Sundog on April 02, 2021, 04:48:27 PM
Always gets too squirrely and losing track of my flux in the heat of things
Same!  ;D

May I post it on Fossic, which is the Chinese starsector forum?
Go for it! This one should be much easier to translate than the others...
Title: Re: [0.95a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: saya39 on April 02, 2021, 06:11:12 PM
May I post it on Fossic, which is the Chinese starsector forum?
Go for it! This one should be much easier to translate than the others...
Thanks for the permission!
And, yeah, exactly it is. It's convenient for me when every update posted. ;D

Edit: Here is the address.
https://www.fossic.org/thread-2774-1-1.html (https://www.fossic.org/thread-2774-1-1.html)
Title: Re: [0.95a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: AliTanwir on April 06, 2021, 09:59:04 AM
Hi, can I get somewhere the previous versions of your mods? I'm still playing 0.9.1a
Title: Re: [0.95a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: Sundog on April 06, 2021, 04:58:00 PM
There is, but it's not particularly accessible. I've been meaning to put up links to the latest 0.9.1 compatible versions in the OPs of my mods, but haven't gotten around to it yet. In the meantime...

https://github.com/NateNBJ/FluxReticle/releases/download/v1.0.1/Flux.Reticle.zip
https://github.com/NateNBJ/Hyperdrive/releases/download/v2.0.0/Hyperdrive.zip
https://github.com/NateNBJ/StarshipLegends/releases/download/v1.4.3/Starship.Legends.zip
https://github.com/NateNBJ/NewBeginnings/releases/download/v1.1.2/New.Beginnings.zip
https://github.com/NateNBJ/FuelSiphoning/releases/download/v1.1.4/Fuel.Siphoning.zip
https://github.com/NateNBJ/RuthlessSector/releases/download/v1.2.7/Ruthless.Sector.zip
Title: Re: [0.95a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: AliTanwir on April 06, 2021, 10:45:51 PM
Thanks! I appreciate it.
Title: Re: [0.95a] Flux Reticle v1.1.0 - A more useful and immersive aiming cursor
Post by: Sundog on April 08, 2021, 07:11:20 PM
No problem  :)
Title: Re: [0.95a] Flux Reticle v1.1.1 - A more useful and immersive aiming cursor
Post by: Sundog on April 26, 2021, 11:29:43 AM
Flux Reticle 1.1.1 (http://fractalsoftworks.com/forum/index.php?topic=18166)

Fixed flux reticle being shown while the UI was hidden
Darkened the background of the reticle a bit to improve visibility

Side note: Has anyone had the bug where the reticle disappears sometimes? I'm beginning to suspect it's no longer a problem in 0.95a...
Title: Re: [0.95a] Flux Reticle v1.1.1 - A more useful and immersive aiming cursor
Post by: Ruddygreat on May 06, 2021, 02:21:10 AM
Is there a way to use the "toggle point to cursor" functionality without using the reticule?
I prefer the vanilla cursor, but that toggle is so useful
Title: Re: [0.95a] Flux Reticle v1.1.1 - A more useful and immersive aiming cursor
Post by: Sundog on May 06, 2021, 08:17:56 AM
There is not, sorry. I might make another mod that only has the toggle functionality. I'm surprised no one else has done it already, honestly.