phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
Been trying to unhardcode the inquisitor unit, and creating working tags for UnitInfos to get that to work (also allows for more modding tools for many of the modmakers that use a RevDCM core). I've been working on this the last couple days and got it to the point where I thought it was totally done and ready to go. But now I've found it throws a python exception in World Builder. I'm at a total loss as to what could be causing this. Also I've AI autoplayed about 1000 turns, and no problems, everything seemed to go fine, up until I tried fooling around with World Builder. Also had no problems when doing the cursory checks to make sure the tags worked when giving myself techs and such to test the civics array and all that. But it seems if you create a few units that are blocked due to civics and some that are allowed that World Builder breaks, and I have no idea why. Here is all the code, other then this enigmatic WB bug, it works perfectly. Could one of you take a look and figure out what's going wrong and merge it into RevDCM?
I have also included 2 tags that are used in LoR and will be useful in other mods (iUpgradePriceModifier in BuildingInfos, and bUpgradeAnywhere in TraitInfos). These work fine, no issues. And I have made minor changes to the comments, and pulled each peace out and attached them one by one manually to RevDCM source (the current version on the SVN) so that everything can just be winmerged over with no issues. The UnitInfos checks are commented with //RevDCM canTrain
Please let me know when you figure out what the bug with world builder is and how to fix it. I'm curious, and I really want this to work, I've spent way too much time on it already.
I have also included 2 tags that are used in LoR and will be useful in other mods (iUpgradePriceModifier in BuildingInfos, and bUpgradeAnywhere in TraitInfos). These work fine, no issues. And I have made minor changes to the comments, and pulled each peace out and attached them one by one manually to RevDCM source (the current version on the SVN) so that everything can just be winmerged over with no issues. The UnitInfos checks are commented with //RevDCM canTrain
Please let me know when you figure out what the bug with world builder is and how to fix it. I'm curious, and I really want this to work, I've spent way too much time on it already.