| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 157
» Latest member: loafboi
» Forum threads: 163
» Forum posts: 690
Full Statistics
|
| Latest Threads |
STK-BLENDER
Forum: Game development
Last Post: LLS
1 minute ago
» Replies: 25
» Views: 4,213
|
2 topics related to my ro...
Forum: Other creations
Last Post: TuxRacer_0827
Yesterday, 05:17 PM
» Replies: 4
» Views: 247
|
FunRacers, every Friday a...
Forum: Multiplayer Corner
Last Post: Sauss-Ente
Yesterday, 12:03 PM
» Replies: 4
» Views: 2,383
|
Old versions of STK
Forum: SuperTuxKart 0.9.3 and older
Last Post: Aleksej33
21-05-2026, 11:03 PM
» Replies: 4
» Views: 255
|
STK Enterprises .blend fi...
Forum: Game development
Last Post: Sven
19-05-2026, 09:52 AM
» Replies: 3
» Views: 177
|
AI player behaviour
Forum: Game development
Last Post: Aleksej33
18-05-2026, 06:04 PM
» Replies: 6
» Views: 314
|
The music is quite boring
Forum: Game development
Last Post: deedee
17-05-2026, 10:19 PM
» Replies: 3
» Views: 780
|
Texture And Material
Forum: Other creations
Last Post: Sven
15-05-2026, 12:31 PM
» Replies: 1
» Views: 203
|
Small development news
Forum: Blog posts
Last Post: Alayan
14-05-2026, 08:00 PM
» Replies: 1
» Views: 533
|
Compiling the development...
Forum: Game development
Last Post: Alayan
14-05-2026, 12:53 AM
» Replies: 1
» Views: 1,656
|
|
|
| The proper way to add new Kart Characteristics |
|
Posted by: nomagno - 10-02-2026, 03:43 PM - Forum: Game development
- No Replies
|
 |
Assumes the changes in PR #5642 of the main repository, which targets the BalanceSTK2 branch.
Go into the game's source code folder, let's assume it's called ``stk-code".
This is the (recommended by me, but also seems to be the originally intended) set of guidelines and procedures to add new Kart Characteristics to the code, that must be accordingly declared in the ``data/kart_characteristics.xml" file. It is quite terse and a product of the time it was designed, so no one is going to be opposing complete overhauls, but it is still infinitely better than implementing the parser changes manually every time.
The parser for these is automatically generated by a set of two python scripts, allowing kart classes and handicap levels to override only the needed parameters from the base parameters, or modify them with mathematical operations. Quite convenient.
Inside the ``tools/" folder, there are two relevant Python scripts. - ``tools/create_kart_properties": Edit the "characteristics" global variable at the start of this file to add new characteristic categories and/or parameters for these categories. The format is described at the end of the post
- ``tools/update_characteristics.py": Run it with ``stk-code" as your working directory, with the command ``python3 tools/update_characteristics.py".
It will automatically edit these files inside ``src/karts": abstract_characteristic.cpp, abstract_characteristic.hpp, kart_properties.cpp, kart_properties.hpp, xml_characteristic.cppThe edits will be made to match the new contents of ``tools/create_kart_properties.py".
After running ``tools/update_characteristics.py", you must make sure that ``data/kart_characteristics.xml" matches the edits you made to ``tools/create_kart_properties.py" as well.
If a category is called "NitroHack" or "Nitrohack", in the ``kart_characteristics.xml" file it should be declared as the <nitrohack ... /> XML element (caps will be ignored). The getter for all its parameters will have the form ``getNitroHackXXX()" (caps will be preserved)
If a parameter is called "timeResetSteer", in the in the ``kart_characteristics.xml" file it should be declared as the <... time-reset-steer ... /> XML parameter (change in capitalization results in a dash). The getter for the parameter will have the form ``getXXXTimeResetSteer()" (caps will be preserved, AND the first letter will be forcibly capitalized)
After running ``tools/update_characteristics.py", the KartProperties class will have getters for all the new characteristics as per the description above. You must have a kart's KartProperties instance to access them, since different classes can override the default ones (the overrides are ALSO defined further below in the ``kart_characteristics.xml" file, in the form of classes and handicap levels).
The ``characteristics" variable format
Categories are at the start of the line, have no special characters, and are separated from the parameters by a colon ":".
Parameters are after the colon, separated by spaces, with type annotations in parantheses immediatly following the parameter name.
An example from the file:
Code: Turn: radius(InterpolationArray), timeResetSteer, timeFullSteer(InterpolationArray), brakeMultiplier
The types supported are:- float (don't annotate the parameter, e.g. ``param")
- list of floats (annotate the parameter like so ``param(std::vector<float>/floatVector)")
- bool (annotate the parameter like so ``param(bool)")
- InterpolationArray (annotate the parameter like so ``param(InterpolationArray)")
- STK Tyre Mod Edition (not regular STK 2.X) also has string, annotated like so:
Code: param(std::string/string)
|
|
|
| Track Approval of: Wildlife Jungle Ruins |
|
Posted by: TuxRacer_0827 - 08-02-2026, 08:08 PM - Forum: Tracks
- Replies (2)
|
 |
Hello everyone, I'm new to the forum. On February 6, 2026, I uploaded the “Wildlife Jungle Ruins” track for the add-ons. What is the next step, and when can I expect it to be approved? Best regards, TuxRacer
|
|
|
| Goodbye, kimden. |
|
Posted by: pueblito - 04-02-2026, 02:04 PM - Forum: General
- Replies (1)
|
 |
Since there was no blog post or news on the official STK website, I wanted to say thank you kimden for mantaining these wonderful servers and for all the work and passion that you put on STK.
|
|
|
| How does the welcomeAboard library node work? |
|
Posted by: woosh - 30-01-2026, 01:51 PM - Forum: Addon Talk
- Replies (4)
|
 |
There are two things about the welcomeAboard panel in the library that I don't get:
1) When viewport shading (Method to display/shade objects in the 3d view) is set to Solid, it shows textures! How come? Normally, everything is just shades of grey and textures only show when you switch it to Texture.
2) It has a surface inside that says "Welcome aboard" on a black background. But! The texture is actually transparent and I can't figure out where the black is coming from! I even deleted that surface, made a new Plane object, textured it with my own text with a transparent background and put it in front of the panel. My text had a transparent background. But as soon as I joined the two objects (the panel and my new plane with some text on it), the transparent part of the text texture turned black!
Could anyone plz explain to me what's going on? (Blender 2.79b).
|
|
|
| How to delete a ranked account? |
|
Posted by: Aleksej33 - 29-01-2026, 10:15 PM - Forum: General
- Replies (4)
|
 |
Hello, in the past, there have been several players, who have deleted their ranked accounts. I am not planning to do it right now, but it would be great to know for the future.
|
|
|
|