[minimod][1.4.1] Precise Crosshair

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][1.3] Precise Crosshair

Post by m8f »

I haven't decided yet if that feature will depend on loaded TargetSpy or it will work without TargetSpy.

In any case, it will be an option that is Off by default.
User avatar
vapidscum
Posts: 10
Joined: Wed May 23, 2018 4:32 pm
Location: freedomland

Bugs!

Post by vapidscum »

Some bugs I probably should've brought up sooner:
Target Spy crosshair gets offset when not fullscreen
Max distance + weirdness with it and no respect for crouching

The max distance issue has been less of an annoyance than I thought it would be when I found it, though after playing through Lost Civilization's massive spaces, I gotta bring it up.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][1.3] Precise Crosshair

Post by m8f »

Thanks for reporting! Sorry, but I won't be able to fix it quickly. Other doomish stuff consumes my time.
Created issues: https://github.com/mmaulwurff/precise-c ... /issues/10, https://github.com/mmaulwurff/precise-c ... r/issues/9
User avatar
vapidscum
Posts: 10
Joined: Wed May 23, 2018 4:32 pm
Location: freedomland

Re: [minimod][1.3] Precise Crosshair

Post by vapidscum »

m8f wrote:Sorry, but I won't be able to fix it quickly. Other doomish stuff consumes my time.
Hey, no problem, just wanted to make sure they're known.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][1.4] Precise Crosshair

Post by m8f »

Sudden update! v1.4 is out.

Fixes:
- aim when crouching;
- weirdness with big distance.

New:
- enhanced health color from GZDoom is ported;
- an option to show target health instead of player health;
- y position change is slightly smoother.

Also, Tekish added Vertical style for HitMarkers, so it's now more or less compatible with Precise Crosshair. Check it out, if you haven't already, it's a cool add-on, together with other things from Simple UI Add-ons.

One more thing: I vaguely remember that Precise Crosshair is displayed when the player looked through a security camera, but it shouldn't be. I checked on Doom 64: Retribution, and there it's OK. So, if you find a map where looking through a camera displays Precise Crosshair, please let me know.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][1.4.1] Precise Crosshair

Post by m8f »

Minor update: v1.4.1.

Changelog:
  • fixed a bug when the crosshair wasn't displayed for certain weapons;
  • added Pixel crosshair;
  • moved strings to language lump.
Neophyte_Ronin
Posts: 55
Joined: Thu Oct 05, 2017 8:26 pm

Re: [minimod][1.4.1] Precise Crosshair

Post by Neophyte_Ronin »

Virtually everything m8f makes should be booted into GZDoom and standardized. This one in particular. Because now I can be sure I am aiming at the dying imp's head for that +5 Health Bonus instead of hitting the body!
User avatar
nekostuffing
Posts: 60
Joined: Sat Aug 31, 2019 8:08 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: [minimod][1.4.1] Precise Crosshair

Post by nekostuffing »

Can i implement precise crosshair into my mod?
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][1.4.1] Precise Crosshair

Post by m8f »

Yes, but I have to warn you that Precise Crosshair uses a hack for calling play-scoped functions from ui code. I'd rather refactor it before including in other mods.
Rodman909
Posts: 37
Joined: Thu May 07, 2020 2:28 pm

Re: [minimod][1.4.1] Precise Crosshair

Post by Rodman909 »

Playing this with Russian Overkill; after picking the Yellow Junk Box, which allows to dual-wield your starting pistol, the crosshair disappears when I switch to my pistol. Oddly, it still shows up with the other Slot 2 weapon (the satchel).
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][1.4.1] Precise Crosshair

Post by m8f »

Set "Disable when weapon is not ready" option to "Nyet!" (off).

Why? I don't know at the moment. Created an issue so I don't forget.
User avatar
Oddy_the_bastard
Posts: 6
Joined: Sun Jul 17, 2022 9:53 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: Intel (Modern GZDoom)
Location: Somewere in Brazil

Re: [minimod][1.4.1] Precise Crosshair

Post by Oddy_the_bastard »

It works really well, but for some reason it won't appear if the crosshair is set to none, but as I said, it work really well
User avatar
Dan_The_Noob
Posts: 878
Joined: Tue May 07, 2019 12:24 pm
Graphics Processor: nVidia with Vulkan support

Re: [minimod][1.4.1] Precise Crosshair

Post by Dan_The_Noob »

Oddy_the_bastard wrote: Thu Dec 22, 2022 4:23 am It works really well, but for some reason it won't appear if the crosshair is set to none, but as I said, it work really well
are you serious? why are you trying to use a crosshair with no crosshair
User avatar
Oddy_the_bastard
Posts: 6
Joined: Sun Jul 17, 2022 9:53 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: Intel (Modern GZDoom)
Location: Somewere in Brazil

Re: [minimod][1.4.1] Precise Crosshair

Post by Oddy_the_bastard »

Dan_The_Noob wrote: Fri Dec 23, 2022 7:07 pm
Oddy_the_bastard wrote: Thu Dec 22, 2022 4:23 am It works really well, but for some reason it won't appear if the crosshair is set to none, but as I said, it work really well
are you serious? why are you trying to use a crosshair with no crosshair
because the instructions says that I should set it to none?
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: [minimod][1.4.1] Precise Crosshair

Post by wildweasel »

It says "Default crosshair must be not None" - emphasis on that "not."

Return to “Gameplay Mods”