Elephant units are really impractical in the early game, primarily(according to viper and mbl) because they can be converted so easily. There’s also issues of slowness and such, but they’re less important than instantly giving an enemy the most powerful unit in the game, and even a beginner can manage to convert an elephant! The obvious answer is conversion resistance, but that has issues as well, since it could make elephants OP in the lategame.
Looking for new ideas, I plugged the problem into ChatGPT, and one of the suggestions it offered was to have Mahouts(elephant riders), that allowed a unit to garrison on an elephant, and provided conversion resistance to nearby units.
Now that would be a bit too powerful, but it does provide an interesting idea! What if you could use a garrisoned unit as a shield for that particular elephant?
Mahouts
First off, give all elephants at least 1 garrison capacity. They can garrison infantry or archers inside, like a ram, which depending on balance could increase their stats or not. War Elephants, to be special, might have 2 garrison capacity, or even 3 for Elite war elephants.
Now, if the elephant is converted, instead of converting the elephant, it converts the mahout! It’s ejected from the elephant as an enemy unit! This is still an issue, but nowhere near as much of an issue as before, since converting an infantry or archer isn’t anywhere near as big a deal as losing an elephant. It WOULD discourage garrisoning spearmen, however.
The really important part here is, this is something that is only really useful in the early game! In the lategame, it will be far better not to waste limited APM on individually garrisoning each elephant, not to mention wasting valuable population space on these units that could be better spent on units that actually do something useful!
This accomplishes the goal of making elephants more viable in the earlier parts of the game, without the issues of becoming OP in the lategame!