Problem with Heretic walltorch

Bugs that have been investigated and resolved somehow.

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.
Post Reply
User avatar
Kappes Buur
 
 
Posts: 4187
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Problem with Heretic walltorch

Post by Kappes Buur »

When I align the walltorches in the editor, such as this
  • Image
they are displayed like this when running in ZDoom
  • Image
or with GZDoom I get this
  • Image
When I attach the walltorch to a regular wall, or when I hollow out those sectors so that they are all the same height,
then it works alright.
Attachments
walltorch2.wad
example pwad
(6.54 KiB) Downloaded 32 times
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: Problem with Heretic walltorch

Post by edward850 »

Looks like the editor isn't taking sprite offsets into account. The wall torch sprite ends 90 units above 0.
User avatar
Kappes Buur
 
 
Posts: 4187
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Problem with Heretic walltorch

Post by Kappes Buur »

I'm using GZDoom Builder r2213.
The offsets are effective but only up to a certain amount. There is something screwy with how the walltorch is applied
in the game engine on tight sectors. On a regular wall it works just fine.

[Addendum]
I just modified my map with those hollow sectors and it still does not work.
Most peculiar.
Attachments
walltorch3.wad
another example pwad
(32.39 KiB) Downloaded 33 times
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: Problem with Heretic walltorch

Post by edward850 »

Because you're extending them into the floor. And seeing as things can't exist below a floor...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49238
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Problem with Heretic walltorch

Post by Graf Zahl »

They were obviously defined so that with a z-less map format they spawn in the middle of a wall. Unfortunately this limits their usefulness quite a bit.
I'm afraid but you'll have to redefine the sprite offsets with TEXTURES and create a replacement actor to get around this problem because changing the original actors is not an option.
User avatar
Kappes Buur
 
 
Posts: 4187
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Problem with Heretic walltorch

Post by Kappes Buur »

I saved the torch sprites as png, adjusted the offset with Slade3 and imported them into my map.
But I still had to make those sectors hollow to extend the sector heights.

Image

Thank you gentlemen.
Last edited by Kappes Buur on Fri Jan 30, 2015 2:24 am, edited 1 time in total.
User avatar
MaxED
Posts: 2246
Joined: Tue Feb 28, 2012 12:55 pm

Re: Problem with Heretic walltorch

Post by MaxED »

R2215: Fixed, Visual mode: when thing's position is not absolute, it should always be positioned between floor and ceiling planes.
walltorch2 (edit area) at 2015.01.30 11-18-10.833 [R2201].jpg
User avatar
Kappes Buur
 
 
Posts: 4187
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Problem with Heretic walltorch

Post by Kappes Buur »

MaxED wrote:R2215: Fixed, Visual mode: when thing's position is not absolute, it should always be positioned between floor and ceiling planes.
Thank you
Last edited by Kappes Buur on Fri Jan 30, 2015 2:25 am, edited 1 time in total.
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: Problem with Heretic walltorch

Post by edward850 »

MaxED wrote:R2215: Fixed, Visual mode: when thing's position is not absolute, it should always be positioned between floor and ceiling planes.
walltorch2 (edit area) at 2015.01.30 11-18-10.833 [R2201].jpg
Just make sure it's based on the actors absolute center. Actors can be placed into holes smaller than themselves on spawn.
Post Reply

Return to “Closed Bugs [GZDoom]”