Moderator: Cartographers
edbeard wrote:I'm doing a major overhaul because I don't like the way things have been named.
I'm taking my continent section and using your territories (since the centering is done on those).
I'm not looking at the centering at the moment. Though when I looked at it once I didn't see anything major.
<?xml version="1.0" ?>
- <continent>
<name>Eight Phones</name>
<bonus>2</bonus>
- <components>
<territory>NW Phone</territory>
<territory>NE Phone</territory>
<territory>SW Phone</territory>
<territory>SE Phone</territory>
<territory>City Hall Phone</territory>
<territory>Supply Phone</territory>
<territory>Hideout Phone</territory>
<territory>Stash House Phone</territory>
</components>
<required>2</required>
- <overrides>
<override>Six Phones</override>
</overrides>
</continent>
<required>2</required>
<required>
- <continent>
<name>Leader or 2nd + Two Muscle</name>
<bonus>4</bonus>
- <components>
<continent>Leader or 2nd</continent>
<continent>Two Muscle</continent>
</components>
- <overrides>
<override>Leader or 2nd + One Muscle</override>
<override>Two Muscle</override>
</overrides>
</continent>
- <continent>
<override>Leader or 2nd + One Muscle</override>
<override>Leader or 2nd + One Muscle</override>
because one can never get this bonus anyways, because two muscle already overrides one muscle, so whenever someone holds Two Muscle + leader or 2nd, someone also holds Two Muscle, and since Two Muscle ALREADY overrides One Muscle, you don't have to override it
edbeard wrote:I was deleting a bunch of stuff and must've deleted that first override in the Leader or 2nd + One Muscle continent by mistake. thanks!
regarding the<override>Leader or 2nd + One Muscle</override>
because one can never get this bonus anyways, because two muscle already overrides one muscle, so whenever someone holds Two Muscle + leader or 2nd, someone also holds Two Muscle, and since Two Muscle ALREADY overrides One Muscle, you don't have to override it
hmm. You're probably right but this one worries me. Does an override work in the same way for components of another continent? I'd need to know exactly what an override does. I'd say it's best to leave this as it is and see what Forza says about it.
Regarding the patrol bonus, I want people to know how many patrol they hold in the bonus.
Here's the latest one. http://www.sendspace.com/file/k3d00l
- <continent>
<name>Leader or 2nd + One Muscle</name>
<bonus>2</bonus>
- <components>
<continent>Leader or 2nd</continent>
<continent>One Muscle</continent>
</components>
- <overrides>
<override>One Muscle</override>
<continent>Leader or 2nd</continent>
</overrides>
</continent>
edbeard wrote:what are you talking about?
It's fixed. Everything is overrided that needs to be.
edit: also, I realized that the overrides as I have done it are correct. If I didn't do it that way, then I'd have to override Leader or 2nd in every continent anyway so the number of overrides are the same and this one is safer.
edbeard wrote:ok. I was confused because you said it was the 'same error'
you don't need it in the rest of the continents.
Lets say I own continent C and it overrides continent B
and in continent B I override continent A
then continent C overrides continent A
This is why I include the <override>Leader or 2nd + One Muscle</override> so that it overrides the continent which overrides <override>Leader or 2nd</override>
I have asked this of yeti before and he confirmed it. As long as a previous overrided continent overrides the one in question it works. This is why we were able to remove large chunks of overrides before, remember?
so please remove that question from the XML check thread as the way I have it is correct.
<continent>
<name>Leader or 2nd + One Muscle</name>
<bonus>2</bonus>
<components>
<continent>Leader or 2nd</continent>
<continent>One Muscle</continent>
</components>
<overrides>
<override>One Muscle</override>
<continent>Leader or 2nd</continent>
</overrides>
</continent>
<continent>
<name>Leader or 2nd + Two Muscle</name>
<bonus>4</bonus>
<components>
<continent>Leader or 2nd</continent>
<continent>Two Muscle</continent>
</components>
<overrides>
<override>Leader or 2nd</override>
<override>Two Muscle</override>
</overrides>
</continent>
<continent>
<name>Leader or 2nd + Three Muscle</name>
<bonus>6</bonus>
<components>
<continent>Leader or 2nd</continent>
<continent>Three Muscle</continent>
</components>
<overrides>
<override>Leader or 2nd</override>
<override>Three Muscle</override>
</overrides>
</continent>
<continent>
<name>Leader or 2nd + Four Muscle</name>
<bonus>8</bonus>
<components>
<continent>Leader or 2nd</continent>
<continent>Four Muscle</continent>
</components>
<overrides>
<override>Leader or 2nd</override>
<override>Four Muscle</override>
</overrides>
</continent>
<continent>
<name>Leader or 2nd + Five Muscle</name>
<bonus>10</bonus>
<components>
<continent>Leader or 2nd</continent>
<continent>Five Muscle</continent>
</components>
<overrides>
<override>Leader or 2nd</override>
<override>Five Muscle</override>
</overrides>
</continent>
<continent>
<name>Leader or 2nd + Six Muscle</name>
<bonus>12</bonus>
<components>
<continent>Leader or 2nd</continent>
<continent>Six Muscle</continent>
</components>
<overrides>
<override>Leader or 2nd</override>
<override>Six Muscle</override>
</overrides>
</continent>
<continent>
<name>Leader or 2nd + Seven Muscle</name>
<bonus>14</bonus>
<components>
<continent>Leader or 2nd</continent>
<continent>Seven Muscle</continent>
</components>
<overrides>
<override>Leader or 2nd</override>
<override>Seven Muscle</override>
</overrides>
</continent>
<continent>
<name>Leader or 2nd + Eight Muscle</name>
<bonus>16</bonus>
<components>
<continent>Leader or 2nd</continent>
<continent>Eight Muscle</continent>
</components>
<overrides>
<override>Leader or 2nd</override>
<override>Eight Muscle</override>
</overrides>
</continent>
<continent>
<name>Commissioner + Lieutenant + Two Patrol</name>
<bonus>2</bonus>
<components>
<territory>Commissioner</territory>
<territory>Lieutenant</territory>
<continent>Two Patrol</continent>
</components>
<overrides>
<override>Commissioner + Lieutenant + One Patrol</override>
<override>Two Patrol</override>
</overrides>
</continent>
edbeard wrote:I'm still a bit concerned about when the overrides come into play.
Do I no longer hold a continent because I've overrided a component that is needed for it to be held?
The reason I ask is because for example
- Code: Select all
<continent>
<name>Commissioner + Lieutenant + Two Patrol</name>
<bonus>2</bonus>
<components>
<territory>Commissioner</territory>
<territory>Lieutenant</territory>
<continent>Two Patrol</continent>
</components>
<overrides>
<override>Commissioner + Lieutenant + One Patrol</override>
<override>Two Patrol</override>
</overrides>
</continent>
if I override 'two patrol', then do I no longer hold 'one patrol' since it overrides 'one patrol' and therefore holding the 'commish + lt. + one patrol' is not possible?
NB: I wanted this to be its own post because it's important (message regarding this sent to Lack and cced Andy).
AndyDufresne wrote:Crazy XML! Nice to see you attempting it, Zimmah. Always good to have a few people lurking on CC with some knowledge of XML.
--Andy
edbeard wrote:I did the border checks and everything was good.
It doesn't show bombardments though but those are easy to check (and already done).
Regarding your last post the problem is whether an override makes you no longer hold that continent or not. Or just stops the bonus. If it makes you no longer hold it, then you cannot hold 'Commissioner + Lieutenant + One Patrol' because the 'Two Patrol' will override the one patrol. It's the question we've been kicking back and forth for a while now. It matters because overrides only work if you hold that continent.
<continent>
<name>A
<bonus>0
<components>
<territory>territory 1
<territory>territory 2
<territory>territory 3
</components>
</continent>
<continent>
<name>B
<bonus>0
<components>
<territory>territory 4
</components>
</continent>
<continent>
<name>C
<bonus>500
<components>
<continent>A
<continent>B
</component>
<overrides>
<override>A
<override>B
</overrides>
</continent>
lackattack wrote:Commissioner + Lieutenant + Two Patrol will only override the continents that you put in its overrides section. It wil not override anything else, even continents that are based on stuff in its overrides section.edbeard wrote:Since you're the coder, I'm sending this to you. I'm ccing andy on this as well btw.
Here's a quoted post from the Operation Drug War thread.edbeard wrote:I'm still a bit concerned about when the overrides come into play.
Do I no longer hold a continent because I've overrided a component that is needed for it to be held?
The reason I ask is because for example
- Code: Select all
<continent>
<name>Commissioner + Lieutenant + Two Patrol</name>
<bonus>2</bonus>
<components>
<territory>Commissioner</territory>
<territory>Lieutenant</territory>
<continent>Two Patrol</continent>
</components>
<overrides>
<override>Commissioner + Lieutenant + One Patrol</override>
<override>Two Patrol</override>
</overrides>
</continent>
if I override 'two patrol', then do I no longer hold 'one patrol' since it overrides 'one patrol' and therefore holding the 'commish + lt. + one patrol' combined continent is not possible?
NB: I wanted this to be its own post because it's important.
yeti_c wrote:I'm still pretty confident that I am correct about the overrides chaining down...
Essentially all you need to know - is that the overrides kill the bonus they are related to - they don't stop you from holding the continent itself.
I'm pretty sure I used the technique (successfully) in Iraq - but you're more than welcome to check that out - and run a test game on it.
C.
Users browsing this forum: No registered users