ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lost Souls ignore unchecked Spawn Monsters flag

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
Empyre
Unstoppable!


Joined: 13 Dec 2006
Location: Texas, USA

PostPosted: Mon Apr 27, 2015 4:52 am    Post subject: Lost Souls ignore unchecked Spawn Monsters flag Reply with quote

I was testing my maps in single-player with Spawn Monsters unchecked, but the lost souls were there anyway.
Back to top
View user's profile Send private message Send e-mail
Body-Guard
Unstoppable!


Joined: 08 Jan 2006
Location: Hungary

PostPosted: Mon Apr 27, 2015 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Aeyesx
Dominating!


Joined: 13 Oct 2012

PostPosted: Mon Apr 27, 2015 4:04 pm    Post subject: Reply with quote

So this could be a nice reguest as flag to be added into DeHackEd righty?
Back to top
View user's profile Send private message Send e-mail
Body-Guard
Unstoppable!


Joined: 08 Jan 2006
Location: Hungary

PostPosted: Tue Apr 28, 2015 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Sat Aug 01, 2015 5:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Empyre
Unstoppable!


Joined: 13 Dec 2006
Location: Texas, USA

PostPosted: Sat Aug 01, 2015 5:25 pm    Post subject: Reply with quote

Awesome! Thanks!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group