conditional questions

How to make a map. Official Handbook, Guides, Tutorials and more...

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
theBastard
Posts: 994
Joined: Sat Jan 09, 2010 9:05 am

conditional questions

Post 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?
User avatar
MichelSableheart
Posts: 781
Joined: Sat Jun 27, 2009 5:10 pm

Re: conditional questions

Post 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.
MichelSableheart,
Een van de Veroveraars der Lage Landen
And a member of the Republic
User avatar
SirSebstar
Posts: 6969
Joined: Fri Oct 27, 2006 7:51 am
Location: SirSebstar is BACK. Highscore: Colonel Score: 2919 21/03/2011

Re: conditional questions

Post by SirSebstar »

Topic moved because of its specialistic nature.
Image
User avatar
theBastard
Posts: 994
Joined: Sat Jan 09, 2010 9:05 am

Re: conditional questions

Post by theBastard »

thanks guys. and sorry for wrong foundry...
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: conditional questions

Post 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.
Post Reply

Return to “Tools & Guides”