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 

Barrels don't trigger linedefs

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs
View previous topic :: View next topic  
Author Message
Madgunner
Dominating!


Joined: 23 Nov 2003
Location: Atlanta,GA

PostPosted: Tue May 21, 2013 1:36 am    Post subject: Barrels don't trigger linedefs Reply with quote

http://www.youtube.com/watch?v=rPho_op8f-A .

Check out that video, around the 0:30 mark the player shoots a barrel and it teleports and opens an alcove in the sludge. Perhaps I don't have the dmflags set right, but I tried the exact same thing in ZDaemon and the teleporting barrel did not open the alcove.

Tried it out on chocolate doom and the alcove always opens when the barrel teleports. The wad used to test this is called barrel2.wad by Cameron Newham.
Back to top
View user's profile Send private message
Sr69Mm-jC
Unstoppable!


Joined: 21 Jul 2011

PostPosted: Tue May 21, 2013 10:17 am    Post subject: Reply with quote

This is indeed a problem. I think someone mentioned it before too but I'm not sure where.

The barrels apparently seem to have the improper dehacked bits set in zdaemon. I'm pretty sure it's the MCROSS bit specifically.

Speaking of a temporary workaround, I once made a quick patch wad which fixes the issue. The patch can (and should) be loaded as optional since it doesn't seem like clients even need to know about it. Doom 2 reload also has a map which becomes unwinnable without the patch btw.
It can be downloaded here.

The patch consists of a simple dehacked lump:
Code:
Thing 31 (Barrel)
Bits = SOLID + SHOOTABLE + NOBLOOD +PASSMOBJ+MCROSS+FLOORCLIP+PUSHWALL

This does the job but I'm not sure which *exact* flags the vanilla barrels have, however.
Back to top
View user's profile Send private message
phenex2
Unstoppable!


Joined: 10 Jan 2008

PostPosted: Tue May 21, 2013 1:14 pm    Post subject: Reply with quote

the vanilla barrel only has the following flags:
SOLID+SHOOTABLE+NOBLOOD
the other flags come from heretic and are needed to make certain things behave like in vanilla doom.
Zdoom 2.1.0 only added MCROSS to the barrel. can you test and see if that is sufficient?

it might add too much new behaviour to the barrel when assigning it PASSMOBJ+MCROSS+FLOORCLIP+PUSHWALL
though all these are added to all other actors in zdoom 2.1.0.
Back to top
View user's profile Send private message
Sr69Mm-jC
Unstoppable!


Joined: 21 Jul 2011

PostPosted: Wed May 22, 2013 2:37 pm    Post subject: Reply with quote

Yes, adding +MCROSS to those three vanilla bits has been ensured to be sufficient to fix the issue. My test wad's here if you need it (dehacked patch NOT included; here's the same map + patch).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs 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