1756243684
1756243684 Conquer Club • View topic - If...Then Statements in the XML
Conquer Club

If...Then Statements in the XML

Suggestions that have been archived.

Moderator: Community Team

If...Then Statements in the XML

Postby The Neon Peon on Mon Oct 26, 2009 10:06 pm

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.
User avatar
Lieutenant The Neon Peon
 
Posts: 2342
Joined: Sat Jun 14, 2008 12:49 pm

Re: If...Then Statements in the XML

Postby AndyDufresne on Tue Oct 27, 2009 12:02 pm

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
User avatar
Corporal 1st Class AndyDufresne
 
Posts: 24935
Joined: Fri Mar 03, 2006 8:22 pm
Location: A Banana Palm in Zihuatanejo

Re: If...Then Statements in the XML

Postby the.killing.44 on Tue Oct 27, 2009 4:34 pm

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*
User avatar
Captain the.killing.44
 
Posts: 4724
Joined: Thu Oct 23, 2008 7:43 pm
Location: now tell me what got two gums and knows how to spit rhymes

Re: If...Then Statements in the XML

Postby AndyDufresne on Wed Oct 28, 2009 11:41 am

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
User avatar
Corporal 1st Class AndyDufresne
 
Posts: 24935
Joined: Fri Mar 03, 2006 8:22 pm
Location: A Banana Palm in Zihuatanejo

Re: If...Then Statements in the XML

Postby the.killing.44 on Wed Oct 28, 2009 2:00 pm

:D Awesome!
User avatar
Captain the.killing.44
 
Posts: 4724
Joined: Thu Oct 23, 2008 7:43 pm
Location: now tell me what got two gums and knows how to spit rhymes

Re: If...Then Statements in the XML

Postby john9blue on Wed Oct 28, 2009 2:29 pm

This would be amazing.
natty_dread wrote:Do ponies have sex?
Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"
(proud member of the Occasionally Wrongly Banned)
User avatar
Captain john9blue
 
Posts: 1268
Joined: Mon Aug 20, 2007 6:18 pm
Location: FlutterChi-town

Re: If...Then Statements in the XML

Postby Mr_Adams on Wed Oct 28, 2009 11:59 pm

you mena like "if player A holds teritories a and b, then a can attack c"?
Image
User avatar
Captain Mr_Adams
 
Posts: 1987
Joined: Fri Jul 13, 2007 8:33 pm

Re: If...Then Statements in the XML

Postby the.killing.44 on Mon Nov 09, 2009 9:33 pm

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.
User avatar
Captain the.killing.44
 
Posts: 4724
Joined: Thu Oct 23, 2008 7:43 pm
Location: now tell me what got two gums and knows how to spit rhymes

Re: If...Then Statements in the XML

Postby natty dread on Tue Nov 10, 2009 6:34 am

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 :)
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 12877
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked

Re: If...Then Statements in the XML

Postby yeti_c on Wed Nov 11, 2009 1:10 pm

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


Return to Archived Suggestions

Who is online

Users browsing this forum: No registered users