KOTOR was different, though, and I felt a bit squeamish the first time I looted a corpse. And then once I burgled every single apartment in an entire complex, but I didn't feel guilty until I entered a room with someone in it, and she told me to leave or die. I think I threw a grenade at her.
I'm currently playing KOTOR for the first time and when I broke into an apartment on Taris and found a family with a little girl cowering behind the furniture, begging me to take their things and go without hurting them, I was a little taken aback. I wanted to play as a mostly good guy and robbing them just didn't seem right. But I robbed them anyway because this is an RPG and looting is expected of me.
That's one of my problems with RPGs, looting is such an intrinsic part of the experience that they shove it into pretty much every RPG regardless of whether it makes sense or not. In Fallout it makes some sense, it's a post-apocalyptic world so it's not unreasonable to expect to find valuable items lost in the rubble. But in games like KOTOR where there's a functioning society and a vibrant economy, things shouldn't be so dependent on looting. You should perform tasks to earn money to buy weapons, that makes the most sense in that sort of setting. But when the Mass Effect games started moving in that direction, some people started complaining that those games weren't true RPGs any more. Because apparently to some people role-playing isn't about playing a role and shaping the story, it's about looting and equipping fractionally better items.