Making my cat use the litter box has been a serious issue since he was a kitten. My first method was to lock him in a cage or small area with nothing but food, water and a litter box and not let him leave until he used it. This worked however I would have to relock him in the area after an hour or so to make sure he doesn't piss on anything else. Whenever I let him freely roam the house he happens to just keeping pissing on stuff. So I decided to physically discipline him for pissing anywhere but his litter box. I hit him on the nose or near the face whenever I saw some cat piss somewhere in the house and I force him to smell it (by forcing his face into the piss spot) I say in a manly voice "NO" then bring him up to his litter box and force him to stand in it for about 30 seconds. Many piss spots later it still hasn't worked. So then in addition to the previous I decided to also spray him with stuff then lock him in a small area with his litter box until he uses it.
I also feel like I'm hitting him too hard, I just get so angry when I see my brand new $300 dollar suit with a cat piss stain on it and I can't help myself but even with that I feel as if he should get the message and start pissing in his litter box more often. Could there be something wrong with the litter box or is my cat just retarded? Or am I doing something wrong here? Please help.
P.S this has been going on for about 2 months now and I got him when he was 2 months so I feel the cat is old enough to learn to stop pissing on random shit around the house.