Conquer Club

Primarly and secondary Objectives

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.

Primarly and secondary Objectives

Postby Qwert on Mon Apr 06, 2009 8:52 am

Ok i need some help with these.
I want to create Primarly and secondary objectives(or how you say in english)
I want to TRoadians be primarly objectives,and without these territory you can not achive win, also you have to capture 3 any other Shields and to complete objectives. How its these write in XML?
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Primarly and secondary Objectives

Postby yeti_c on Mon Apr 06, 2009 8:53 am

qwert wrote:Ok i need some help with these.
I want to create Primarly and secondary objectives(or how you say in english)
I want to TRoadians be primarly objectives,and without these territory you can not achive win, also you have to capture 3 any other Shields and to complete objectives. How its these write in XML?


Can you explain better?

For an example of multiple Objectives - then you can look at the XML for Battle of Gazalla.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Primarly and secondary Objectives

Postby Qwert on Mon Apr 06, 2009 8:58 am

No multiple objectives,ok i will say these in way how will write in bonus box
-Capture Troadians and any 3 other Shields and hold for one turn to win a war-

In any 3 shields combinations ,4th shield need to be Troadians to achive Objectives, do you understand now?
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Primarly and secondary Objectives

Postby yeti_c on Mon Apr 06, 2009 9:03 am

qwert wrote:No multiple objectives,ok i will say these in way how will write in bonus box
-Capture Troadians and any 3 other Shields and hold for one turn to win a war-

In any 3 shields combinations ,4th shield need to be Troadians to achive Objectives, do you understand now?


OK.

To do this you'll just need to write multiple Objective groups.

i.e.

Code: Select all
<objective>
  <name>Win</name>
  <components>
    <territory>Troadian 1</territory>
    <territory>Troadian 2</territory>
    <territory>Troadian 3</territory>
    <territory>Shield 1</territory>
    <territory>Shield 2</territory>
    <territory>Shield 3</territory>
  </components>
</objective>

<objective>
  <name>Win</name>
  <components>
    <territory>Troadian 1</territory>
    <territory>Troadian 2</territory>
    <territory>Troadian 3</territory>
    <territory>Shield 1</territory>
    <territory>Shield 3</territory>
    <territory>Shield 4</territory>
  </components>
</objective>

<objective>
  <name>Win</name>
  <components>
    <territory>Troadian 1</territory>
    <territory>Troadian 2</territory>
    <territory>Troadian 3</territory>
    <territory>Shield 1</territory>
    <territory>Shield 4</territory>
    <territory>Shield 5</territory>
  </components>
</objective>

<objective>
  <name>Win</name>
  <components>
    <territory>Troadian 1</territory>
    <territory>Troadian 2</territory>
    <territory>Troadian 3</territory>
    <territory>Shield 2</territory>
    <territory>Shield 3</territory>
    <territory>Shield 4</territory>
  </components>
</objective>

<objective>
  <name>Win</name>
  <components>
    <territory>Troadian 1</territory>
    <territory>Troadian 2</territory>
    <territory>Troadian 3</territory>
    <territory>Shield 2</territory>
    <territory>Shield 3</territory>
    <territory>Shield 5</territory>
  </components>
</objective>

<objective>
  <name>Win</name>
  <components>
    <territory>Troadian 1</territory>
    <territory>Troadian 2</territory>
    <territory>Troadian 3</territory>
    <territory>Shield 2</territory>
    <territory>Shield 4</territory>
    <territory>Shield 5</territory>
  </components>
</objective>


Etc...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Primarly and secondary Objectives

Postby edbeard on Mon Apr 06, 2009 10:21 am

I think he means there's one shield called Troadians and a bunch of other shields.

You only need 4 shields for the objective but 1 of them HAS to be Troadians


can't he just have a continent with no bonus where it's any three shields (minus the troadians) and put that continent as one of the components?
User avatar
Lieutenant edbeard
 
Posts: 2501
Joined: Thu Mar 29, 2007 12:41 am

Re: Primarly and secondary Objectives

Postby Ruben Cassar on Mon Apr 06, 2009 11:10 am

qwert wrote:No multiple objectives,ok i will say these in way how will write in bonus box
-Capture Troadians and any 3 other Shields and hold for one turn to win a war-

In any 3 shields combinations ,4th shield need to be Troadians to achive Objectives, do you understand now?


I need some extra cash right now qwert.

In these past 2 years that I have known you your English has not improved.

I can give you some online lessons at the rate of 12 Euro per hour if you are interested! :p
ImageImageImageImageImage
User avatar
Colonel Ruben Cassar
 
Posts: 2160
Joined: Thu Nov 16, 2006 6:04 am
Location: Civitas Invicta, Melita, Evropa

Re: Primarly and secondary Objectives

Postby Qwert on Mon Apr 06, 2009 5:43 pm

i need some extra cash right now qwert.

In these past 2 years that I have known you your English has not improved.

I can give you some online lessons at the rate of 12 Euro per hour if you are interested! :

Ruben i promise,first time when i get serious $ money for mine map,you will get 50%,its these ok :roll:

by edbeard » Mon Apr 06, 2009 5:21 pm

I think he means there's one shield called Troadians and a bunch of other shields.

You only need 4 shields for the objective but 1 of them HAS to be Troadians

Yes these is what im talk
can't he just have a continent with no bonus where it's any three shields (minus the troadians) and put that continent as one of the components?

these map dont have continents.
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Primarly and secondary Objectives

Postby edbeard on Mon Apr 06, 2009 8:31 pm

that's not what I'm saying. I'm saying you make a continent defined as "at least three shields" with no bonus purely to serve the objective in the XML. I don't know if a component of an objective can be a continent though.
User avatar
Lieutenant edbeard
 
Posts: 2501
Joined: Thu Mar 29, 2007 12:41 am

Re: Primarly and secondary Objectives

Postby the.killing.44 on Mon Apr 06, 2009 8:42 pm

edbeard wrote:that's not what I'm saying. I'm saying you make a continent defined as "at least three shields" with no bonus purely to serve the objective in the XML. I don't know if a component of an objective can be a continent though.

Wouldn't naming the objective "At Least 3 Shields" and then making the objective just all the territories instead of the continent suffice? I mean, <continent> saves a lot of time, but it's still possible …

.44
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: Primarly and secondary Objectives

Postby edbeard on Mon Apr 06, 2009 9:08 pm

you can't just name it at least 3. you have to define it...unless you're talking about making X continents for however many combinations there are of holding any 3 shields which is just silly because it's vastly inferior assuming this is allowable in the XML which I don't see why it wouldn't be.

here's what I think qwert can do. I don't know the names of his territories but it shows what I'm talking about.

continent>
<name>At Least Three Shields</name>
<bonus>0</bonus>
<components>
<territory>Shield 1</territory>
<territory>Shield 2</territory>
<territory>Shield 3</territory>
<territory>Shield 4</territory>
<territory>Shield 5</territory>
<territory>Shield 6</territory>
</components>
<required>3</required>
</continent>

<objective>
<name>Objective</name>
<components>
<territory>Troadians</territory>
<continent>At Least Three Shields</continent>
</components>
</objective>
User avatar
Lieutenant edbeard
 
Posts: 2501
Joined: Thu Mar 29, 2007 12:41 am

Re: Primarly and secondary Objectives

Postby yeti_c on Tue Apr 07, 2009 2:50 am

I've got a feeling that <continent> tags aren't allowed in <objective> tags...

(Although I coded BOB so that it would work with them - I don't think Lack did)

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Primarly and secondary Objectives

Postby Qwert on Tue Apr 07, 2009 8:46 am

continent>
<name>At Least Three Shields</name>
<bonus>0</bonus>
<components>
<territory>Shield 1</territory>
<territory>Shield 2</territory>
<territory>Shield 3</territory>
<territory>Shield 4</territory>
<territory>Shield 5</territory>
<territory>Shield 6</territory>
</components>
<required>3</required>
</continent>

<objective>
<name>Objective</name>
<components>
<territory>Troadians</territory>
<continent>At Least Three Shields</continent>
</components>
</objective>

Its these going to work?
Are you want to tell me that its not possible to create XML code where you have two objectives who must be connected?
<objective>
<name>Win</name>
<components>
<territory>Troadian 1</territory>
<territory>Troadian 2</territory>
<territory>Troadian 3</territory>
<territory>Shield 1</territory>
<territory>Shield 2</territory>
<territory>Shield 3</territory>
</components>
</objective>

<objective>
<name>Win</name>
<components>
<territory>Troadian 1</territory>
<territory>Troadian 2</territory>
<territory>Troadian 3</territory>
<territory>Shield 1</territory>
<territory>Shield 3</territory>
<territory>Shield 4</territory>
</components>
</objective>

<objective>
<name>Win</name>
<components>
<territory>Troadian 1</territory>
<territory>Troadian 2</territory>
<territory>Troadian 3</territory>
<territory>Shield 1</territory>
<territory>Shield 4</territory>
<territory>Shield 5</territory>
</components>
</objective>

<objective>
<name>Win</name>
<components>
<territory>Troadian 1</territory>
<territory>Troadian 2</territory>
<territory>Troadian 3</territory>
<territory>Shield 2</territory>
<territory>Shield 3</territory>
<territory>Shield 4</territory>
</components>
</objective>

<objective>
<name>Win</name>
<components>
<territory>Troadian 1</territory>
<territory>Troadian 2</territory>
<territory>Troadian 3</territory>
<territory>Shield 2</territory>
<territory>Shield 3</territory>
<territory>Shield 5</territory>
</components>
</objective>

<objective>
<name>Win</name>
<components>
<territory>Troadian 1</territory>
<territory>Troadian 2</territory>
<territory>Troadian 3</territory>
<territory>Shield 2</territory>
<territory>Shield 4</territory>
<territory>Shield 5</territory>
</components>
</objective>

These XML code confusing me,because i have only one territory Troadians not 3.
Maybe will these work.
<objective>
<name>Capture Troadians and any 3 Shields</name>
<components>
<territory>Troadian</territory>
<territory>Shield 1(name of territory)</territory>
<territory>Shield 2(name of territory)</territory>
<territory>Shield 3(name of territory)</territory>
</components>
</objective>
<objective>
<name>Capture Troadians and any 3 Shields</name>
<components>
<territory>Troadian</territory>
<territory>Shield 1(name of territory)</territory>
<territory>Shield 2(name of territory)</territory>
<territory>Shield 4(name of territory)</territory>
</components>
</objective>
<objective>
<name>Capture Troadians and any 3 Shields</name>
<components>
<territory>Troadian</territory>
<territory>Shield 1(name of territory)</territory>
<territory>Shield 2(name of territory)</territory>
<territory>Shield 5(name of territory)</territory>
</components>
</objective>
<objective>
<name>Capture Troadians and any 3 Shields</name>
<components>
<territory>Troadian</territory>
<territory>Shield 1(name of territory)</territory>
<territory>Shield 2(name of territory)</territory>
<territory>Shield 6(name of territory)</territory>
</components>
</objective>
<objective>
<name>Capture Troadians and any 3 Shields</name>
<components>
<territory>Troadian</territory>
<territory>Shield 1(name of territory)</territory>
<territory>Shield 2(name of territory)</territory>
<territory>Shield 7(name of territory)</territory>
</components>
</objective>
..................................................................................
i need to put all combinations what can create 3 Shields+Troadians?
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Primarly and secondary Objectives

Postby yeti_c on Tue Apr 07, 2009 9:06 am

qwert wrote:i need to put all combinations what can create 3 Shields+Troadians?


Yes - that's what I think you need to do.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Primarly and secondary Objectives

Postby edbeard on Tue Apr 07, 2009 10:30 am

I decided to look at the XML Tutorial and it says this

"Objectives

Optionally, you can specify winning conditions for your map. An objective is a set of territories and/or continents that when held will give the player an early victory. A map can have several objectives and a held objective ends the game in both Assassin and Terminator games. In the case of a Terminator game points would be earned from all opponents who haven't been terminated. Suppose an objective is to hold both Asia and Alaska. The XML would look like this:"

while it says continents are OK, the XML example they provided only included territories as part of the code so it seems a bit unclear at best. it seems like lack would've put <continent>asia</continent> if that was possible with the code but maybe he didn't. either way, a continent SHOULD be a part of it. sounds like a good XML update to me.
User avatar
Lieutenant edbeard
 
Posts: 2501
Joined: Thu Mar 29, 2007 12:41 am

Re: Primarly and secondary Objectives

Postby Qwert on Tue Apr 07, 2009 11:55 am

Can someon help me how many combination i must write, its possible to use some program who will calculated that?
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Finding Combinations

Postby Qwert on Tue Apr 07, 2009 3:22 pm

Ok, i start creating xml code for Peloponnesians Objectives,and these show me that these objectives in xml can have very large number of combinations, and i hope that someon can find also combination oif im miss some.

Troadians-these need to be in all combinations

Every Combinations must have 3 of these names
Lacademonians
Corinthians
Athenians
Boeotians
Lydians
Erythraeans
Macedonians
----------------------------------------------------------------------------------
-C1
Troadians
Corinthians
Lacedaemonians
Athenians

-C2
Troadians
Corinthians
Lacedaemonians
Boeotians

-C3
Troadians
Corinthians
Lacedaemonians
erythraeans

-C4
Troadians
Corinthians
Lacedaemonians
Lydians

-C5
Troadians
Corinthians
Lacedaemonians
macedonians

-C6
Troadians
Corinthians
Athenians
Boeotians

-C7
Troadians
Corinthians
Athenians
Lydians

-C8
Troadians
Corinthians
Athenians
macedonians

-C9
Troadians
Athenians
Boeotians
lacademonians

-C10
Troadians
Athenians
Boeotians
erythraeans

-C11
Troadians
Athenians
Boeotians
Lydians

-C12
Troadians
Athenians
Boeotians
macedonians

-C13
Troadians
Athenians
erythraeans
lacademonians

-C14
Troadians
Athenians
erythraeans
Lydians

-C15
Troadians
Athenians
erythraeans
macedonians

-C16
Troadians
Athenians
Lydians
macedonians

-C17
Troadians
Athenians
Lydians
lacademonians

-C18
Troadians
Athenians
macedonians
lacademonians

-C19
Troadians
Boeotians
Lydians
Macedonians
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Finding Combinations

Postby john9blue on Tue Apr 07, 2009 3:37 pm

There are supposed to be 35 in total... I don't have time to list them all now. ;)
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: Finding Combinations

Postby Qwert on Tue Apr 07, 2009 4:01 pm

by john9blue » Tue Apr 07, 2009 10:37 pm

There are supposed to be 35 in total... I don't have time to list them all now.

are you serious #-o
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Finding Combinations

Postby gimil on Tue Apr 07, 2009 4:05 pm

Since you already have a thread about this qwert there is no need to start a new thread on the subject.

[Merged]
What do you know about map making, bitch?

natty_dread wrote:I was wrong


Top Score:2403
User avatar
Corporal 1st Class gimil
 
Posts: 8599
Joined: Sat Mar 03, 2007 12:42 pm
Location: United Kingdom (Scotland)

Re: Finding Combinations

Postby the.killing.44 on Tue Apr 07, 2009 4:42 pm

john9blue wrote:There are supposed to be 35 in total... I don't have time to list them all now. ;)

More … many, many more.

.44
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: Primarly and secondary Objectives

Postby Qwert on Tue Apr 07, 2009 4:47 pm

by the.killing.44 » Tue Apr 07, 2009 11:42 pm

john9blue wrote:
There are supposed to be 35 in total... I don't have time to list them all now.
More … many, many more.

What im mising?
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Primarly and secondary Objectives

Postby the.killing.44 on Tue Apr 07, 2009 4:55 pm

qwert wrote:
by the.killing.44 » Tue Apr 07, 2009 11:42 pm

john9blue wrote:
There are supposed to be 35 in total... I don't have time to list them all now.
More … many, many more.

What im mising?

basically, you have 19 groups, with 4 combinations in each. That right there is more than 35, to say the least. Then you have to bring all the groups together, taking off one at a time (first calculation uses 19 possibilities, second 18 and so on and so forth) that's a lot of combos…

.44
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: Primarly and secondary Objectives

Postby ZeakCytho on Tue Apr 07, 2009 5:10 pm

the.killing.44 wrote:
qwert wrote:
by the.killing.44 » Tue Apr 07, 2009 11:42 pm

john9blue wrote:
There are supposed to be 35 in total... I don't have time to list them all now.
More … many, many more.

What im mising?

basically, you have 19 groups, with 4 combinations in each. That right there is more than 35, to say the least. Then you have to bring all the groups together, taking off one at a time (first calculation uses 19 possibilities, second 18 and so on and so forth) that's a lot of combos…

.44


But I think you're skipping the fact that, in a group of elements A, B, C, D, E, F, G, for our purposes, ABC is the same as CAB, which is also the same as ACB, BCA, BAC, and CBA. You only need to count one of those six possibilities. When I calculated it I got 35 total as well.
User avatar
Captain ZeakCytho
 
Posts: 1251
Joined: Wed Sep 12, 2007 4:36 pm

Re: Primarly and secondary Objectives

Postby the.killing.44 on Tue Apr 07, 2009 5:44 pm

ZeakCytho wrote:
the.killing.44 wrote:
qwert wrote:
by the.killing.44 » Tue Apr 07, 2009 11:42 pm

john9blue wrote:
There are supposed to be 35 in total... I don't have time to list them all now.
More … many, many more.

What im mising?

basically, you have 19 groups, with 4 combinations in each. That right there is more than 35, to say the least. Then you have to bring all the groups together, taking off one at a time (first calculation uses 19 possibilities, second 18 and so on and so forth) that's a lot of combos…

.44


But I think you're skipping the fact that, in a group of elements A, B, C, D, E, F, G, for our purposes, ABC is the same as CAB, which is also the same as ACB, BCA, BAC, and CBA. You only need to count one of those six possibilities. When I calculated it I got 35 total as well.

Ah, yes — you're right. Scapegoat is my friend, who told me the formula :P
Still a lot of coding to be done.

.44
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: Primarly and secondary Objectives

Postby MrBenn on Tue Apr 07, 2009 6:21 pm

Hold your horses.... Before we go mad writing XML, I'll find out if a continent can be part of an objective - then we can make this a lot easier by using the <required> tag
Image
PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that
User avatar
Lieutenant MrBenn
 
Posts: 6880
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty

Next

Return to Foundry Discussions

Who is online

Users browsing this forum: No registered users

cron