Highlighted Through Walls Effect?

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Highlighted Through Walls Effect?

Re: Highlighted Through Walls Effect?

by TXTX » Wed Apr 17, 2019 5:56 am

Talon1024 wrote:Guncaster has the stratocaster for the Augur, which highlights enemies behind walls if it's active, and you're zoomed in.

EDIT: The relevant actor is called AugurTarget in zscript/guns/AugurExtras.txt.

The development builds of WolfenDoom also use a RenderOverlay event handler, along with the Gutamatics library (Part of D4D) to highlight mines with the mine sweeper.

Although, in both cases, you'll have to get permission from KeksDose if you want to use the code from Guncaster, or AFADoomer if you want to use the code from WolfenDoom.
Super late but I've gotta check this out, thanks for letting me know.

Re: Highlighted Through Walls Effect?

by Talon1024 » Thu Mar 14, 2019 6:49 pm

Guncaster has the stratocaster for the Augur, which highlights enemies behind walls if it's active, and you're zoomed in.

EDIT: The relevant actor is called AugurTarget in zscript/guns/AugurExtras.txt.

The development builds of WolfenDoom also use a RenderOverlay event handler, along with the Gutamatics library (Part of D4D) to highlight mines with the mine sweeper.

Although, in both cases, you'll have to get permission from KeksDose if you want to use the code from Guncaster, or AFADoomer if you want to use the code from WolfenDoom.

Re: Highlighted Through Walls Effect?

by TXTX » Thu Mar 14, 2019 1:39 pm

TDRR wrote:
TXTX wrote:Thanks for the help. Also know how to get an actor's current sprite through acs?
Sadly, you can't. But you can give each monster a different TID and based on that TID you can select a specific sprite for each monster.
I see, still thanks for that. It's helped a lot.

Re: Highlighted Through Walls Effect?

by TDRR » Thu Mar 14, 2019 12:51 pm

TXTX wrote:Thanks for the help. Also know how to get an actor's current sprite through acs?
Sadly, you can't. But you can give each monster a different TID and based on that TID you can select a specific sprite for each monster.

Re: Highlighted Through Walls Effect?

by TXTX » Thu Mar 14, 2019 11:28 am

Thanks for the help. Also know how to get an actor's current sprite through acs?

Re: Highlighted Through Walls Effect?

by TDRR » Thu Mar 14, 2019 10:13 am

https://zdoom.org/wiki/Hudmessageonactor

Do note that this is ACS only, not DECO.

Make sure to give a thing ID to the thing you want highlighted, either on it's actor definition: Thing_ChangeTID(0, type tid number here)

Or on the map itself.

Re: Highlighted Through Walls Effect?

by Grey-Wolf » Mon Mar 11, 2019 9:01 am

I'd also like to know. Following.

Highlighted Through Walls Effect?

by TXTX » Sun Mar 10, 2019 4:50 am

I've only seen it done a few times in a couple mods that I'm drawing blanks on right now. Anyone know the code/effect that allows you to see monsters highlighted through walls?

Top