[minimod][v2.0.1] Target Spy: Health Bar on Steroids
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.
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.
- m8f
-
- Posts: 1458
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Location: Siberia (UTC+7)
- Contact:
Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids
The simplest way to tell if an add-on works with a game is to try it. Besides that, one can inspect the source code and look for game-specific classes (e.g. from this directory). But even if there are none, an add-on may not take into account some mechanics, that vary from game to game.
- COLBudManstrong
- Posts: 3
- Joined: Wed Dec 26, 2018 12:39 pm
Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids
Curious if anyone might have an older build of this mod? There's a Target Spy > Crosshair option for "Only on target" in the mods menu, but it seems like the latest build doesn't seem to actually implement that option?
https://github.com/search?q=repo%3Ammau ... &type=code
If I understand the intent of that menu option, it should only show the Target Spy Crosshair when an enemy is targeted, and then disappear when off target. This is the main part of the mod I was hoping to use.
In the latest official Doom + Doom II re-release, they have an option to change the crosshair color when a target is "active", even if they are at a different position vertically. I don't play with mouselook, so I was hoping to replicate that somewhat with this mod. Basically, have my regular crosshair (a small square with my health represented by color) when no active target, then when an enemy is targeted, the Target Spy Crosshair (A solid color square of the same size) would appear in its place, and then disappear when a target is no longer active.
I've played around with some of the custom character options for the Target Spy Crosshair, but they never disappear as the option mentioned above doesn't seem to do anything. So I can only try to change the crosshair color to something like black or brown to blend in when "off target".
I have tried the Precise Crosshair mod, and looked around for a few alternatives, but this mod seemed like the closest existing option.
-------------------------
EDIT: The first release from the GitHub page has a v1.13 version, which includes an archive of older builds back to 0.7.1, just after the "Only on target" option was added. It seems there was a major rewrite from ACS to ZScript in 0.14. I may investigate adding support for that menu option back at some point if I can wrap my head around the changes required.
https://github.com/search?q=repo%3Ammau ... &type=code
If I understand the intent of that menu option, it should only show the Target Spy Crosshair when an enemy is targeted, and then disappear when off target. This is the main part of the mod I was hoping to use.
In the latest official Doom + Doom II re-release, they have an option to change the crosshair color when a target is "active", even if they are at a different position vertically. I don't play with mouselook, so I was hoping to replicate that somewhat with this mod. Basically, have my regular crosshair (a small square with my health represented by color) when no active target, then when an enemy is targeted, the Target Spy Crosshair (A solid color square of the same size) would appear in its place, and then disappear when a target is no longer active.
I've played around with some of the custom character options for the Target Spy Crosshair, but they never disappear as the option mentioned above doesn't seem to do anything. So I can only try to change the crosshair color to something like black or brown to blend in when "off target".
I have tried the Precise Crosshair mod, and looked around for a few alternatives, but this mod seemed like the closest existing option.
-------------------------
EDIT: The first release from the GitHub page has a v1.13 version, which includes an archive of older builds back to 0.7.1, just after the "Only on target" option was added. It seems there was a major rewrite from ACS to ZScript in 0.14. I may investigate adding support for that menu option back at some point if I can wrap my head around the changes required.
Last edited by COLBudManstrong on Mon Sep 02, 2024 4:02 pm, edited 1 time in total.
Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids
the current version has the healthbar show only when crosshair is on enemy.
Last edited by BLSZDOOM on Tue Sep 03, 2024 9:45 pm, edited 1 time in total.
- m8f
-
- Posts: 1458
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Location: Siberia (UTC+7)
- Contact:
Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids
Hello! "Only on target" option was lost somewhere or was deliberately removed, I don't remember. Sorry for that.
At the moment I'm trying to make some tooling that will help writing GZDoom add-ons more reliably. If I succeed, there is a chance that Target Spy and my other minimods will receive bug fixes in a year or two. Before that, we can only hope for pull requests with fixes.
At the moment I'm trying to make some tooling that will help writing GZDoom add-ons more reliably. If I succeed, there is a chance that Target Spy and my other minimods will receive bug fixes in a year or two. Before that, we can only hope for pull requests with fixes.
- COLBudManstrong
- Posts: 3
- Joined: Wed Dec 26, 2018 12:39 pm
Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids
All good m8f! I messed around with settings for the pre-ZScript v0.13.3 version, and got it working more or less as I was hoping for.
I've also been working on my own beginner ZScript HUD mod, mostly to learn a bit about the language. If I can apply that knowledge to the Target Spy mod, and re-implement the "Only On Target" functionality for the crosshair, I'll open up a PR.
I've also been working on my own beginner ZScript HUD mod, mostly to learn a bit about the language. If I can apply that knowledge to the Target Spy mod, and re-implement the "Only On Target" functionality for the crosshair, I'll open up a PR.