Hi everyone
We are preparing SuperTuxKart for a major event and we are cleaning a lot of small details.
A few minor improvement have been made regarding karts:
1) Exhaust smoke: Before the exhaust pipe was only active when nitro was used. Now all karts emit smoke
2) Day/Night Notion: Now track can have a parameter that specify they are set during night time, this activate a few things
3) Karts can have now glowing headlight during night time races. The kart driven by the player has also a point light
Here is an example of kart with headlight:
To use the new feature it's very easy. Light emitter are added automatically to karts during night time. The lens flare effect is made with a separate object that mask the headlight and is shown only during night time.
The headlight object must have a texture that is already included in Supertuxkart media-repository/textures/gfx. The front headlight has gfxGlow_blue_a.png and the back gfxGlow_red_a.png. No need to add your own textures.
Now we need your help because ideally all karts (except gnu) should have front and back headlight + some sort of exhaust pipe. So if you are motivated please help us and improve the karts.
If all karts have front/back headlight in 3D model I can then add the lensflare effect
I created a ticket to overview the whole task here
Thanks for your collaboration
Sam