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?
conditional questions
Moderator: Cartographers
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
- MichelSableheart
- Posts: 781
- Joined: Sat Jun 27, 2009 5:10 pm
Re: conditional questions
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.
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.
MichelSableheart,
Een van de Veroveraars der Lage Landen
And a member of the Republic
Een van de Veroveraars der Lage Landen
And a member of the Republic
- SirSebstar
- Posts: 6969
- Joined: Fri Oct 27, 2006 7:51 am
- Location: SirSebstar is BACK. Highscore: Colonel Score: 2919 21/03/2011
- theBastard
- Posts: 994
- Joined: Sat Jan 09, 2010 9:05 am
Re: conditional questions
thanks guys. and sorry for wrong foundry...
Re: conditional questions
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.
