Primarly and secondary Objectives
Moderator: Cartographers
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
- Qwert
- SoC Training Adviser
- Posts: 9262
- Joined: Tue Nov 07, 2006 5:07 pm
- Location: VOJVODINA
- Contact:
Primarly and secondary Objectives
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?
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?
Re: Primarly and secondary Objectives
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.

Highest score : 2297
- Qwert
- SoC Training Adviser
- Posts: 9262
- Joined: Tue Nov 07, 2006 5:07 pm
- Location: VOJVODINA
- Contact:
Re: Primarly and secondary Objectives
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?
-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?
Re: Primarly and secondary Objectives
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.

Highest score : 2297
Re: Primarly and secondary Objectives
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?
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?
- Ruben Cassar
- Posts: 2160
- Joined: Thu Nov 16, 2006 6:04 am
- Gender: Male
- Location: Civitas Invicta, Melita, Evropa
Re: Primarly and secondary Objectives
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
- Qwert
- SoC Training Adviser
- Posts: 9262
- Joined: Tue Nov 07, 2006 5:07 pm
- Location: VOJVODINA
- Contact:
Re: Primarly and secondary Objectives
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
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 talkcan'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.
Re: Primarly and secondary Objectives
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.
- the.killing.44
- Posts: 4724
- Joined: Thu Oct 23, 2008 7:43 pm
- Gender: Male
- Location: now tell me what got two gums and knows how to spit rhymes
- Contact:
Re: Primarly and secondary Objectives
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
Re: Primarly and secondary Objectives
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>
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>
Re: Primarly and secondary Objectives
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.
(Although I coded BOB so that it would work with them - I don't think Lack did)
C.

Highest score : 2297
- Qwert
- SoC Training Adviser
- Posts: 9262
- Joined: Tue Nov 07, 2006 5:07 pm
- Location: VOJVODINA
- Contact:
Re: Primarly and secondary Objectives
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?
Re: Primarly and secondary Objectives
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.

Highest score : 2297
Re: Primarly and secondary Objectives
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.
"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.
- Qwert
- SoC Training Adviser
- Posts: 9262
- Joined: Tue Nov 07, 2006 5:07 pm
- Location: VOJVODINA
- Contact:
Re: Primarly and secondary Objectives
Can someon help me how many combination i must write, its possible to use some program who will calculated that?
- Qwert
- SoC Training Adviser
- Posts: 9262
- Joined: Tue Nov 07, 2006 5:07 pm
- Location: VOJVODINA
- Contact:
Finding Combinations
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
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
Re: Finding Combinations
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?
(proud member of the Occasionally Wrongly Banned)Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"
- Qwert
- SoC Training Adviser
- Posts: 9262
- Joined: Tue Nov 07, 2006 5:07 pm
- Location: VOJVODINA
- Contact:
Re: Finding Combinations
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

- gimil
- Posts: 8599
- Joined: Sat Mar 03, 2007 12:42 pm
- Gender: Male
- Location: United Kingdom (Scotland)
Re: Finding Combinations
Since you already have a thread about this qwert there is no need to start a new thread on the subject.
[Merged]
[Merged]
What do you know about map making, bitch?
Top Score:2403
natty_dread wrote:I was wrong
Top Score:2403
- the.killing.44
- Posts: 4724
- Joined: Thu Oct 23, 2008 7:43 pm
- Gender: Male
- Location: now tell me what got two gums and knows how to spit rhymes
- Contact:
Re: Finding Combinations
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
- Qwert
- SoC Training Adviser
- Posts: 9262
- Joined: Tue Nov 07, 2006 5:07 pm
- Location: VOJVODINA
- Contact:
Re: Primarly and secondary Objectives
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?
- the.killing.44
- Posts: 4724
- Joined: Thu Oct 23, 2008 7:43 pm
- Gender: Male
- Location: now tell me what got two gums and knows how to spit rhymes
- Contact:
Re: Primarly and secondary Objectives
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
Re: Primarly and secondary Objectives
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.
- the.killing.44
- Posts: 4724
- Joined: Thu Oct 23, 2008 7:43 pm
- Gender: Male
- Location: now tell me what got two gums and knows how to spit rhymes
- Contact:
Re: Primarly and secondary Objectives
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
Still a lot of coding to be done.
.44
Re: Primarly and secondary Objectives
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

PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that





