Difference between revisions of "PC targeting"
Dsekercioglu (talk | contribs) (Help me with this.) |
Dsekercioglu (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | Pattern Continuer or Common Patterns | |
− | PC is | + | |
− | + | PC or CP is a targeting style that you save the last ticks(You will decide it yourself). Then you will find the most common patterns. | |
− | 1 | + | |
− | + | As an example: | |
− | + | velocityList | |
− | I | + | {8, 8, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, 0, 0, -2, -4, -2, 0, 0, 0, 0, 0, 2, 4, 6, 8} |
− | + | ||
− | + | The most common pattern here is 0, 0, 0, 0, 0. | |
+ | So you are going to fire directly at enemyPosition. | ||
+ | |||
+ | I tried it in some of my robots that hasn't been released. | ||
+ | |||
+ | The problem is without a back-up statistical gun enemy doesn't continue it's patterns and the gun doesn't work because it's a fast adapting gun and enemy bot has a flattener. | ||
+ | |||
+ | |||
+ | I am working on it and I will put it to WhiteFang if it works well. | ||
+ | |||
+ | |||
+ | |||
+ | Advantages: | ||
+ | |||
+ | It adapts very fast and get the enemy movement. | ||
+ | |||
+ | Disadvantages: | ||
+ | |||
+ | Flatteners kills the gun. | ||
+ | It forgets the old movements. | ||
+ | It can't hit crazy patterned bots like crazy very well. | ||
+ | It's made by me.(I do programming for 9 months):) |
Revision as of 10:32, 20 October 2016
Pattern Continuer or Common Patterns
PC or CP is a targeting style that you save the last ticks(You will decide it yourself). Then you will find the most common patterns.
As an example: velocityList {8, 8, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, 0, 0, -2, -4, -2, 0, 0, 0, 0, 0, 2, 4, 6, 8}
The most common pattern here is 0, 0, 0, 0, 0. So you are going to fire directly at enemyPosition.
I tried it in some of my robots that hasn't been released.
The problem is without a back-up statistical gun enemy doesn't continue it's patterns and the gun doesn't work because it's a fast adapting gun and enemy bot has a flattener.
I am working on it and I will put it to WhiteFang if it works well.
Advantages:
It adapts very fast and get the enemy movement.
Disadvantages:
Flatteners kills the gun. It forgets the old movements. It can't hit crazy patterned bots like crazy very well. It's made by me.(I do programming for 9 months):)