Bug? A_Explode causes infighting
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Bug? A_Explode causes infighting
I dont know whether to call it a bug or just something that was never accounted for, but if you give a monster a projectile that explodes, it causes them to fight among themselves. I take it that it is because only the Cyberdemon originally had a rocket attack, to which it was immune.
Now, for my purposes I would actually prefer it if the monsters took the damage, but simply ignored it, but for general purpose it would probably be better if monsters from the same species couldnt damage each other, because it makes it too easy if they can.
Also, dehacked has given me the impression that monster infighting is really easy to turn on and off. I dont know if thats true, but what would be really useful is a mapinfo flag to do just that on a per map basis. And cake mode.
Now, for my purposes I would actually prefer it if the monsters took the damage, but simply ignored it, but for general purpose it would probably be better if monsters from the same species couldnt damage each other, because it makes it too easy if they can.
Also, dehacked has given me the impression that monster infighting is really easy to turn on and off. I dont know if thats true, but what would be really useful is a mapinfo flag to do just that on a per map basis. And cake mode.
- Sticky
- Posts: 836
- Joined: Mon Aug 04, 2003 12:29 pm
- Location: Denver, CO How do they get teflon to stick to the pan?
Re: Bug? A_Explode causes infighting
I thought this was the standard behavior. Monsters have always fought amongst themselves, no? And using that to your advantage has always been a strategy. So this time it's with a rocket, so? Maybe I'm just missing something.... ?Chilvence wrote: it makes it too easy if they can.
OH, maybe they fight before they've even been hit, is that what's going on? I get it then....if you give a monster a projectile that explodes, it causes them to fight among themselves.
Last edited by Sticky on Tue Jun 01, 2004 6:38 am, edited 1 time in total.
- Sticky
- Posts: 836
- Joined: Mon Aug 04, 2003 12:29 pm
- Location: Denver, CO How do they get teflon to stick to the pan?
Gotcha. Still seems like it was intended this way. Since it's not the normal moster anymore, it should have to fight with its buddies, just like everybody else. And I thought there was already some kind of flag to set this kind of behavior....
(I need to stay out of the bugs forum, I don't know what I'm talking about.)
(I need to stay out of the bugs forum, I don't know what I'm talking about.)
Hitscan and explosions cause infighting. Normal projectiles do not. It even used to be the case (in Doom ver 1.2?) that a barrel exploded by one enemy could hurt another enemy of the same species and cause the two to fight (eg the famous Baron in fighting demo).
To stop this behaviour, at present at least, you'd have to stop all monsters infighting.
Perhaps there could be a few levels of infighting that could be specified. Perhaps in MAPINFO or DECORATE (for new items?) or DEHACKED?
Infight type 1: Normal infighting (hitscan and explosion projectiles cause infighting)
Infight type 2: Monsters never infight own species, unless damaged by hitscan
Infight type 3: Monsters never infight own species, unless damaged by explosion
Infight type 4: All monsters infight (including own species - as is settable by dehacked)
Infight type 5: Monsters never infight (as settable with the Zdoom dehacked option)
Also, is the flag/bit available to make monsters imune to splash damage? Also (again), could it be made possible to remove this flag from monsters that naturally have it set?
To stop this behaviour, at present at least, you'd have to stop all monsters infighting.
Perhaps there could be a few levels of infighting that could be specified. Perhaps in MAPINFO or DECORATE (for new items?) or DEHACKED?
Infight type 1: Normal infighting (hitscan and explosion projectiles cause infighting)
Infight type 2: Monsters never infight own species, unless damaged by hitscan
Infight type 3: Monsters never infight own species, unless damaged by explosion
Infight type 4: All monsters infight (including own species - as is settable by dehacked)
Infight type 5: Monsters never infight (as settable with the Zdoom dehacked option)
Also, is the flag/bit available to make monsters imune to splash damage? Also (again), could it be made possible to remove this flag from monsters that naturally have it set?
- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact:
Explosion damage is considered "hitscan" by the engine, which is why it causes enemies of the same species to overlap. It's been this way forever. Therefore, using the chaingun logic, changing it would be a sin and a tragedy, and ZDoom should never be improved any further in this respect. Even an option is out of the question.