Create my own penalty system!

  • Thread starter Molaidou
  • 5 comments
  • 650 views
18
United States
United States
Hey guys, there are tons of argument about the new penalty system recently, so I’m curious about what makes a better penalty system and was brainstorming how to implement it. I’m not a racing fan, just a normal gamer who loves to play GTS. I might not have the knowledge about racing and stuff to judge (racing) situation correctly, but, hey, this is just me sharing my shower thought here, so let’s not be so serious and have fun sharing opinions and fooling around. Sorry about my crappy English.


So, let’s get right into it. My penalty system is based on expectation and assumption. When you see a racer, you might have expectation how the racer take the turn, or how fast he would go. And the penalty system expects how the players should drive on the road by checking the speed, position, sudden movement, and stuff. It doesn’t sound so bad, but what shape the expectation? The track, the checking system on every corner and straight road needs be placed by hand because every corner is different, so the expectation of how to take the turns is also different. Furthermore, you not only expect a driver how to drive, but also expect how drivers compete with each other and when to compete. What is acceptable and what is not.

Although it might sounds good, keep in mind that penalty system is always flawed and not better than a human, or it couldn’t detect some situation and judge correctly (lag, package loss). Cheaters will always find a way to abuse the system, and I want you guys to abuse the system as much as possible so it can be improved and minimize its flaws!


Different section needs different design, and I want to focus on straight road first. Leave alone DR, SR, and how much penalty should be given. Let’s discuss about who to blame. After this, we may discuss slow corners which are more complicated.


Expectation: I expect cars on the road mostly going straight, might be a little bit of left and right movement. Full throttle.
No brake.

What is the usual cause of accident: Sudden movement (brake and move left or right suddenly).
0g5rJDR.jpg


Implementation: you can see in the picture, there are orange and blue lines. I call them “Check line” (CL). The orange CLs contain no data of the car. As the car goes through the CLs, those CLs will turn blue and temporarily contain the data. In this case, the maximum number of blue CLs is 5. If the car enters a new CL, it creates a new blue CL or new data, then the oldest CL will turn orange and delete its data.

The blue CLs’ data include the car’s position (x, y). The data would be checked and analyzed if there is a collision between cars.


Scenario1
9kdalwK.jpg


The red car turns right and hit the green car. The system detects a collision and checks the data. Position will be checked first to see if there is sudden movement. The white line in the picture is perpendicular to the CL. The system calculates the angle between the white line and the car’s route for both cars (mathematically, I think the calculation is more complicated than this. Also, angle less than around 3 degrees can be ignored because not every route is perfectly straight), and compares result of red car and green car. In this case, the red car has 15 degrees, and the green car has 0 degree. So, the system think the red car has too much movement and gives it a penalty.


Scenario2
XB2VQJC.jpg


This time, both cars don’t have much left or right movement (less than 3 degrees), and the system thinks the movement is alright, then check the speed. It checks both cars’ speed during the collision. The higher speed driver will be always wrong because he can hit other driver from behind only if he’s faster. The system will also check the slower driver's input such as brake and throttle. If the driver brakes at non-braking zone or applies less than 90% (why 90%? My controller is broken so I can’t full throttle all the time lol) of throttle, he should be blamed. Someone might ask: What if I’m serving my penalty and get hit? I guess you want to make sure that the condition is safe before lower you speed, and maybe we can make the car transparent when serving penalty.


This is for Scenario1. I think the system can check more angles (CL6, CL5, CL4) but not too many. The reason is that if there is someone in front of you, and you are faster. You turn right and try to pass him, but he turns right and blocks you. At the moment, you don’t react fast enough and result in a collision. Because you both drive in straight line for a brief moment, and the system might say there is no sudden movement, but you are faster so it gives you a penalty.


Summary: basically, in these pictures, if both cars can touch each other horizontally (side by side), the system will check left and right movement. For front and back, it depends on the speed, car at the back will always lose unless the front car is turning, braking, or lifting off the throttle.

I think this system is not bad because big collision can be detected easily. If the rammer doesn’t want to be detected, he will only try small touch, and you have higher chance to avoid it. Also, you can always drive really straight so that it will never be your fault.

The down side is that if you try to avoid an accident ahead, you turn, brake, or lift off, then you get hit from behind, the system will say it’s your fault. The system never expects you to avoid accident, so…tell me about your thoughts!
 
IJWRRfQ.jpg

This is a simpler version. I’m still figuring out the complicated version.

So, as I said before, we have expectation of how drivers compete each other and when should we approve that this is a legit competition.

Let’s talk about the picture, the red area is a braking zone. What is behind a long straight road is usually a corner. You can’t brake in a straight road but in the braking zone. If you get hit from behind while you’re braking, you will be fine (it has fault, but this is simpler version).

The CL at the braking point is a timer. When you enter the braking point, it will start a countdown (about 0.1-0.2 sec). If no one is coming in on time, you have all the rights of this corner. You won’t be penalized but other drivers if a collision occurs. If someone passes through the CL within the countdown, then it means that he is close to you and allowed to compete with you. You both can be penalized if collision occur because when competing, everything can happen. Mistake, spinning, turning etc. It’s not as simple as in a straight road and hard to detect whose fault it is (maybe there is a way, idk). Furthermore, why set it at the braking point because if people try to get the rights and brake too late, they would be easily out of the track.

The blue CL is the same as red CL. It starts a countdown if get through, but the countdown will be shorter than the red one. Even though there is a competitor but it doesn’t mean that he gets near the apex as fast as you. If someone can’t come within the countdown, you get the apex and will not be penalized. If he comes just in time, you both will be penalized because you two probably are sharing the road. Everything can happen.

The green CL is at the apex. It checks if you are turning with appropriate speed (too low or too high), because sometime you get the rights of this corner, but it doesn’t mean that you can do whatever you want. You need to satisfy the requirement to stay “unpenalizable”. The speed requirement is also changed depended on traffic, type of car, tire wear etc. So, if there are 5 cars in the red and green area, the speed requirement will be 60mph +5% or –10%. If there is no competitor (someone is right behind but not close enough to compete), after you pass the apex with correct speed, you are granted 1sec or 2sec (depends) to be “unpenalizable” and leave. If there is competition going on, you can be penalized (it sounds like the current system, everyone gets a penalty! But this is simpler version, it can do a bit better than that).

The green area is no brake zone, you are supposed to hit the throttle and drive away. If you brake there, you immediately become “penalizabled”.

The yellow CL means you are leaving the corner, it takes your rights of the corner away.

Let’s have an example of generally what happens. Imagine you enter the braking point and the blue CL without competitor, and suddenly a driver divebombs and hits you. You will not be penalized but that driver.

Another example, If someone passes the red CL on time but not the blue CL, then you have the rights of the corner. He touches you, he ded.

Or, basically you and the competitor can be penalized during the corner.


Different corner and different car might change the countdown time and speed requirement (need several sets of data if there are multiple types of cars). Even some cars have different braking point, but this is just a concept, so…

I don’t know if I forget anything, and I think that’s about it.
 
Back