Knyghtmare's WML problems
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.
- Lord-Knightmare
- Discord Moderator
- Posts: 2364
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Help with Terrain Transitions (Again)
Increasing the layer? How do I do that?8680 wrote:Have you tried increasing the layer?
Also, it is preferred that each member uses a single WML Workshop thread, rather than one thread per question, so I am merging this with your previous threads.
Merging with my other threads? I have many threads in this forum topic . Good luck, finding them all....
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: Help with Terrain Transitions (Again)
The layer isLord-Knightmare wrote:Increasing the layer? How do I do that?
-89
; try changing that.
Thanks, but I don’t need luck — time and experience will serve instead.Lord-Knightmare wrote:Merging with my other threads? I have many threads in this forum topic . Good luck, finding them all....
Edit: That was easy. You had “only” nine. Two weeks ago I’d have thought that a great quantity, but now it seems a paltry one.
- Lord-Knightmare
- Discord Moderator
- Posts: 2364
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Help with Terrain Transitions (Again)
Should I increase or decrease the layer value?8680 wrote:The layer isLord-Knightmare wrote:Increasing the layer? How do I do that?-89
; try changing that.Thanks, but I don’t need luck — time and experience will serve instead.Lord-Knightmare wrote:Merging with my other threads? I have many threads in this forum topic . Good luck, finding them all....
And, wow, merging 34 threads! Unbelievable.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: Help with Terrain Transitions (Again)
Increase, to move it above the mountains.Lord-Knightmare wrote:Should I increase or decrease the layer value?
- Lord-Knightmare
- Discord Moderator
- Posts: 2364
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Knyghtmare's WML problems
The problem still persists...Got anymore methods I could try?
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: Scenarios won't load.
Sure, the campaign will load just fine with them. Then again, the campaign would also load just fine if instead ofLord-Knightmare wrote:I still can't figure out why I shouldn't load images. Campaign loads just fine with'em.
Code: Select all
{~add-ons/The_Legend_Begins/images}
Code: Select all
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
{~add-ons/The_Legend_Begins/images}
- Lord-Knightmare
- Discord Moderator
- Posts: 2364
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Scenarios won't load.
Well, including it just once is enough, rather than spamming one's _main.cfg file with this.JaMiT wrote:Sure, the campaign will load just fine with them. Then again, the campaign would also load just fine if instead ofLord-Knightmare wrote:I still can't figure out why I shouldn't load images. Campaign loads just fine with'em.you hadCode: Select all
{~add-ons/The_Legend_Begins/images}
Why should you include something only once, when you can include it a dozen times without causing a problem?Code: Select all
{~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images} {~add-ons/The_Legend_Begins/images}
Now, how do make the terrain transitions better? Should I copy/edit some transitions from mainline castles?
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: Knyghtmare's WML problems
when you include a folder like that nothing will happen. wesnoth just looks for *.cfg files.
Re: Scenarios won't load.
Enough for what? The single line has just as much effect as the eleven lines you think are excessive. That's the point -- you laugh at using twelve lines when one line accomplishes the same thing. Well, you should also laugh at using one line when using no lines accomplishes the same thing.Lord-Knightmare wrote:Well, including it just once is enough, rather than spamming one's _main.cfg file with this.
Edit: In other words, including it never is better than spamming one's _main.cfg file with this useless line.
- Alarantalara
- Art Contributor
- Posts: 786
- Joined: April 23rd, 2010, 8:17 pm
- Location: Canada
Re: Knyghtmare's WML problems
Copying all the mountain macros from the core terrain graphics and placing them before your castle definition will work, but it's not exactly a nice way to do things.Lord-Knightmare wrote:The problem still persists...Got anymore methods I could try?
Changing layers doesn't help much here. You could move the layer of the walls higher by redoing the wall macros, but they're as high as they can go without covering units, so you'd just see other problems. This might properly be viewed as a bug in the terrain graphics macros—either the mountains or the walls need to have their base (not layer) adjusted to avoid this issue in which the order they are declared matters.
- Lord-Knightmare
- Discord Moderator
- Posts: 2364
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Knyghtmare's WML problems
It has worked Thanks, folks.Copying all the mountain macros from the core terrain graphics and placing them before your castle definition will work, but it's not exactly a nice way to do things.
Now, let's move on my other WML problems. Still can't get the charm ability to work...
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
- Lord-Knightmare
- Discord Moderator
- Posts: 2364
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Knyghtmare's WML problems
Okay, I need help again.
I'm trying to store specific units in a side's recall list. Then clear the variable.
Function
To carry hero and loyal units to the next scenario, while dismissing non-loyals.
Problem
No non-loyal units seem to be missing...
I'm trying to store specific units in a side's recall list. Then clear the variable.
Function
To carry hero and loyal units to the next scenario, while dismissing non-loyals.
Problem
No non-loyal units seem to be missing...
Spoiler:
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: Knyghtmare's WML problems
You have
Also, why not simply
[store_unit]
attributes (kill=yes
, variable=regulars
) in [store_unit][filter]
.Also, why not simply
[kill]
the regulars, rather than kill-storing them into a variable and then clearing the variable?- Lord-Knightmare
- Discord Moderator
- Posts: 2364
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Knyghtmare's WML problems
Firstly, I am well aware that I am resurrecting a four-year-old forum topic. However, the purpose of this topic was to address the WML-related problems I face while coding. Hence, I saw no point in recreating another topic.
Now, to my current problem:
Using text-edit, I filtered out the bugged line:
Why is this giving me an utter headache?
I can't seem to figure out how this leads to a quoted string error. Is this because of the
I disabled the feature and retyped the whole thing using the normal
Resources:
Download the Unreleased version of Hero of Irdya I and War of Legends (1.1.7+) from the trunk add-on server and install them manually. In-game installation is not currently feasible since access to the Trunk add-on server via client seems to be disabled. (Someone should look into that).
TO BE UPDATED: I will post github links to the files as soon as I get my accounts (both of them) linked with my new MacBook Pro.
UPDATE:
Now, to my current problem:
Using text-edit, I filtered out the bugged line:
Code: Select all
{STORY_CHARACTER_PART "portraits/drakes/transparent/flameheart.png" ( _ "Karri Kon") ( _ "Once the orcs have been exterminated, their lands will be unoccupied. We can divide them among us.")}
I can't seem to figure out how this leads to a quoted string error. Is this because of the
"
? My text-editor had this automatic feature of replacing "
with "
. I disabled the feature and retyped the whole thing using the normal
"
. The problem persists.Resources:
Download the Unreleased version of Hero of Irdya I and War of Legends (1.1.7+) from the trunk add-on server and install them manually. In-game installation is not currently feasible since access to the Trunk add-on server via client seems to be disabled. (Someone should look into that).
TO BE UPDATED: I will post github links to the files as soon as I get my accounts (both of them) linked with my new MacBook Pro.
UPDATE:
Spoiler:
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: Knyghtmare's WML problems
Well there's another quote of the wrong type, two lines above that one.