What exactly does the VULNERABLE flag do/mean?
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.
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.
- 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?
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?
- Shadelight
- Posts: 5113
- Joined: Fri May 20, 2005 11:16 am
- Location: Labrynna
Re: What exactly does the VULNERABLE flag do?
The damage that's caused by the effects of something like A_Explode.
Re: What exactly does the VULNERABLE flag do/mean?
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.
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.
- 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?
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.Gez wrote:The interest is that they don't need to have the SHOOTABLE flag, so they don't "snag" your autoaim.
-
CaptainToenail
- Posts: 3975
- Joined: Fri Jul 06, 2007 9:16 am
Re: What exactly does the VULNERABLE flag do/mean?
Wait, this creates a similiar effect to the bugged 'ghost' monsters (crushed monsters revived by Vile) without the clipping?
- 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?
Pretty much.CaptainToenail wrote:Wait, this creates a similiar effect to the bugged 'ghost' monsters (crushed monsters revived by Vile) without the clipping?
Re: What exactly does the VULNERABLE flag do/mean?
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.
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.
Re: What exactly does the VULNERABLE flag do/mean?
Just don't tell you-know-who...Gez wrote:Note that if you want ghost monsters in ZDoom, all you have to do in DECORATE is set their height to 0.
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?
Re: What exactly does the VULNERABLE flag do/mean?
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.

