Search found 384 matches

by Gwledig
Yesterday, 4:13 pm
Forum: WML Workshop
Topic: without explicit #undef
Replies: 14
Views: 220

Re: without explicit #undef

Thanks will rename the local one vs use of undef...
by Gwledig
Yesterday, 11:57 am
Forum: WML Workshop
Topic: Random map in Lua?
Replies: 4
Views: 75

Re: Random map in Lua?

Ah thanks I am pretty sure that is the same map I based my current random cave on, if this is the case I just need to snatch the WML and update my own maps...
by Gwledig
July 14th, 2019, 11:40 pm
Forum: WML Workshop
Topic: Random map in Lua?
Replies: 4
Views: 75

Re: Random map in Lua?

sorry which campaign pls?
by Gwledig
July 14th, 2019, 11:20 pm
Forum: WML Workshop
Topic: without explicit #undef
Replies: 14
Views: 220

Re: without explicit #undef

thanks that seems to sort out the #undef error for leadership, which I'd added as a custom macro as it's being deprecated... simply by adding #undef MACRONAME before the macro... presumably disabling the core one I spose..
by Gwledig
July 14th, 2019, 9:40 pm
Forum: WML Workshop
Topic: without explicit #undef
Replies: 14
Views: 220

Re: without explicit #undef

hm I'm not sure I can undefine most of these macros e.g. leadership replacement is used at any time of the game... as is the bonus gold stuff (used to calculate bonus gold when all vilas in a 'region' are captured). I there not a way of supressing this/specific kinds of errors? Just good to keep log...
by Gwledig
July 14th, 2019, 9:30 pm
Forum: WML Workshop
Topic: Random map in Lua?
Replies: 4
Views: 75

Random map in Lua?

Hi I notice that random maps of the 'cave' type are not working in 1.14, other normal 'default' random maps still seem to be working... The WML docs and game logs tell you to use some kind of lua random map instead, but I can't find any usable instructions, the lua map guide has some kind of malform...
by Gwledig
July 14th, 2019, 7:07 pm
Forum: WML Workshop
Topic: without explicit #undef
Replies: 14
Views: 220

Re: without explicit #undef

Hm can't see #undef anywhere in that code...
by Gwledig
July 14th, 2019, 5:53 pm
Forum: WML Workshop
Topic: without explicit #undef
Replies: 14
Views: 220

Re: without explicit #undef

so I have a leadership macro to replace the deprecated version #define ABILITY_LEADERSHIP_LEVEL_1 # included in an [abilities] clause [leadership] value=25 affect_allies=yes affect_enemies=no affect_self=no cumulative=no name= _ "Leadership" female_name= _ "Female^Leadership" description= _ "This un...
by Gwledig
July 14th, 2019, 10:38 am
Forum: WML Workshop
Topic: warning config: Terrain 'Xt' has evaluated to 100 (cost)
Replies: 1
Views: 48

warning config: Terrain 'Xt' has evaluated to 100 (cost)

I am getting shed loads of these errors and notice they are often reported in other forum discussions re move to 1.14, is there anything that can be done about these? I am assuming its terrain cost but I am not defining these special mv costs anywhere, so I am wondering f it's an internal Wesnoth is...
by Gwledig
July 14th, 2019, 10:36 am
Forum: WML Workshop
Topic: without explicit #undef
Replies: 14
Views: 220

without explicit #undef

Hi I am trying to figure out why I have a lot of these errors eg warning preprocessor: Redefining macro CALCULATE_INCOME_BONUS_WESNOTH without explicit #undef Does this mean I need an ID or something in these macros? here is an example of the log 20190714 11:11:17 warning preprocessor: Redefining ma...
by Gwledig
July 13th, 2019, 11:11 pm
Forum: WML Workshop
Topic: deprecation of message in [option]?
Replies: 6
Views: 92

Re: deprecation of message in [option]?

ah of course thanks for that
by Gwledig
July 13th, 2019, 10:49 pm
Forum: WML Workshop
Topic: deprecation of message in [option]?
Replies: 6
Views: 92

Re: deprecation of message in [option]?

thanks although description caused a big indent, managed to do this kindof thing with search & replace

Code: Select all

image=_ "units/human-peasants/peasant.png~RC(magenta>red)"
label=" Worker - 4 Gold
by Gwledig
July 13th, 2019, 9:57 pm
Forum: WML Workshop
Topic: odd movement attribute deprecated
Replies: 3
Views: 60

Re: odd movement attribute deprecated

I hashed # out all 'movement=' instances but still got the same report in the log...
by Gwledig
July 13th, 2019, 9:42 pm
Forum: WML Workshop
Topic: odd movement attribute deprecated
Replies: 3
Views: 60

odd movement attribute deprecated

Yet another common feature of WML appears to be deprecated warning unit: Unknown attribute 'movement' discarded. The only place I have movement as an attribute is when I create units on the fly in [unit] then modify existing unit type e.g. [effect] apply_to=movement set=5 [/effect] The odd thing is ...
by Gwledig
July 13th, 2019, 9:12 pm
Forum: WML Workshop
Topic: deprecation of message in [option]?
Replies: 6
Views: 92

Re: deprecation of message in [option]?

Hm I did see https://wiki.wesnoth.org/DescriptionWML#WML_Format, this would be a massive update as each message would need a new bit of code with a separate image element, I certainly hope this doesn't happen in 1.15