Cliff from Mesilliac
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.
- battlestar
- Posts: 690
- Joined: January 1st, 2007, 7:12 am
Cliff from Mesilliac
Looking for possibly deprecated macro {PATH}, anyone know where the code is? Trying to incorporate mesilliac's cliff terrains: http://forums.wesnoth.org/viewtopic.php ... 2&start=78
Last edited by battlestar on July 18th, 2011, 3:54 am, edited 1 time in total.
LUA: Llama Under Apprenticeship
Hell faction: completed
Hell faction: completed
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Looking for a depreciated macro
It's defined in that code itsself. Just make sure to include the files in the right order.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
- battlestar
- Posts: 690
- Joined: January 1st, 2007, 7:12 am
Re: Looking for a depreciated macro
Thanks, and something is off about the path to the images: two of the icons would show up in the editor but would add invisible terrain. I put the images in <campaign directory>\images\terrain\cliffs
LUA: Llama Under Apprenticeship
Hell faction: completed
Hell faction: completed
- battlestar
- Posts: 690
- Joined: January 1st, 2007, 7:12 am
Re: Cliff from Mesilliac
Could anyone help? I looked through these codes several times and don't understand what's wrong with the path directory. I've attached my folders layout and associated files below. It only contains terrain related stuff.
- Attachments
-
- Test_Campaign_Copy.zip
- (374.25 KiB) Downloaded 146 times
LUA: Llama Under Apprenticeship
Hell faction: completed
Hell faction: completed
Re: Cliff from Mesilliac
Well, what's the problem?
I put it in my add-on folder and it worked fine. One thing I noticed was that if you colour one hex nothing happens but if you do several hexes in a row it works. I tried playing a game with it but it said illegal character in map but that happens in all the custom terrains. To use it check this post http://forums.wesnoth.org/viewtopic.php?f=21&t=30571.
I put it in my add-on folder and it worked fine. One thing I noticed was that if you colour one hex nothing happens but if you do several hexes in a row it works. I tried playing a game with it but it said illegal character in map but that happens in all the custom terrains. To use it check this post http://forums.wesnoth.org/viewtopic.php?f=21&t=30571.
- battlestar
- Posts: 690
- Joined: January 1st, 2007, 7:12 am
Re: Cliff from Mesilliac
Strange... Nothing happens for me with several hexes in a row... nothing happens for me after painting the whole map with it. I'm using 1.9.7 version.
LUA: Llama Under Apprenticeship
Hell faction: completed
Hell faction: completed
Re: Cliff from Mesilliac
Umm, I'm using 1.8.0
Re: Cliff from Mesilliac
It would be a good idea to contact Eleazar, the Terrain Art Director
- Alarantalara
- Art Contributor
- Posts: 786
- Joined: April 23rd, 2010, 8:17 pm
- Location: Canada
Re: Cliff from Mesilliac
1.9 switched to requiring the .png extension for file names within the terrain image tag. I've made the required changes for 1.9 (it will not work in 1.8 or earlier now).
I also switched the editor group to the custom one you defined to match best practices for add-on terrain.
I also switched the editor group to the custom one you defined to match best practices for add-on terrain.
- Attachments
-
- Archive.zip
- (2.06 KiB) Downloaded 166 times
- battlestar
- Posts: 690
- Joined: January 1st, 2007, 7:12 am
Re: Cliff from Mesilliac
Thanks, it works perfectly. Once I have the time I'll be sure to read your guide on the terrains, it looks great.
LUA: Llama Under Apprenticeship
Hell faction: completed
Hell faction: completed