mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-21 06:43:04 +01:00
Remove whitespace, eof newline
@@ -3,7 +3,7 @@ This is an (incomplete) attempt to document some of the ride rating calculations
|
|||||||
**Effect of G-force on ride ratings** ([ride_ratings_get_g_force_ratings](https://github.com/OpenRCT2/OpenRCT2/blob/develop/src/ride/ride_ratings.c?#L1127))
|
**Effect of G-force on ride ratings** ([ride_ratings_get_g_force_ratings](https://github.com/OpenRCT2/OpenRCT2/blob/develop/src/ride/ride_ratings.c?#L1127))
|
||||||
|
|
||||||
The effect of G-force on the ratings is calculated in the same manner for each ride, and then the results are multiplied by ride-specific coefficients and added to the current total. The ride-independent portion of this is:
|
The effect of G-force on the ratings is calculated in the same manner for each ride, and then the results are multiplied by ride-specific coefficients and added to the current total. The ride-independent portion of this is:
|
||||||
|
|
||||||
excitement=0.08*max_positive_g-0.24*clamp(-2.5,max_negative_g,0)+0.4*min(1.5,max_lateral_g)
|
excitement=0.08*max_positive_g-0.24*clamp(-2.5,max_negative_g,0)+0.4*min(1.5,max_lateral_g)
|
||||||
intensity=0.8*max_positive_g+0.8*(1-max_negative_g)+max_lateral_g
|
intensity=0.8*max_positive_g+0.8*(1-max_negative_g)+max_lateral_g
|
||||||
nausea=0.26*max_positive_g+0.22*(1-max_negative_g)+0.33*max_lateral_g
|
nausea=0.26*max_positive_g+0.22*(1-max_negative_g)+0.33*max_lateral_g
|
||||||
@@ -44,16 +44,15 @@ The effect of scenery is again calculated in the same manner for every ride. If
|
|||||||
**Effect of proximity on excitement** ([ride_ratings_get_proximity_score](https://github.com/OpenRCT2/OpenRCT2/blob/develop/src/ride/ride_ratings.c?#L1256))
|
**Effect of proximity on excitement** ([ride_ratings_get_proximity_score](https://github.com/OpenRCT2/OpenRCT2/blob/develop/src/ride/ride_ratings.c?#L1256))
|
||||||
|
|
||||||
This is probably the most interesting routine if only because I never knew this was taken into account. Unfortunately, I'm not quite sure how this method works - it accesses a (presumably global?) array and I don't know where that is initialised. However, it appear that points are awarded for:
|
This is probably the most interesting routine if only because I never knew this was taken into account. Unfortunately, I'm not quite sure how this method works - it accesses a (presumably global?) array and I don't know where that is initialised. However, it appear that points are awarded for:
|
||||||
|
* Passing close to another point on the track
|
||||||
* Passing close to another point on the track
|
* Passing close to the station
|
||||||
* Passing close to the station
|
* Passing close to the track of a different ride
|
||||||
* Passing close to the track of a different ride
|
* Passing close to paths
|
||||||
* Passing close to paths
|
* Passing close to scenery
|
||||||
* Passing close to scenery
|
* Passing close to water (more points are awarded the closer the track is to the water)
|
||||||
* Passing close to water (more points are awarded the closer the track is to the water)
|
* Passing through a vertical loop
|
||||||
* Passing through a vertical loop
|
* Looping around a path
|
||||||
* Looping around a path
|
* Interlocking loops
|
||||||
* Interlocking loops
|
|
||||||
|
|
||||||
The score from each of these is totalled up, multiplied by a ride-specific constant, and then added to the excitement rating
|
The score from each of these is totalled up, multiplied by a ride-specific constant, and then added to the excitement rating
|
||||||
|
|
||||||
@@ -80,4 +79,4 @@ Each ride has it's own minimum threshold for highest drop height, maximum speed,
|
|||||||
|
|
||||||
**Effect of excessive intensity on excitement** ([ride_ratings_apply_intensity_penalty](https://github.com/OpenRCT2/OpenRCT2/blob/develop/src/ride/ride_ratings.c?#L1170))
|
**Effect of excessive intensity on excitement** ([ride_ratings_apply_intensity_penalty](https://github.com/OpenRCT2/OpenRCT2/blob/develop/src/ride/ride_ratings.c?#L1170))
|
||||||
|
|
||||||
If the intensity is above ten, the excitement is decreased by 25%. It is decreased again by 25% if the intensity exceeds 11, again if the intensity exceeds 12, again if the intensity exceeds 13.2, and finally if the intensity exceeds 14.5.
|
If the intensity is above ten, the excitement is decreased by 25%. It is decreased again by 25% if the intensity exceeds 11, again if the intensity exceeds 12, again if the intensity exceeds 13.2, and finally if the intensity exceeds 14.5.
|
||||||
|
|||||||
Reference in New Issue
Block a user