Mario Kart Item Post 5
Overview
The reimporting of item models and the basics of the lightning cloud item.
Item model re-import
A large part of the renderer and the engine have been reworked and because of this, all the older item models have been depreciated. Because of this all the items that had models needed to be re-import into the system. Also because of the engine rework, specular, emissive, and height maps now work allowing for any item models that have these maps to use them in the game.
Lightning Cloud
The lightning cloud is an item that is spawned and used as soon as it is picked. Once used it floats above the players head and starts counting down. When it finishes counting down it strikes the player it is above with a lightning bolt, shrinking and slowing them down for a time. The time shrunk is relative to the position the player is in, in the race. So the small time is longer when the player is in first than when they are in fifth, for instance.
The lightning cloud works similar to the giant mushroom. When used it sets the used item bool to true which when true uses the same scale system as the giant mushroom. The difference, however, is that it scales to half the player’s original scale. Also when the shrink duration is declared at 13 seconds and then the player’s ranking is subtracted from it when it is used there is a 0.2 velocity multiplier which is multiplied in the maintained state to the player’s velocity, slowing the player down.