XML question

Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.
Post Reply
WidowMakers
Posts: 2774
Joined: Mon Nov 20, 2006 9:25 am
Gender: Male
Location: Detroit, MI

XML question

Post by WidowMakers »

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.
Image
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

XML is merely a data markup language...

There is no control other than what the reader places over it.

Soz... If Lack coded some stuff up then you could... can't see it happening for a while.

C.
Image
Highest score : 2297
WidowMakers
Posts: 2774
Joined: Mon Nov 20, 2006 9:25 am
Gender: Male
Location: Detroit, MI

Post by WidowMakers »

Thanks
Image
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

No worries pal.

C.
Image
Highest score : 2297
User avatar
joystickgenie
Posts: 62
Joined: Fri Feb 09, 2007 9:25 pm

Post by joystickgenie »

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.
Image

Shinobi Nations
Comments are greatly appreciated.
User avatar
DiM
Posts: 10415
Joined: Wed Feb 14, 2007 6:20 pm
Gender: Male
Location: making maps for scooby snacks

Post by DiM »

at the moment it's not possible. i suggested something like this and no :(
“In the beginning God said, the four-dimensional divergence of an antisymmetric, second rank tensor equals zero, and there was light, and it was good. And on the seventh day he rested.”- Michio Kaku
User avatar
joystickgenie
Posts: 62
Joined: Fri Feb 09, 2007 9:25 pm

Post by joystickgenie »

aww well thats sad. I had so many fun ideas that I could implement if I had some sort of options like that.
Image

Shinobi Nations
Comments are greatly appreciated.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

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.
Image
Highest score : 2297
Post Reply

Return to “Foundry Discussions”