[Starsector Mods][0.95a] Flux Reticle v1.2.1 – Also lets you toggle turn-to-cursor with a hotkey!

  • Post category:Mods
  • Post comments:0 Comments

Flux Reticle




Old Versions
Change Log

Compatible with all known mods.
Integrated with

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 mod will remember your preference for each hull type, so you won’t need to toggle each time you switch between ships.
The size and colors of the reticle can be customized by editing FLUX_RETICLE_OPTIONS.ini, as well as the toggle hotkey.


Flux Reticle

Download link will be here in a few minutes


Compatible with all known mods.
Integrated with

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

Did not think I would need someting like this, It fits into that category of needing It but not knowing it


Wow!

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

Thanks a lot!!


Top notch idea!

Does this work in combination with the


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

Yes, it does.


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

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.


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?


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.

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

Ah – that’s definitely a different issue, then… hmm.

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

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.


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.


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)


reticle doesn’t drawn if you use not your flagship (nvm traumtanzer bugs some effects)

Leave a Reply