XML question
Moderator: Cartographers
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
-
WidowMakers
- Posts: 2774
- Joined: Mon Nov 20, 2006 9:25 am
- Gender: Male
- Location: Detroit, MI
XML question
I only know XML enough to code the little we use for the maps. I was wondering if XML can have if...then statements in it. I have a few interesting ideas for gameplay and layouts if that is possible.

-
WidowMakers
- Posts: 2774
- Joined: Mon Nov 20, 2006 9:25 am
- Gender: Male
- Location: Detroit, MI
- joystickgenie
- Posts: 62
- Joined: Fri Feb 09, 2007 9:25 pm
I have a different xml question.
I have been thinking about different styles of game play that could be put together and one thing I would like to have is a little extra control over deployment. Is there a way to say that you can’t deploy armies on certain territories during the deployment step? This would be used for making some territories that can only be held by armies that have been moved to that territory from another one during the attack or during the fortification step (preferably I would like separate control of each) This could also be used for making DMZs where no units can be fortified into the zone or deployed to the zone but you can attack though the zone.
Maybe a way to use different xml files depending on the current step of the turn? In looking over the XML files of the maps that are currently up it doesn’t seem like there is functionality for something like this but I thought I would ask just to make sure.
I have been thinking about different styles of game play that could be put together and one thing I would like to have is a little extra control over deployment. Is there a way to say that you can’t deploy armies on certain territories during the deployment step? This would be used for making some territories that can only be held by armies that have been moved to that territory from another one during the attack or during the fortification step (preferably I would like separate control of each) This could also be used for making DMZs where no units can be fortified into the zone or deployed to the zone but you can attack though the zone.
Maybe a way to use different xml files depending on the current step of the turn? In looking over the XML files of the maps that are currently up it doesn’t seem like there is functionality for something like this but I thought I would ask just to make sure.
- joystickgenie
- Posts: 62
- Joined: Fri Feb 09, 2007 9:25 pm
Expansion of the map xml would have to be done by Lack...
There are plenty of things out there that would be cool to have to be manipulated in the XML - at present we simply have countries - continents and their Co-ordinates...
Specifying neutral countries would be ace - as would amount of armies placed on them if neutral.
Manipulation based on continents and borders is possilbe now (hence one way attacks - & continents with same countries in etc)
C.
There are plenty of things out there that would be cool to have to be manipulated in the XML - at present we simply have countries - continents and their Co-ordinates...
Specifying neutral countries would be ace - as would amount of armies placed on them if neutral.
Manipulation based on continents and borders is possilbe now (hence one way attacks - & continents with same countries in etc)
C.

Highest score : 2297
