Resource icon

[Reusable] Kart Exhaust Particles v4

attachment.php
attachment.php
attachment.php


This is a simple Lua script for SRB2Kart that adds visible exhaust to the karts. The particles turn into black smoke while under a boosting effect (sneakers, drifting, etc).

There are two additional spawn types included for nonstandard karts: "NONE" for kartless characters and "CTR" for Plom's CTR kart. You can specify a spawn type for your characters by calling this function to a Lua script in the character's lua folder:

EXHAUST_SetType("name", "type")
"name" is the character's internal name and "type" is either "NONE" or "CTR".

Shoutout to Lach, whose Lua scripting for Chrispy's character pack was used as the basis for this script.

Changelog
v4
- Spinout rotation is now taken into account.
- N. Gin, Fake Crash, Small Norm, Tawna, and Checkpoint Crate have been added to the CTR spawn type.
- You can now specify a spawn type for your own characters through Lua, as long as they are loaded after the exhaust script. Call EXHAUST_SetType("name", "type"), where "name" is the character's internal name and "type" is either "NONE" or "CTR".

v3
- Added CTR spawn type. This affects the following characters: Crash Bandicoot, Coco Bandicoot, Dingodile, Polar, Penta Penguin, Pinstripe, N.Tropy, N.Trance, Isabella, Ami, Megumi, Liz, Spyro (Plom), CTR Spyro (Emigell), King Chicken
- Added Kartless spawn type. This affects the following characters: SRB2 Sonic, Kartless Sonic, Kartless Tails, Kartless Knuckles
- Fixed the particles not changing their spawn point with the kart's scale.
- The flame sprites will now stop spawning 10 frames earlier than the smoke. This makes it so that the weakest drift boosts will only get a brief "pop" of fire, which is a better indicator of its strength.

v2
- Added flame effects to boosting. The duration of the vanilla boost effect has been reduced to compliment this.

v1
- Initial release.
  • exhaust2.gif
    exhaust2.gif
    985.6 KB · Views: 62
  • exhaust3.gif
    exhaust3.gif
    672.6 KB · Views: 40
  • exhaust1.gif
    exhaust1.gif
    2.2 MB · Views: 45
  • exhaust4.gif
    exhaust4.gif
    4.7 MB · Views: 52
Author
Strife
Views
481
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Strife

Share this resource

Top