Page 1 of 1

How to change kart characteristics?

PostPosted: 02 Feb 2021, 18:07
by fedyka
how can I change kart characteristics? I mean either in game or by changing the source code and recompiling it.

Re: How to change kart characteristics?

PostPosted: 03 Feb 2021, 00:05
by eltomito
fedyka {l Wrote}:how can I change kart characteristics? I mean either in game or by changing the source code and recompiling it.


If you can recompile from source, you can change kart characteristics in data/kart_characteristics.xml.
There's a lot of comments in the file on how it works.

Re: How to change kart characteristics?

PostPosted: 03 Feb 2021, 04:11
by tempAnon093
You can edit the parameters in the XML files without recompiling :)
Those data files can be changed, I believe it just reads the values when the game is launched.

Re: How to change kart characteristics?

PostPosted: 03 Feb 2021, 08:44
by fedyka
eltomito {l Wrote}:
fedyka {l Wrote}:how can I change kart characteristics? I mean either in game or by changing the source code and recompiling it.


If you can recompile from source, you can change kart characteristics in data/kart_characteristics.xml.
There's a lot of comments in the file on how it works.

no, I mean how to change characteristics for each kart because they all have different speed, mass etc

Re: How to change kart characteristics?

PostPosted: 03 Feb 2021, 10:14
by FabianF
You can change the kart class (light/medium/heavy) in the kart.xml in each kart's directory.
The "kart_charcteristics.xml" can be used to change the default values of acceleration, max speed, etc... or even to create a new kart class.

Re: How to change kart characteristics?

PostPosted: 03 Feb 2021, 16:16
by fedyka
FabianF {l Wrote}:You can change the kart class (light/medium/heavy) in the kart.xml in each kart's directory.

That's what I needed, it worket, thanks