V
V
Vitaly Vitalievich2019-03-23 14:35:02
Programming
Vitaly Vitalievich, 2019-03-23 14:35:02

How to voice kills in Apex Legends?

There is such a battle royale Apex Legends, it does not have voice acting for murders. I made my sounds separate, I tried to track the kill statistics, it is written when we kill the enemy and this figure changes, for example, I killed one enemy and the number 1 appears on my screen in the right corner - this is our kill and so on increasing. I tried to make a script through Uopilot, which was supposed to track the change in the number of kills by the picture and automatically turn on the assigned voice acting for each kill. But I did not succeed, he does not find the picture on the screen, because. all labels in the game are translucent and constantly change colors.
The question is how to do this voice acting and with what?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
asd111, 2019-03-24
@asd111

There are 3 options.
1. simple. We take python, pytesseract, mss. Using mss, we take screenshots of the desired area 5 times per second or more often. In this area, using pytesseract, we are looking for numbers. Then it is desirable to rewrite it in C so that it is faster.
2. Medium. We take chemax and look in memory for the address of a variable that shows the number of kills. Then we write a program that keeps track of this variable and plays the sound. There may be problems here. the address of a variable can change.
3. Complicated. We are writing a DLL that will track the number drawing functions via directx and replace it with our function with music. Inject this dll into the game. This is how all cheats work.

P
Peter_Zhizhin, 2019-03-25
@Peter_Zhizhin

Instead of PyTesseract, you need to use convolutional neural networks. You need to collect some pictures with the area of ​​the number of murders (several hundred) and mark them with your hands. Next, you need to take a pre-trained network like MobileNet in PyTorch or TensorFlow and get it to recognize how many kills are indicated in the area.
Should be much better than Tesseract.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question