XML Update: Finally!! LOL

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

Moderators: Cartographers, Global Moderators

Forum rules
Please read the Community Guidelines before posting.

XML Update: Finally!! LOL

Postby thenobodies80 on Fri Jul 27, 2012 4:07 pm

Hello Mapmakers,

As you certainly know, a couple of days ago I've confirmed that Admins were actively working on some elements for the Map Foundry.
Today I'm happy and honoured to be able to give you more details of their work and finally announce this, let me say, huge and important Update.

So, without any further ado, let me introduce:



Bonus Collections

The bonus collections is an update that give to us more flexibility with bonuses. It doesn't allow many new gameplay elements but it makes possible to shorten the code, and those of you who are more experienced with the developement of big maps know well how much can be a pain to code everything without having a long and big file. In addition, this update will solve an issue we had to face twice in past (Research&Conquer and War of Wizards), infact the game engine can't handle too big xml files.
But let me show you the update more in detail.

The first thing that we can do now is to write a single list for a bonus in which the bonus value changes with the number of regions of that bonus (or continent) that we hold.
Till today, we had to use overrides, in that way we were able to cancel a bonus in favour of another, but now we can use this system:

Code: Select all
<continent>
<bonuses>
<bonus required="5">5</bonus>
<bonus required="8">15</bonus>
<bonus required="11">45</bonus>
</bonuses>
<components>
<component type="mandatory">essential country 1</component>
<component type="mandatory">essential country 2</component>
<component type="blocker">bad country!</component>
<component>variable country 1</component>
<component>variable country 2</component>
<component>variable country 3</component>
</components>
</continent>


As you can see, now all partial bonuses can be listed at once, you need just to use the <bonus> tag and write the number of required regions within the tag.
Mandatory components are self explanatory, you need to hold that region (or regions) in order to receive the bonus, instead, the blocker component works the opposite, if you hold it, you don't receive the bonus. It's important to know that the mandatory and the blocker components are always valid and applies on all bonuses listed into the continent.

But there's more! Look at this code:

Code: Select all
    <continent>
    <bonus>5</bonus>
    <components>
    <component type="multiplier" factor="1.5">multiplier country</component>
    <component>country 1</component>
    <component>country 2</component>
    <component>country 3</component>
    </components>
    </continent>


You can see the "Multiplier" and "factor" options within the component tag.
If you use this tag, when a player hold that country, the bonus is multiplied for the factor number. If the number is not a perfect one, it is rounded to the nearest.
So, for example a bonus of 7 with a multiplier of 1.5 will give you 11 troops.

The above codes are just examples, but I'm sure you are able to use them in more constructive ways. ;)
There are some details to explain but we're working on a guide in which you'll find all the info you need to know, but in the meanwhile if you have question feel free to ask!


The end? That's all?
No, there's something else for us!

So, with tears of joy.....I'm really happy to announce that now we have:



Conditional Borders

This update allows more dynamic control of borders and it opens up Conquer Club to a whole new level of strategy!
Now you are able to use dynamic boders on your map, so a region A borders with a Region B only if the player holds "something"

But how looks the code?

Code: Select all
    <territory>
    <name>Sao Paulo</name>
    <borders>
    <border>Bogota</border>
    <border>Lima</border>
    <border condition="New York">Buenos Aires</border>
    <border condition="Oceania">Dakar</border>
    </borders>
    <coordinates>
    ...
    </coordinates>
    </territory>


As you can see in the example Sao Paulo borders with Buenos Aires only if you hold New York. Or it can border with Dakar if you hold the whole Oceania.
Yeah, you got it right! Also continents can be used as conditions.
Again the above is just an example and there're plenty ways to use them. This update is certainly one of those who will give us many and many new type of maps to draw.
For example it can used on a map in a way you can unlock a door only if you have a key, or you can "pass a bridge" only if you hold a specific region.
The only limit is the sky!

I really hope you are happy for these updates, enjoy them and now start to draw! :D

But, before to leave, let me say that lackattack is working on something else, something that will be useful for the foundry but that will have also a larger impact on the whole CC Community. He is working on a Map Database, right now he has finished the Phase 1, which is the back end. Currently we're all working on it to populate the non-automatic data and soon Lack will start to work on the Phase 2, that is a public Map Gallery.

Right now we're not able to set a precise deadline since there's some stuff to do, but for now don't think about it since you can spend your time playing with the new toys. ;)
Have fun!


Nobodies

Give every man your ear, but few thy voice. Take each man's censure, but reserve thy judgment.
show
User avatar
Corporal 1st Class thenobodies80
Foundry Foreman
Foundry Foreman
 
Posts: 5637
Joined: Wed Sep 05, 2007 4:30 am
Medals: 70
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (2) Teammate Achievement (1) Cross-Map Achievement (3) Bot Achievement (1) Ratings Achievement (4)
General Achievement (8) Map Contribution (7) Tournament Contribution (6) General Contribution (17)

Re: XML Update: Finally!! LOL

Postby DiM on Fri Jul 27, 2012 4:14 pm

aside from conditional borders the others are....meh.


as for the map database/gallery it's a disgrace that it's been over 3 months since you published your map gallery and it still hasn't been implemented yet.

so now that the boycott is over can i put back my maps so i can be done with the foundry?

PS: also i'm curious, why did the foundry have to rebel to get this? why isn't lack providing these sort of updates on his own and would rather wait to be forced to do it?
“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
Image
User avatar
Major DiM
 
Posts: 10386
Joined: Wed Feb 14, 2007 6:20 pm
Location: making maps for scooby snacks
Medals: 45
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Terminator Achievement (2) Assassin Achievement (2)
Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (1)
Cross-Map Achievement (2) Ratings Achievement (3) Tournament Achievement (4) General Achievement (4) Map Contribution (10)
Tournament Contribution (4) General Contribution (3)

Re: XML Update: Finally!! LOL

Postby thenobodies80 on Fri Jul 27, 2012 4:32 pm

DiM wrote:aside from conditional borders the others are....meh.


Like I said collections are more an improvement than a real update. Anyway it is useful because it's a solid base on which future updates can be built on and moreover now there's no more problem with file size.

DiM wrote:as for the map database/gallery it's a disgrace that it's been over 3 months since you published your map gallery and it still hasn't been implemented yet.


Partially it's my fault since i took a long break fpr personal reasons. But we're working on it full time and I can assure you that Lack has already did a great job with the back end.

DiM wrote:so now that the boycott is over can i put back my maps so i can be done with the foundry?


You were free to put back your maps in every moment, it was just up to you when and how long partecipite to the "strike".

DiM wrote:PS: also i'm curious, why did the foundry have to rebel to get this? why isn't lack providing these sort of updates on his own and would rather wait to be forced to do it?


I prefer to not respond to a question that is not directed to me, but I can ask to him.
Personally, I don't care too much...the important thing is that in the future things will work in a different way. I don't care so much about past, but it's just a personal opinion. ;)

Give every man your ear, but few thy voice. Take each man's censure, but reserve thy judgment.
show
User avatar
Corporal 1st Class thenobodies80
Foundry Foreman
Foundry Foreman
 
Posts: 5637
Joined: Wed Sep 05, 2007 4:30 am
Medals: 70
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (2) Teammate Achievement (1) Cross-Map Achievement (3) Bot Achievement (1) Ratings Achievement (4)
General Achievement (8) Map Contribution (7) Tournament Contribution (6) General Contribution (17)

Re: XML Update: Finally!! LOL

Postby DiM on Fri Jul 27, 2012 4:43 pm

thenobodies80 wrote:
DiM wrote:as for the map database/gallery it's a disgrace that it's been over 3 months since you published your map gallery and it still hasn't been implemented yet.


Partially it's my fault since i took a long break fpr personal reasons. But we're working on it full time and I can assure you that Lack has already did a great job with the back end.


it has nothing to do with you. this should have been done by lack a long time ago. the fact that you actually did it before he did says a lot.

thenobodies80 wrote:
DiM wrote:PS: also i'm curious, why did the foundry have to rebel to get this? why isn't lack providing these sort of updates on his own and would rather wait to be forced to do it?


I prefer to not respond to a question that is not directed to me, but I can ask to him.
Personally, I don't care too much...the important thing is that in the future things will work in a different way. I don't care so much about past, but it's just a personal opinion. ;)


what do you mean about the future?
are we supposed to expect regular updates?
will the other xml requests be worked on?
will the site get an interface overhaul?
will lack switch to html5?

or is this a "let's give them something to shut them up for the next few years" kind of update?
“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
Image
User avatar
Major DiM
 
Posts: 10386
Joined: Wed Feb 14, 2007 6:20 pm
Location: making maps for scooby snacks
Medals: 45
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Terminator Achievement (2) Assassin Achievement (2)
Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (1)
Cross-Map Achievement (2) Ratings Achievement (3) Tournament Achievement (4) General Achievement (4) Map Contribution (10)
Tournament Contribution (4) General Contribution (3)

Re: XML Update: Finally!! LOL

Postby thenobodies80 on Fri Jul 27, 2012 4:58 pm

DiM wrote:
thenobodies80 wrote:
DiM wrote:as for the map database/gallery it's a disgrace that it's been over 3 months since you published your map gallery and it still hasn't been implemented yet.


Partially it's my fault since i took a long break fpr personal reasons. But we're working on it full time and I can assure you that Lack has already did a great job with the back end.


it has nothing to do with you. this should have been done by lack a long time ago. the fact that you actually did it before he did says a lot.


For me it means just that lackattack needs a hand because it has too may things to do compared with the time available.

DiM wrote:what do you mean about the future?
are we supposed to expect regular updates?
will the other xml requests be worked on?
will the site get an interface overhaul?
will lack switch to html5?

or is this a "let's give them something to shut them up for the next few years" kind of update?


Do you think I am Nostradamus? :lol:

How do you think it's possible for me to give an answer to all those questions? Simply I don't know...that's what I hope, just that. I'm strongly convinced that with the right people and with the right words things can change.

DiM, the difference between you and me it's just that I'm always available to talk with a person, listen his reasoning and, if it is the case, give him another chance without to have to shout loud all time! ( I love you anyway :mrgreen: ;) )
I understand your feeling and your thoughts, but you asked for actions, facts. You had actions and facts....why there always be the necessity to find out something wrong in the middle of a couple of good things?

If you break the legs to a man every single time that he tries to learn to walk, how he can start to learn to walk?
You want too much and it all together! Like I said in past, diplomacy....time requires time. O:)

Give every man your ear, but few thy voice. Take each man's censure, but reserve thy judgment.
show
User avatar
Corporal 1st Class thenobodies80
Foundry Foreman
Foundry Foreman
 
Posts: 5637
Joined: Wed Sep 05, 2007 4:30 am
Medals: 70
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (2) Teammate Achievement (1) Cross-Map Achievement (3) Bot Achievement (1) Ratings Achievement (4)
General Achievement (8) Map Contribution (7) Tournament Contribution (6) General Contribution (17)

Re: XML Update: Finally!! LOL

Postby tsioumiou on Fri Jul 27, 2012 4:59 pm

Sounds like a great improvement. =D> =D> =D>

Dim why the trolling from the first post? You could have waited a bit :)
Image
User avatar
Major tsioumiou
 
Posts: 210
Joined: Sat Oct 27, 2007 2:15 pm
Medals: 60
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (4) Nuclear Spoils Achievement (3) Fog of War Achievement (4)
Trench Warfare Achievement (3) Speed Achievement (4) Teammate Achievement (3) Random Map Achievement (3) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (3) Clan Achievement (4) Tournament Contribution (1)

Re: XML Update: Finally!! LOL

Postby DiM on Fri Jul 27, 2012 5:10 pm

i'm not trolling at all. i do think the update is a good one. not a great one, but a good one.
however i can't help feeling disappointed that conditional borders are finally implemented after 5 years of waiting.
my trust has been lost and for it to be regained it would take more than a single update. if i see constant updates, if i see lack actively getting involved with the foundry and expressing a genuine interest in what i believe to be the backbone of this site, then i'm more than willing to open my arms and give him my respect.
so this update is good, but unless it is followed by more such updates on a regular basis, then it's nothing but sand in our eyes.
“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
Image
User avatar
Major DiM
 
Posts: 10386
Joined: Wed Feb 14, 2007 6:20 pm
Location: making maps for scooby snacks
Medals: 45
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Terminator Achievement (2) Assassin Achievement (2)
Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (1)
Cross-Map Achievement (2) Ratings Achievement (3) Tournament Achievement (4) General Achievement (4) Map Contribution (10)
Tournament Contribution (4) General Contribution (3)

Re: XML Update: Finally!! LOL

Postby Oneyed on Fri Jul 27, 2012 5:52 pm

thenobodies80 wrote:
DiM wrote:so now that the boycott is over can i put back my maps so i can be done with the foundry?


You were free to put back your maps in every moment, it was just up to you when and how long partecipite to the "strike".


does it means that protest it finished?
Sergeant 1st Class Oneyed
 
Posts: 857
Joined: Sat Dec 10, 2011 12:29 pm
Medals: 11
Standard Achievement (2) Doubles Achievement (1) Terminator Achievement (1) Manual Troops Achievement (1) Fog of War Achievement (2)
Trench Warfare Achievement (2) Teammate Achievement (1) Cross-Map Achievement (1)

Re: XML Update: Finally!! LOL

Postby isaiah40 on Fri Jul 27, 2012 5:53 pm

Oneyed wrote:
thenobodies80 wrote:
DiM wrote:so now that the boycott is over can i put back my maps so i can be done with the foundry?


You were free to put back your maps in every moment, it was just up to you when and how long partecipite to the "strike".


does it means that protest it finished?

Yes.
ImageImage
show: High Score
User avatar
Lieutenant isaiah40
 
Posts: 3957
Joined: Mon Aug 27, 2007 7:14 pm
Location: To be absent from the body is to be present with Christ
Medals: 36
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Assassin Achievement (2) Freestyle Achievement (2) Fog of War Achievement (2) Speed Achievement (3) Teammate Achievement (1)
Cross-Map Achievement (2) Ratings Achievement (2) General Achievement (4) Map Contribution (5) General Contribution (6)

Re: XML Update: Finally!! LOL

Postby Robert E Nick on Fri Jul 27, 2012 6:17 pm

I have no Idea what any of this means but the conditional borders sounds cool!
User avatar
Sergeant 1st Class Robert E Nick
 
Posts: 46
Joined: Mon Sep 19, 2011 8:28 pm
Location: Atlantis
Medals: 20
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Assassin Achievement (2) Manual Troops Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (2) Random Map Achievement (1)
Ratings Achievement (2) Tournament Achievement (1) General Achievement (1)

Re: XML Update: Finally!! LOL

Postby ManBungalow on Fri Jul 27, 2012 6:29 pm

Robert E Nick wrote:I have no Idea what any of this means but the conditional borders sounds cool!

It just means DiM is being a miserable arsewipe again.
Image
User avatar
Brigadier ManBungalow
 
Posts: 3243
Joined: Sun Jan 13, 2008 7:02 am
Location: On a giant rock orbiting a star somewhere
Medals: 84
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (4) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (2)
General Achievement (10) Clan Achievement (12) Tournament Contribution (3) General Contribution (6)

Re: XML Update: Finally!! LOL

Postby DiM on Fri Jul 27, 2012 6:36 pm

ManBungalow wrote:DiM is being a miserable arsewipe again.


who let the wannabe mapmaker out of the recycle bin? :roll:
“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
Image
User avatar
Major DiM
 
Posts: 10386
Joined: Wed Feb 14, 2007 6:20 pm
Location: making maps for scooby snacks
Medals: 45
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Terminator Achievement (2) Assassin Achievement (2)
Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (1)
Cross-Map Achievement (2) Ratings Achievement (3) Tournament Achievement (4) General Achievement (4) Map Contribution (10)
Tournament Contribution (4) General Contribution (3)

Re: XML Update: Finally!! LOL

Postby isaiah40 on Fri Jul 27, 2012 6:36 pm

ManBungalow wrote:
Robert E Nick wrote:I have no Idea what any of this means but the conditional borders sounds cool!

It just means DiM is being a miserable arsewipe again.

Okay man, I think whaat Robert is saying is that he has no idea what the updates mean.
ImageImage
show: High Score
User avatar
Lieutenant isaiah40
 
Posts: 3957
Joined: Mon Aug 27, 2007 7:14 pm
Location: To be absent from the body is to be present with Christ
Medals: 36
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Assassin Achievement (2) Freestyle Achievement (2) Fog of War Achievement (2) Speed Achievement (3) Teammate Achievement (1)
Cross-Map Achievement (2) Ratings Achievement (2) General Achievement (4) Map Contribution (5) General Contribution (6)

Re: XML Update: Finally!! LOL

Postby zimmah on Fri Jul 27, 2012 6:58 pm

Robert E Nick wrote:I have no Idea what any of this means but the conditional borders sounds cool!


basically the updates mean that it became a little bit easier to make complex continents work. so that really complex maps that were in development for years can finally be finished, because otherwise the code would be too big to handle for the site. It also saves time on other maps that would be big but still playable. as far as i know they don;t really unlock new options other than complexity limitations due to size.

for example, see the research and conquer map. Even though it would have been theoretically be possible to create the XML for that map, it would be so huge that it would just not work, the game engine couldn't handle it. This new update allows them to rewrite the XML in a way that it would be small enough to work.

conditional borders are a new feature that allow new kinds of maps. and we may see them soon. It's especially nice for dungeon-type maps, as you can allow doors to only open if you have one or multiple keys.
Image
owenshooter wrote:i disagree with you and i'm right!

Een van de Veroveraars der Lage Landen
User avatar
Lieutenant zimmah
 
Posts: 1628
Joined: Fri Jun 01, 2007 12:43 pm
Location: VDLL
Medals: 42
Standard Achievement (2) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (3) Clan Achievement (4) Map Contribution (4)

Re: XML Update: Finally!! LOL

Postby cairnswk on Fri Jul 27, 2012 8:22 pm

Hopefully, now....those of us who wish to return or continue in a positive and proactive way can get on with the business of mapmaking :)
User avatar
Corporal cairnswk
 
Posts: 11490
Joined: Sat Feb 03, 2007 8:32 pm
Medals: 50
Standard Achievement (2) Doubles Achievement (1) Fog of War Achievement (1) Speed Achievement (1) Teammate Achievement (1)
Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (2) Map Contribution (35) General Contribution (3)

Next

Return to Foundry Discussions

Who is online

Users browsing this forum: No registered users and 0 guests

cron
Login