Add on in map editor
Moderator: Forum Moderators
-
- Posts: 6
- Joined: May 14th, 2015, 9:21 am
Add on in map editor
Hello, I downloaded an add on to land and other things, but do not come out the map editor. As I can make them look ???
- Jarom
- Posts: 110
- Joined: January 4th, 2015, 8:23 pm
- Location: Green Isle, Irdya or Poland, Earth - I'm not quite sure
Re: Add on in map editor
in it's _main.cfg place
And... it will be easier to help you if you send what add-on it's exactly - this will make me or somebody else able to give you answer more fitting to problem.#ifdef EDITOR
paths to things to load
#endif
- Pentarctagon
- Project Manager
- Posts: 5565
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Add on in map editor
Moved to the Users' Forum.
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
-
- Posts: 6
- Joined: May 14th, 2015, 9:21 am
Re: Add on in map editor
Thank you. UMC is the Terrain Pack.
This copied to the D: \ UMC_Terrain_Pack
Found that the directory exists.
And this is what I put in the _main.cfg
This copied to the D: \ UMC_Terrain_Pack
Code: Select all
I get this error
Custom Error loading game configuration files. The game will try loading without add-ons.
Details: Macro / file 'D: / UMC_Terrain_Pack / utils / Archaic_Resources' is missing at _main.cfg: 147
And this is what I put in the _main.cfg
Code: Select all
#textdomain wesnoth-UMC_Terrain_Pack
[Textdomain] name = "wesnoth-UMC_Terrain_Pack" path = "D: / UMC_Terrain_Pack / translations"
[/ Textdomain]
#ifdef EDITOR
[Binary_path] path = D: / UMC_Terrain_Pack /
[/ Binary_path]
[Editor_group] id = UMC_Terrain_Pack_AR name = _ "Archaic UTP Resources" icon = "group_custom_04"
[/ Editor_group]
[Editor_group] id = UMC_Terrain_Pack_IftU name = _ "UTP IFTU" icon = "group_custom_04"
[/ Editor_group]
[Editor_group] id = UMC_Terrain_Pack_Strat name = _ "UTP Strategy Map" icon = group_custom2
[/ Editor_group]
{D: / UMC_Terrain_Pack / utils / Archaic_Resources}
{~ / UMC_Terrain_Pack / utils / IFTU}
{~ / UMC_Terrain_Pack / utils / Strat}
#endif
# Ifdef MULTIPLAYER
# {~ / UMC_Terrain_Pack / load_UTP.cfg}
# Endif
- Jarom
- Posts: 110
- Joined: January 4th, 2015, 8:23 pm
- Location: Green Isle, Irdya or Poland, Earth - I'm not quite sure
Re: Add on in map editor
First - I don't know if that spaces can make problems.
Next - It's possible to place folder with terrain to add-ons folder again, isn't it? That will be easier.
Last - I found that this add-on installed automatically with something else. It's visible in editor, needs only something to be loaded in multiplayer. What version of BfW you have?
Next - It's possible to place folder with terrain to add-ons folder again, isn't it? That will be easier.
Last - I found that this add-on installed automatically with something else. It's visible in editor, needs only something to be loaded in multiplayer. What version of BfW you have?
Re: Add on in map editor
Addons are not allowed to read files from just any random location, it needs to be in data or userdata.
(and yes, fix spaces too, and wesnoth is case-sensitive too)
(and yes, fix spaces too, and wesnoth is case-sensitive too)
- Elvish_Hunter
- Posts: 1576
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: Add on in map editor
Also, you should put either one opening tag, or one closing tag, or one key=value pair per line. WML isn't HTML, and a code structure like this:
is almost guaranteed to not work. I'm saying almost, because to be honest I never seen an add-on structured like that. By the way, tag names are case-sensitive too.
Code: Select all
[Editor_group] id = UMC_Terrain_Pack_Strat name = _ "UTP Strategy Map" icon = group_custom2
[/ Editor_group]
Current maintainer of these add-ons, all on 1.16:
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
-
- Posts: 6
- Joined: May 14th, 2015, 9:21 am
Re: Add on in map editor
reinstall everything and now works fine, not be that could have happened
Thank
1.13.2a version
Thank
1.13.2a version