I'm very very new to modding Python/SDK, so forgive me if I sound really dumb; I tried looking for a solution through search, but I didn't find anything... perhaps I don't know what to search for...
Hello, I'm trying to make it so that on lower difficulties, rather than having a number of specific technologies given to you, a certain number of random starting technologies (from Fishing, Hunting, Wheel, Mining, Agriculture, Mysticism) are selected randomly in addition to the default civilization starting technologies. (For instance, in Settler difficulty, China would start with Wheel and Agriculture, as well as 2 or 3 other technologies from the rest of the list).
The way it is now, it seems like there is a boolean array m_pbFreeTechs that reads from the XML which techs to mark as true in this array, however I want to modify it to select techs in the way specified above, rather than reading a tech-list from the xml. However, I am not sure how to implement this (where to put the code, for instance) and I am also not sure how to safely remove the code that reads the XML.
Any help would be greatly appreciated
Hello, I'm trying to make it so that on lower difficulties, rather than having a number of specific technologies given to you, a certain number of random starting technologies (from Fishing, Hunting, Wheel, Mining, Agriculture, Mysticism) are selected randomly in addition to the default civilization starting technologies. (For instance, in Settler difficulty, China would start with Wheel and Agriculture, as well as 2 or 3 other technologies from the rest of the list).
The way it is now, it seems like there is a boolean array m_pbFreeTechs that reads from the XML which techs to mark as true in this array, however I want to modify it to select techs in the way specified above, rather than reading a tech-list from the xml. However, I am not sure how to implement this (where to put the code, for instance) and I am also not sure how to safely remove the code that reads the XML.
Any help would be greatly appreciated
