Author Topic: Airtime 3 Trick Jumps  (Read 2275 times)

skitzo

  • Autococker
  • Posts: 539
Airtime 3 Trick Jumps
« on: July 16, 2009, 02:45:46 PM »
So the other day I was just in my own private server jumping around with air acceleration on (meaning you can't strafe) and found another way to not only pick up speed but do some pretty cool jumps around the map. So I thought I'd just post my demo to show what it was like and maybe other people can try it with the same settings and post some sweet jumps that they can do with it.

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Airtime 3 Trick Jumps
« Reply #1 on: July 17, 2009, 02:34:45 AM »
What was sv_airaccelerate set to exactly? Looks like a mix of qw jumping and counterstrike 'surfing'.

skitzo

  • Autococker
  • Posts: 539
Re: Airtime 3 Trick Jumps
« Reply #2 on: July 17, 2009, 07:46:37 AM »
just to 1

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Airtime 3 Trick Jumps
« Reply #3 on: July 17, 2009, 09:37:56 AM »
Took me a couple of minutes to pick it up but tbh I think I like it better than strafe jumping :D

skitzo

  • Autococker
  • Posts: 539
Re: Airtime 3 Trick Jumps
« Reply #4 on: July 17, 2009, 02:39:23 PM »
so do I, after i played around with it about 3 months ago i thought it was amazing. That's why i tried to get people to turn it to sv_airacceleration 1 and to chasecam team only. I think if they atleast changed the air acceleration it would be pretty fun for matches.

WiZ

  • Stingray
  • Posts: 53
Re: Airtime 3 Trick Jumps
« Reply #5 on: July 18, 2009, 11:54:04 AM »
its cool but sorry, every map is made to accomodate strafe jumping and to let people use it to their advantage. if u were to do this you would need to make a bunch of new maps or change alot of them.

skitzo

  • Autococker
  • Posts: 539
Re: Airtime 3 Trick Jumps
« Reply #6 on: July 18, 2009, 02:29:04 PM »
not really, you can do it on most maps. If you learn to do it enough it actually makes it easier than strafing because with this setting you can maneuver around objects a lot easier that strafing.

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Airtime 3 Trick Jumps
« Reply #7 on: July 18, 2009, 02:55:09 PM »
http://www.youtube.com/watch?v=kK9dwmmuSME

Never let it be said I can make a decent video.

Kyuuchi

  • Autococker
  • Posts: 1183
Re: Airtime 3 Trick Jumps
« Reply #8 on: July 18, 2009, 03:19:26 PM »
nice viciouz :o
where can i get your textures? :)

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Airtime 3 Trick Jumps
« Reply #9 on: July 18, 2009, 03:29:32 PM »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Airtime 3 Trick Jumps
« Reply #10 on: July 19, 2009, 01:49:43 AM »
Interesting... from a code standpoint, there doesn't seem to be that much different.

Code: [Select]
...
if (pm_airaccelerate)
PM_AirAccelerate(wishdir, wishspeed, pm_accelerate);
else
PM_Accelerate(wishdir, wishspeed, 1);
...

void PM_Accelerate (vec3_t wishdir, float wishspeed, float accel)
{
int i;
float addspeed, accelspeed, currentspeed;

currentspeed = DotProduct (pml.velocity, wishdir);
addspeed = wishspeed - currentspeed;

if (addspeed <= 0)
return;

accelspeed = accel * pml.frametime * wishspeed;

if (accelspeed > addspeed)
accelspeed = addspeed;

for (i = 0; i < 3; i++)
pml.velocity[i] += accelspeed*  wishdir[i];
}

void PM_AirAccelerate (vec3_t wishdir, float wishspeed, float accel)
{
int i;
float addspeed, accelspeed, currentspeed, wishspd = wishspeed;

if (wishspd > 30)
wishspd = 30;

currentspeed = DotProduct(pml.velocity, wishdir);
addspeed = wishspd - currentspeed;

if (addspeed <= 0)
return;

accelspeed = accel * wishspeed * pml.frametime;

if (accelspeed > addspeed)
accelspeed = addspeed;

for (i = 0; i < 3; i++)
pml.velocity[i] += accelspeed * wishdir[i];
}