From: <hik...@us...> - 2011-09-14 21:51:24
|
Revision: 9836 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=9836&view=rev Author: hikerstk Date: 2011-09-14 21:51:17 +0000 (Wed, 14 Sep 2011) Log Message: ----------- Reduced interpolation distance. While this makes ball prone to more abrupt change of direction, it (hopefully) avoids most problems of the ball going off track (e.g. sand track when firing up the ramp --> ball goes to the left of the tunnel, bouncing on the pyramid; skyline and star track have problems as well when a ball goes off track). Added documentation of the rubber ball specific xml attributes. Modified Paths: -------------- main/trunk/data/powerup.xml Modified: main/trunk/data/powerup.xml =================================================================== --- main/trunk/data/powerup.xml 2011-09-14 20:15:23 UTC (rev 9835) +++ main/trunk/data/powerup.xml 2011-09-14 21:51:17 UTC (rev 9836) @@ -15,10 +15,34 @@ model="anchor.b3d" /> <item name="switch" icon="swap-icon.png" /> <item name="swatter" icon="swatter-icon.png" /> + <!-- interval: How long a single bounce takes. + max-height: The maximum height of a bounce. + min-height: Unused mostly, but defines implicitly + the starting height (as average of + max and min height). + target-distance: When the ball is closer than + this to the target, it will aim + directly at the target. + min-interpolation-distance: how far the control + points (which are center of squads) + must be from each other. A large value + allows smoother turning (no abrupt + change of direction), but a large + value can result in the ball being + off track (e.g. a value of 30 results + on the ramp in sand track that the + ball goes to the left of the tunnel, + bouncing on the pyramid). Quite + catastrophal on the startrack and + skyline). + squash-slowdown: How much karts that are + squashed are slowed down. + squash-duration: How long karts stay squashed. + --> <item name="rubber-ball" icon="rubber_ball-icon.png" model="rubber_ball.b3d" speed="35.0" scale="1 1 1" interval="1" max-height="4.0" min-height="0" - target-distance="50" min-interpolation-distance="30" + target-distance="50" min-interpolation-distance="10" squash-slowdown="0.5" squash-duration="3" /> <item name="parachute" icon="parachute-icon.png" model="parachute.b3d" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |