who wins, who loses, you do the math!

This topic is 4366 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Ok 2 cars are racing, and they have the following properties: Car.Power Car.Handling Car.DriverLevel So I could emphasis the 3 above properties in various ways. For example, I could weight driver-level much more than say the car's power etc etc. Can you guys give me some pointers on how I would go about deciding who wins and who loses? example numbers: (power, handling, driverlevel) driver#1 500, 300, 5 driver#2 650, 250, 6

Share on other sites
i think you need more variables to determine the outcome, for example "track complexity" or something. Is this a dragway they are racing on, in which having more power will more than likely be a huge determining factor. Or is it a very winding track with many curves, where handling and driver skill will be more beneficial. But of course two cars with similiar power is going to more than likely come down to driver skill on a straight track...

Share on other sites
expanding on what rgirard413 said: which stats are more important depends upon course data so the simplest way would be to have 3 weights for each stat and whoever has the highest sum of stat*statweight would be the winner. Alternativly, if you wanted to go so far as to make a course you could have courseparts each containing a switch similar to if(stats>reallyhigh)time=20 else if(stats>moderate)time=30 else time = 50

add up the time for each car for each coursepart and the car with the lowest time wins for that course.

Share on other sites
yeah its just a drag race actually....

Share on other sites
There is no way to accurately quantify driver ability and car handling, so it is totally up to you to decide how all the parameters relate. You want to make it quasi-realistic, but also fun. This is the essence of game design. Enjoy.

My only suggestion is don't make it overly complicated, and add a small random factor so that the underdog has a least a small chance of winning.

Share on other sites
>>There is no way to accurately quantify driver ability and car handling, so it >>is totally up to you to decide how all the parameters relate.

The user purchases cars, and then modifies the cars as they see fit.

So both the cars power and handling will then be modified as per the users choice of part modifications.

The drivers ability will be based on the users level and win ratio maybe?

I just have no idea on where HOW to go about combining these elements (+ a randomizer) and creating a mathematical forumula!?

Share on other sites
actually that article confuses me more...man that is complicated! haha

1. 1
Rutin
24
2. 2
3. 3
JoeJ
18
4. 4
5. 5

• 38
• 23
• 13
• 13
• 17
• Forum Statistics

• Total Topics
631710
• Total Posts
3001845
×