Upload Country and Borders

From WarfishWiki

Jump to: navigation, search

Many times I have spent lots of hours clicking, waiting for refresh, clicking again, etc. just to map a cool map, or make changes to one. It'd be great if there was a way to do this offline and/or in batch. It could be done by a stand alone program (if someone like me wrote it), the altering of a text file, or at least removing the actionkey that keeps us from just changing the html request by hand. For small maps, hand clicking isn't a big deal. However, for more complex maps (the kind many like to play, well at least I like to play), require a lot of work to make changes. As such, I avoid making many useful changes since it is very painful

There are a few things to consider:

  • 1) Country. It would be great to edit a text file when we need to make big changes to the country info. When using boarder modifiers, it is easy to get a stagnated game. However, if you put in max number of armies, much of this gets fixed. However, for it to make sense, each country needs to have a different limit. That can mean a lot of changes. If we could download a text file with the list of countries, positions, names and max units, then we could alter the file, keeping the fields the same, minimizing errors. Then if we could upload that file, tons of time would be saved. Not only could I batch change large groups of countries limits, but I could move countries around and change names without doing lots of clicking (these last two are less important).
  • 2) Border modifiers. It is great that you have the tool to let you download a list of the border modifiers. What would be awesome if we could make changes to that file, then upload it. You can not even begin to guess how much time that would save.
  • 3) Initial scenario. Good begining scenario's are awesome. However, they can be hard to make when you have to click "Neutral" on almost every single square. This is another place where a download/upload would be a huge time saver. You could download a file that had the cid, name, owner and # units for it. Then you could change the values in a text editor and upload it. Poof, something that takes (and I am not kidding, 2 hours of work) has been done in about 10 minutes.

Submitted by Eric 06:03, 10 March 2008 (UTC)

[edit] Discussion

As someone who frequently designs and maintains large and complex games, I agree with this suggestion. It would be great if the visual information in the editor could have an alternate text representation, something like a computer source code file or XML file. It should then be possible to download this file, use a text editor to do search and replace operations, upload it back to the Warfish server, and convert it to visual form again after an error check. This would certainly speed up the drudge work of assigning a lot of similar values to sets of border modifiers and countries. --Red Baron 13:28, 12 March 2008 (UTC)
I, too, have found myself wanting such a feature. Uploading coded information to create things like borders would be far faster than refreshing a page over and over for each border you add or territory you select. I've also been wondering if the whole Warfish platform could be re-implemented on top of AJAX just to get rid of all the refreshing of pages that must be done during design and play. That's probably far too complicated to be done any time soon, though. --FadeToOne 17:34, 25 March 2008 (UTC)
I was about to make a suggestion identical to this. I've just finished making a map generator, and it would be really nice if there was some sort of XML-like schema to allow all continent, country, and border properties to be done offline. --Cyanese 21:00, 13 August 2008 (UTC)

[edit] A Related Thought

Another possible way to simplify the entry of border modifiers would be to allow the user to name the different border modifier types and then split the assignment of border modifiers to actual borders into two parts, first an assignment of modifier variables to a border modifier name, and second an assignment of a border modifier name to a pair of connected countries. In other words, add an extra level of indirection to the assignment of border modifiers.

To give a concrete example of this, consider the Battlefield: Marathon game. There are several places in this game where you can attack from Plain to Marsh, and these places are all assigned the same set of border modifier values. Currently it is necessary to go manually through all the borders and assign identical modifier values to each, which is a time-consuming process. With a level of indirection, though, you could declare a name such as Plain_To_Marsh, assign dice values to this, then assign the name Plain_To_Marsh to each border that goes from plain to marsh. The advantage of doing it this way is that if you later wanted to change the modifiers for all Plain to Marsh borders, you would only have to change it in one place instead of changing it for every plain to marsh border connection.

The textual list of borders that currently exists in the designer would need to be replaced by two much simpler lists. One list would give the various border modifier names and their specific values, and the second list would give the "From" and "To" countries followed by the assigned border modifier name.

--Red Baron 19:52, 30 March 2008 (UTC)

Back to Enhancement Suggestions

Personal tools