Items
On this page we collect information about items and powerups, also on proposed and accepted but not yet implemented items. At this stage this is pretty much work in progress.
Swatter (or inflatable hammer?)
This item is currently being implemented in SVN (planned to be in 0.7.3). ATM it's a swatter, though at the end it might become an inflatable hammer:
When you 'fire' the swatter, it will be attached to your kart (as a nice side effect this will get rid of bombs, parachutes etc). While it is attached it will: - swat any incoming items, so you can't be hit by a cake or plunger. - it will smash any kart that comes close enough. A kart that gets hit will be squashed to be half size, and only be able to drive at half the maximum speed.
The swatter will stay active for a certain amount of time, and/or a certain number of uses.
The current implementation will get the swatter starting to swat any kart that gets close enough, even if the kart is actually not reachable (the swatter swats only to the right and left of the kart, so being just ahead or behind the kart will trigger a swat even though it cannot be hit - at this stage the angle must be between 45 and 135 degrees to the left or right of the kart). This is done on purpose to give other karts an option to disable a swatter and overtake a kart (other option would be to drive really fast past a kart with a swatter, so that the kart is away by the time the swatter hits).
Balancing this item might change some of the implementation otherwise, a discussion in our forum is welcome :)
The swatter has the following settings in stk_config.xml:
<\!-- Kart-specific settings for the swatter:
duration: how long can the swatter be readied.
count: how often can it be used.
distance: How close a kart must be before it can be hit.
animation-time: How long it takes for the swatter to hit a target.
item-animation-time: How long the swatter will swat when a
projectile hits.
squash-duration: How long a kart will remain squashed.
squash-slowdown: percentage of max speed that a kart is
restricted to. -->
<swatter duration="10" count="2" distance="3" animation-time="0.2"
item-animation-time="0.04" squash-duration="5"
squash-slowdown="0.5"/>
User Tools
- This page
- Other