Page 1 of 1

If...Then Statements in the XML

PostPosted: Mon Oct 26, 2009 10:06 pm
by The Neon Peon
Concise description:
  • Update the XML to allow map makers to use "if...then" statements.

Specifics:
  • I have no clue how the site is coded, so I wouldn't know and specifics.

This will improve the following aspects of the site:
  • Options for new maps are diminishing. We need some new gameplay.
  • An "if... then" statement can be used to do a whole ton of stuff. It would create more new gameplay possibilities than any other addition to the xml.

Re: If...Then Statements in the XML

PostPosted: Tue Oct 27, 2009 12:02 pm
by AndyDufresne
A batch of new XML updates is planned---probably before the end of the year. And as always, I think the Foundry Discussions forum has topics regarding requests/ideas for new XML options.


--Andy

Re: If...Then Statements in the XML

PostPosted: Tue Oct 27, 2009 4:34 pm
by the.killing.44
AndyDufresne wrote:A batch of new XML updates is planned---probably before the end of the year. And as always, I think the Foundry Discussions forum has topics regarding requests/ideas for new XML options.


--Andy

Yeah there are topics … but they've been locked for reasons unbeknownst to me and in spite of my arguments. Also, your "probably" implies in the 2011-13 range. *sigh*

Re: If...Then Statements in the XML

PostPosted: Wed Oct 28, 2009 11:41 am
by AndyDufresne
Pretty sure no, Killing. :) The C.A.'s have dredged through the suggestions of past, since the last major XML update, and I think Lack has already picked out which ones he will be doing, before the year is out. ;)


--Andy

Re: If...Then Statements in the XML

PostPosted: Wed Oct 28, 2009 2:00 pm
by the.killing.44
:D Awesome!

Re: If...Then Statements in the XML

PostPosted: Wed Oct 28, 2009 2:29 pm
by john9blue
This would be amazing.

Re: If...Then Statements in the XML

PostPosted: Wed Oct 28, 2009 11:59 pm
by Mr_Adams
you mena like "if player A holds teritories a and b, then a can attack c"?

Re: If...Then Statements in the XML

PostPosted: Mon Nov 09, 2009 9:33 pm
by the.killing.44
Mr_Adams wrote:you mena like "if player A holds teritories a and b, then a can attack c"?

Yeah. "If player holds tert a, +2 added;" "If player holds terts a and b, +2 added to a;" etc. Conditional phrases.

Re: If...Then Statements in the XML

PostPosted: Tue Nov 10, 2009 6:34 am
by natty dread
the.killing.44 wrote:Yeah there are topics … but they've been locked for reasons unbeknownst to me and in spite of my arguments.


... says the guy who's campaigning to lock down the whole foundry... :-s :)

Re: If...Then Statements in the XML

PostPosted: Wed Nov 11, 2009 1:10 pm
by yeti_c
You need to suggest an example XML framework before this even gets looked at.

C.

For example

Code: Select all
<if>
  <components>
    <territory>dad</territory>
    <territory>mum</territory>
  </components>
  <then>
    <territory>
      <name>dad</name>
      <borders>
        <border>john</border>
        <border>james</border>
      </border>
    </territory>
    <territory>
      <name>mum</name>
      <borders>
        <border>john</border>
        <border>james</border>
      </border>
    </territory>
  </then>
</if>

<territory>
  <name>dad</name>
  <borders>
  </border>
</territory>

<territory>
  <name>mum</name>
  <borders>
  </border>
</territory>


In my example - dad and mum don't border their sons (James & John) unless you hold both of them...

C.