View previous topic :: View next topic |
Author |
Message |
Madgunner Dominating!
Joined: 23 Nov 2003 Location: Atlanta,GA
|
Posted: Tue May 21, 2013 1:36 am Post subject: Barrels don't trigger linedefs |
|
|
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 |
|
|
Sr69Mm-jC Unstoppable!
Joined: 21 Jul 2011
|
Posted: Tue May 21, 2013 10:17 am Post subject: |
|
|
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 |
|
|
phenex2 Unstoppable!
Joined: 10 Jan 2008
|
Posted: Tue May 21, 2013 1:14 pm Post subject: |
|
|
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 |
|
|
Sr69Mm-jC Unstoppable!
Joined: 21 Jul 2011
|
Posted: Wed May 22, 2013 2:37 pm Post subject: |
|
|
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 |
|
|
|