I don't think there would be much lag, the code for modifying the coordinates would not slow down the SC loop long enough to cause it. On a good computer the SC engine probably ends up idle between frames for a bit anyway because it finishes all the work fast enough.
Here is what would have to be involved.
1. Detecting when the CenterView method runs.
2. After it runs we get the cpu to pay attention to the program so that it can edit the variables BEFORE the frame is drawn.
3. It would have to know the addresses of the x&y variables of the screen and also be able to know the location used for the centering.
4. After the work is done the cpu can continue normal SC opperations.
Can all this be done without modifying any files? Will bnet think the player is doing something bad?
I think it's worth trying it. If the above is applied most units won't move fast enough to cause a blur if you have hyper triggers running the show. Infact it should look very smooth, like in Diablo.
BeeR_KeG[eM], unfortunately more locations won't help, it's just the way their CenterView method works.
I found out it was 8x8 by doing this:
-Make a slow moving unit, like a floating CC.
-Make a location follow this unit, and then center the view on that location.
-The CC will be in one of the 8x8 squares, move it around and you will see the view will only center when the CC enters a new square.
I took 2 screenshots and counted
Lucky for us move location is pixel accurate.