Still working my way through getting it running properly in PCars.
The spotter calculations and basic logic are working nicely but I still need to record the voice messages for it and add some delay to the 'clear' messages so it doesn't bounce. This spotter knows its left from its right (unlike the R3E one ) so is quite similar to the iRacing one (car left... your in the middle, 3 wide.... clear left.... etc).
I've also been looking at driver names. PCars has a lot of AI names (3000ish I think) and it picks randomly for each race or championship, so recording all of these is clearly impossible. But I'm building the framework to pull the names out of the shared memory block, map them to a phonetic spelling and corresponding wave file, load them into the voice recognition system, and use them during the race. This means the app will be able to read the name ("smith is closing on you"), as well as recognise it when you ask about it (when it's working you'll be able to ask "where's smith?" and the app will respond with "4 seconds in front, P4" or whatever). There's still work to be done here but nothing difficult (just a bit time consuming).
I expect to have a folder with some name recordings in it initially and this will expand. To make the whole name recordings stuff worthwhile I may offer to record driver names for online championships (again, there are too many players out there to expect to make recordings of all the names that might be encountered in pickup races). I guess I'd need a list of the entrant names as they appear in PCars, along with corresponding phonetic spellings where appropriate. This also means that people would have to race with their real names (no "super_awesome_killer" or other silly handles). Can this be done? I know my PCars uses my steam name (mr_belowski) - is it possible to change this to my real name?