Display height

Started by Grrr
19/09/2008 20:39
Page 1 of 2
Grrr19/09/2008 20:39(edited 20/09/2008 20:06)

Could some1 make a plugin which shows u the max height of your jump after doing it ? (like Lt.Rat's prestrafe shower) cuz I'm trying to do some experiments with height..

SiMen.iiN19/09/2008 22:54

Nice,thought it ,too!

coders,go go go!

Lt.RAT20/09/2008 15:56(edited 18/11/2008 18:06)

Jump Height plugin

Prints to player (in HUD and console) the max height of the jump when he was on the peak of the jump. (dont want to do it after landing, coz we have too much HUD messages at that time)

Implemented only 1 command "say /showheight" to enable disable it in the game
no cvars etc...

(Link in the latest post of that page)

And yes, that plugin consist of two parts, u need both in your plugins.ini. If u have "prestrafe display" u can replace common files with newer one from that plugin.

PS but mb i need to do plugin that measure heigh not heighT :) but dunno how to do that :D

Grrr20/09/2008 20:07(edited 29/09/2008 21:16)

Originally posted by Lt.RAT
Jump Height plugin

Prints to player (in HUD and console) the max height of the jump when he was on the peak of the jump. (dont want to do it after landing, coz we have too much HUD messages at that time)

Implemented only 1 command "say /showheight" to enable disable it in the game
no cvars etc...

http://www.sendspace.com/file/riyob0

And yes, that plugin consist of two parts, u need both in your plugins.ini. If u have "prestrafe display" u can replace common files with newer one from that plugin.

PS but mb i need to do plugin that measure heigh not heighT :) but dunno how to do that :D


Thanx.. and I meaned height ! :D btw.. why It shows me "bad load", how can I run it on my LAN serv?

SchlumPF22/10/2008 21:02

reup pls

Ratmen22/10/2008 23:09

http://www.speedyshare.com/993958132.html

SchlumPF23/10/2008 01:12

looks inaccurate to me :S

Grrr24/10/2008 12:06

Originally posted by SchlumPF
looks inaccurate to me :S


but there is no other plugin like this :/

SchlumPF24/10/2008 14:11

the value which is shown is just the highest z axis value rat could retrieve but cuz of this he has to interpolate/extrapolate this (dunno exactly but ig uess he has to extrapolate) to get the realy point

this means it is not fully inaccurate but the value can be a lot accurater

eMTi24/10/2008 16:21

isn't just height always the same? -.-
I know that bhop isnt as high as lj/cj.
But a lj will always have the same height.

SchlumPF24/10/2008 17:34(edited 24/10/2008 17:35)

lj + cj + hj same height

bhop and standup and a ducked bhoplj afaik havent the same height

ladderlj... same height? no :P

NumB24/10/2008 19:58

With ladder lj you can get 399 total speed. With non-bhop case you'r jumpup speed is 268.25.

SchlumPF24/10/2008 22:35

height != speed numb xD

NumB25/10/2008 05:46

Originally posted by SchlumPF
height != speed numb xD


With 100% correct stats they will allways be the same cuz jumpoff speed will allways be the same except bhop case. =P

If what, I had in mind that I have a code for thows stats by using vertical speed.

SchlumPF25/10/2008 15:11

i tried it myself and ask edark than but he said vertical wont work in my case cuz it changed to quickly at loosing height

height 8 vertical speed 10 -> next frame while loosing height
= height 7 vertical speed 3

Grrr27/10/2008 20:23

I was wondered about height cuz what if u could jump higher with "standup-CJ" than normal CJ ? and what would be the difference, could it be as the difference in BHOP and STANDUP-BHOP ;
when u send 1 or more +jump commands before LJ u do "BHOP" and u can't jump so high as normal LJ, but what about Multiple CJ.. it is a couple of duck commands before LJ, but would that "air-pre" can change the height of your LJ ? ;
what about drop techniques ? drop bhop, drop lj, drop cj ; (+standup?)
would it add more height.. ;
what is the max height(from the ground) before doing JB?( is it the height as doubleducking/CJ-ing?);
I've invented some "new bhop technique" and it is ordinary CJ but in the "air-prestrafe" u send couple of "+jump" commands and it becomes BHOP pre! (sensless, but anyway I found it :P )

So there are a lot of questions about that.. :/

Lt.RAT28/10/2008 16:35(edited 18/11/2008 18:06)

When i did that plugin i havent much time to work on it, so it was coded ~20 min, and i prefer to show CS engine height...

this way is bad? - yes it`s bad... we can see our height only via cs engine positions
its good? - yes it`s good... we never should check gravity, player gravity - such params can change in the jump etc...

We can calculate our real position via velocity...
it`s bad? yes it`s bad, we need to check gravity things, slide things, deal with float error
it`s good? yes it`s good, we can see our real height.

Plugin, tha calculates our real height via velocity: (Link in the latest post of that page)
atm, not supported:
1) gravity not equal to 800;
2) player gravity not equal to default value;
3) u need speed at jumpoff > 100 to c your height;
4) supported all jumps except ladder... (old one - via position - supported ladder heigh stats)

Grrr28/10/2008 21:31

Originally posted by Lt.RAT
When i did that plugin i havent much time to work on it, so it was coded ~20 min, and i prefer to show CS engine height...

this way is bad? - yes it`s bad... we can see our height only via cs engine positions
its good? - yes it`s good... we never should check gravity, player gravity - such params can change in the jump etc...

We can calculate our real position via velocity...
it`s bad? yes it`s bad, we need to check gravity things, slide things, deal with float error
it`s good? yes it`s good, we can see our real height.

Plugin, tha calculates our real height via velocity: http://www.sendspace.com/file/xhb4wd
atm, not supported:
1) gravity not equal to 800;
2) player gravity not equal to default value;
3) u need speed at jumpoff > 100 to c your height;
4) supported all jumps except ladder... (old one - via position - supported ladder heigh stats)


thank you, later I'll post what I've found :)

dLx06/11/2008 09:49

I need the first jump_height plugin please this one shows height only with velocity i need one which displays while jumping in the same position ( steady ).

Lt.RAT17/11/2008 22:02(edited 18/11/2008 18:07)

Little update of the plugin to jump_height ver 0.7

Its support:
1) gravity not equal to 800;
2) player gravity not equal to default value;
3) we dont need speed at jumpoff > 100 to c our height;
4) supported all jumps (for ladder jumps not 100% correct)
5) added "jump_height_method" cvar to switch between two methods

Server cvars:

// Swith between two methods of calculation of height of the jump
// 0 = Show engine position
// 1 = Calculate Height via Velocity ( better to use that method )
jump_height_method "1"

Player commands:
"say /showheight" - enabled/disables visible max height of the jump for current player

http://www.sendspace.com/file/627nxp

Page 1 of 2

Please log in to post replies.