Page 1 of 1

conditional questions

PostPosted: Sun Jan 23, 2011 4:24 am
by theBastard
I have some questions about gameplay possibilities:

1, is possible to set that only if player holds "A" and "B" he can assault "C"? so when he holds only "A" or only "B" he can not assault "C"?
2, is possible to set up that if he holds only "A" (and can not assault "C") he can bombard "C"? and as in question 1 after he holds also "B" he can assault "C"?
3, when there is continent furled by regions "A", "B", "C" and continent furled by regions "1", "2", "3" the reinforce is possible only between regions with "letters" and only in regions with "numbers"? so when player conquers "A" from "1" he can advanced it, but not reinforce?

Re: conditional questions

PostPosted: Sun Jan 23, 2011 4:38 am
by MichelSableheart
For all three questions, the short answer is no.

In the XML, countries either border each other or they don't. If a country borders another country, you can assault both ways, and you can reinforce both ways. If a country doesn't border, you can't assault or reinforce. It is not possible to write XML where countries border each other conditionally.

I would like to remind you once again that questions on the possibilities of mapmaking, and in particular on the XML are best asked in the foundry subforum, as they have the expertise.

Re: conditional questions

PostPosted: Sun Jan 23, 2011 7:16 am
by SirSebstar
Topic moved because of its specialistic nature.

Re: conditional questions

PostPosted: Sun Jan 23, 2011 3:48 pm
by theBastard
thanks guys. and sorry for wrong foundry...

Re: conditional questions

PostPosted: Sun Jan 30, 2011 2:22 am
by ender516
MichelSableheart wrote:For all three questions, the short answer is no.

In the XML, countries either border each other or they don't. If a country borders another country, you can assault both ways, and you can reinforce both ways. If a country doesn't border, you can't assault or reinforce. It is not possible to write XML where countries border each other conditionally.

I would like to remind you once again that questions on the possibilities of mapmaking, and in particular on the XML are best asked in the foundry subforum, as they have the expertise.

You are mostly correct, but in the XML, a <territory> has a list of <borders>, which are the territories it can assault, and optionally a list of <bombardments>, which are the territories it can bombard. These specifications work one way only, and to get two-way assaults and two-way bombardments, the lists must be constructed from both ends, so to speak.