[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 chipv on Thu Feb 03, 2011 4:16 pm

ender516 wrote:Well, it's loading and parsing now, but I'm getting errors that I wouldn't expect, since I don't think I edited the file after the Wizard generated it. It seems like empty <bonus></bonus> pairs are being generated, but these cause errors like:

Error: Line 154 - Type short doesn't allow value ''
Error: Line 154 - Error validating datatype short
Error: Line 154 - Element bonus failed to validate content

By the way, any idea why the loading went bad?


I haven't changed anything in months so looks like a temporary glitch on that server. Can I see your XML?
User avatar
Colonel chipv
 
Posts: 2756
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 ender516 on Fri Feb 04, 2011 12:12 am

I will put it in a PM to you.
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
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 Sat Feb 05, 2011 6:38 am

Loading from hard drive still not working for me.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13324
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked
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 Sat Feb 05, 2011 9:20 am

The server has disabled the functionality I need for that for free accounts (which mine is), I'm afraid
so you'll have to upload the XML and do it using the other link.
Image
User avatar
Colonel chipv
 
Posts: 2756
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 ender516 on Sat Feb 05, 2011 4:44 pm

Winnie the Pooh wrote:Oh, bother.

Is there a possibility you could make this an application that we run on our own machines? Or could you convince lackattack to host it for you here on CC? If you could incorporate the functionality of the XML tool (and you have a lot of it already, but you don't have the text map), then development and testing could all be done right from the site.

By the way, I have not checked, but do you support the losing conditions feature?
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
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 FarangDemon on Sun Feb 06, 2011 12:59 am

Does Auto XY not work if xml entries for the size you wish to have automatically done already exist? I am clicking Auto XY on small map and nothing is happening.

Not knowing about this tool, I had made all the xml from scratch. But I didn't have good positioning because I was guessing. Now that I've got your tool, I have already moved all the territs around using the cursor in the big map. Now I don't want to do it again manually for the small map. Do I need to delete all the small xy tags in the xml file for Auto XY to work?
Last edited by FarangDemon on Sun Feb 06, 2011 11:54 am, edited 1 time in total.
Click image to enlarge.
image

"He came dancin across the water.... FarangDemon, FarangDemon.... mmmhh....what a killer..."
User avatar
Brigadier FarangDemon
 
Posts: 700
Joined: Wed Apr 23, 2008 1:36 am
Medals: 33
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (1)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (1)
Tournament Achievement (6) General Achievement (2) Clan Achievement (4) Map Contribution (1) Tournament Contribution (1)

Re: UPDATED Map XML Wizard

Postby chipv on Sun Feb 06, 2011 7:02 am

ender516 wrote:
Winnie the Pooh wrote:Oh, bother.

Is there a possibility you could make this an application that we run on our own machines? Or could you convince lackattack to host it for you here on CC? If you could incorporate the functionality of the XML tool (and you have a lot of it already, but you don't have the text map), then development and testing could all be done right from the site.

By the way, I have not checked, but do you support the losing conditions feature?


The problem is that the server needs to support a specific feature. Mine no longer allows it for free accounts.
If lack does host it, his server needs to support this functionality also. I can talk to him about this.

Losing conditions not done yet, is on my list todo, but thanks for reminding me!
User avatar
Colonel chipv
 
Posts: 2756
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 chipv on Sun Feb 06, 2011 7:49 am

FarangDemon wrote:Does Auto XY not work if you xml entries for the size you with to have automatically done already exist? I am clicking Auto XY on small map and nothing is happening.

Not knowing about this tool, I had made all the xml from scratch. But I didn't have good positioning because I was guessing. Now that I've got your tool, I have already moved all the territs around using the cursor in the big map. Now I don't want to do it again manually for the small map. Do I need to delete all the small xy tags in the xml file for Auto XY to work?


Correct on all counts. You need to set all the coords in the small map to zero to get it to work this way.
The reason is that actually in practice auto adjusting doesn't work perfectly because of rounding. So you ought to be
adjusting small map also manually. I think you will see if you set all small m ap coords to zero, you may still need to adjust
coords unless the large map dimensions are exactly double the small map dimensions.
Image
User avatar
Colonel chipv
 
Posts: 2756
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 FarangDemon on Sun Feb 06, 2011 11:59 am

Thanks, chipv. I'll use cursor then. I had assumed it would just use the ratio of the pixel widths between large and small maps to get the scale factor.

Your xml tool is udderly amazing, btw.

I used the simulator to work out the kinks in my Thailand map... Works like a charm!
Click image to enlarge.
image

"He came dancin across the water.... FarangDemon, FarangDemon.... mmmhh....what a killer..."
User avatar
Brigadier FarangDemon
 
Posts: 700
Joined: Wed Apr 23, 2008 1:36 am
Medals: 33
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (1)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (1)
Tournament Achievement (6) General Achievement (2) Clan Achievement (4) Map Contribution (1) Tournament Contribution (1)

Re: UPDATED Map XML Wizard

Postby chipv on Sun Feb 06, 2011 12:38 pm

FarangDemon wrote:Thanks, chipv. I'll use cursor then. I had assumed it would just use the ratio of the pixel widths between large and small maps to get the scale factor.

Your xml tool is udderly amazing, btw.

I used the simulator to work out the kinks in my Thailand map... Works like a charm!


Thanks, yes, quite right. The scale factor can have rounding errors depending on the ratio of large map to small map dimensions which is
why I recommend using the cursor, nothing can be done about this, as I'm sure you can see.
Image
User avatar
Colonel chipv
 
Posts: 2756
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 ender516 on Fri May 20, 2011 11:22 pm

chipv wrote:
ender516 wrote:Well, it's loading and parsing now, but I'm getting errors that I wouldn't expect, since I don't think I edited the file after the Wizard generated it. It seems like empty <bonus></bonus> pairs are being generated, but these cause errors like:

Error: Line 154 - Type short doesn't allow value ''
Error: Line 154 - Error validating datatype short
Error: Line 154 - Element bonus failed to validate content

By the way, any idea why the loading went bad?


I haven't changed anything in months so looks like a temporary glitch on that server. Can I see your XML?

I am just creating a new file for the Colonial Africa map and have encountered this problem again. Any thoughts?

Also, it would be nice if the Show XML feature could retain the character references (for accented characters). As it is, a reference like &#xe9 gets translated to the actual character é. If I copy out that text to a file, then reload it later, the tool rejects the character.
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
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 cairnswk on Sat Jun 18, 2011 7:05 pm

chipv, hi.
I'm working on the Trafalgar xml...
I had originally placed the ordinary ship names in as territories. No prob.
But then i decided to change their names and placed an indicator for which country they belonged to in front of their names.
Am I missing something or other....does the program automatically change names throughout the virtual xml that it generates when you change the name of the a territory.
sorry also if this has been asked previously.
User avatar
Private cairnswk
 
Posts: 11497
Joined: Sat Feb 03, 2007 8:32 pm
Medals: 51
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 (36) General Contribution (3)

Re: [Online] Map XML Wizard

Postby ender516 on Sun Aug 14, 2011 10:46 pm

In my experience, the Wizard does not reflect name changes throughout the XML. You would likely be better off using a text editor with a global search and replace feature. If you don't have access to such a thing, you could send me your XML and some instructions on the changes you are attempting and I could whip it up in XEmacs and send it back.
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
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: [Online] Map XML Wizard

Postby Victor Sullivan on Sun Aug 14, 2011 10:55 pm

It should be noted that new XML features like max starting positions and losing conditions are not recognized by the Wizard, and will be erased if loaded back into the Wizard. That caused me some trouble with the 2011 World Cup map. It would be neat if chipv would update this...

-Sully
User avatar
Corporal Victor Sullivan
 
Posts: 7175
Joined: Mon Feb 08, 2010 8:17 pm
Location: Columbus, OH
Medals: 45
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (1) Fog of War Achievement (2)
Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (1) Ratings Achievement (1)
General Achievement (9) Map Contribution (4) Tournament Contribution (1) General Contribution (6)

Re: [Online] Map XML Wizard

Postby koontz1973 on Thu Aug 25, 2011 1:09 am

I know this is a very silly question, but how do I copy and save the xml. I just lost everything I just did. :evil:
Image
User avatar
Sergeant 1st Class koontz1973
 
Posts: 7538
Joined: Thu Jan 01, 2009 10:57 am
Medals: 117
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3) Beta Map Achievement (2)
Ratings Achievement (4) Tournament Achievement (10) General Achievement (13) Clan Achievement (5) Map Contribution (12)
Tournament Contribution (31) General Contribution (10)

Re: [Online] Map XML Wizard

Postby natty dread on Thu Aug 25, 2011 1:39 am

koontz1973 wrote:I know this is a very silly question, but how do I copy and save the xml. I just lost everything I just did. :evil:


Click show xml, copy and paste it to notepad and save on your hard drive. Remember to set encoding to utf8.
Image
User avatar
Sergeant 1st Class natty dread
 
Posts: 13324
Joined: Fri Feb 08, 2008 8:58 pm
Location: just plain fucked
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: [Online] Map XML Wizard

Postby cairnswk on Thu Aug 25, 2011 2:21 am

koontz1973 wrote:I know this is a very silly question, but how do I copy and save the xml. I just lost everything I just did. :evil:

Koontz1973...
1. Open your text editor and have it ready.
2. When you have entered what you wish in the wizard, hit the Show XML button and a screen will appear with all xml in it. The screen will have a little X on it to close it. Do not close it.
3. Click on that xml screen and it should highlight all the xml in blue.
4. Use Ctl + C to copy it into your computer memory.
5. Then go into your text editor and place the cursor on the blank page
6. Then use Ctl + V to copy it to the page.
7. Then save the page as a file name.
That's the basic of how to copy and save the xml.
User avatar
Private cairnswk
 
Posts: 11497
Joined: Sat Feb 03, 2007 8:32 pm
Medals: 51
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 (36) General Contribution (3)

Re: [Online] Map XML Wizard

Postby cairnswk on Thu Aug 25, 2011 2:24 am

Mmmm, for some reason there is problem with accessing that wizard page.
User avatar
Private cairnswk
 
Posts: 11497
Joined: Sat Feb 03, 2007 8:32 pm
Medals: 51
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 (36) General Contribution (3)

Re: [Online] Map XML Wizard

Postby koontz1973 on Thu Aug 25, 2011 2:26 am

Thanks guys. Very nearly threw my computer out the window when it went. 2 bloody hours wasted.
Image
User avatar
Sergeant 1st Class koontz1973
 
Posts: 7538
Joined: Thu Jan 01, 2009 10:57 am
Medals: 117
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3) Beta Map Achievement (2)
Ratings Achievement (4) Tournament Achievement (10) General Achievement (13) Clan Achievement (5) Map Contribution (12)
Tournament Contribution (31) General Contribution (10)

Re: [Online] Map XML Wizard

Postby koontz1973 on Thu Aug 25, 2011 2:27 am

Tried accessing it myself to redo and cannot get in. Will have to try later.
Image
User avatar
Sergeant 1st Class koontz1973
 
Posts: 7538
Joined: Thu Jan 01, 2009 10:57 am
Medals: 117
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3) Beta Map Achievement (2)
Ratings Achievement (4) Tournament Achievement (10) General Achievement (13) Clan Achievement (5) Map Contribution (12)
Tournament Contribution (31) General Contribution (10)

Re: [Online] Map XML Wizard

Postby cairnswk on Thu Aug 25, 2011 2:51 am

koontz1973 wrote:Thanks guys. Very nearly threw my computer out the window when it went. 2 bloody hours wasted.

koontz1973...always think of it as practise, then you won't have a mind blowout O:)
User avatar
Private cairnswk
 
Posts: 11497
Joined: Sat Feb 03, 2007 8:32 pm
Medals: 51
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 (36) General Contribution (3)

Re: [Online] Map XML Wizard

Postby Victor Sullivan on Thu Aug 25, 2011 4:55 am

koontz1973 wrote:Thanks guys. Very nearly threw my computer out the window when it went. 2 bloody hours wasted.

As my stepmom always says, "Practice makes permanent!" ;)


koontz1973 wrote:Tried accessing it myself to redo and cannot get in. Will have to try later.

It's working for me :?

-Sully
User avatar
Corporal Victor Sullivan
 
Posts: 7175
Joined: Mon Feb 08, 2010 8:17 pm
Location: Columbus, OH
Medals: 45
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (1) Fog of War Achievement (2)
Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (1) Ratings Achievement (1)
General Achievement (9) Map Contribution (4) Tournament Contribution (1) General Contribution (6)

Re: [Online] Map XML Wizard

Postby chipv on Sat Sep 03, 2011 7:02 am

Apologies but this tool will be discontinued unless the Tech Team wishes to appoint a new keeper, I will not be doing any more work on tools.
User avatar
Colonel chipv
 
Posts: 2756
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

Login