I actually remember asking this a while ago (since I too have no interest in robots), and Afforess directed me to a post elsewhere on the forum detailing how to set a max tech level in your game. It's easier than I expected to change the coding to simply disable an era. Note that adding this code will break current saved games; however, once added, you can change the max era in a saved game to later than the current maximum with no ill effects (research does, however, continue to accumulate, so if you stay at the end of an era long enough, you'll have a whole bunch of 1-turn techs after increasing the maximum era). The AI is also usually smart enough to set their Research slider to 0 when there are no more valid techs left.
First, open up RoMGameUtils.py (opening with notepad works fine) in Rise of Mankind\Assets\Python.
Next, add a new line or two at the bottom and insert the following:
Code:
def cannotResearch(self,argsList):
ePlayer = argsList[0]
eTech = argsList[1]
bTrade = argsList[2]
# <---------- begin tech limit changes ----------------->
# Change the following number to limit eras civs can tech to
# 0 = Ancient, 1 = Classical, 2 = Medieval, 3 = Renaissance, 4 = Industrial, 5 = Modern, 6 = Transhuman, 7 = Future
iMaxEra = 5
iTechEra = gc.getTechInfo(eTech).getEra()
if( iTechEra > iMaxEra ) :
# True means cannot research
return True
# <---------- end tech limit changes ----------------->
return False
Finally, open up PythonCallbackDefines.xml (again, notepad works fine, or the XML editor of your choice) in Rise of Mankind\Assets\XML and make sure USE_CANNOT_RESEARCH_CALLBACK is set to 1 instead of 0.
Simply change iMaxEra to whatever number the max era you want is; in your case, since you want to play up to and including the Modern era but exclude Transhuman, keep it at 5. Or, if you decide in a game that you want technology to stagnate in the Middle Ages, change it to 2. And so on.
Hope this helps!