Search found 3523 matches
- Today, 6:19 am
- Forum: WML Workshop
- Topic: Disable Recruit from Crossing Water
- Replies: 6
- Views: 55
Re: Disable Recruit from Crossing Water
If you change unit, then it should be recruit event and first_time_only no. If you change AI, then it should be start, prestart, turn x, or another not unit based event.
- Yesterday, 4:43 pm
- Forum: Users’ Forum
- Topic: 1.18 "Add-on ID" structure questions
- Replies: 21
- Views: 211
Re: 1.18 "Add-on ID" structure questions
By symbol we talk about
Syntax: #ifdef symbol substitution-if-defined [#else substitution-if-not-defined ] #endif and Syntax: #define symbol [parameters] <newline> substitution #enddef meaning.- Yesterday, 12:31 pm
- Forum: Users’ Forum
- Topic: I've lost all my hit points at Monte Carlo...
- Replies: 5
- Views: 48
Re: I've lost all my hit points at Monte Carlo...
The first sentences gives impression you expect there be some relation between level and chance to hit. That is not the case.
Monte Carlo affects damage estimation before fight. It does not affect actual fight.
Monte Carlo affects damage estimation before fight. It does not affect actual fight.
- Yesterday, 9:05 am
- Forum: Users’ Forum
- Topic: 1.18 "Add-on ID" structure questions
- Replies: 21
- Views: 211
Re: 1.18 "Add-on ID" structure questions
I believe extra_defines is deprecated because it does not do anything useful. If you have designed your addons to have use case for it, you would solve it by define=A and
Code: Select all
#ifdef A
#define B
#enddef
#endif
- Yesterday, 7:30 am
- Forum: Users’ Forum
- Topic: 1.18 "Add-on ID" structure questions
- Replies: 21
- Views: 211
Re: 1.18 "Add-on ID" structure questions
You need to include macros in _main.cfg, but for readability its common to put their definition in another file like utils. If you do not include them ({./utils/macros.cfg}) in _main.cfg then utils file will not be read. Wesnoth does not look files unless you tell it to look through _main.cfg.
- Yesterday, 7:15 am
- Forum: WML Workshop
- Topic: Enemies randomly get set to 4 hp
- Replies: 3
- Views: 59
Re: Enemies randomly get set to 4 hp
To solve it dont add object to unit that already has this object. I use status to keep track of that https://github.com/ProditorMagnus/Oroci ... ua#L77-L97
- July 9th, 2026, 6:09 pm
- Forum: WML Workshop
- Topic: v1.19.24 Windows 11 Possible bug
- Replies: 12
- Views: 173
Re: v1.19.24 Windows 11 Possible bug
Ability events dont work well enough for me to even consider using them. Though as log says if you do want to use them you need id.
In this example, reason for error is that you register event in name=side 1 turn 1. That does not have unit/second_unit available. From what I understand, practically ...
In this example, reason for error is that you register event in name=side 1 turn 1. That does not have unit/second_unit available. From what I understand, practically ...
- July 9th, 2026, 3:56 pm
- Forum: WML Workshop
- Topic: Attack Calculation beyond max HP
- Replies: 3
- Views: 78
Re: Attack Calculation beyond max HP
I mean the feature that unit is not capped to max hp regularly.
- July 8th, 2026, 7:15 pm
- Forum: Faction & Era Development
- Topic: Rashy Era
- Replies: 338
- Views: 530515
Re: Rashy Era
ABILITY_FEAR with -25 per level is too strong, better change it to -15.
- July 8th, 2026, 3:49 pm
- Forum: Users’ Forum
- Topic: 1.18 "Add-on ID" structure questions
- Replies: 21
- Views: 211
Re: 1.18 "Add-on ID" structure questions
Ageless contains [modification] https://github.com/ProditorMagnus/Ageless-for-1-14/blob/master/data/resource.cfg#L37 and [era] https://github.com/ProditorMagnus/Ageless-for-1-14/blob/master/eras/ageless_era.cfg#L4. Both are toplevel addon tags, so can be published in separate addons.
I also use ...
I also use ...
- July 8th, 2026, 3:13 pm
- Forum: Users’ Forum
- Topic: 1.18 "Add-on ID" structure questions
- Replies: 21
- Views: 211
Re: 1.18 "Add-on ID" structure questions
Feels like misunderstanding, would you show which announcement or documentation you mean. You can still use multiple addons. But if you want you can also have multiple user-visible campaigns in one addon.
Addons can have dependencies, you declare them in _server.pbl. You can have dependency addon ...
Addons can have dependencies, you declare them in _server.pbl. You can have dependency addon ...
- July 8th, 2026, 3:09 pm
- Forum: WML Workshop
- Topic: Attack Calculation beyond max HP
- Replies: 3
- Views: 78
Re: Attack Calculation beyond max HP
To be fair, the fact hp over max works as well as it currently does is accident and might disappear at any time. If that is important feature for your addon I would create wml test for it, like I did for https://github.com/wesnoth/wesnoth/blob/master/data/test/scenarios/wml_tests/UnitsWML ...
- July 8th, 2026, 3:06 pm
- Forum: Faction & Era Development
- Topic: Shards Era
- Replies: 27
- Views: 8332
Re: Shards Era
It is blocked until Morath is ready to publish allowed version.
- July 6th, 2026, 8:52 pm
- Forum: WML Workshop
- Topic: v1.19.24 Windows 11 Possible bug
- Replies: 12
- Views: 173
Re: v1.19.24 Windows 11 Possible bug
Quick search for -999 found mentions of goto_x, goto_y (with -999 as default value) and otherwise as default location. Since you have narrowed it down to specific event you can post it, but also test it by setting x1,x2 to on map value, while not touching y1,y2 to see how message behaves.
- July 6th, 2026, 4:54 pm
- Forum: WML Workshop
- Topic: v1.19.24 Windows 11 Possible bug
- Replies: 12
- Views: 173
Re: v1.19.24 Windows 11 Possible bug
Canonical reason for failed autostore is using reserved variable name unit/second_unit during time where x1y1/x2y2 is not valid.