Campaign/map editor
Moderator: Forum Moderators
Campaign/map editor
Hi,
i going to release a pre alpha version of a web-based campaign/map editor which let you browse through your add-ons directory,
written in python33 comes with a derived class from http.server with special support for .cfg, .map-files.
Can very nice customized by css , indetion, colour, etc
So my question:
If i get it running in the desired way, i´am allowed to use http://wiki.wesnoth.org/ReferenceWML as online help.
So if the user click the help-button on the tag/attribute i fetch the right url and display the help inline. Maybe fetch if he just click in the field to edit.
greetz
Rigoletto
i going to release a pre alpha version of a web-based campaign/map editor which let you browse through your add-ons directory,
written in python33 comes with a derived class from http.server with special support for .cfg, .map-files.
Can very nice customized by css , indetion, colour, etc
So my question:
If i get it running in the desired way, i´am allowed to use http://wiki.wesnoth.org/ReferenceWML as online help.
So if the user click the help-button on the tag/attribute i fetch the right url and display the help inline. Maybe fetch if he just click in the field to edit.
greetz
Rigoletto
Re: Campaign/map editor
So it sounds like you might be duplicating some functionality of the wesnoth UMC eclipse plug-in. Although I'm really not sure, I have never actually used that and don't really know what's in it, but you might look here: http://forums.wesnoth.org/viewtopic.php ... de#p444875
Also many add-on developers already use github (https://github.com/WesnothRBY/picker) or the wesnoth umc dev sourceforge project (http://wesnoth-umc-dev.ai0867.net/) which does let you browse your add-on directories and look at .cfg files, although it doesn't have support for .map files.
I don't think you need to ask for permission to link to the wiki for help. But let me suggest, if your goal is that devs can hover over / right click on WML tags and get a link to the wiki, maybe instead of a web based system, it is better to make a plugin for various text editors e.g. Notepad++, gedit, emacs, etc.? I'm not sure what the most popular text editor is for WML devs, I use gedit. There, somewhere, is a very long list of plugins to make syntax highlighting work for wml.
Also many add-on developers already use github (https://github.com/WesnothRBY/picker) or the wesnoth umc dev sourceforge project (http://wesnoth-umc-dev.ai0867.net/) which does let you browse your add-on directories and look at .cfg files, although it doesn't have support for .map files.
I don't think you need to ask for permission to link to the wiki for help. But let me suggest, if your goal is that devs can hover over / right click on WML tags and get a link to the wiki, maybe instead of a web based system, it is better to make a plugin for various text editors e.g. Notepad++, gedit, emacs, etc.? I'm not sure what the most popular text editor is for WML devs, I use gedit. There, somewhere, is a very long list of plugins to make syntax highlighting work for wml.
Re: Campaign/map editor
Hi,
i have taken a look at the UMC eclipse plugin, and i dont like it. Also it´s not just a file picker with a simple editor i am writing.
It parses the wml files and formats the tags, attributes, etc as html input fields, textboxes, lists, checkboxes, etc.
You can freely format everythink with css, for example indent all attributs, color top-level tags in other color, etc
Supporting a plugin directory i currenty work on it, you can drop your own code for every tag/attribute and modify behavior,
so it should be possible to make a selection list for the next scenario, as example. Creator plugins should be possible too.
greetz
Rigoletto
i have taken a look at the UMC eclipse plugin, and i dont like it. Also it´s not just a file picker with a simple editor i am writing.
It parses the wml files and formats the tags, attributes, etc as html input fields, textboxes, lists, checkboxes, etc.
You can freely format everythink with css, for example indent all attributs, color top-level tags in other color, etc
Supporting a plugin directory i currenty work on it, you can drop your own code for every tag/attribute and modify behavior,
so it should be possible to make a selection list for the next scenario, as example. Creator plugins should be possible too.
Yes, that´s i think i will do. Thanks for the info. To prevent a lot of traffic i guess to cache the hits, and refresh periodicaly.But let me suggest, if your goal is that devs can hover over / right click on WML tags and get a link to the wiki.
greetz
Rigoletto