I'm considering making an AI companion a somewhat major part of my game, and I'd like to hear people's thoughts on various ideas.
I'm planning on having them be mostly identical to the player - they both share experience and level ups, and can use the full range of equipment.
Firstly, what if I made it so your partner couldn't permanently die, but instead after running out of health, they were unavailable until you exited and re-entered the dungeon (which would regenerate all of the enemies inside)?
I'm trying to think of ways to minimize the frustration, and permanently losing half of your fighting force due to an AI mistake would be just that. On the other hand though, it might be exploitable if the player enters a dangerous area and has their partner fight enemies, while they wait on the stairs with no real risk.
I don't want the player to not get experience for the AI's kills, because that would add to the frustration I'm trying to avoid. Does anyone see a good way around this problem though?
Another thing I'm considering is adding a friendly fire toggle. I know that it's the tradition in roguelikes for everything in a ball spell to take damage, be it an enemy, a teammate, or you yourself, but poor positioning on the AI's part could make things a lot less fun when they're a serious part of the game. Do you think it would be a good idea to make it so the player can "turn off" their ability to harm friendly npcs at will?
Thirdly, I'm sure some people would prefer not to have to deal with an AI's issues, or maybe they just like the style of "going it alone" better. What would be a good way of compensating these players for their lack of a party member? Would giving them slightly more attribute and skill points upon levelling up be good? What if I awarded slightly more experience per kill to players who fight without a teammate? The biggest problem I see there is that once they've reached the maximum level, the player with an AI teammate is objectively superior to the one without.
A few alternate ideas I'm considering are letting AI teammates die permanently, but having a limited supply of them back at the main town (say, 10), so while the AI may mess up here or there, the player shouldn't run out unless they themselves get careless. They'd always match your experience level, so there wouldn't be any bothering about getting the new guy up to par. Similarly, I could have only one companion, but they'd get a few "extra lives," so to speak, giving a similar result. What if they survived any hit that reduced them below 0 hp, so long as it didn't take them below -10? What if they left their unconscious body as an item that had to be carried to the exit to save them (as the game Guild does, if anyone has tried that)?
So what do you all think? Is it worth the trouble, or should I not bother and go the traditional route instead?