04-01-2007, 06:51 AM,
|
|
rookie1
Member
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
Drifting
I've added a drift score into Practice Game mode (r1666). You can practice your drifting and keep score now !
Currently the scoring system is quite simple. Take a look at Vamos_World::World::update_drift_score(). Suggestions to improve the scoring system are welcome.
|
|
04-01-2007, 08:38 AM,
|
|
pwp71
Member
|
Posts: 105
Threads: 15
Joined: Nov 2006
|
|
Very good. .
One idea could be, more time without interruption you stay in drifting more point you earn, like exponential or with other factor
Ex: if I'm able to do entire curve drifting I gain 1000 points, if I do same curve drifting two time I gain only 700 points (not 500 and 500).
Another Ex: I stay in drifting mode without interruption:
1 sec: 100 points
2 sec: not 200 but 250 points
3 sec: not 300 or 350 but 400 points
...
It's more difficult stay in drifting mode for long time.
pwp71
|
|
04-01-2007, 11:18 AM,
|
|
rookie1
Member
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
I've modified the scoring computation to award more points to longer drifts. It now increases exponentially with the drift length. Try it and let me know whether it's better now.
|
|
04-02-2007, 09:35 AM,
|
|
rookie1
Member
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
I've updated the drift scoring base on the comments given. Now the score will not be added to the total score if the car is off track or spins out during drift. Also the scoring will only start if the speed is above 10 m/s.
Try it again and let me know how it feels.
|
|
04-03-2007, 11:07 AM,
|
|
rookie1
Member
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
thelusiv Wrote:There are still maybe some times where I can hold a drift for a second, and then roll off the road to the side. It still scores then. It's hard to test though.
I think that's because the drift has ended just before you slide off track. I've made another change to the scoring. Now the drift scoring starts when the angle is more than 0.2 radian (11.5 degrees), ends when less than 0.1 radian (5.7 degrees). Before this change the scoring starts/ends at both 0.2 radian. Hopefully the change can catch such scenarios better.
|
|
04-03-2007, 03:18 PM,
|
|
kidrock
Member
|
Posts: 230
Threads: 17
Joined: Apr 2007
|
|
How do i get this to work??? I downloaded the header file but where do i place it??? can someone please explain?
|
|
04-04-2007, 11:10 AM,
|
|
rookie1
Member
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
Just committed another update to drift scoring. Now additional bonus points are awarded base on the max drift angle and max drift speed during a drift.
|
|
04-04-2007, 12:08 PM,
|
|
kidrock
Member
|
Posts: 230
Threads: 17
Joined: Apr 2007
|
|
That sounds good. Maybe you should make it that if you pass a certain angle for over a certain amount of time then points are not awarded for the drift. For example if you exceed 90 degrees for over 5 seconds it is counted as a spin out so points are not rewarded.
|
|
|