[Fixed] [<=3491-3532]+STEPMISSILES projs don't step near the player

Bugs that have been investigated and resolved somehow.

Moderator: Developers

[<=3491-3532]+STEPMISSILES projs don't step near the player

Postby Edward-san » Sat Apr 07, 2012 9:23 am

From viewtopic.php?f=7&t=32373 :
Machu wrote:Okay, cool, it's mostly working.

But I noticed one problem. The projectiles still don't seem to step if they're too close to the player. I'm assuming Projectiles don't collide with whoever shot them, so they should ignore him somehow. For example, if I shoot a stream of slow plasma shots that are STEPMISSILE at a step, they climb fine, but when I run over to the step, or on top of the step, the shots collide with it.

(the reason I noticed, and care so much, is I'm using an invisible projectile as a false melee attack, so it has to work at close range)
Edward-san
Mathematics is the language with which God has written the universe. (Galilei)
 
Joined: 17 Oct 2009

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby Machu » Mon Apr 16, 2012 5:06 pm

Oh cool, thanks for bringing this up. I was thinking about posting this as a new bug, but I haven't worked on my mod for a while.

Yes, I still have this problem. I'm guessing shots check to make sure there's no collisions before stepping up, but don't know that the shooter can't collide with it. I even learned the hard way that Things have box-shaped collisions, not cylinders, because my short-range projectiles have even harder time stepping up at 45 degree angles than 90 degree, because the player's corner must be touching the projectile corner.
User avatar
Machu
 
Joined: 11 Feb 2012

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby Edward-san » Mon Apr 16, 2012 6:35 pm

Can you update an example wad?
Edward-san
Mathematics is the language with which God has written the universe. (Galilei)
 
Joined: 17 Oct 2009

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby Machu » Mon Apr 16, 2012 11:18 pm

Okay, I've attached the pk3 I made to test this bug. This was tested with r3568, and still has the bug. Use the give all cheat. The big steps in the secret outdoor shotgun area of MAP01 is a good spot, it can work on the entry steps if your aim is good enough. The plasma rifle shoots normal, slow shots with +STEPMISSILE. While experimenting with alternatives, I also replaced the rocket launcher, so it shoots a bowling-ball style shot, it's a +BOUNCEONFLOORS shot with gravity and constant thrust. I'm including it because the same bug applies to it! I think bouncers naturally step up, and they too fail to step when close to the player. So maybe it doesn't have to do specifically with +STEPMISSILE. Maybe projectiles/missiles just need to ignore collisions altogether when stepping? Even if an enemy is on top of the step, I'd rather the shot hit the enemy, instead of the step's side. But I don't really know the code, I'm jumping to conclusions.
Attachments
stepbug.pk3
(715 Bytes) Downloaded 5 times
User avatar
Machu
 
Joined: 11 Feb 2012

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby NeuralStunner » Tue Apr 17, 2012 2:16 am

I don't think bouncers are supposed to inherently step up. They don't in any of the vanilla games that introduced bouncing.

(It's a pretty nasty effect too, when you're trying to get a grenade into a pit area.)
User avatar
NeuralStunner
O'Neill with it.
 
Joined: 21 Jul 2009
Location: The Colonies

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby Gez » Tue Apr 17, 2012 3:07 am

MBF bouncers are intended to step up. You can tell from the presence of a stairway to nowhere in MBFEdit!.wad's grenade testing range; and from the fact that they do.
Gez
 
Joined: 06 Jul 2007

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby NeuralStunner » Tue Apr 17, 2012 12:35 pm

Well, all bouncers are doing this which I'm sure is not intended. I think missile-stepping was an MBF feature originally, wasn't it?
User avatar
NeuralStunner
O'Neill with it.
 
Joined: 21 Jul 2009
Location: The Colonies

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby Gez » Tue Apr 17, 2012 1:02 pm

STEPMISSSILE was added for generalizing the iron lich whirlwind behavior, actually. But yeah, non-MBF bouncers without STEPMISSILE shouldn't step.
Gez
 
Joined: 06 Jul 2007

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby NeuralStunner » Tue Apr 17, 2012 6:17 pm

Currently working around the issue by giving my projectiles a MaxStepHeight of 0. Probably a good thing to keep this stat in consideration from now on, as it makes little sense for many things (like small pickups) to be able to ascend a step taller than they are.
User avatar
NeuralStunner
O'Neill with it.
 
Joined: 21 Jul 2009
Location: The Colonies

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby randi » Wed Apr 18, 2012 9:52 pm

Fixed.
NeuralStunner wrote:Well, all bouncers are doing this which I'm sure is not intended.

Please post a new bug report with an example.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Re: [<=3491-3532]+STEPMISSILES projs don't step near the pla

Postby NeuralStunner » Wed Apr 18, 2012 11:04 pm

User avatar
NeuralStunner
O'Neill with it.
 
Joined: 21 Jul 2009
Location: The Colonies


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest