Search found 1181 matches
- April 12th, 2024, 11:44 pm
- Forum: WML Workshop
- Topic: Let the gold rain down!
- Replies: 13
- Views: 491
Re: Let the gold rain down!
I assume you're familiar with the various turn events, like new_turn or side_2_turn:
Code: Select all
[gold]
side=2
amount=100
[/gold]
- April 12th, 2024, 10:59 pm
- Forum: WML Workshop
- Topic: WML messenger_ai problem
- Replies: 5
- Views: 371
Re: WML messenger_ai problem
However, if you only store those units purely to associate them with the micro_ai I think you could replace all your code with: I think that's quite different. The first looks like "If you're not in the water/swamp or near some location RIGHT NOW you get assigned the mai". The second look...
- April 12th, 2024, 4:46 pm
- Forum: WML Workshop
- Topic: Next question: how to trigger a "sighted" event.
- Replies: 5
- Views: 333
Re: Next question: how to trigger a "sighted" event.
https://wiki.wesnoth.org/EventWML#sighted The primary unit is the unit that became visible, and the secondary unit belongs to the side that now sees the primary unit. Sounds like you want to make sure that a unit not on side 1 is seen by a unit on side 1. JUST GUESSING HERE, but something like: [fil...
- April 12th, 2024, 3:00 am
- Forum: WML Workshop
- Topic: [AI] performance cost of mutliple CAs
- Replies: 1
- Views: 252
[AI] performance cost of mutliple CAs
I'm looking at creating a few units whose mission is to target a human-controlled leader. At the moment, using the simple_attack micro_ai. Each time I create one of these units, I create a CA for it, so I end up with something like this: [candidate_action] enabled=yes engine="lua" id="...
- April 11th, 2024, 6:49 pm
- Forum: Scenario & Campaign Development
- Topic: Legend of the Invincibles
- Replies: 8125
- Views: 2135367
Re: Legend of the Invincibles
It should work in 1.18, though there may be just a little strangeness most people won't notice.
But, yeah, AFAIK there's no 1.18 version published on the addons client/web, so git or the web version for 1.16.
But, yeah, AFAIK there's no 1.18 version published on the addons client/web, so git or the web version for 1.16.
- April 11th, 2024, 6:13 pm
- Forum: Scenario & Campaign Development
- Topic: Legend of the Invincibles
- Replies: 8125
- Views: 2135367
Re: Legend of the Invincibles
1: try without the filter?
2: Rename Legends_of_the_Invincibles-master to Legends_of_the_Invincibles
2: Rename Legends_of_the_Invincibles-master to Legends_of_the_Invincibles
- April 11th, 2024, 5:47 pm
- Forum: Scenario & Campaign Development
- Topic: Legend of the Invincibles
- Replies: 8125
- Views: 2135367
Re: Legend of the Invincibles
I'm playing (and coding on) the development version right now.
Can you be more specific? What versions (BfW and LotI) are you on? What errors are you getting?
Can you be more specific? What versions (BfW and LotI) are you on? What errors are you getting?
- April 11th, 2024, 4:29 pm
- Forum: WML Workshop
- Topic: Clone unit in WML
- Replies: 5
- Views: 446
Re: Clone unit in WML
Store, change id, unstore. If you do not trust yourself to avoid id conflicts then generate new [unit], save its id , kill it, and assign that id to copy. If I knew how to do that, couldn't I just unstore the original unit over itself (with find_vacant=yes) and let a new id be assigned? Of course, ...
- April 11th, 2024, 2:49 pm
- Forum: WML Workshop
- Topic: Clone unit in WML
- Replies: 5
- Views: 446
Clone unit in WML
I have to be missing something here. Without using lua, how do I simply clone a unit? I want to make a copy of a leader, and then change a few things (like canrecruit). I could make a new unit and copy all its attributes. I guess that's simple, but tedious. I could store a unit and unstore it. I thi...
- April 11th, 2024, 2:14 am
- Forum: Lua Labs
- Topic: Working lua need advice deciding which method is best
- Replies: 34
- Views: 1668
Re: Working lua need advice deciding which method is best
_("There is a $color $species.") I only speak American, not even English, but that looks like a pain for translators. Would they re-order $color and $species as necessary (in which case this appears to be a preferable alternative to string.format, which I find much more readable)? What ab...
- April 8th, 2024, 1:06 pm
- Forum: WML Workshop
- Topic: Custom dialog questions
- Replies: 6
- Views: 1536
Re: Custom dialog questions
1. Try adding "\n" where you want a line break? If not you may have to use multiple labels. You can use max_width in some places, but I've never figured out how to get that to do anything. 2. You mean it's too big? You can move the location, but (again) I'm not sure about size. 3. You can ...
- April 7th, 2024, 3:46 pm
- Forum: Scenario & Campaign Development
- Topic: Legend of the Invincibles
- Replies: 8125
- Views: 2135367
Re: Legend of the Invincibles
If you got the penetration changes you did get the demon trait changes as well. I think those only apply on easy/normal, though.
- April 7th, 2024, 3:21 pm
- Forum: Scenario & Campaign Development
- Topic: Legend of the Invincibles
- Replies: 8125
- Views: 2135367
Re: Legend of the Invincibles
If you mentioned it, I missed it. What LotI version and difficulty are you playing? Parts of chapter 10 used to be nearly impossible if a demon rolled the right traits, so I'm wondering if the changes might have helped. P.S. I usually skip Corrupted Town. Charge after charge after charge... I've pla...
- April 7th, 2024, 2:40 pm
- Forum: Scenario & Campaign Development
- Topic: Legend of the Invincibles
- Replies: 8125
- Views: 2135367
Re: Legend of the Invincibles
Very impressive.
How was chapter 10?
How was chapter 10?
- April 7th, 2024, 12:39 am
- Forum: Scenario & Campaign Development
- Topic: Legend of the Invincibles
- Replies: 8125
- Views: 2135367
Re: Legend of the Invincibles
Hey guys! Any idea if the campaign is going to be ported to 1.18? If so, is there any expected date of release? I've played the development version on 1.18 (actually 1.17 and 1.19). Other than some missing images during combat against certain unit types (just barely a minor annoyance), I didn't hav...