[Release] KZM Edgefriction Detector
/*
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 ]
nice (I think) gonna try :P
wow gonna try it asap
loved testin it :D, good job. "CHOCOLATE RAINNNNNN"
all i can say w00t nice ;)
i didnt understand.
why does need this plugin? what it will do, or show to you?
Helps you determine where to jump on highjumps and what jumps are highjumps.
lets try :D
Wow this is really neat! This will help me. Thanks!
Nice man! I've been "looking" for this plugin in a long time now.
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 :>
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 :>
Did I misunderstand anything? How can this help you to improve your highjump record? :/
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
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)
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)
I'm using the same code half-life uses. So yeah... mine is correct...
[ Edited 10/20/07 - 16:09:11 ]
Little plugin update, hope fatalis dont mind for it.
http://www.sendspace.com/file/nbfei1
Originally posted by AcidasLittle plugin update, hope fatalis dont mind for it.
http://www.sendspace.com/file/nbfei1
I don't mind.
Ok, thnx :)
Link is dead......
Please upload again
Please log in to post replies.