Fix the territory influence weight to fit into an u16 number. (no idea why the buildings have so many different weights though).

This was SVN commit r16682.
This commit is contained in:
sanderd17 2015-05-26 14:25:23 +00:00
parent 2424604329
commit 60f784900a
15 changed files with 15 additions and 15 deletions

View File

@ -18,7 +18,7 @@
<TerritoryInfluence>
<Root>true</Root>
<Radius>100</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<ProductionQueue disable=""/>
<VisualActor>

View File

@ -44,7 +44,7 @@
<ProductionQueue disable=""/>
<TerritoryInfluence>
<Radius>60</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<Vision>
<Range>80</Range>

View File

@ -41,7 +41,7 @@
<TerritoryInfluence>
<Root>false</Root>
<Radius>40</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<Vision>
<Range>20</Range>

View File

@ -46,7 +46,7 @@
<TerritoryInfluence>
<Root>false</Root>
<Radius>40</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<ProductionQueue>
<BatchTimeModifier>0.7</BatchTimeModifier>

View File

@ -42,7 +42,7 @@
<TerritoryInfluence>
<Root>false</Root>
<Radius>36</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<Vision>
<Range>40</Range>

View File

@ -30,7 +30,7 @@
<TerritoryInfluence>
<Root>false</Root>
<Radius>38</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<VisualActor>
<Actor>structures/mauryans/misc_structure_01.xml</Actor>

View File

@ -14,7 +14,7 @@
</Obstruction>
<TerritoryInfluence>
<Radius>16</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<VisualActor>
<Actor>structures/britons/house.xml</Actor>

View File

@ -14,7 +14,7 @@
</Obstruction>
<TerritoryInfluence>
<Radius>16</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<VisualActor>
<Actor>structures/gauls/house.xml</Actor>

View File

@ -33,7 +33,7 @@
<RallyPoint/>
<TerritoryInfluence>
<Radius>32</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<ProductionQueue>
<BatchTimeModifier>0.7</BatchTimeModifier>

View File

@ -17,7 +17,7 @@
</Obstruction>
<TerritoryInfluence>
<Radius>16</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<VisualActor>
<Actor>structures/iberians/house.xml</Actor>

View File

@ -47,7 +47,7 @@
<TerritoryInfluence>
<Root>false</Root>
<Radius>20</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<Vision>
<Range>20</Range>

View File

@ -60,7 +60,7 @@
<TerritoryInfluence>
<Root>false</Root>
<Radius>20</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<VisualActor>
<FoundationActor>structures/fndn_wall.xml</FoundationActor>

View File

@ -84,7 +84,7 @@
<TerritoryInfluence>
<Root>false</Root>
<Radius>20</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<Vision>
<Range>60</Range>

View File

@ -76,7 +76,7 @@
<TerritoryInfluence>
<Root>true</Root>
<Radius>100</Radius>
<Weight>65536</Weight>
<Weight>65535</Weight>
</TerritoryInfluence>
<Vision>
<Range>72</Range>

View File

@ -45,7 +45,7 @@ public:
"</element>"
"<element name='Weight'>"
"<data type='nonNegativeInteger'>"
"<param name='maxInclusive'>65536</param>" // Max value 2^16
"<param name='maxInclusive'>65535</param>" // Max u16 value
"</data>"
"</element>"
"<element name='Radius'>"