Author Topic: The dretch is uncontrollable when detaching from a wall  (Read 8413 times)

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
The dretch is uncontrollable when detaching from a wall
« on: July 13, 2007, 08:23:54 am »
The problem is that if you are wallwalking on a wall and detach (unwallwalk or jump off), your view changes to an utter direction. Although pros are used to this, it's not good. Whenever you are wallwalking and looking in a specific direction, such as a jetpacking human's head, detaching from a wall should keep that direction.

The Pmove code should contain this, OR it could be made as a client side addon.

Concrete code when detaching from a wall:
Code: [Select]
// oh shit jetnoob alert!

// first we get the aiming direction:
vec3_t forward; // temp vector
AngleVectors( ps->viewangles, forward, NULL, NULL );
// forward now points from my view to the jetpacker's head

// ok, detach ... where did the jet guy go? i was aiming at him!

// the directions are fucked up, so get new angles that
// point to the jettard's head, and have 0 roll:
vectoangles( forward, ps->viewangles );

// BOOM HEADSHOT !!!!!!!!!!


When this is done, remove the then-redunant SS_WALLCLIMBINGCEILING?

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
The dretch is uncontrollable when detaching from a wall
« Reply #1 on: July 13, 2007, 05:05:25 pm »
you should respect cg_wwsmoothtime
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Thorn

  • Guest
The dretch is uncontrollable when detaching from a wall
« Reply #2 on: July 13, 2007, 06:36:51 pm »
or he could just stop posting code randomly around the forum hoping that people will look up to him.

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
The dretch is uncontrollable when detaching from a wall
« Reply #3 on: July 13, 2007, 07:12:07 pm »
Quote from: "kevlarman"
you should respect cg_wwsmoothtime


So I can see the declination in slow motion? lol, no.

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
The dretch is uncontrollable when detaching from a wall
« Reply #4 on: July 13, 2007, 07:25:35 pm »
Quote from: "Thorn"
or he could just stop posting code randomly around the forum hoping that people will look up to him.


some attitude. u cnt hold ur tongue? zoWTF do u xpekht me 2 do? say t I hev propor code 'n' u al can KMA?!!1

Warrior

  • Posts: 230
  • Turrets: +2/-0
    • Warrior's Stuff
The dretch is uncontrollable when detaching from a wall
« Reply #5 on: July 13, 2007, 07:54:35 pm »
/dev/null(humancontroller), I may be wrong, but if you post codes in the Bugzilla, chances of it being used to something are higher (unless you don't want them to be used for something, and want only to learn how to improve the aimbot). There's also a Patch Tracker on the MG site.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
The dretch is uncontrollable when detaching from a wall
« Reply #6 on: July 13, 2007, 08:43:50 pm »
Quote from: "/dev/humancontroller"
Quote from: "kevlarman"
you should respect cg_wwsmoothtime


So I can see the declination in slow motion? lol, no.
you should keep the angle the same, but change the roll slowly instead of instantly
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
The dretch is uncontrollable when detaching from a wall
« Reply #7 on: July 13, 2007, 09:11:40 pm »
Quote from: "kevlarman"
you should keep the angle the same, but change the roll slowly instead of instantly

I know what you mean, that is what I mean too, but I provided the code, because the viewangles aren't stored obviously. They're offsets from your current surface(normal), which is why jumping off from a wall will not change your view direction directly, but because of the change of the surface(normal).

So yes, by all means transition slowly from one view to the other, using the cg_wwsmoothtime value.

Caveman

  • Guest
The dretch is uncontrollable when detaching from a wall
« Reply #8 on: July 13, 2007, 09:17:06 pm »
In response to the topic, just give the dretch wings and your problem evaporates.

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
The dretch is uncontrollable when detaching from a wall
« Reply #9 on: July 13, 2007, 10:28:47 pm »
http://rapidshare.com/files/42745215/jettard.dm_69.html

wanna give headshot, then i detach, and my view autofucks

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
The dretch is uncontrollable when detaching from a wall
« Reply #10 on: July 13, 2007, 10:32:55 pm »
Quote from: "Warrior"
/dev/null(humancontroller), I may be wrong, but if you post codes in the Bugzilla, chances of it being used to something are higher (unless you don't want them to be used for something, and want only to learn how to improve the aimbot). There's also a Patch Tracker on the MG site.
i am not null

Caveman

  • Guest
The dretch is uncontrollable when detaching from a wall
« Reply #11 on: July 14, 2007, 12:52:25 am »
Quote from: "/dev/humancontroller"
i am not null


You sure do sound like him.

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
The dretch is uncontrollable when detaching from a wall
« Reply #12 on: July 14, 2007, 08:03:27 am »
http://rapidshare.com/files/42813454/jettard2.dm_69.html

same thing, only with the code detach code

The snapping is because it's done in a hacky fashion in my aimbot code. However, don't think that I'm just aimbotting to his head. I aim over his head when on the wall, and when detaching, I'm still aiming there. Then I fall down and reach his head. And the bounce? Well, that's a well known Tremulous bug.