How is the in-game editor used?
Moderator: Forum Moderators
Re: How is the in-game editor used?
It's completely hidden in 1.14. The documentation that's in data/core/editor/help.cfg is full of "todo" notes and doesn't really say more than that it's a painting application.WhiteWolf wrote: ↑December 18th, 2020, 5:25 pm I'll be honest, I'm not even sure where the editor's ingame help menu is - it's surely not a toplevel section in the F1 help menu. So it might be worth considering to elevate this info (along with other tips and tricks of the editor) to a more visible place in-game.
The "hidden" has been fixed in 1.15, but the documentation is still limited to the well-known tools (plus the location tool).
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: How is the in-game editor used?
Placing units and placing items are definitely staying.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: How is the in-game editor used?
I chose "I use the editor for another purpose (please post what it is!)" because I don't actually create maps from scratch, I mostly just load maps from other people's campaigns into the editor in order to cheat my way thru them.
Wesnoth-related GitHub repos:
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
General mods collection, SotBEEE, AToTBWaTD, The Earth's Gut, A Little Adventure, FtF
Social media: Mastodon: @egallager@treehouse.systems, Steam: egallager
Re: How is the in-game editor used?
Before you clear out a feature, it would be interesting to know why people don't use it. It the reason they don't use it is that it needs some improvement before it becomes usable and that improvement is feasible, it might be worth keeping.Pentarctagon wrote: ↑December 19th, 2020, 2:22 amThe poll is going to remain up for a couple of weeks at least, but based on the results I do definitely want to change the editor to clear out features that aren't used while improving the features that are used.
Re: How is the in-game editor used?
I think it's just that the scenario-related features in the editor are awkward to use. If you save a scenario with the editor, the file contains this comment:
Code: Select all
# This file was generated using the scenario editor.
#
# If you edit this file by hand, then you shouldn't use the
# scenario editor on it afterwards. The editor completely
# rewrites the file when it saves it, which will lose any WML
# that the editor doesn't support.
- Never edit the scenario file by hand. Since the editor supports only a small subset of WML, this does not seem very practical.
- Create the scenario file with the editor, then edit it by hand and never edit it with the editor again. This is possible, but it obviously reduces the usefulness of the scenario editor. (If the developer has to maintain all the code by hand, it might be more straightforward to just write the code by hand in the first place.)
Re: How is the in-game editor used?
Sorry if this is going meta, but I briefly experimented with FLARE RPG during a forced holiday when the pandemic first came to town. In some ways, FLARE is similar to Wesnoth, I wish them well.
FLARE uses the tiled editor (https://www.mapeditor.org), and while making that work in Wesnoth probably isn't worth the effort, I do think the location-based tag/key editing would be nice. It would require a little more knowledge than purely point-n-click, but not much and it could help make clear what basic keys are available. Whatever complexity is available within a tag could be added piece-at-a-time, without requiring GUI revisions. As long as the "x,y=" is somewhere in a recognized tag?
BfW 1.12 supported, but active development only for BfW 1.13/1.14: Bad Moon Rising | Trinity | Archaic Era |
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
Re: How is the in-game editor used?
That's not a very good question to ask. In theory, people will use things that are made in a way that makes them want to use it.Pentarctagon wrote: ↑December 19th, 2020, 2:22 amRight now I'm primarily focused on the even simpler question of just "do people even use it?". Which at least as of right now is leaning very heavily towards "not at all" with some amount of "yes, but not the actual .cfg file that the scenario editor creates when it saves a scenario".
Right now I only make maps just for the sake of making them, but I might start doing more if I can get my hands on a new and proper PC.
Re: How is the in-game editor used?
to be honest i would use the editor for more than just map-Files but the editor is just not easy to work with if you want to do something else... Scenarios work but things like having more than one unit with different recruiting options is not really easy ... at least i didnt figure out how this works... maybe it would be nice to have some manual?? for it i dont know if it allready exists. I usually only draw the map and handcode the scenario .cfg. I would definitely use the editor more if the options there are not that limited or somehow... described. Maybe i didnt have figured out all the potential the editor has... I apreciate it nonetheless and like the idea and the power that editor allready has. Writing the .map files ... not sure if i would do any content with maps if i dindt have the editor tbh...
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: How is the in-game editor used?
If very few people use the editor's functionality at all, then that means a different solution is needed compared to if many people do. Then, for features that aren't being used, the first question should be "is this worth keeping in the first place?", and if it is, figuring out how to make it better is the next step. It doesn't make sense to spend time working on a feature that isn't going to be used regardless.BTIsaac wrote: ↑December 21st, 2020, 12:05 pmThat's not a very good question to ask. In theory, people will use things that are made in a way that makes them want to use it.Pentarctagon wrote: ↑December 19th, 2020, 2:22 amRight now I'm primarily focused on the even simpler question of just "do people even use it?". Which at least as of right now is leaning very heavily towards "not at all" with some amount of "yes, but not the actual .cfg file that the scenario editor creates when it saves a scenario".
Right now I only make maps just for the sake of making them, but I might start doing more if I can get my hands on a new and proper PC.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: How is the in-game editor used?
No, because for all you know, the main reason it's not being used could be that it's not accessible enough, or that people simply don't realize it exists or if it's something they would want.Pentarctagon wrote: ↑December 21st, 2020, 7:05 pm Then, for features that aren't being used, the first question should be "is this worth keeping in the first place?", and if it is, figuring out how to make it better is the next step. It doesn't make sense to spend time working on a feature that isn't going to be used regardless.
For example, many games that have editors use scripting tools that allow users to make scripts from pre made elements that are easy to learn and require little to no knowledge of coding. An editor that works like that is inevitably used by much more people than one that needs manual scripting.
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: How is the in-game editor used?
Which is why I'm starting to ask these questions in the first place.
I'm not looking to completely overhaul how the editor works - I simply don't have the time to attempt something like that.BTIsaac wrote: ↑December 21st, 2020, 11:50 pm For example, many games that have editors use scripting tools that allow users to make scripts from pre made elements that are easy to learn and require little to no knowledge of coding. An editor that works like that is inevitably used by much more people than one that needs manual scripting.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: How is the in-game editor used?
Not sure what to link to specifically, but FLARE has configuration files similar to the WML files of Wesnoth, and you can write in the appropriate custom (FLARE) keys at a location in the Tiled editor. This is a screenshot of the tiled session used to create the config file to the left. Basically, my point is that such a hybrid system (some button clicking, some typing) would make sense. You'd have to have some vague idea what you were doing, but the available keys are shown from some sort of template and it should be enough guidance for most people.
EDIT: I should add, the reason I'm going on about this is that I don't see a simple way to incorporate everything with button-clicking only, but I can imagine how items, units, and moveto-type events could be filled in Tiled-style with existing GUI2 widgets, in a way that wasn't confusing. The devil's in the details, it probably isn't simple, but it's not necessarily a total rewrite.
BfW 1.12 supported, but active development only for BfW 1.13/1.14: Bad Moon Rising | Trinity | Archaic Era |
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
Re: How is the in-game editor used?
RPG Maker does this sort of thing. There is a map editor where you do a lot of clicking, followed by a little coding in some windows, which is mostly checking boxes and entering values. For example, to create a chest on the map and put gold in the chest is easy. To make the chest require a key that is located elsewhere takes a few more steps.doofus-01 wrote: ↑December 22nd, 2020, 12:48 am Basically, my point is that such a hybrid system (some button clicking, some typing) would make sense. You'd have to have some vague idea what you were doing, but the available keys are shown from some sort of template and it should be enough guidance for most people.
Author of:
DIY Campaign, Confederacy of Swamp Creatures: Big Battle 1, Confederacy of Swamp Creatures: Big Battle 2, Frogfolk Delivery Service, The Pool of Ek.
DIY Campaign, Confederacy of Swamp Creatures: Big Battle 1, Confederacy of Swamp Creatures: Big Battle 2, Frogfolk Delivery Service, The Pool of Ek.
Re: How is the in-game editor used?
It was an example. My point is that pulling something because there's no demand for it is not a successful mindset. Creating demand is. I wasn't trying to tell you what you should be doing. I mostly just went off on a tangent because you said something that made it come to mind.Pentarctagon wrote: ↑December 22nd, 2020, 12:24 amI'm not looking to completely overhaul how the editor works - I simply don't have the time to attempt something like that.BTIsaac wrote: ↑December 21st, 2020, 11:50 pm For example, many games that have editors use scripting tools that allow users to make scripts from pre made elements that are easy to learn and require little to no knowledge of coding. An editor that works like that is inevitably used by much more people than one that needs manual scripting.