Interesting addition in 1.3

Found this in 1.3:

 

<StringTable>
<Label>TECH_VALIDATION_ERROR_LABEL</Label>
<String>ERROR: Tech Tree Audit: Tech Tree Fracture detected. This tech has no valid prerequisite, and is unreachable.[BR]Tech Name: %s[BR]Tree: %s</String>
</StringTable>

 

Looks like there might be something to actually tell us exactly where a custom tech tree has screwed up. That's a nice touch :)

8,152 views 3 replies
Reply #1 Top

AITechGovernorDefs.xml

Code: xml
  1. &lt;?xml version="1.0" encoding="utf-8" standalone="yes" ?&gt;
  2. &lt;AITechGovernorList
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="../Schema/AITechGovernorDefs.xsd"&gt;
  5. &lt;AITechGovernor&gt;
  6. &lt;InternalName&gt;DefaultPreference&lt;/InternalName&gt;
  7. &lt;TechPreference&gt;ZeroGravityConstruction&lt;/TechPreference&gt;
  8. &lt;/AITechGovernor&gt;
  9. &lt;/AITechGovernorList&gt;

this seems to be used in the AIStrategyDefs.xml

 

Code: xml
  1. &lt;AIStrategy&gt;
  2. &lt;InternalName&gt;ExpansionStrat_Default&lt;/InternalName&gt;
  3. &lt;TurnStart&gt;21&lt;/TurnStart&gt;
  4. &lt;TurnEnd&gt;75&lt;/TurnEnd&gt;
  5. &lt;TurnLifetime&gt;10&lt;/TurnLifetime&gt;
  6. &lt;PlayerAtWar&gt;Any&lt;/PlayerAtWar&gt;
  7. &lt;Spending&gt;SpendUntilBroke&lt;/Spending&gt;
  8. &lt;SpendUntilBrokeBuffer&gt;50&lt;/SpendUntilBrokeBuffer&gt;
  9. &lt;WealthSlider&gt;0.0&lt;/WealthSlider&gt;
  10. &lt;ManufacturingSlider&gt;0.60&lt;/ManufacturingSlider&gt;
  11. &lt;ResearchSlider&gt;0.40&lt;/ResearchSlider&gt;
  12. &lt;MilitarySlider&gt;0.60&lt;/MilitarySlider&gt;
  13. &lt;StarbaseDefenderFillCap&gt;0.4&lt;/StarbaseDefenderFillCap&gt;
  14. &lt;ShipyardDefenderFillCap&gt;0.4&lt;/ShipyardDefenderFillCap&gt;
  15. &lt;PlanetDefenderFillCap&gt;0.6&lt;/PlanetDefenderFillCap&gt;
  16. &lt;PreferToRush&gt;Manufacturing&lt;/PreferToRush&gt;
  17. &lt;BuildShip&gt;
  18. &lt;ShipClass&gt;Colony&lt;/ShipClass&gt;
  19. &lt;PreferToRush&gt;true&lt;/PreferToRush&gt;
  20. &lt;Weight&gt;10&lt;/Weight&gt;
  21. &lt;/BuildShip&gt;
  22. &lt;BuildShip&gt;
  23. &lt;ShipClass&gt;Constructor&lt;/ShipClass&gt;
  24. &lt;Weight&gt;8&lt;/Weight&gt;
  25. &lt;/BuildShip&gt;
  26. &lt;BuildShip&gt;
  27. &lt;ShipClass&gt;Freighter&lt;/ShipClass&gt;
  28. &lt;Weight&gt;4&lt;/Weight&gt;
  29. &lt;/BuildShip&gt;
  30. &lt;BuildShip&gt;
  31. &lt;ShipClass&gt;Defender&lt;/ShipClass&gt;
  32. &lt;Weight&gt;8&lt;/Weight&gt;
  33. &lt;/BuildShip&gt;
  34. &lt;BuildShip&gt;
  35. &lt;ShipClass&gt;Assault&lt;/ShipClass&gt;
  36. &lt;Weight&gt;2&lt;/Weight&gt;
  37. &lt;/BuildShip&gt;
  38. &lt;BuildShip&gt;
  39. &lt;ShipClass&gt;Bomber&lt;/ShipClass&gt;
  40. &lt;Weight&gt;2&lt;/Weight&gt;
  41. &lt;/BuildShip&gt;
  42. &lt;BuildShip&gt;
  43. &lt;ShipClass&gt;Interceptor&lt;/ShipClass&gt;
  44. &lt;Weight&gt;2&lt;/Weight&gt;
  45. &lt;/BuildShip&gt;
  46. &lt;TechWeightOffset&gt;
  47. &lt;UseOffset&gt;true&lt;/UseOffset&gt;
  48. &lt;WeightOffset&gt;
  49. &lt;Military&gt;-10&lt;/Military&gt;
  50. &lt;Growth&gt;6&lt;/Growth&gt;
  51. &lt;Tech&gt;6&lt;/Tech&gt;
  52. &lt;Diplomacy&gt;-10&lt;/Diplomacy&gt;
  53. &lt;Expansion&gt;10&lt;/Expansion&gt;
  54. &lt;Wealth&gt;-10&lt;/Wealth&gt;
  55. &lt;Influence&gt;-10&lt;/Influence&gt;
  56. &lt;Fortification&gt;-10&lt;/Fortification&gt;
  57. &lt;/WeightOffset&gt;
  58. &lt;/TechWeightOffset&gt;
  59. &lt;TechGovernor&gt;DefaultPreference&lt;/TechGovernor&gt;
  60. &lt;/AIStrategy&gt;

 

(line 59)

Reply #2 Top

out of curiosity why do all the code blocks use white font on a white background?

Reply #3 Top

Quoting androshalforc, reply 2

out of curiosity why do all the code blocks use white font on a white background?
End of androshalforc's quote

 

good question,  i was afraid to ask  :smitten: