phungus420
Jan 09, 2008, 04:27 PM
I'm trying to get Horses to go obsolete with industrialism (I've added a few units and it just makes more sense this way, and will stop the AI that teched odly from building knights when they can make armored cars). Anyway it's not in the Tech XML files. Finaly found the references to bonuses going obsolete in the main CIV files, it's under assets/terrain/bonusinfo. Interestingly enough there is not one of these in the Beyond the Sword assets folder.
At first I tried to copy this file to my custom assets folder for beyond the sword with the horse bonus set to obsolete at industrialism. And got your standard screwed up XML code start up (a bunch of flashing error messages). So then I tried to move it to the basic CIV custom assets folder. No errors, which is good, but no effect. Finaly frstrated I just edited the actual assets file in the CIV folder for bonues. Again, no error, but no effect...
WTF? What does this file do if you can't use it to define the values it implies it defines (tech visible, obsolete, etc.) Also How can I set an obsoleting tech (or an availability tech for that matter)?
Cheers to anyone who can help me out here. I tried search, but no dice, tried a bunch of different searches and on google, but couldn't find anything relevant. So I'm really hoping someone else knows how to do this. I'm really surprised the bonusinfo file didn't work, considering it implies it calls these values, but whatever, I'm probably just missing some corresponding change somewhere (or at least hoping so).
At first I tried to copy this file to my custom assets folder for beyond the sword with the horse bonus set to obsolete at industrialism. And got your standard screwed up XML code start up (a bunch of flashing error messages). So then I tried to move it to the basic CIV custom assets folder. No errors, which is good, but no effect. Finaly frstrated I just edited the actual assets file in the CIV folder for bonues. Again, no error, but no effect...
WTF? What does this file do if you can't use it to define the values it implies it defines (tech visible, obsolete, etc.) Also How can I set an obsoleting tech (or an availability tech for that matter)?
Cheers to anyone who can help me out here. I tried search, but no dice, tried a bunch of different searches and on google, but couldn't find anything relevant. So I'm really hoping someone else knows how to do this. I'm really surprised the bonusinfo file didn't work, considering it implies it calls these values, but whatever, I'm probably just missing some corresponding change somewhere (or at least hoping so).