ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.66k stars 616 forks source link

[HL1 Engine Problem] "Wall bug" #524

Open di57inct opened 11 years ago

di57inct commented 11 years ago

This video explains it: http://www.youtube.com/watch?v=Brnz50XoJPE Also I've made a demo, testing this on the current beta(still works). CS 1.6 BETA wall bug demo here: http://www21.zippyshare.com/v/79292031/file.html

Just to make it clear, this bug happens when falling and pushing on a non square-orriented wall(don't know how to explain better) and moving sideways to the wall.

Example: I'm facing the wall, holding +forward while falling and in the same time pressing one of the +moveleft or +moveright keys.

EDIT: I would like to mention that this bug can be reproduced in Source games as well.

MaximilianKohler commented 11 years ago

Seems like that has to do with surfing no? If this were "fixed" it would then break all surf maps.

di57inct commented 11 years ago

@MaximilianKohler no, this has nothing to do with surfing.

serfreeman1337 commented 11 years ago

Это не баг! Это фича.

LevShisterov commented 11 years ago

@serfreeman1337 :D This is a bug with physics code like: int SV_FlyMove( edict_t ent, float time, trace_t steptrace ) { trace = SV_Move( ent->v.origin, ent->v.mins, ent->v.maxs, end, MOVE_NORMAL, ent ); if( trace.startsolid ) {
// entity is trapped in another solid VectorClear( ent->v.velocity ); return 4; } Didn't investigated how to fix this. Should be something with rounding in tracing code. Same bug exists in SV_TossMove, when threw entites are stuck on inclined walls.

MPNumB commented 11 years ago

A big part of the game by now. Also used in KZ community, and can be really useful at times when executed right (which requires training and perfect angle in order to do so). Plus it's really hard to fix. Even in Source engine it's there. I say it stays. With all of it combined I'd guess it's beyond scale of this update.

nekitz0r commented 11 years ago

It is not a bug it's gameplay. Don't touch this and close this issue.

di57inct commented 11 years ago

I get stuck on inclined walls when jumping and trying to run from enemies sometimes because of this. Why shouldn't this be fixed?

nekitz0r commented 11 years ago

@di57inct You make me so angry. STOP POSTING BULLSHIT !

LevShisterov commented 11 years ago

Don't know how it is in other game, but in HLDM it is not used. And in my opinion it should be give a try to fix, with a cvar to enable/disable. I am not skilled at movie making, but threw entites stucking on a wall is not a good thing.

di57inct commented 11 years ago

@LevShisterov so non-player entities can get stuck because of this bug too?

EDIT: @LevShisterov is it related to this: http://www.youtube.com/watch?v=6qpEmwVsq_0 ?