[Online] Map XML Wizard

How to make a map. Official Handbook, Guides, Tutorials and more...

Moderators: Cartographers, Global Moderators

Forum rules
Please read the Community Guidelines before posting.

Re: NEW Map XML Wizard

Postby WidowMakers on Sun Jan 03, 2010 7:43 pm

Evil DIMwit wrote:Nooo... My immaculate perl skills are useless now :cry:

Well as cool as this tool is (very cool) , I would never want to do the XML for the Hive that way. Some maps (i.e. poker club, Hive) could be easier another way
Image
Colonel WidowMakers
 
Posts: 2772
Joined: Mon Nov 20, 2006 9:25 am
Location: Detroit, MI
Medals: 71
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Fog of War Achievement (2) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3) Ratings Achievement (2)
General Achievement (6) Clan Achievement (10) Map Contribution (21) General Contribution (14)

Re: NEW Map XML Wizard

Postby chipv on Sun Jan 03, 2010 7:46 pm

ender516 wrote:Getting back to the tool itself, I am pleased to see that chipv has attempted to auto-scale coordinates between map sizes. Am I correct that this happens only when the territory is initially created, and adjustments to each are made separately?


Yes I had to do that otherwise you would get changes on one affecting the other. Since there is probably always going to be a rounding error,
as most map sizes are not direct multiples, one map can have territories one pixel out, so if I kept on auto-calculating then you would never get it right.

So if you have 2 maps loaded, adding a territory to one map also auto-adds it to the other but thereafter they are left alone for manual
adjusting separately.

Best thing is to always load both maps, do all territories on one, then adjust the ones you need on the other map which shouldn't take long.
User avatar
Colonel chipv
 
Posts: 2758
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW Map XML Wizard

Postby ender516 on Sun Jan 03, 2010 7:49 pm

WidowMakers wrote:
Evil DIMwit wrote:Nooo... My immaculate perl skills are useless now :cry:

Well as cool as this tool is (very cool) , I would never want to do the XML for the Hive that way. Some maps (i.e. poker club, Hive) could be easier another way

You're quite right, there are maps with regular patterns where generated XML would be simpler. The great thing about this tool is that you could generate all the stuff with a pattern, then load that XML into this tool, and point and shoot to put in the odd bits.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: NEW Map XML Wizard

Postby natty dread on Sun Jan 03, 2010 8:01 pm

It would be very helpful if you could also scroll the map image sideways. Currently when you work on the large image, you can only scroll up and down, and so the editing window covers part of the image... so you'll have to zoom out which makes the positioning of coordinates hard.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13254
Joined: Fri Feb 08, 2008 8:58 pm
Location: fucked off
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Manual Troops Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (12) Map Contribution (12) General Contribution (7)

Re: NEW Map XML Wizard

Postby chipv on Tue Jan 05, 2010 3:42 am

natty_dread wrote:It would be very helpful if you could also scroll the map image sideways. Currently when you work on the large image, you can only scroll up and down, and so the editing window covers part of the image... so you'll have to zoom out which makes the positioning of coordinates hard.


Ok I will look into it.

I'm looking for ideas for extra warnings/errors in the XML validation as we can put is as many as we need.

Current suggestions:

Warning: Continent X contains Continent Y which it does not override
Error: Continents X overrides continent Y which it does not have as a component. (Not the same as that continent not existsing)

More suggestions welcome.
User avatar
Colonel chipv
 
Posts: 2758
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW Map XML Wizard

Postby yeti_c on Tue Jan 05, 2010 1:29 pm

Awesome stuff Chip...

As said - a few maps you wouldn't want to do the terits/continents - but you probably still want to do the co-ords with this... the cursor key moving is simply the best bit of that - at the moment it's a right arse to move an army number 1 pixel - then another etc...

chipv wrote:Error: Continents X overrides continent Y which it does not have as a component. (Not the same as that continent not existsing)


Shouldn't be an error (Warning is fine)... can be desired. (Pretty sure I use that in Poker Club for instance)

Others...

Error : Territory X has the same co-ordinates as Territory Y.
Warning : Territory X is too close to territory Y
(might need to work out what "too close" is)
Error : Territory X has Killer Neutral and Territory Bonus
Error : Territoy X borders & bombards territory Y
(does this one already get checked for?)

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: NEW Map XML Wizard

Postby chipv on Tue Jan 05, 2010 6:16 pm

yeti_c wrote:
chipv wrote:Error: Continents X overrides continent Y which it does not have as a component. (Not the same as that continent not existsing)


Shouldn't be an error (Warning is fine)... can be desired. (Pretty sure I use that in Poker Club for instance)

Others...

Error : Territory X has the same co-ordinates as Territory Y.
Warning : Territory X is too close to territory Y
(might need to work out what "too close" is)
Error : Territory X has Killer Neutral and Territory Bonus
Error : Territoy X borders & bombards territory Y
(does this one already get checked for?)

C.


Ok so we want

Warning: Continents X overrides continent Y which it does not have as a component.
Warning: Continent X contains Continent Y which it does not override
Error: Territory X has Killer Neutral and Territory Bonus

Error: Territory X has territory Y as both a border and a bombardment -
No, the mapmaker does not check for this according to its list, so we need this.

Error:Territory X has same co-ordinates as Territory Y (does this happen that often?)

Dunno about territories too close to each other - do we have a specification on this?

Some more:

Continent X has no bonus specified
Continents X has no components
User avatar
Colonel chipv
 
Posts: 2758
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: NEW Map XML Wizard

Postby ender516 on Tue Jan 05, 2010 10:50 pm

I don't think there is a specification about how close territories can be to each other, but I know that in cases like Rail Europe, it can be very difficult to point at one number and see the map inspection markers (bars, boxes, brackets, etc.) on the neighbours.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: NEW Map XML Wizard

Postby Evil DIMwit on Tue Jan 05, 2010 10:52 pm

chipv wrote:Dunno about territories too close to each other - do we have a specification on this?


Presumably, if one territory's army count coincides with another territory's army count. That would be if they're within 12 pixels vertically or -- using four digits as the maximum length (which it will be for the vast, vast majority of cases) -- 33 horizontally. That would be the strictest specification.
ImageImage
User avatar
Captain Evil DIMwit
 
Posts: 1628
Joined: Thu Mar 22, 2007 1:47 pm
Location: Philadelphia, NJ
Medals: 20
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Manual Troops Achievement (1) Fog of War Achievement (2) Cross-Map Achievement (2) Map Contribution (4) General Contribution (3)

Re: NEW Map XML Wizard

Postby yeti_c on Wed Jan 06, 2010 1:04 am

Evil DIMwit wrote:
chipv wrote:Dunno about territories too close to each other - do we have a specification on this?


Presumably, if one territory's army count coincides with another territory's army count. That would be if they're within 12 pixels vertically or -- using four digits as the maximum length (which it will be for the vast, vast majority of cases) -- 33 horizontally. That would be the strictest specification.


Something like that - although I think we force to 3 digits rather than 4 (except for CC City Mogul (where we forced to 4 because of the numbers involved))

chipv wrote:Error:Territory X has same co-ordinates as Territory Y (does this happen that often?)


It does when I'm writing the XML - because I copy n paste that section and sort it out afterwards... Could combine this with the above though?

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: NEW Map XML Wizard

Postby Evil DIMwit on Wed Jan 06, 2010 1:22 am

yeti_c wrote:Something like that - although I think we force to 3 digits rather than 4 (except for CC City Mogul (where we forced to 4 because of the numbers involved))


In a build-up game it's not hard to get over 100 on any map. Combine that with the color code and you get an easy 4 (admittedly, once you're in 3-digit territory, the last digit isn't very significant but it's important to know that the last digit is there).
ImageImage
User avatar
Captain Evil DIMwit
 
Posts: 1628
Joined: Thu Mar 22, 2007 1:47 pm
Location: Philadelphia, NJ
Medals: 20
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Manual Troops Achievement (1) Fog of War Achievement (2) Cross-Map Achievement (2) Map Contribution (4) General Contribution (3)

Re: NEW Map XML Wizard

Postby yeti_c on Wed Jan 06, 2010 1:43 am

Evil DIMwit wrote:
yeti_c wrote:Something like that - although I think we force to 3 digits rather than 4 (except for CC City Mogul (where we forced to 4 because of the numbers involved))


In a build-up game it's not hard to get over 100 on any map. Combine that with the color code and you get an easy 4 (admittedly, once you're in 3-digit territory, the last digit isn't very significant but it's important to know that the last digit is there).


Whilst I appreciate that - the limits that the foundry holds is to 3 digits...

So - 3 digits should be an error (i.e. you can't proceed with this map)
4 digits could be a warning...

Here's another error though...
Error: Territory X Co-ordinates are too close to the edge of the map.
(i.e. that with 3 digits the army number falls off the map)
Error: Territory X Co-ordinates are off the edge of the map.
(i.e. the army number isn't visible as it is outside the map size)
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: NEW Map XML Wizard

Postby natty dread on Wed Jan 06, 2010 7:01 am

Here's a suggestion: implement an automatic bonus calculator, that uses the formula in one of the spreadsheet ones to calculate bonuses for the continents...

Not something that needs to be done ASAP, but it would be a nice detail...
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13254
Joined: Fri Feb 08, 2008 8:58 pm
Location: fucked off
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Manual Troops Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (12) Map Contribution (12) General Contribution (7)

Re: NEW Map XML Wizard

Postby Evil DIMwit on Wed Jan 06, 2010 7:48 am

natty_dread wrote:Here's a suggestion: implement an automatic bonus calculator, that uses the formula in one of the spreadsheet ones to calculate bonuses for the continents...

Not something that needs to be done ASAP, but it would be a nice detail...


On the other hand, bonus assignment is fairly context-sensitive and the spreadsheets are always more like recommendations. Ideally this tool would get used after all the squabbling over gameplay specifics is done with.
ImageImage
User avatar
Captain Evil DIMwit
 
Posts: 1628
Joined: Thu Mar 22, 2007 1:47 pm
Location: Philadelphia, NJ
Medals: 20
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Manual Troops Achievement (1) Fog of War Achievement (2) Cross-Map Achievement (2) Map Contribution (4) General Contribution (3)

Re: NEW Map XML Wizard

Postby natty dread on Wed Jan 06, 2010 8:14 am

Evil DIMwit wrote:
natty_dread wrote:Here's a suggestion: implement an automatic bonus calculator, that uses the formula in one of the spreadsheet ones to calculate bonuses for the continents...

Not something that needs to be done ASAP, but it would be a nice detail...


On the other hand, bonus assignment is fairly context-sensitive and the spreadsheets are always more like recommendations. Ideally this tool would get used after all the squabbling over gameplay specifics is done with.


Yeah, but it would be a nice addition to the tool. They can always be adjusted by hand later on. And it would make deciding bonuses easier, as you wouldn't have to count territories and borders and whatnot for the spreadsheets, but the program would do it for you.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13254
Joined: Fri Feb 08, 2008 8:58 pm
Location: fucked off
Medals: 49
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Manual Troops Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (12) Map Contribution (12) General Contribution (7)

PreviousNext

Return to Tools & Guides

Who is online

Users browsing this forum: No registered users and 1 guest

Login