Legend of the Invincibles

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply

Which of these units you find worth advancing and gearing heavily? Unpopular ones will be reworked.

Prophet
52
21%
Reaper
29
12%
Scythemaster
20
8%
Shadowalker
18
7%
Shadow Prince
19
8%
Siege Troll
11
5%
Sky Goblin
4
2%
Snow Hunter
20
8%
Soul Shooter
5
2%
Swordmaster
28
11%
Troll Boulderlobber
2
1%
Warlock
24
10%
Werewolf Rider
5
2%
Zombie Rider
7
3%
 
Total votes: 244

User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Legend of the Invincibles

Post by Dugi »

The fast AI is not significantly dumber. It's not easy to notice that it's not as intelligent as the default one. Read more about it here (ignore the wesnoth 1.13 only part). Download the attached 'update' (copy the files, replacing your own into its folder) and try it out (note: you'll need to change the sixth line of your save file to campaign_extra_defines="ACCELERATE_AI" or campaign_extra_defines="ACCELERATE_AI,LOTI_LOW_DROPS" if you're in the first chapter).
dabber wrote:attack_gauntlets, attack_amulet, attack_armour, attack_ring
These should have never been created. I wasn't able to find them in my save files, can you please post what do they contain?

Menu item definitions can't be removed. I can just hide them.

I've dealt with the rest of junk variables except recruited_unit_random_variation, that is created by a core macro.

Thanks for the report.
Attachments
Legend_of_the_Invincibles.zip
Update with some fixes and the edited AI (note: you'll need to change the sixth line of your save file to campaign_extra_defines="ACCELERATE_AI" or campaign_extra_defines="ACCELERATE_AI,LOTI_LOW_DROPS" if you're in the first chapter).
(1.33 MiB) Downloaded 134 times
User avatar
dabber
Posts: 464
Joined: April 2nd, 2014, 6:41 pm

Re: Legend of the Invincibles

Post by dabber »

Example of weird variable below. That is a short one. attack_ring was 1200 lines.
Spoiler:
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Legend of the Invincibles

Post by Dugi »

Thanks, that's the information I needed.

EDIT: If my theory is correct, the attached file should fix it (I can't be sure because I wasn't able to replicate it). You'll need to clear the unwanted huge bloated variables yourself, they should have never been created. Manipulating the inventory (when changing non-weapon items adding weapon special?) might replicate the bug.
Attachments
stats.cfg.zip
Use the unpacked file to replace add-ons/Legend_of_the_Invincibles/utils/stats.cfg (yes, the new version is smaller).
(13.45 KiB) Downloaded 182 times
User avatar
dabber
Posts: 464
Joined: April 2nd, 2014, 6:41 pm

Re: Legend of the Invincibles

Post by dabber »

line 771 of chapter 9 utils is
{VARIABLE quests.uria_avatar 1}
but the variable quests.uria_avatar appears nowhere else I see.

I killed the avatar, I think for the second time, and no dialogue popped. I check debug and quests.uria_avatar_deaths still does not exist. Maybe I'm missing something, but I think I should be seeing dialogue.
met_uria_avatar=2
uria_avatar=1 (although per above, I think this is wrong)
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Legend of the Invincibles

Post by Dugi »

It seems that I planned to use the quests.uria_avatar variable, but I didn't need it. I removed that line.

I can't find an error in creating the event for her second dying dialogue, and also it's not different from others. You can try to find it in the save file, if the search finds the sentence How can you always find the weak spot I considered too hard to find to be worth fixing... twice in the save file, the event was deployed but wasn't activated. How did you kill her? It seems to me that the cause of the failure of the last breath event to fire was some unlucky weapon special, not the event itself.
Can you upload a save file from the time when she was about to die? It might help me somewhat.

_________________
EDIT: I am adding a new feature, it has no effect on the game but I have seen it in another game and it looks pretty cool. To give more meaning to the items, they have a short text that tells something about the item. It may describe how is it used, it can be a funny comment, it can be a cryptic reference to something unrelated to the game yet somewhat related to that particular item (no rewards for guessing those, it can be just googled). It does not show in inventory because it would uselessly clog it.
Image
And as you maybe noticed, the cause of indenting of some item properties was found and fixed.
User avatar
Tom_Of_Wesnoth
Posts: 208
Joined: January 14th, 2015, 4:03 pm
Location: Wesnoth 2020 and Wesnoth 2007

Re: Legend of the Invincibles

Post by Tom_Of_Wesnoth »

I like that new feature, it's always nice knowing a bit of lore about your items.
If presented with the opportunity, I would take great pleasure in becoming a world ruler.
User avatar
dabber
Posts: 464
Joined: April 2nd, 2014, 6:41 pm

Re: Legend of the Invincibles

Post by dabber »

I think figured it out! The events for Uria avatar dying has filter on type="Uria" instead of type="Uria_avatar". I'm not sure it needs the type field at all?
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Legend of the Invincibles

Post by Dugi »

@Tom_Of_Wesnoth
I hope others will accept it as easily as you.

@dabber
It seems so. If I recall things correctly, the reason to check the type is no longer needed. Thanks for the effort.
User avatar
Tom_Of_Wesnoth
Posts: 208
Joined: January 14th, 2015, 4:03 pm
Location: Wesnoth 2020 and Wesnoth 2007

Re: Legend of the Invincibles

Post by Tom_Of_Wesnoth »

I don't see any reason anyone wouldn't accept it! :D
If presented with the opportunity, I would take great pleasure in becoming a world ruler.
User avatar
dabber
Posts: 464
Joined: April 2nd, 2014, 6:41 pm

Re: Legend of the Invincibles

Post by dabber »

Are you writing item flavor text like mad, or are you interested in suggestions for ones you haven't done yet? (the zip you attached above has some)
I like the screen shot of Aevyn's Wrath ... "I cannot quite figure out how to use this thing".
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Legend of the Invincibles

Post by Dugi »

I am interested in suggestions, of course. I am not demanding them, but if somebody has an idea he considers cool, he should post it and if I find it cool too, it can replace mine. Anyway, I am not adding any flavour texts if I don't have an idea what might it be, like a half of items have none at the moment.

Example of an item's flavour that tells a part of its story:
Image
orian34
Posts: 12
Joined: December 25th, 2014, 12:31 pm

Re: Legend of the Invincibles

Post by orian34 »

for the fire breath, perhaps reduce the damage but add the burn debuff?
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Legend of the Invincibles

Post by Dugi »

It does incinerate the main target already. Mass incineration would be too strong IMO.
User avatar
Tom_Of_Wesnoth
Posts: 208
Joined: January 14th, 2015, 4:03 pm
Location: Wesnoth 2020 and Wesnoth 2007

Re: Legend of the Invincibles

Post by Tom_Of_Wesnoth »

Aww, mass incineration is fun...
If presented with the opportunity, I would take great pleasure in becoming a world ruler.
Aevyn
Posts: 107
Joined: May 25th, 2013, 4:17 am

Re: Legend of the Invincibles

Post by Aevyn »

Descriptions on items are a nice touch; I like it. Question though.

Are you sure descriptions should use "I" in it or be in first person? Assuming it's a reference or that's it's lore, shouldn't it be in third person or at least omit self reference?
Post Reply