Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.9.1a is out! (05/10/19); Updated the Forum Rules and Guidelines (02/29/20); Blog post: GIF Roundup (04/11/20)

Pages: [1] 2

Author Topic: [0.9.1a] Flux Reticle v1.0.1 (BETA) - A more useful and immersive aiming cursor  (Read 2563 times)

Sundog

  • Admiral
  • *****
  • Posts: 1116
    • View Profile

Flux Reticle





Compatible with all known mods.
Integrated with
Version Checker.
Can be added to existing games.
Can be removed from games in which it was already used.


Known Issues:
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 to me.


This mod replaces the default cursor during combat with a reticle that displays flux level.
The size and colors of the reticle can be customized by editing FLUX_RETICLE_OPTIONS.ini.

« Last Edit: June 08, 2020, 08:39:21 AM by Sundog »
Logged

pedro1_1

  • Commander
  • ***
  • Posts: 185
    • View Profile

Flux Reticle

Download link will be here in a few minutes


Compatible with all known mods.
Integrated with
Version Checker.
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.


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

DarkOmegaMK2

  • Commander
  • ***
  • Posts: 120
    • View Profile
    • Email

Wow!

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

Thanks a lot!!
Logged

Shrugger

  • Lieutenant
  • **
  • Posts: 60
    • View Profile

Top notch idea!
Logged

TimeDiver

  • Commander
  • ***
  • Posts: 178
    • View Profile

Does this work in combination with the Leading Pip mod by Dark.Revenant?
Logged

SCC

  • Admiral
  • *****
  • Posts: 1935
    • View Profile

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 mod by Dark.Revenant?
Yes, it does.

Sundog

  • Admiral
  • *****
  • Posts: 1116
    • View Profile

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

Sundog

  • Admiral
  • *****
  • Posts: 1116
    • View Profile

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?

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 16744
    • View Profile

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

Sundog

  • Admiral
  • *****
  • Posts: 1116
    • View Profile

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

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 16744
    • View Profile

Ah - that's definitely a different issue, then... hmm.
Logged

Yubbin

  • Ensign
  • *
  • Posts: 14
    • View Profile
    • Email

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

Sundog

  • Admiral
  • *****
  • Posts: 1116
    • View Profile

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.

Sundog

  • Admiral
  • *****
  • Posts: 1116
    • View Profile

Flux Reticle 1.0.1
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)

PureTilt

  • Ensign
  • *
  • Posts: 2
    • View Profile

reticle doesn't drawn if you use not your flagship (nvm traumtanzer bugs some effects)
« Last Edit: April 13, 2020, 08:39:57 PM by PureTilt »
Logged
Pages: [1] 2