[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 Tue Mar 02, 2010 5:07 pm

New feature.

Army Numbers added.

When playing a game, instead of the coloured 88s you now get the real army numbers instead.

This now looks exactly like the CC game.
Thanks to lackattack for providing me with the dropshadow code - that now makes the Wizard armies look the same as CC's.

So far I have implemented killer neutrals and autodeploys (the army numbers change automatically as in the game).
Use this to see exactly what the initial drop will look like in terms of numbers of armies.

Starting positions and everything is calculated as you would expect and Map Inspect reflects the number of armies on that territory too.
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 natty dread on Tue Mar 02, 2010 5:46 pm

Nice! I'll have to try that out...
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 natty dread on Wed Mar 10, 2010 12:16 pm

Not sure if this has been reported, but the coordinates (the 88:s) seem to be in different positions when red or white. When they're red they're 1 pixel to the left, when white they move 1 pixel to the right...
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 Wed Mar 10, 2010 12:23 pm

natty_dread wrote:Not sure if this has been reported, but the coordinates (the 88:s) seem to be in different positions when red or white. When they're red they're 1 pixel to the left, when white they move 1 pixel to the right...


Dead easy to fix.

Can you let me know by colour what the pixel offsets are please?

(e.g. Red incorrect 1px to left)
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 natty dread on Wed Mar 10, 2010 1:35 pm

Well, the red 88 seems to be in correct position actually.

White 88 is one to the right.

The coloured 3:s seem to be one pixel up.
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 natty dread on Wed Mar 10, 2010 1:37 pm

Also I seem to have problems loading my XML file to the wizard...

here's my XML:

http://www.fileden.com/files/2010/2/7/2 ... _xml_1.xml


edit: never mind I think I found the problem... & signs
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 natty dread on Wed Mar 10, 2010 1:52 pm

Actually... it seems to be the other way around, the coloured 3:s are in the right position, while red and white numbers are 1 pixel too low... sorry ;)
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 OliverFA on Wed Mar 10, 2010 5:48 pm

You are a Master, Sir. Thanks so much for your good job! :)
Welcoming the long awaited Trench Warfare Setting (Previously Adjacent Attacks).

My Maps:
Research and Conquer - Civilization meets Conquer Club

Best score: 2,346 - Best position: #618 - Best percentile: 4.87%
User avatar
Private 1st Class OliverFA
 
Posts: 2362
Joined: Wed Jul 09, 2008 4:30 am
Location: Somewhere in Spain
Medals: 32
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (1)
Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Trench Warfare Achievement (2) Teammate Achievement (1)
Random Map Achievement (1) Cross-Map Achievement (2) Beta Map Achievement (1) Ratings Achievement (2) Tournament Achievement (1)
Clan Achievement (3) Training Achievement (1) Tournament Contribution (2) General Contribution (5)

Re: UPDATED Map XML Wizard

Postby natty dread on Fri Mar 26, 2010 11:41 am

Why isn't this thread stickied?
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 Evil DIMwit on Thu Apr 01, 2010 12:40 pm

On top of what's been said already, i just got a warning that said "Warning: Territory A attacks Territory B but not vice vera." Should be "vice versa."
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: UPDATED Map XML Wizard

Postby MrBenn on Thu Apr 01, 2010 1:50 pm

natty_dread wrote:Why isn't this thread stickied?


I'm not a big fan of stickyed threads - too many of them makes the forum difficult to navigate, but I do get where you're coming from. This XML Wizard is a really good tool, and would be better served in the Tools subforum. I was speaking with chipv about it last night, and ended up forgetting to move the thread... I'll do it now ;-)

[Moved]
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: 7051
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty
Medals: 67
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) Teammate Achievement (2) 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 ender516 on Thu Apr 01, 2010 2:06 pm

Maybe it's time to update this post: Map Making Tools - Updated [24/11/08] The Map XML Wizard could be mentioned and any links to dead tools (I think there may be some) could be culled (or at least flagged).
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 MrBenn on Thu Apr 01, 2010 2:14 pm

ender516 wrote:Maybe it's time to update this post: Map Making Tools - Updated [24/11/08] The Map XML Wizard could be mentioned and any links to dead tools (I think there may be some) could be culled (or at least flagged).

One step ahead of you - it's already on my to do list!

The date on that thread is actually incorrect as things have been updated to that thread more recently than 24th Nov 2008. It'll be updated in due course :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: 7051
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty
Medals: 67
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) Teammate Achievement (2) 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 oaktown on Sat Apr 10, 2010 1:53 am

just wanted to say that this is a very nice addition to the foundry - thanks chipv.

Question: I used the character reference codes for special characters; eg. á instead of á. I imported my file into the Wizard to check tweak the coordinates, and it spit the new XML back out with the characters instead of the codes. If my memory serves me well, CC is alright with the characters, but BOB freaks out and requires the codes. Anybody have any thoughts in this? Should I go search and replace the codes back in?

thanks.
Image
User avatar
Captain oaktown
 
Posts: 4552
Joined: Sun Dec 03, 2006 9:24 pm
Location: majorcommand
Medals: 30
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Fog of War Achievement (1) Cross-Map Achievement (3) Ratings Achievement (1) General Achievement (1) Map Contribution (12)
General Contribution (5)

Re: UPDATED Map XML Wizard

Postby chipv on Sat Apr 10, 2010 3:53 am

oaktown wrote:just wanted to say that this is a very nice addition to the foundry - thanks chipv.

Question: I used the character reference codes for special characters; eg. á instead of á. I imported my file into the Wizard to check tweak the coordinates, and it spit the new XML back out with the characters instead of the codes. If my memory serves me well, CC is alright with the characters, but BOB freaks out and requires the codes. Anybody have any thoughts in this? Should I go search and replace the codes back in?

thanks.


Hi Oak, no, the requirement for using the character codes disappeared a while back. So you can retain the characters as they should be displayed but here is the info you need:

viewtopic.php?f=466&t=105494&start=75#p2422101
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 oaktown on Sat Apr 10, 2010 7:18 pm

thanks chip for answering the same question you had to answer just three months ago. :)
Image
User avatar
Captain oaktown
 
Posts: 4552
Joined: Sun Dec 03, 2006 9:24 pm
Location: majorcommand
Medals: 30
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (1)
Fog of War Achievement (1) Cross-Map Achievement (3) Ratings Achievement (1) General Achievement (1) Map Contribution (12)
General Contribution (5)

Re: UPDATED Map XML Wizard

Postby HtoOh on Mon Apr 12, 2010 2:17 pm

Hello all,
I'd really enjoy creating a map. Where do I get this software?
Thank you in advance for any assistance provided.
Benny
User avatar
Corporal HtoOh
 
Posts: 7
Joined: Fri Apr 02, 2010 4:50 pm
Location: Toronto, Ontario
Medals: 3
Standard Achievement (1) Fog of War Achievement (1) Ratings Achievement (1)

Re: UPDATED Map XML Wizard

Postby natty dread on Mon Apr 12, 2010 2:26 pm

You don't download the XML wizard, it's browser-based.

But you will need a graphics software first. Draw the map and don't worry about XML, the XML comes later.
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 Apr 17, 2010 9:35 pm

Added support for new XML feature to allow continents within objectives.

Details of changes:

1. Read and display continents within objectives
2. Allow adding and deleting of continents to/from objectives (click on grey cell first)
3. Hover over objective also highlights its continents
4. Deleting a continent (using delete button) will also remove it from any continents or objectives.
5. Gameplay allows for continents within objectives
6. Validation includes latest changes to XML schema check used in Mapmaker
7. Added checks
  • Error: Objective X has component Y which does not exist as a continent
    Action: Component Y is removed from component list of Objective X.
  • Error: Objective X has multiple component entries for Y
    Action: Duplicate instances of Component Y are removed from component list of Objective X.
The multiple components now include multiple identical continents
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 Sun Apr 18, 2010 12:55 am

Glad to know you are keeping this tool right up to date. I have just started using it in something other than a testing mode: I am doing the XML for Napoleonic Europe 1812. I have so far only added the territories: just names at locations on the small map, no borders, or neutrals, or continents, or anything. I was a little bothered by one thing. I had created a file with the name of each territory on a line by itself and had that open in a window. I got a nice rhythm going: select a line (one territory name), copy to clipboard, click location on map in Wizard window (which creates a new territory and places the text cursor in the name field), paste from clipboard, click yellow cell to add new territory, repeat as necessary. My problem was that there was no keystroke equivalent to clicking the yellow cell. I prefer not to go back and forth between keyboard and mouse. If I could have pressed, say, Enter to signal that I was satisfied with the name and wanted to add the territory, I could then use Alt-Tab to return to the editor window with the territory names, selected and copied the next name via the keyboard, and then clicked with the mouse cursor (still over the map) to start another new point. The mouse would stay over the map where it belongs, and I would be even more productive.
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 chipv on Sun Apr 18, 2010 6:19 am

ender516 wrote:Glad to know you are keeping this tool right up to date. I have just started using it in something other than a testing mode: I am doing the XML for Napoleonic Europe 1812. I have so far only added the territories: just names at locations on the small map, no borders, or neutrals, or continents, or anything. I was a little bothered by one thing. I had created a file with the name of each territory on a line by itself and had that open in a window. I got a nice rhythm going: select a line (one territory name), copy to clipboard, click location on map in Wizard window (which creates a new territory and places the text cursor in the name field), paste from clipboard, click yellow cell to add new territory, repeat as necessary. My problem was that there was no keystroke equivalent to clicking the yellow cell. I prefer not to go back and forth between keyboard and mouse. If I could have pressed, say, Enter to signal that I was satisfied with the name and wanted to add the territory, I could then use Alt-Tab to return to the editor window with the territory names, selected and copied the next name via the keyboard, and then clicked with the mouse cursor (still over the map) to start another new point. The mouse would stay over the map where it belongs, and I would be even more productive.


Are you wanting to click the yellow cell for the territory you just added in order to add borders?

Yes, I can put in automatic switch to yellow on ENTER specifically on territory names.
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 Sun Apr 18, 2010 6:21 pm

chipv wrote:
ender516 wrote:Glad to know you are keeping this tool right up to date. I have just started using it in something other than a testing mode: I am doing the XML for Napoleonic Europe 1812. I have so far only added the territories: just names at locations on the small map, no borders, or neutrals, or continents, or anything. I was a little bothered by one thing. I had created a file with the name of each territory on a line by itself and had that open in a window. I got a nice rhythm going: select a line (one territory name), copy to clipboard, click location on map in Wizard window (which creates a new territory and places the text cursor in the name field), paste from clipboard, click yellow cell to add new territory, repeat as necessary. My problem was that there was no keystroke equivalent to clicking the yellow cell. I prefer not to go back and forth between keyboard and mouse. If I could have pressed, say, Enter to signal that I was satisfied with the name and wanted to add the territory, I could then use Alt-Tab to return to the editor window with the territory names, selected and copied the next name via the keyboard, and then clicked with the mouse cursor (still over the map) to start another new point. The mouse would stay over the map where it belongs, and I would be even more productive.


Are you wanting to click the yellow cell for the territory you just added in order to add borders?

Yes, I can put in automatic switch to yellow on ENTER specifically on territory names.

All I wanted to do was add all the territories in one go: no borders or anything else at that point. Then I could save the XML (and a few hours' work). Next I would add something else (like continents, perhaps) and save that, and so on. Save early and save often is my motto.
Am I right in thinking that if I click a location to create a territory, then type in the name, I have to do something (like click the yellow cell next to the name) before I can go back to the map and click to create another territory?
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 chipv on Sun Apr 18, 2010 6:58 pm

ender516 wrote:All I wanted to do was add all the territories in one go: no borders or anything else at that point. Then I could save the XML (and a few hours' work). Next I would add something else (like continents, perhaps) and save that, and so on. Save early and save often is my motto.
Am I right in thinking that if I click a location to create a territory, then type in the name, I have to do something (like click the yellow cell next to the name) before I can go back to the map and click to create another territory?


No, you can keep going.

Click to create,type name, click to create, type name...

The mouse stays where it is.
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 Sun Apr 18, 2010 7:53 pm

chipv wrote:
ender516 wrote:All I wanted to do was add all the territories in one go: no borders or anything else at that point. Then I could save the XML (and a few hours' work). Next I would add something else (like continents, perhaps) and save that, and so on. Save early and save often is my motto.
Am I right in thinking that if I click a location to create a territory, then type in the name, I have to do something (like click the yellow cell next to the name) before I can go back to the map and click to create another territory?


No, you can keep going.

Click to create,type name, click to create, type name...

The mouse stays where it is.

Okay, I thought that when I tried that, I ended up altering the location of the same territory. Trying it again now, it seems okay. Pilot error, I suppose.

Three new issues:
  1. I don't like the fact that reloading code that the Wizard generated can result in errors. For example, I used the Wizard to generate this code which I saved in short.xml:
    Code: Select all
    <?xml version="1.0" encoding="UTF-8"?>
    <map>
    <territory>
       <name>Aboukir</name>
       <coordinates>
          <smallx>548</smallx>
          <smally>500</smally>
          <largex>732</largex>
          <largey>659</largey>
       </coordinates>
    </territory>
    <territory>
       <name>Anatolia</name>
       <coordinates>
          <smallx>569</smallx>
          <smally>407</smally>
          <largex>760</largex>
          <largey>535</largey>
       </coordinates>
    </territory>
    <territory>
       <name>Andalucia</name>
       <coordinates>
          <smallx>82</smallx>
          <smally>401</smally>
          <largex>111</largex>
          <largey>527</largey>
       </coordinates>
    </territory>
    </map>

    When I loaded it back in, I got the following:
    Code: Select all
    Loading File short.xml ...


    Error: Line 5 - Did not expect element coordinates there
    Error: Line 14 - Did not expect element coordinates there
    Error: Line 23 - Did not expect element coordinates there
    Warning: No continents found.
    Warning: Aboukir cannot be attacked.
    Warning: Aboukir cannot attack.
    Warning: Anatolia cannot be attacked.
    Warning: Anatolia cannot attack.
    Warning: Andalucia cannot be attacked.
    Warning: Andalucia cannot attack.
    XML Load Complete 7 warnings and 3 errors found. Click Close to close this window.

    The warnings are quite reasonable, but I don't like the errors. If a <borders> component is mandatory, why not generate an empty one? When I work with other code generators in RL, if I choose to save at a point where a completely valid file (i.e., one that will load without errors) cannot be created, I get a warning and I can force the issue, but usually the system will find a way of generating something that it can cope with upon reloading.
  2. I entered a name "Baden & Berg (Ulm, October 1805)" and when I reloaded it, I got an error which basically meant it had found a naked ampersand. Would it be possible for you to escape the weird characters (less than, greater than, ampersand, apostrophe, and quotation mark)?
  3. Any chance you could work things so that the images could be loaded from local files rather than a file sharing site? It could be handy to work completely on local files. (I tried using the file:// trick, but no luck.)
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 Sun Apr 18, 2010 8:28 pm

Would it be possible for you to escape the weird characters (less than, greater than, ampersand, apostrophe, and quotation mark)?


Second this! I had to manually change all ampersands every time I edited my XML on nordic... was kinda annoying.

Also, has the postioning of the numbers been fixed yet?
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)

PreviousNext

Return to Tools & Guides

Who is online

Users browsing this forum: No registered users

Login