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

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

Postby bluemoss » Sat Aug 28, 2021 7:05 pm

Man what HUD is that in the screenshots, looks sick...also, cool mod man :)
User avatar
bluemoss
 
Joined: 23 Mar 2021
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

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

Postby m8f » Sat Aug 28, 2021 10:58 pm

What HUD are you asking about? There are several mods in the screenshots.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Other Linux 64-bit

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

Postby ClessxAlghazanth » Sat Sep 11, 2021 8:27 pm

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
ClessxAlghazanth
 
Joined: 17 Feb 2019

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

Postby m8f » Sat Sep 11, 2021 8:36 pm

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
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Other Linux 64-bit

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

Postby ClessxAlghazanth » Sat Sep 11, 2021 8:41 pm

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
ClessxAlghazanth
 
Joined: 17 Feb 2019

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

Postby RedClairefield » Tue Sep 14, 2021 9:09 pm

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
RedClairefield
 
Joined: 23 Feb 2019
Discord: bzk#4096
Twitch ID: nepdisc

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

Postby Nimlouth » Wed Dec 01, 2021 11:07 pm

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
Nimlouth
 
Joined: 06 May 2020
Location: Argentina
Discord: Nimlouth#9203
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

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

Postby m8f » Wed Dec 01, 2021 11:21 pm

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 allExpand view
             ? 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
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Other Linux 64-bit

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

Postby Nimlouth » 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!
User avatar
Nimlouth
 
Joined: 06 May 2020
Location: Argentina
Discord: Nimlouth#9203
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Previous

Return to Gameplay Mods

Who is online

Users browsing this forum: SallazarSpellcaster and 12 guests