my brother suggested plugging your car into the mains electricity and standing your car in water - not sure if he has tested the method. Zaps dogs cocking legs too.
Cats can be difficult animals to 'control' - they will avoid your car if it smells bad to them or by sound (usually effective in gardens).
Lying in wait with a hosepipe might work, cats usually detest being wet and it would probably not return. But they are pretty annoying little monsters and you might just find out the car attacker likes water.
I gave mine a shower once and he loved it.
The other idea would be to spray catnip on a detested neighbours car and lure the cat there instead.