[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: UPDATED Map XML Wizard

Postby natty dread on Mon Jun 28, 2010 7:00 pm

Somehow, the XML wizard has set all my small map coords to 0,0 and now it's impossible to fix them since they're all stacked into the upper left corner.

How do I fix this?

link to xml -> http://www.fileden.com/files/2010/2/7/2 ... ientx1.xml
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13253
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: UPDATED Map XML Wizard

Postby MrBenn on Mon Jun 28, 2010 7:03 pm

natty_dread wrote:Somehow, the XML wizard has set all my small map coords to 0,0 and now it's impossible to fix them since they're all stacked into the upper left corner.

How do I fix this?

link to xml -> http://www.fileden.com/files/2010/2/7/2 ... ientx1.xml

Can you go through the xml in a text editor and delete out the 0,0 coords (ie remove each line completely?)

--on a side note, do you have an old copy to backup from/revert to?
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
Retired Team Member
 
Posts: 7054
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty
Medals: 65
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (2) General Achievement (6)
Clan Achievement (1) Map Contribution (7) Tournament Contribution (2) General Contribution (15)

Re: UPDATED Map XML Wizard

Postby natty dread on Mon Jun 28, 2010 7:08 pm

MrBenn wrote:
natty_dread wrote:Somehow, the XML wizard has set all my small map coords to 0,0 and now it's impossible to fix them since they're all stacked into the upper left corner.

How do I fix this?

link to xml -> http://www.fileden.com/files/2010/2/7/2 ... ientx1.xml

Can you go through the xml in a text editor and delete out the 0,0 coords (ie remove each line completely?)

--on a side note, do you have an old copy to backup from/revert to?


No, this was the first time I saved it...

I guess I can remove them with the search & destroy function of notepad easily enough. Thanks MrB.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13253
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: UPDATED Map XML Wizard

Postby natty dread on Mon Jun 28, 2010 7:16 pm

Well I did that and now the wizard refuses to load the XML. (good thing I didn't overwrite the original.)
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13253
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: UPDATED Map XML Wizard

Postby ender516 on Mon Jun 28, 2010 11:24 pm

Sounds like it may be time to give the tool the ability to alter the coordinates by typing in the toolbox.
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: UPDATED Map XML Wizard

Postby natty dread on Tue Jun 29, 2010 12:32 pm

Even better would be if you could also move the coordinates by mouse. Keyboard moving can be tedious if the coordinate is on the opposite edge of the image from where it should be...


Anyway, can anyone help me fix my coordinates?
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13253
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: UPDATED Map XML Wizard

Postby chipv on Tue Jun 29, 2010 1:05 pm

This has happened because you only loaded one map. The instructions do say load both.
There is no way for the XML Wizard to auto-calculate the other coordinates so they are marked as zero
in order to produce valid XML.

I suggest for now, copy the coordinates over the zeroes so that small map = large map coords and then
nudge them which at least means you dont have to redo the rest of the XML.

Perhaps I can give a button to autocalculate the second map coords, this is not the first time someone has done this.
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: UPDATED Map XML Wizard

Postby MrBenn on Tue Jun 29, 2010 1:08 pm

Jota's Map Assistant can help fill in the missing coordinates. (There's a link to it in the mapmaker tools thread.)

You can load in the XML file (with the set of coords missing), and click in roughly the right place to generate the coords. Once you've done that, you should be able to use the XML wizard to finetune the positioning...
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
Retired Team Member
 
Posts: 7054
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty
Medals: 65
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (2) General Achievement (6)
Clan Achievement (1) Map Contribution (7) Tournament Contribution (2) General Contribution (15)

Re: UPDATED Map XML Wizard

Postby MrBenn on Tue Jun 29, 2010 1:09 pm

chipv wrote:This has happened because you only loaded one map. The instructions do say load both.
There is no way for the XML Wizard to auto-calculate the other coordinates so they are marked as zero
in order to produce valid XML.

I suggest for now, copy the coordinates over the zeroes so that small map = large map coords and then
nudge them which at least means you dont have to redo the rest of the XML.

Perhaps I can give a button to autocalculate the second map coords, this is not the first time someone has done this.

A "recalculate coords" button would be useful, and would help idiot-proof that functionality :P
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
Retired Team Member
 
Posts: 7054
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty
Medals: 65
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (2) General Achievement (6)
Clan Achievement (1) Map Contribution (7) Tournament Contribution (2) General Contribution (15)

Re: UPDATED Map XML Wizard

Postby natty dread on Tue Jun 29, 2010 1:14 pm

vPerhaps I can give a button to autocalculate the second map coords, this is not the first time someone has done this.


Do that please :)

thanks mrbenn, I managed to fix the XML with Jota's tool.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13253
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: UPDATED Map XML Wizard

Postby chipv on Tue Jun 29, 2010 5:44 pm

natty_dread wrote:
vPerhaps I can give a button to autocalculate the second map coords, this is not the first time someone has done this.


Do that please :)



Done. There are 2 new buttons called Auto xy.
If you have forgotten to add a second image and already entered a lot of territories then
use the button once you do load the second image.

It will only correct coords (0,0) so you don't lose any coords that you already did on the second map.
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: UPDATED Map XML Wizard

Postby natty dread on Tue Jun 29, 2010 6:21 pm

Ah, a bit late for me as I already fixed my coords, but a nice addition nonetheless.

Now you could maybe look into fixing the clipped army numbers? They're kinda annoying...
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13253
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: UPDATED Map XML Wizard

Postby chipv on Tue Jun 29, 2010 7:29 pm

New update - made a correction to gameplay with complex nested continents and overrides found during work on a new map which works now.

Natty any chance of writing another post to summarize what you want whilst I'm at it?
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: UPDATED Map XML Wizard

Postby natty dread on Tue Jun 29, 2010 8:29 pm

Well.. the army numbers are clipped, 1-2 bottom lines of pixels are missing from each number. That's all I have right now...
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13253
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: UPDATED Map XML Wizard

Postby chipv on Tue Jun 29, 2010 9:20 pm

natty_dread wrote:Well.. the army numbers are clipped, 1-2 bottom lines of pixels are missing from each number. That's all I have right now...


Can you let me have a screenshot please and also what browser.
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)

PreviousNext

Return to Tools & Guides

Who is online

Users browsing this forum: No registered users and 0 guests

Login