Moderator: Cartographers
<continent>
<name>Swaziland w/ a source of weapons</name>
<bonus>2</bonus>
<components>
<territory>Swaziland</territory>
</components>
<components>
<continent>Swaziland</continent>
<continent>a source of weapons</continent>
</components>
<overrides>
<override>Swaziland</override>
</overrides>
</continent>
<continent>
<name>Swaziland w/ a source of weapons</name>
<bonus>2</bonus>
<components>
<territory>Swaziland</territory>
<continent>Swaziland</continent>
<continent>a source of weapons</continent>
</components>
<overrides>
<override>Swaziland</override>
</overrides>
</continent>
Gilligan wrote:The current XML is this: http://www.fileden.com/files/2008/11/14 ... frica3.xml (XML was capitalized before, shouldn't have been, that was my fault)
So then it would just be fixed as this:
- Code: Select all
<continent>
<name>Swaziland w/ a source of weapons</name>
<bonus>2</bonus>
<components>
<territory>Swaziland</territory>
<continent>Swaziland</continent>
<continent>a source of weapons</continent>
</components>
<overrides>
<override>Swaziland</override>
</overrides>
</continent>
Gilligan wrote:The current XML is this: http://www.fileden.com/files/2008/11/14 ... frica3.xml (XML was capitalized before, shouldn't have been, that was my fault)
So then it would just be fixed as this:
- Code: Select all
<continent>
<name>Swaziland w/ a source of weapons</name>
<bonus>2</bonus>
<components>
<territory>Swaziland</territory>
<continent>Swaziland</continent>
<continent>a source of weapons</continent>
</components>
<overrides>
<override>Swaziland</override>
</overrides>
</continent>
<continent>
<name>Swaziland w/ a source of weapons</name>
<bonus>2</bonus>
<components>
<continent>Swaziland</continent>
<continent>a source of weapons</continent>
</components>
<overrides>
<override>Swaziland</override>
</overrides>
</continent>
ender516 wrote:Gilligan wrote:The current XML is this: http://www.fileden.com/files/2008/11/14 ... frica3.xml (XML was capitalized before, shouldn't have been, that was my fault)
So then it would just be fixed as this:
- Code: Select all
<continent>
<name>Swaziland w/ a source of weapons</name>
<bonus>2</bonus>
<components>
<territory>Swaziland</territory>
<continent>Swaziland</continent>
<continent>a source of weapons</continent>
</components>
<overrides>
<override>Swaziland</override>
</overrides>
</continent>
You do not need the <territory/> entry as a component there. The following is sufficient:
- Code: Select all
<continent>
<name>Swaziland w/ a source of weapons</name>
<bonus>2</bonus>
<components>
<continent>Swaziland</continent>
<continent>a source of weapons</continent>
</components>
<overrides>
<override>Swaziland</override>
</overrides>
</continent>
chipv wrote:Well spotted. You don't need the override either since the continent is a single territory just reducing the bonus works also.
I'm also not keen on continents having the same name as territories.
XML is OK now.
Industrial Helix wrote:I'd be happy to oblige but the mapmaker thing doesn't seem to be working for me. I can't see any numbers... if anyone has any ideas, let me know. if not I'll try again when I get home.
Industrial Helix wrote:I'd be happy to oblige but the mapmaker thing doesn't seem to be working for me. I can't see any numbers... if anyone has any ideas, let me know. if not I'll try again when I get home.
Gilligan wrote:But..If we're using the same XML URL, how come I didn't have that problem?
Users browsing this forum: No registered users