mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
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:
parent
2424604329
commit
60f784900a
15 changed files with 15 additions and 15 deletions
|
|
@ -18,7 +18,7 @@
|
|||
<TerritoryInfluence>
|
||||
<Root>true</Root>
|
||||
<Radius>100</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<ProductionQueue disable=""/>
|
||||
<VisualActor>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
<ProductionQueue disable=""/>
|
||||
<TerritoryInfluence>
|
||||
<Radius>60</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<Vision>
|
||||
<Range>80</Range>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<TerritoryInfluence>
|
||||
<Root>false</Root>
|
||||
<Radius>40</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<Vision>
|
||||
<Range>20</Range>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
<TerritoryInfluence>
|
||||
<Root>false</Root>
|
||||
<Radius>40</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<ProductionQueue>
|
||||
<BatchTimeModifier>0.7</BatchTimeModifier>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
<TerritoryInfluence>
|
||||
<Root>false</Root>
|
||||
<Radius>36</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<Vision>
|
||||
<Range>40</Range>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
</Obstruction>
|
||||
<TerritoryInfluence>
|
||||
<Radius>16</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<VisualActor>
|
||||
<Actor>structures/britons/house.xml</Actor>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
</Obstruction>
|
||||
<TerritoryInfluence>
|
||||
<Radius>16</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<VisualActor>
|
||||
<Actor>structures/gauls/house.xml</Actor>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<RallyPoint/>
|
||||
<TerritoryInfluence>
|
||||
<Radius>32</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<ProductionQueue>
|
||||
<BatchTimeModifier>0.7</BatchTimeModifier>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
</Obstruction>
|
||||
<TerritoryInfluence>
|
||||
<Radius>16</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<VisualActor>
|
||||
<Actor>structures/iberians/house.xml</Actor>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<TerritoryInfluence>
|
||||
<Root>false</Root>
|
||||
<Radius>20</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<Vision>
|
||||
<Range>20</Range>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
<TerritoryInfluence>
|
||||
<Root>false</Root>
|
||||
<Radius>20</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<Vision>
|
||||
<Range>60</Range>
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
<TerritoryInfluence>
|
||||
<Root>true</Root>
|
||||
<Radius>100</Radius>
|
||||
<Weight>65536</Weight>
|
||||
<Weight>65535</Weight>
|
||||
</TerritoryInfluence>
|
||||
<Vision>
|
||||
<Range>72</Range>
|
||||
|
|
|
|||
|
|
@ -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'>"
|
||||
|
|
|
|||
Loading…
Reference in a new issue