People are more complicated than "Hero" or "Villain" labels, so we'll be working with a spectrum for this game.
This allows you to know whether you should fight someone, be friends with them, etc.
This is set by the player when customizing their character.
Your reputation changes how you can interact with the world and how it responds to you. The closer an NPCs alignment is to yours will change how they react.