What exactly does the VULNERABLE flag do/mean?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
rollingcrow
Posts: 733
Joined: Tue Mar 02, 2010 8:30 pm
Graphics Processor: nVidia with Vulkan support

What exactly does the VULNERABLE flag do/mean?

Post by rollingcrow »

The description says on the wiki, "An actor with this flag can be affected by area-of-effect damage." Does this mean sector damage, falling, or what?
User avatar
Shadelight
Posts: 5113
Joined: Fri May 20, 2005 11:16 am
Location: Labrynna

Re: What exactly does the VULNERABLE flag do?

Post by Shadelight »

The damage that's caused by the effects of something like A_Explode.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: What exactly does the VULNERABLE flag do/mean?

Post by Gez »

An example of use: destructible decoration like a tech lamp. You can't break it with a gun shot, but a rocket will destroy it.

Another example: pipe bombs like in Duke Nukem.

The interest is that they don't need to have the SHOOTABLE flag, so they don't "snag" your autoaim.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: What exactly does the VULNERABLE flag do/mean?

Post by NeuralStunner »

Gez wrote:The interest is that they don't need to have the SHOOTABLE flag, so they don't "snag" your autoaim.
Does the "Never Friends" AutoAim setting imply "Monsters Only"? The latter, I'd guess, means only actors with the +ISMONSTER flag... In which case +VULNERABLE is a poor substitute, assuming you want an object that can be attacked at all. :P
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: What exactly does the VULNERABLE flag do/mean?

Post by CaptainToenail »

Wait, this creates a similiar effect to the bugged 'ghost' monsters (crushed monsters revived by Vile) without the clipping?
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: What exactly does the VULNERABLE flag do/mean?

Post by NeuralStunner »

CaptainToenail wrote:Wait, this creates a similiar effect to the bugged 'ghost' monsters (crushed monsters revived by Vile) without the clipping?
Pretty much. :laff:
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: What exactly does the VULNERABLE flag do/mean?

Post by Gez »

Not really. The ghost monster bug gives monsters a height of 0. This allows them to noclip through walls, and makes them impossible to hit for the player. They're still vulnerable to area-of-effect attacks, yes, but also to melee attacks from infighting monsters (and I think to archvile flames).

On the other hand, +VULNERABLE -SHOOTABLE means that the actor cannot be attacked by monsters at all, but it doesn't give noclipping. So it is somewhat similar, but actually very different.

Note that if you want ghost monsters in ZDoom, all you have to do in DECORATE is set their height to 0.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: What exactly does the VULNERABLE flag do/mean?

Post by Ceeb »

Gez wrote:Note that if you want ghost monsters in ZDoom, all you have to do in DECORATE is set their height to 0.
Just don't tell you-know-who... :roll:

So anyway, using this flag, I could make an actor that, with some scripts, could be used to simulate destructable walls in DN3D and other Build games? Is that right?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: What exactly does the VULNERABLE flag do/mean?

Post by Gez »

Yeah I suppose so. If you want a dummy actor to be there to detect blast damage and trigger a script when it dies, that flag will do the job nicely.
Locked

Return to “Editing (Archive)”