[Fixed] Monsters and BlockEverything lines

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48598
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Monsters and BlockEverything lines

Post by Graf Zahl »

Maybe I'm just stupid but I absolutely can't find the code that handles this:
- Changed missile attacks so that monsters behind block everything lines will
try to shoot through the lines if they are set for impact activation and
run a script. The assumption is that the script will remove the blocking
flag so they can shoot past the line on their next attack.
The code passes 4 as flags value to P_CheckSight but to me it seems that it is never evaluated.

A result of changing between the different algorithms?
User avatar
Enjay
 
 
Posts: 26446
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

It certainly seems to be the case that the marines in my "Marine Assault" are still reluctant to shoot out windows in 2.0.53.

Don't suppose it would be because the lines are type 121 at the time of level start up, and then given a special to run a script when the level starts?

Or maybe because I used the block all flag rather than setting it in a script?

Whatever, I've only seen an enemy shoot a window as a result of their weapon spread hitting the line when they were aiming at me. I have not yet seen them attempt to fire through a window.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48598
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

This should be moved in the 'Fixed Bugs' forum now.
User avatar
Enjay
 
 
Posts: 26446
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

Well, my marines certainly seem happy to shoot windows in 58 and 59. Don't see anything in RH-LOG.TXT that struck me as relating to this, but I'm happy. :)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48598
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

RH_LOG.TXT wrote:- Fixed: When I went back to the blockmap-based sight code, I forgot to bring
over the enhancements for block-everything lines I had made for the BSP-
based sight code.
User avatar
Enjay
 
 
Posts: 26446
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

That'll be it then.

Return to “Closed Bugs [GZDoom]”