[Online] Map XML Wizard

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

Moderators: Global Moderators, Cartographers

Forum rules
Please read the Community Guidelines before posting.

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: 11492
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:
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: 13318
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: [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: 11492
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: 11492
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.
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.
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: 11492
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)

Previous

Return to Tools & Guides

Who is online

Users browsing this forum: No registered users

Login