added faction colors and targetting raycast for living units only