Skip to content

Comments

For the nolok kart, use dedicated nitro textures#5625

Open
Al2Klimov wants to merge 1 commit intosupertuxkart:masterfrom
Al2Klimov:nolok-nitro
Open

For the nolok kart, use dedicated nitro textures#5625
Al2Klimov wants to merge 1 commit intosupertuxkart:masterfrom
Al2Klimov:nolok-nitro

Conversation

@Al2Klimov
Copy link

Had kind of a shower thought:

Nolok already has special stuff such as the green gum bubble. But the nitro stream is still the regular (not to say: boring) blue. Why not to make it red - after all he's the evil guy!

Thought. Done.

Bildschirmaufnahme_20260118_230213.webm

Admittedly, there's still some blue light below the kart during nitro usage. I'm new here and have not found the necessary texture, yet. Maybe someone can give me a hint.

Speaking of textures: To run this PR, you need to set SUPERTUXKART_ASSETS_DIR= to a copy of stk-assets with the following modifications:

--- ./textures/materials.xml.orig       2026-01-18 22:54:39.556897171 +0100
+++ ./textures/materials.xml    2026-01-18 22:01:02.779748332 +0100
@@ -123,2 +123,3 @@
   <material name="smoke_nitro.png"       shader="alphablend" ignore="Y" />
+  <material name="smoke_nitro_nolok.png" shader="alphablend" ignore="Y" />
   <material name="smoke_yellow.png"      shader="alphablend" ignore="Y"/>
@@ -133,2 +134,3 @@
   <material name="nitro-particle.png"    shader="additive" ignore="Y" />
+  <material name="nitro-particle-nolok.png" shader="additive" ignore="Y" />
   <material name="skid-particle1.png"    shader="additive" ignore="Y"/>

textures/nitro-particle-nolok.png:

nitro-particle-nolok

textures/smoke_nitro_nolok.png:

smoke_nitro_nolok

Apropos textures, this is how I've derived them:

Bildschirmfoto_20260118_180816

I just thought that the regular nitro is, roughly speaking, blue. So I selected the "blue third" of the whole color spectre in GIMP for the input and the red one for the output. (In a browser, I'd just use hue-rotate.)

What do you think?

Agreement

By creating a pull request in stk-code, you hereby agree to dual-license your contribution as
GNU General Public License version 3 or any later version and
Mozilla Public License version 2 or any later version.

This includes your previous contribution(s) under the same name of contributor.

Keep the above statement in the pull request comment for agreement.

GustaLOLE added a commit to GustaLOLE/stk-code that referenced this pull request Feb 4, 2026
More punk? Maybe... But I finished the Al2Klimov work in PR supertuxkart#5625 anyway :)
@Al2Klimov
Copy link
Author

Admittedly, there's still some blue light below the kart during nitro usage. I'm new here and have not found the necessary texture, yet. Maybe someone can give me a hint.

Done.

Bildschirmaufnahme_20260212_214044.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant