Wesnoth User Made Content IDE [2.0.3]

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply

What's your usage of the UMC IDE?

I don't use it, but I plan to.
24
42%
I don't use it and I don't plan to.
15
26%
I use it seldom
10
18%
I use it regularly.
8
14%
 
Total votes: 57

alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Wesnoth User Made Content IDE [2.0.1]

Post by alluton »

Thank you. That seems to work.
"This game cured me of my real life addiction."
-Flameslash
User avatar
MadTux
Posts: 3
Joined: June 22nd, 2013, 12:41 pm

Re: Wesnoth User Made Content IDE [2.0.1]

Post by MadTux »

I just installed the Eclipse plugin, but I have to set it up now. I have absolutely no idea what goes in all those fields. (e.g. User data directory, or WML tools directory. I have Wesnoth 1.11.4 on Ubuntu 13.04 64 in case it helps. Could anyone help me there?
I think there's supposed to be a signature here.
timotei
Inactive Developer
Posts: 76
Joined: March 20th, 2010, 10:00 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by timotei »

Is Wesnoth installed from the .. package repository? Or how?

If yes, by default it should try and auto-complete some paths. The user data directory is where the addons are stored for example. The WML tools directory is the one that contains wmllint and all those utilities. Unfortunately I don't know how Wesnoth is *installed* on Linux OSes and I don't have time atm to investigate further. Maybe some folk who is using Ubuntu may help :)

If you have a directory with wesnoth contains all required files in one place, if you complete just the path to the wesnoth executable it will automatically complete the rest. Basically if you have <wesnoth_dir>, <wesnoth_dir>/wesnoth is the executable path, <wesnoth_dir>/userdata is the user data dir and <wesnoth_dir>/data/tools is the one with WML tools.
Wesnoth User Made Content IDE/Plugin - an easier way of developing new content for Wesnoth.
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Wesnoth User Made Content IDE [2.0.1]

Post by Anonymissimus »

timotei wrote:If you have a directory with wesnoth contains all required files in one place, if you complete just the path to the wesnoth executable it will automatically complete the rest. Basically if you have <wesnoth_dir>, <wesnoth_dir>/wesnoth is the executable path, <wesnoth_dir>/userdata is the user data dir and <wesnoth_dir>/data/tools is the one with WML tools.
Programs on Linux are installed by scattering their files all over the operating system in order to make it hard to track down where everything is that belongs to some program. :evil: So that likely won't work, unless the user is using a wesnoth source tree where everything is nicely in place.
The package manager synaptic can show you where the files belonging to some installed package are. The executable is probably in some bin/ subdir.

EDIT
Some or all of the directories you can probably also find here http://wiki.wesnoth.org/EditingWesnoth (the userdata dir at least).
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
PhantomJedi
Posts: 22
Joined: October 25th, 2013, 1:44 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by PhantomJedi »

I tried downloading the plugin for Eclipse, but I got this error:

Code: Select all

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Artifact not found: http://eclipse.wesnoth.org/updates/plugins/org.eclipse.help.appserver_3.1.400.v20110425.jar.
http://eclipse.wesnoth.org/updates/plugins/org.eclipse.help.appserver_3.1.400.v20110425.jar
Artifact not found: http://eclipse.wesnoth.org/updates/plugins/org.mortbay.jetty.server_6.1.23.v201012071420.jar.
http://eclipse.wesnoth.org/updates/plugins/org.mortbay.jetty.server_6.1.23.v201012071420.jar
Artifact not found: http://eclipse.wesnoth.org/updates/plugins/org.mortbay.jetty.util_6.1.23.v201012071420.jar.
http://eclipse.wesnoth.org/updates/plugins/org.mortbay.jetty.util_6.1.23.v201012071420.jar
timotei
Inactive Developer
Posts: 76
Joined: March 20th, 2010, 10:00 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by timotei »

PhantomJedi wrote:I tried downloading the plugin for Eclipse, but I got this error:

Code: Select all

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Artifact not found: http://eclipse.wesnoth.org/updates/plugins/org.eclipse.help.appserver_3.1.400.v20110425.jar.
http://eclipse.wesnoth.org/updates/plugins/org.eclipse.help.appserver_3.1.400.v20110425.jar
Artifact not found: http://eclipse.wesnoth.org/updates/plugins/org.mortbay.jetty.server_6.1.23.v201012071420.jar.
http://eclipse.wesnoth.org/updates/plugins/org.mortbay.jetty.server_6.1.23.v201012071420.jar
Artifact not found: http://eclipse.wesnoth.org/updates/plugins/org.mortbay.jetty.util_6.1.23.v201012071420.jar.
http://eclipse.wesnoth.org/updates/plugins/org.mortbay.jetty.util_6.1.23.v201012071420.jar
What Eclipse version are you using?
Wesnoth User Made Content IDE/Plugin - an easier way of developing new content for Wesnoth.
PhantomJedi
Posts: 22
Joined: October 25th, 2013, 1:44 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by PhantomJedi »

I have tried with both Indigo and Kepler.
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by Max »

just a stupid idea: any chance that the files just didn't survive the recent server migration?
User avatar
Iris
Site Administrator
Posts: 6797
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: Wesnoth User Made Content IDE [2.0.1]

Post by Iris »

They don’t exist on the old server either.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
PhantomJedi
Posts: 22
Joined: October 25th, 2013, 1:44 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by PhantomJedi »

Yeah, it seemed the error was an issue with getting the files, not Eclipse. Would a copy of the plugin exist somewhere?
timotei
Inactive Developer
Posts: 76
Joined: March 20th, 2010, 10:00 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by timotei »

Hi,

The website and the eclipse plugin updates directory looks OK (as I expected), and shadowm is right. I also thought about Max's idea, but those files shouldn't be on the website anyway. It's supposed to download them from the official eclipse repository.

I just tested the plugin installation on eclipse indigo (http://www.eclipse.org/downloads/packag ... /indigosr2 - no classic version available anymore) and it works fine.

When testing with Kepler though... I get much more than your errors. I think we don't support Kepler (yet). But if I get time I can release a new version which will support it. I remember last time I tried releasing a version for eclipse 4.x it didn't work as expected.

So, to sum it up: use the Indigo Java EE version in the meantime and it should work just fine.
Wesnoth User Made Content IDE/Plugin - an easier way of developing new content for Wesnoth.
PhantomJedi
Posts: 22
Joined: October 25th, 2013, 1:44 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by PhantomJedi »

I'll reinstall Indigo and try again with it. I would very much like to be able to use Eclipse to program WML. It is an excellent tool, and it is what I preferred to program Java with as well. Text editors simply don't stand up to it.

Edit:

It is now 'working' with a fresh install of Indigo. However, when I enter the Python executable path, it says:

Code: Select all

Value must be an existing file
I am on a Mac, and I have tried different variations of the following:

Code: Select all

/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/
or

Code: Select all

/Library/Frameworks/Python.framework/Versions/2.7/Resources/
(By 'variations,' I mean the various folders within Python.framework.)
Any ideas?

Edit Edit:

I realized that the path is actually:

Code: Select all

/usr/bin/python
Never mind...
Silux
Posts: 119
Joined: January 28th, 2013, 8:48 pm
Location: Somewhere over the rainbow

Re: Wesnoth User Made Content IDE [2.0.1]

Post by Silux »

What about a sort of configuration panel for creating units instead of plain text files?

something like
name _____________
hp ______________
experience __________
move points __________
move types (list box with the movements )
alignment
legal () neutral () chaotic () liminal ()
SigurdFireDragon
Developer
Posts: 546
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA

Re: Wesnoth User Made Content IDE [2.0.1]

Post by SigurdFireDragon »

I'm on Windows 7 x64 using the standalone UMC IDE 2.0.1 version.

With the UMC IDE, I can open a tab inside the IDE for .cfg files. I can also do this for .doc /.docx & xlsx files (MS Word & Excel)

I'd like to do the same with .lua files and still have lua syntax hi-lighting.
So far, all my attempts have failed.

Anyone have any ideas?
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
timotei
Inactive Developer
Posts: 76
Joined: March 20th, 2010, 10:00 am

Re: Wesnoth User Made Content IDE [2.0.1]

Post by timotei »

@Silux:
Well, there are some wizards in the IDE, but yeah, the UNIT creation wizard is not complete. It's all about a specific schema.cfg file :)

@SigurdFireDragon:
What exactly is the problem? Don't the files open? Do they open with error? Don't they have highlighting?
Wesnoth User Made Content IDE/Plugin - an easier way of developing new content for Wesnoth.
Post Reply