[minimod][v2.0.1] Target Spy: Health Bar on Steroids

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
bluemoss
Posts: 5
Joined: Tue Mar 23, 2021 5:38 pm
Graphics Processor: nVidia (Legacy GZDoom)

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by bluemoss »

Man what HUD is that in the screenshots, looks sick...also, cool mod man :)
User avatar
m8f
 
 
Posts: 1433
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by m8f »

What HUD are you asking about? There are several mods in the screenshots.
User avatar
ClessxAlghazanth
Posts: 159
Joined: Sun Feb 17, 2019 9:29 am

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by ClessxAlghazanth »

Can I ask what these entries in the .ini refer to ?

m8f_ts_cr_0=6
m8f_ts_cr_1=6
m8f_ts_cr_10=1
m8f_ts_cr_11=21
m8f_ts_cr_2=6
m8f_ts_cr_3=8
m8f_ts_cr_4=8
m8f_ts_cr_5=8
m8f_ts_cr_6=5
m8f_ts_cr_7=5
m8f_ts_cr_8=5
m8f_ts_cr_9=1

thanks
User avatar
m8f
 
 
Posts: 1433
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by m8f »

Colors for different % of target health:
in MENUDEF, I wrote: StaticText "Color for %", 1
Option " 0%" , m8f_ts_cr_0 , TextColors
Option " 10%" , m8f_ts_cr_1 , TextColors
Option " 20%" , m8f_ts_cr_2 , TextColors
Option " 30%" , m8f_ts_cr_3 , TextColors
Option " 40%" , m8f_ts_cr_4 , TextColors
Option " 50%" , m8f_ts_cr_5 , TextColors
Option " 60%" , m8f_ts_cr_6 , TextColors
Option " 70%" , m8f_ts_cr_7 , TextColors
Option " 80%" , m8f_ts_cr_8 , TextColors
Option " 90%" , m8f_ts_cr_9 , TextColors
Option "100%" , m8f_ts_cr_10 , TextColors
Option "Overhealed" , m8f_ts_cr_11 , TextColors
User avatar
ClessxAlghazanth
Posts: 159
Joined: Sun Feb 17, 2019 9:29 am

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by ClessxAlghazanth »

m8f wrote:Colors for different % of target health:
in MENUDEF, I wrote: StaticText "Color for %", 1
Option " 0%" , m8f_ts_cr_0 , TextColors
Option " 10%" , m8f_ts_cr_1 , TextColors
Option " 20%" , m8f_ts_cr_2 , TextColors
Option " 30%" , m8f_ts_cr_3 , TextColors
Option " 40%" , m8f_ts_cr_4 , TextColors
Option " 50%" , m8f_ts_cr_5 , TextColors
Option " 60%" , m8f_ts_cr_6 , TextColors
Option " 70%" , m8f_ts_cr_7 , TextColors
Option " 80%" , m8f_ts_cr_8 , TextColors
Option " 90%" , m8f_ts_cr_9 , TextColors
Option "100%" , m8f_ts_cr_10 , TextColors
Option "Overhealed" , m8f_ts_cr_11 , TextColors
Thanks a bunch ! :)
User avatar
RedClairefield
Posts: 27
Joined: Sat Feb 23, 2019 11:25 am

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by RedClairefield »

As probably the only human on earth that actually genuinely likes and uses the target frame, some more options regarding it would be nice.

Making the crosshair invisible while within the frame or vice-versa, drawing the health bar and text with respect to the frame above/below it or within the frame snapping to corners, etc.

Also it seems like it might be fairly easy to make a "dynamic" crosshair by simply having different visual/behavior setups for the crosshair based on whether it's on an enemy or not.

Great mod as is already, obviously. I use it with every single mod.
User avatar
Nimlouth
Posts: 18
Joined: Wed May 06, 2020 8:34 am
Graphics Processor: nVidia (Modern GZDoom)
Location: Argentina

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by Nimlouth »

Hey I've been using this for ages and I love it so much! Lately I've been playing Abysm 1&2 with it and couldn't help but notice that whenever I'm using the "position above target" setting the text is rendered waaaay to close to the enemy sprite, obscuring it. Is there a way to off-set the position of the text when using the "on target" setup?

Also I second @RedClairefield 's suggestions for the target frames. I use them too (occasionally haha)!

Thx again for ALL of your amazing mods m8f
User avatar
m8f
 
 
Posts: 1433
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by m8f »

I'm afraid there is no configuration option for the offset for position above target. You can try to tune the code, though. In the pk3, find the file zscript/ts_event_handler.zs. There, find the function named getRelativeXY. There is a line that says

Code: Select all

             ? target.height * 1.2
Change 1.2 multiplier to some other value, maybe 2.0.

I'm not sure why the position is wrong for Abysm. Maybe I have to check enemy scaling.
User avatar
Nimlouth
Posts: 18
Joined: Wed May 06, 2020 8:34 am
Graphics Processor: nVidia (Modern GZDoom)
Location: Argentina

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by Nimlouth »

Hey thx a whole big ol' bunch! Easy to adjust in SLADE :D

I settled with 1.6 and it's now way more comfy to look at, specially with monsters that are far away.

Screens > https://imgur.com/a/Ium8BU7

Been mostly using "below target" up until now but I think I'll keep it above since now I can adjust (sort of) the height to my liking. tysm again for all your cool stuff and attention!
mcm320
Posts: 2
Joined: Wed Jan 04, 2023 9:33 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by mcm320 »

Nimlouth wrote: Fri Dec 03, 2021 2:08 am Hey thx a whole big ol' bunch! Easy to adjust in SLADE :D

I settled with 1.6 and it's now way more comfy to look at, specially with monsters that are far away.

Screens > https://imgur.com/a/Ium8BU7

Been mostly using "below target" up until now but I think I'll keep it above since now I can adjust (sort of) the height to my liking. tysm again for all your cool stuff and attention!
How were you able to add the custom crosshair? I went to the crosshair piece reference and I'm not sure what to do to change it
User avatar
Nimlouth
Posts: 18
Joined: Wed May 06, 2020 8:34 am
Graphics Processor: nVidia (Modern GZDoom)
Location: Argentina

Re: [minimod][v2.0.1] Target Spy: Health Bar on Steroids

Post by Nimlouth »

mcm320 wrote: Sat Jan 14, 2023 4:46 am
Nimlouth wrote: Fri Dec 03, 2021 2:08 am Hey thx a whole big ol' bunch! Easy to adjust in SLADE :D

I settled with 1.6 and it's now way more comfy to look at, specially with monsters that are far away.

Screens > https://imgur.com/a/Ium8BU7

Been mostly using "below target" up until now but I think I'll keep it above since now I can adjust (sort of) the height to my liking. tysm again for all your cool stuff and attention!
How were you able to add the custom crosshair? I went to the crosshair piece reference and I'm not sure what to do to change it
You have to input the character for the symbol you want. Like, if you want to have that crosshair I used in the screenshots, you have to write "Y" on the center piece.

Return to “Gameplay Mods”