Commit Graph

29 Commits

Author SHA1 Message Date
Alayan-stk-2
022dd3e302 Fix handicap values (#3231)
* Fix handicap values for slipstreaming

* Change bugged handicap value and double-effect values

* Add skidding to handicap, remove explosions
2018-05-01 21:14:53 -04:00
Benau
eb9f5b3fb3 Add speed and acceleration handicap to make it more visible 2018-05-01 01:13:09 +08:00
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
0c4c5fbe80
Slipstreaming characteristics completely reworked 2018-04-13 08:50:10 +02:00
hiker
92aec928a1 Tweaked physics so that wheel raycasts happen from inside the collision shape
(fixes karts getting stuck at borders), use a longer less bevelled collision
shape better kart stability), and reduce angular factor to make it less
likely that karts can drive on walls.
2017-09-06 09:06:04 +10:00
hiker
6c35c08474 Increased suspensoin stiffness to offset the reduced impulse casued
by removing the '*f' factor (seee 9a5eec3761).
Otherwise the AI triggers rescue in sandtrack because of very frequent
chassis-track collisions.
2017-03-24 09:58:26 +11:00
hiker
f35b9c9480 Try setting kart (vs track specificially) friction to 0, and
reduce roll/pitch impact which should keep karts more parallel
to the ground.
2017-03-23 19:22:53 +11: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
hiker
1870691900 Decrease leaning somewhat, and increased leaning speed. 2016-04-27 18:11:57 +10:00
Flakebi
c5277edc54
Change suspension-travel that was changed in master meanwhile 2015-12-03 02:15:58 +01:00
Flakebi
b3cb029087
Remove kart-type specific turn settings 2015-12-02 19:40:59 +01:00
Flakebi
ba3bc326eb
Minor refinements 2015-11-29 22:21:03 +01:00
Flakebi
2f1d08edbd Add enabled property to skid characteristics 2015-11-21 23:27:00 +01:00
Flakebi
abc2ae54ea Use correct cached characteristics 2015-10-03 20:14:39 +02:00
Flakebi
b51eadae28 Merge branch 'master' into kart-properties 2015-08-16 16:45:47 +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
ec3083827d Add some documenation and try to get some backwards compatibility 2015-07-29 23:02:16 +02:00
Flakebi
2620a77dc1 Adjust and remove properties 2015-07-13 00:23:05 +02:00
Flakebi
1317714ba1 Adjust the speed and power values 2015-07-12 01:09:01 +02:00
Flakebi
5bfb1a2c6b Fix some bugs 2015-07-12 00:39:38 +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
0ecc76090b Add kart types 2015-07-10 01:14:08 +02:00
Flakebi
a305b357a3 Change characteristics to characteristic and add player characteristics 2015-07-10 00:36:50 +02:00
Flakebi
483993d2d8 Start with getters 2015-07-08 16:55:10 +02:00
Flakebi
fc8a726156 Add config file for kart characteristics 2015-07-08 16:54:35 +02:00