View previous topic :: View next topic |
Author |
Message |
Empyre Unstoppable!
Joined: 13 Dec 2006 Location: Texas, USA
|
Posted: Mon Apr 27, 2015 4:52 am Post subject: Lost Souls ignore unchecked Spawn Monsters flag |
|
|
I was testing my maps in single-player with Spawn Monsters unchecked, but the lost souls were there anyway. |
|
Back to top |
|
|
Body-Guard Unstoppable!
Joined: 08 Jan 2006 Location: Hungary
|
Posted: Mon Apr 27, 2015 8:36 am Post subject: |
|
|
It is because the Lost Soul technically doesn't count as a monster. I think the "Spawn Monsters" setting assumes that monsters have the actor flag called COUNTKILL set. This is not set on Lost Soul for intermission statistics purposes, thus failing the Spawn Monsters check and spawning on the map either way.
ZDoom has an actor flag in DECORATE to better classify actors as monsters called ISMONSTER. This way the checks don't need to erroneusly rely on COUNTKILL flag which is not a good way to tell if an actor is actually a monster. |
|
Back to top |
|
|
Aeyesx Dominating!
Joined: 13 Oct 2012
|
Posted: Mon Apr 27, 2015 4:04 pm Post subject: |
|
|
So this could be a nice reguest as flag to be added into DeHackEd righty? |
|
Back to top |
|
|
Body-Guard Unstoppable!
Joined: 08 Jan 2006 Location: Hungary
|
Posted: Tue Apr 28, 2015 10:57 am Post subject: |
|
|
Well, yes. The usage of COUNTKILL to classify the actor as monster works *most* of the time, but not with the lost soul as we see. Lost soul does not have the flag since pain elementals can always spawn more of them. If this flag was set on them, the intermission kill percentage could be greatly affected by the amount of killed lost souls. ISMONSTER could get rid of this issue. |
|
Back to top |
|
|
Kilgore Air Cavalry
Joined: 17 Jun 2003 Location: Up the river
|
Posted: Sat Aug 01, 2015 5:04 pm Post subject: |
|
|
ISMONSTER has been implemented (for 110b04) and behaves the same as in zdoom 2.7.1; the lost souls get that flag automatically so they should not spawn when "nomonsters" is specified. There is also a dehacked flag called "ISMONSTER" which you can apply to various actors. |
|
Back to top |
|
|
Empyre Unstoppable!
Joined: 13 Dec 2006 Location: Texas, USA
|
Posted: Sat Aug 01, 2015 5:25 pm Post subject: |
|
|
Awesome! Thanks! |
|
Back to top |
|
|
|