Terrain codes
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.
-
- Posts: 153
- Joined: September 5th, 2018, 5:21 pm
- Location: Albania
Terrain codes
So is there like a list of the terrain codes of the map you know like (^Eb, ^Ebn) and what not. I'm trying to make ambushed units like those in heir to the throne scenario crossroads. I kind of know whats going on but the terrain codes are a bit confusing.
Competitive Wesnoth. For the fans by the fans.
Re: Terrain codes
One example about code matching – with Gg^Ebn
G*^Eb*
matches, both the Eb and Ebn ones*^Ebn
matches, also on the beach Gg^*
matches. also matches with villages.G*
matches not*
This one is an exception and doesn't follow the same logic, don't use it. IIRC it can be written as *^*
Gg^E*n
no idea what it does, but not what you expect it to do.Try out the dark board theme.
-
- Posts: 153
- Joined: September 5th, 2018, 5:21 pm
- Location: Albania
Re: Terrain codes
thanks now if anyone else know how to make the forest with the underlayer of hill please tell me i can not do this in map editorCaladbolg wrote: ↑March 23rd, 2019, 2:49 pm Here you go: https://wiki.wesnoth.org/TerrainCodeTableWML and https://wiki.wesnoth.org/TerrainCodesWML
Competitive Wesnoth. For the fans by the fans.
Re: Terrain codes
1. Place the hills
2. Hold the shift key while placing the forests
There's a Wiki page with editor hints somewhere, but I can't find it at the moment.
2. Hold the shift key while placing the forests
There's a Wiki page with editor hints somewhere, but I can't find it at the moment.
Re: Terrain codes
The same way you can place other overlay terrains (e.g. villages or bridges) disregarding their default base.
Author of SP scenario Dragon Fight and SP campaign Captured by a Nightmare.
Created The Rise of Wesnoth (alternative mechanics) version of the mainline campaign.
Created The Rise of Wesnoth (alternative mechanics) version of the mainline campaign.
Re: Terrain codes
https://wiki.wesnoth.org/MapEditor . I added a link to it from BuildingMaps (which is itself linked from Create on the top bar) but that's the only link to that page right now, there may be other pages that should link to that one, or forum threads...
- beetlenaut
- Developer
- Posts: 2825
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Re: Terrain codes
This tip should be a note in the editor itself somewhere. It's fine that there's a wiki page, but that's not where I would think to look for help. Actually, I used to just assume it was impossible, so I wasn't looking for help in the first place. (Actually, there should just be a page in the regular Wesnoth help system about using the editor.)
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide