Curveball plugin

BakkesMod has dropped support for 32bit plugins. This plugin has not yet been updated to 64bit. Until the plugin has been recompiled by the author, downloads are unavailable
Plugin Banner
Author: mega
First Uploaded: 06/25/2019
Last Updated: 07/04/2019
 Views: 13975
 Downloads: 1159
 Open Plugin Homepage

Adds Magnus force to the ball, as seen in SunlessKhan's video


DESCRIPTION

ATTENTION: you might have to exit and re-enter freeplay one time for the effect to be seen. will try to fix that soon

applies new physics forces to the ball to add curving trajectories in the air based on spin

Commands

sv_soccar_curve 0|1 -- turn the effect on and off

sv_soccar_drag_coefficient [float] -- set the drag coefficient , this is 1 of two parameters that effect the ball flight

sv_soccar_lift_coefficient [float] -- affects how much the curve turns the ball

sv_soccar_lift_zmod [float] -- multiplier for the vertical curving

sv_soccar_maxspin [float] -- multiplier for the maximum spin speed the ball can have

sv_soccar_lift_ground 0|1 -- turns horizontal curving on when the ball is on the ground

sv_soccar_draw_magnus_force 0|1 -- draw some little red lines showing which way the magnus force is pushing the ball

sv_soccar_magnus_debug 0|1 -- when activated, autospins the ball very fast, to ensure you see a visible effect on the ball

sv_soccar_forcemode - 0|6 -- specify the method of adding force to the ball

Force               = 0,
Impulse             = 1,
Velocity            = 2,
SmoothImpulse       = 3,
SmoothVelocity      = 4,
Acceleration        = 5,
MAX                 = 6