Welcome,
Guest
. Please
login
or
register
.
May 17, 2025, 03:34:58 PM
News:
tastyspleen.net discord server:
http://discord.tastyspleen.net
Home
Forum
Help
TinyPortal
Search
Calendar
Login
Register
tastyspleen::quake 2 community
»
Forum
»
The Tech Junkie Boards
»
0x1337c0de
»
Ramp Jumping
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Ramp Jumping (Read 2062 times)
themuffinman
Carpal Tunnel Member
Posts: 1935
Rated:
Ramp Jumping
«
on:
December 26, 2011, 01:35:22 AM »
I'm trying to find what enables/causes ramp jumping in Q2 so I can imitate it in a Q3 mod... but I can't find jack shit! I can only assume that it's pmove.c:PM_StepSlideMove since that alters velocity while going up steps so it might work for ramp jumping too. Anyone know?
Logged
haunted
Irrepressibly Profuse Member
Posts: 10149
I am hollywood.
Rated:
Re: Ramp Jumping
«
Reply #1 on:
December 26, 2011, 06:37:48 AM »
The 2 variables would obviously be the angle of the ramp and your speed, but what part of the actual code I am clueless to. However, if I had a random guess, it would have something to do with once those 2 variables are fulfilled, associating q2's physics in regard to building momentum in the air with the actual incline(enabling them when when you're technically touching ground, but dependent on those 2 variables).
But yeah, completely useless in your search I'm sure.
Logged
QwazyWabbit
Carpal Tunnel Member
Posts: 1375
Rated:
Re: Ramp Jumping
«
Reply #2 on:
December 26, 2011, 11:57:20 AM »
Take a look at PM_CatagorizePosition [sic], you'll find some velocity checking there. A comment by Zoid about ramp accel and an interesting debug output line commented out. Search for "Zoink!
It looks to me like ramping just reduces friction and gravity adds to velocity and the resultant velocity vector is greater as a result.
Uncomment that Zoink line and see how velocity changes over time on the level and on the ramp.
Logged
themuffinman
Carpal Tunnel Member
Posts: 1935
Rated:
Re: Ramp Jumping
«
Reply #3 on:
December 27, 2011, 01:40:30 PM »
Yeah I'll give that a look, thanks. I can't find zoink anywhere in the code though. It looks like PM_CatagorizePosition is a similar function to Q3's PM_GroundTrace and a couple of others and that section you pointed out there isn't in the Q3 code.
Ramp jumping works on more than just ramps though. Stuff like double-jumping off of boxes in q2dm1 for instance is actually a combination of DJ and ramp jumping. At least that is how it works in QL. And ramp jumping off of ramps seems to reflect horizontal velocity into vertical velocity. Man I'm confused right now. I've looked at Warsaw code but those pieces of code are practically the same as in Q2, and the Q4 code is obviously in C++ and thus confuses me even more. I'm going to give that theory of yours a thought QwazyWabbit. Thanks.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
tastyspleen::quake 2 community
»
Forum
»
The Tech Junkie Boards
»
0x1337c0de
»
Ramp Jumping
El Box de Shoutamente
Last 10 Shouts:
Yotematoi
Today
at 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable
Morir y revivir es costumbre, lástima q el QT estaba bueno
ImperiusDamian
May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
|iR|Focalor
May 11, 2025, 02:33:39 PM
-Unh0ly-
May 03, 2025, 08:02:46 AM
198.179.6.200:30634
Yotematoi
May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery."
-Unh0ly-
April 20, 2025, 09:52:16 AM
https://drive.google.com/file/d/1hKRIIKPk_G9TLPpY3B4ZIbVK_00Mbwfw/view?usp=sharing
|iR|Focalor
April 02, 2025, 02:47:07 AM
Yotematoi
February 14, 2025, 12:41:48 PM
|iR|Focalor
February 13, 2025, 07:31:24 AM
I was on DM this morning for the first time in a pretty long time. Seemed fine to me.
0rbisson
February 13, 2025, 04:54:21 AM
DM server is fucked. 2 point blank rockets from spawn and lava damage and player survived? WTF?" Also someone has fucked with the spawn points, every single time no matter how big the map you spawn right in front of the person who killed you last
Show 50 latest
User
Welcome,
Guest
. Please
login
or
register
.
May 17, 2025, 03:34:58 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search