[Release] KZM Edgefriction Detector

Started by Fatalis
19/10/2007 20:23
Page 1 of 2
Fatalis19/10/2007 20:23

/*
http://KZMonkeys.net - Coolest KZ clan there is, we even sing 'Chocolate Rain' in our servers

THIS PLUGIN IS FOR TESTING PURPOSES ONLY
_NOT_ FOR DEDICATED SERVERS

Commands: say /ef, amx_ef, say /edgefriction, amx_edgefriction

Rough explanation done in 2 mins that is wrong in some areas but gives
a general idea:

Every player frame the server draws an invisible line(this plugin makes it visible basically) from a starting position:
the 16 units in front(direction moving) of the player's feet.

To an ending position: 70 units below the start position.

If while drawing that line and the line hits something (ground, etc) you are not currently gaining edgefriction.
If it drew the entire line without hitting anything, you are gaining edgefriction and
the server multiplies your edgefriction.

The more frames you get edgefriction on, the more edgefriction is multiplied up.
Hence why people think edgeefriction starts 12 units ahead of the player, those first 4 units
don't multiply to such a high edgefriction that it isnt noticable.

You will have to sacrifice a few EF frames (the unnoticable ones) to jump far.

I'm really bad at explaining things and some of this might be wrong.
*/

DOWNLOAD



[ Edited ]

sbzvln Tournament #219/10/2007 20:28

nice (I think) gonna try :P

Fact or Fiction19/10/2007 20:34

wow gonna try it asap

Patm19/10/2007 20:34

loved testin it :D, good job. "CHOCOLATE RAINNNNNN"

reinis619/10/2007 20:48

all i can say w00t nice ;)

spermis19/10/2007 21:20

i didnt understand.
why does need this plugin? what it will do, or show to you?

Fatalis19/10/2007 21:34

Helps you determine where to jump on highjumps and what jumps are highjumps.

a7oM!c19/10/2007 22:27

lets try :D

Tafatt19/10/2007 22:47

Wow this is really neat! This will help me. Thanks!

puppetz mapper19/10/2007 23:33

Nice man! I've been "looking" for this plugin in a long time now.

st0ka20/10/2007 00:28

Really helpful :) now i'm gonna try hjs (i hate them but with this plugin i guess it won't be that hard to improve my hj rec. Thanks Fatalis :>

puppetz mapper20/10/2007 02:14

Really helpful :) now i'm gonna try hjs (i hate them but with this plugin i guess it won't be that hard to improve my hj rec. Thanks Fatalis :>

st0kata


Did I misunderstand anything? How can this help you to improve your highjump record? :/

st0ka20/10/2007 10:12

I just can't feel whether the edge friction affects my jump or not. Tbh i can't feel the right place to jump off as well and i gave up practicing just because all my good jumps were lucky shots (lucked the distance before the edge to jump off). Now i know how the edge friction affects every jump and it's much easier to improve my technique. Dunno about you but this will be really helpful for me as i already said. :P

NumB20/10/2007 15:37

Realy nice, but i suggest to change this:

vStart[0] = vStop[0] = vOrigin[0] + vVel[0]/speed*16.0; // 16 units ahead of player
vStart[1] = vStop[1] = vOrigin[1] + vVel[1]/speed*16.0; // 16 units ahead of player

to this:

vStart[0] = floatdiv((vStop[0] = vOrigin[0] + vVel[0]*16.03125), speed); // 16 units ahead of player
vStart[1] = floatdiv((vStop[1] = vOrigin[1] + vVel[1]*16.03125), speed); // 16 units ahead of player

cuz half of the player is 16.03125 (not 16.000000) & for amxx 4 e.x. 5/2=2 (not 2.5 i think)

Fatalis20/10/2007 16:08

Realy nice, but i suggest to change this:

vStart[0] = vStop[0] = vOrigin[0] + vVel[0]/speed*16.0; // 16 units ahead of player
vStart[1] = vStop[1] = vOrigin[1] + vVel[1]/speed*16.0; // 16 units ahead of player

to this:

vStart[0] = floatdiv((vStop[0] = vOrigin[0] + vVel[0]*16.03125), speed); // 16 units ahead of player
vStart[1] = floatdiv((vStop[1] = vOrigin[1] + vVel[1]*16.03125), speed); // 16 units ahead of player

cuz half of the player is 16.03125 (not 16.000000) & for amxx 4 e.x. 5/2=2 (not 2.5 i think)

NumB


I'm using the same code half-life uses. So yeah... mine is correct...
[ Edited 10/20/07 - 16:09:11 ]

Acidas06/02/2009 00:26

Little plugin update, hope fatalis dont mind for it.

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

Fatalis06/02/2009 04:27

Originally posted by Acidas
Little plugin update, hope fatalis dont mind for it.

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


I don't mind.

Acidas07/02/2009 00:18

Ok, thnx :)

Pro_Lamo17/07/2010 17:57

Link is dead......

Pro_Lamo18/07/2010 17:55

Please upload again

Page 1 of 2

Please log in to post replies.