Edge Distances

Started by SchlumPF
21/07/2009 18:09
Page 1 of 5
SchlumPF21/07/2009 18:09(edited 25/07/2009 02:39)

Edge Distances

Description
This plugin will show you the distance you had to the edges of the block you jumped on which can help you to optimize your lj-skills. Also, it shows the block you jumped on in units (which could be used for a new type of top15 since block > distance).

Additional Information
Since Lt.RAT didn't publish his Edge Distances plugin yet and Exolent didn't work on this so far, I made one myself.
This plugin does not support non-block longjumps but at least it supports most techniques (lj, hj, cj, bhopljs which weren't performed on bhopblocks, wj are tested so far, ladder jumps will not be supported).
I don't want to put to much time into this which means I may stop this as soon as Exolent includes this in JumpStats.

Commands
say /ed, say /edge, say /edgedistance - enables/disables the stats

CVars
ed_hud_color "0 255 0" - color of the hudmessage on successful jumps
ed_hud_failcolor "255 0 127" - color of the hudmessage on failed jumps
ed_hud_coords "-1.0 -0.125" - place of the hudmessage on screen
ed_hud_holdtime "1.6" - duration of the hudessage's appearance
ed_hud_channel "4" - channel of the hudmessage

Changelog
[blockquote]07/21/09 - v0.1
!: initial release

07/22/09 - v0.2
+: added jumpoff edge distance on failing a jump
f: fixed a few bugs where stats appeared although they shouldn't

07/23/09 - v0.21
f: fixed a bug in the landing origin calculation which caused wrong distances sometimes
c: changed parts of the code so only jumps on blocks will show stats now (there shouldn't be any cases where wrong stats were shown anymore)
c: added a few defines and marked a few defines as settings in the sourcecode (min and max distance)

07/23/09 - v0.22
+: added cvars to adjust the hudmessage
+: added chatcommands to enable/disable the stats
c: changed the chatmessage to a hudmessage
f: fixed a bug because of which failed stats didn't appear sometimes
-: removed unnecessary code

07/25/09 - v0.23
f: fixed using ladder to get better stats
f: fixed a bug because of which stats appeared on jumping to a wall
f: fixed a bug because of which failed stats didn't appear on non-ducked jumps
-: removed unnecessary code
[/blockquote]

Credits
Lt.RAT - First one to create such a plugin
Exolent - Used parts of the code he made for JumpStats

Have fun geeking!

Originally posted by Lt.RAT

and is as accurate as Lt.RAT's plugin

SchlumPF

no, yours more accurate :)
my plugin was only fast creation, and it was created not in perfect way, to support all things :)



SEX ME HARD

R3GULAToR21/07/2009 18:23

great plugin but fail distances would make it better :D

xPaw mapper21/07/2009 18:24

o hi, nice

SchlumPF21/07/2009 18:27

hey thats v0.1, i wanted to fix bhops on bhopblocks and add jumpoff edge distance on failed stats ofc, maybe i even add the block you could have jumped ^^

xPaw mapper21/07/2009 18:35

Originally posted by SchlumPF
hey thats v0.1, i wanted to fix bhops on bhopblocks and add jumpoff edge distance on failed stats ofc, maybe i even add the block you could have jumped ^^

250 fail stats, 0.8 jumpedge, it will say i tryed todo 249 ? xD

SchlumPF21/07/2009 18:38

nope, it will jsut mean you coudl ahve jumped 249 on block but its not 100% accurate.

borys[k]ed21/07/2009 18:44

NICE! thats what i was looking for for ages... THANK YOU VERY MUCH

cr0ucher21/07/2009 18:49

well gj ... but its not helpfull we need fall block edge distance

borys[k]ed21/07/2009 19:00

btw. when do you think you'll do the fail block edge? its quite important. but very gj for this plugin anyway:)

NFS21/07/2009 19:20

Nice one

WeMeRA21/07/2009 19:27

thanks alot

SchlumPF21/07/2009 20:34

Originally posted by borys[k
ed]
btw. when do you think you'll do the fail block edge? its quite important. but very gj for this plugin anyway:)

just came back from doing sports, gonna shower and then... idk but i guess ill update the plugin 2day or at least tomorrow morning.

SeedD21/07/2009 21:37

I'LL SEX U! <3 Gonna test zeeeeeeeeh pluuuuuugin, it looookZZZZ veeerrryyy niiiiceeee!

NFS21/07/2009 22:19

Dont use print_chat, cuz its pretty annoying to watch the chat all the time use print_center or just hud_message :) put in failstats too =) then its perfekt

fantasist22/07/2009 03:16

It's a great release!

shooting-starrecord holder Tournament #122/07/2009 09:38(edited 22/07/2009 09:52)

nice plugin

[KN]KraXXXel22/07/2009 14:27

You can fake the Edge Distances with cp and/or Hook

SchlumPF22/07/2009 14:42(edited 22/07/2009 18:44)

Originally posted by [KN
KraXXXel]
You can fake the Edge Distances with cp and/or Hook

i already know, i just wanted to release a beta (currently v0.1) as soon as the stats are correct to get some feedback but thx for the feedback :D

//edit:
updated

R3GULAToR22/07/2009 19:48

bhop lj's on bhop blocks on lj2 do not work

SchlumPF22/07/2009 20:17

Originally posted by R3GULAToR
bhop lj's on bhop blocks on lj2 do not work

"bhopljs which weren't performed on bhopblocks" do not work yet

Page 1 of 5

Please log in to post replies.