Commit Graph

25 Commits

Author SHA1 Message Date
Alayan-stk-2
be8ae4dca6 Various slipstreaming refinements (#3202)
* New getRecentPreviousXYZ function

* New getRecentPreviousXYZ function

* New getRecentPreviousXYZ function

* General slipstreaming refinements

* Increase the minimum time to get the slipstream bonus

The obsolete parameter is not yet removed as several other files would have to be changed to not trigger an error.

* Slipstreaming characteristics update

* Changed slipstreaming characteristics

* Update slipstreaming characteristics

* Update slipstreaming characteristics

* Update slipstreaming characteristics

* Update slipstreaming characteristics

* Update slipstreaming characteristics

* Remove slipstreaming power engine bonus per kart type

Power engine bonus is already balanced by the different weights : a heavier kart needs more engine power to achieve/maintain the same speed.

* Remove an unused function

* Various slipstreaming refinements

* Pull the XYZ history size from config

* Pull the XYZ history size from config

* Remove unnecessary logs

* Fix a frenchism with fix
2018-04-17 21:09:49 -04:00
Alayan-stk-2
27ab829f59
Update tool for new sstreaming characteristics 2018-04-12 21:14:41 +02:00
hiker
b8655e53cc Added support to modify the angular factor of a kart. The angular
factor can be used to reduce the effect of an impulse for roll
and pitch - keeping karts more parallel to the ground.
2017-03-23 19:07:34 +11:00
hiker
f55c39b3b1 Support setting of friction for karts, moveable and track in stk_config.xml
and kart_characteristics.xml (for now no changed settings, all are at
tbe default of 0.5).
2017-03-22 19:52:03 +11:00
Alayan-stk-2
8858d4d86f Parachute improvements (#2768)
* Change grand-prix node for the new GP point system

* New GP point system

* Add parachute characteristics for rank and speed time multipliers

* Add new parachute characteristics

* typo fix

* Add rank and speed parachutes characteristics

* Add rank and speed parachute characteristics

* Add rank and speed parachute characteristics

* Add rank and speed parachute characteristics

* Add rank and speed parachute characteristics

* Add logic for parachute time scaling according to rank

* Add logic for parachute time scaling according to speed

* Separate GP and parachute branches

* Separate GP and parachute branches
2017-02-05 18:54:32 -05:00
Flakebi
9fbe72b3c5
Move getter from characteristics to properties 2015-11-29 04:08:12 +01:00
Flakebi
2f1d08edbd Add enabled property to skid characteristics 2015-11-21 23:27:00 +01:00
Flakebi
4be02becac Add skiding properties to characteristics 2015-11-21 23:02:02 +01:00
Flakebi
a789f346ad Add comments 2015-10-03 17:45:25 +02:00
Flakebi
4a9bc60e93 Try to follow coding style guidelines more 2015-10-03 17:23:40 +02:00
Flakebi
1c29ce7636 Fix little issues and remove wheel position from characteristics 2015-08-16 16:23:06 +02:00
Flakebi
acbc629610 Add a script that automates the code replacements
Various other things:
 - Try to use newer c++ features
 - Rename travelcm
 - Remove wheel radius
2015-08-16 15:54:05 +02:00
Flakebi
ffca848a33 Remove more outdated variables 2015-07-12 01:29:17 +02:00
Flakebi
9fc6f84545 Switch from properties to characteristics 2015-07-11 19:22:27 +02:00
Flakebi
eb19bf571e Load and combine characteristics 2015-07-11 15:38:52 +02:00
Flakebi
a305b357a3 Change characteristics to characteristic and add player characteristics 2015-07-10 00:36:50 +02:00
Flakebi
cb797c3145 Remove unnecessary move and add a bit documentation 2015-07-08 22:07:46 +02:00
Flakebi
c22d5c8e6e Add more to xml reading 2015-07-08 16:55:11 +02:00
Flakebi
35aeeea6c6 Add getName for enum 2015-07-08 16:55:10 +02:00
Flakebi
17b775959c Change reference to pointer 2015-07-08 16:55:10 +02:00
Flakebi
c1ed8790ef Add xml reading 2015-07-08 16:55:10 +02:00
Flakebi
ddb850b149 Add new files 2015-07-08 16:55:10 +02:00
Flakebi
2b9a7a2016 More work 2015-07-08 16:55:10 +02:00
Flakebi
78b4634363 Work 2015-07-08 16:55:10 +02:00
Flakebi
3414f7cb91 Add script to create characteristics file 2015-07-08 16:55:10 +02:00