Search found 755 matches
- January 27th, 2022, 3:58 am
- Forum: Lua Labs
- Topic: luacheck tutorial
- Replies: 1
- Views: 3258
luacheck tutorial
Hi, Is there a tutorial on how to use luacheck with wesnoth? This is how I'm using it now. luacheck /home/amnesia/local/games/wesnoth/1.14/share/wesnoth/data . Where . is the addon I'm checking. My ~/.luacheckrc was copied from wesnoth master repo, and modified to reflect my installation paths. -- i...
- January 26th, 2022, 1:08 am
- Forum: WML Workshop
- Topic: Order of AI moves
- Replies: 11
- Views: 943
Re: Order of AI moves
Ok, guys here it is.
move_last micro_ai with forced gamestate change and no blacklisting or infinite loop. This includes the resting hack (still no clue why that happens, maybe ai.stopunit_all sets it?)
Thanks to mattsc for the force gamestate trick.
move_last micro_ai with forced gamestate change and no blacklisting or infinite loop. This includes the resting hack (still no clue why that happens, maybe ai.stopunit_all sets it?)
Thanks to mattsc for the force gamestate trick.
- January 25th, 2022, 8:13 pm
- Forum: WML Workshop
- Topic: Order of AI moves
- Replies: 11
- Views: 943
Re: Order of AI moves
hmm, force_gamestate_change didn't work. The ca still got blacklisted. I added the following to the definition file micro_ai.lua. (adapted for 1.14) -- force_gamestate_change by mattsc local utils = wesnoth.require "wml-utils" function utils.force_gamestate_change(ai) -- Can be done using ...
- January 24th, 2022, 4:19 pm
- Forum: WML Workshop
- Topic: Order of AI moves
- Replies: 11
- Views: 943
Re: Order of AI moves
Hi mattsc, it's good to see you again! Thanks, that was super helpful! It's good to know that this method "works even if the unit already has 0 moves". I didn't know that before. For my case, blacklisting would be the safest bet, but I will try to refactor the code to use the force_gamesta...
- January 24th, 2022, 1:10 pm
- Forum: WML Workshop
- Topic: Order of AI moves
- Replies: 11
- Views: 943
Re: Order of AI moves
I'm still trying to get the micro_ai version to work right, but I'm having issues with the rest healing. The healing is happening in a strange way. Here's the setup, I have 9 peasants. They all start with their hitpoints set to 8. The paths for Peasants 2 and 8 are blocked, so they shouldn't be able...
- January 23rd, 2022, 1:39 pm
- Forum: Scenario & Campaign Development
- Topic: 1.12 SP Drake Campaign, Brave Wings
- Replies: 186
- Views: 64681
Re: 1.12 SP Drake Campaign, Brave Wings
Seems to be part of the plot.Lord-Knightmare wrote: ↑January 23rd, 2022, 8:01 am I am playing the 1.16.2 port of this and I think the Elder wose hero got bugged really bad.
He lost both his ambush and regenerates and has a heals+4
- January 23rd, 2022, 1:27 pm
- Forum: Scenario & Campaign Development
- Topic: Case of the Missing Scepter
- Replies: 30
- Views: 15588
Re: Case of the Missing Scepter
In Hackalot, are my mounted units supposed to not have any traits? Seems like it. It created them using {NOTRAIT_UNIT} macro. Are wolves supposed to advance? Seems there are no advancement paths to or from. Wolf advancement needs to be explicitly defined. It didn't do that in the code. Storywise ar...
- January 23rd, 2022, 1:20 pm
- Forum: Scenario & Campaign Development
- Topic: 1.12 SP Drake Campaign, Brave Wings
- Replies: 186
- Views: 64681
Re: 1.12 SP Drake Campaign, Brave Wings
Yeah, I didn't change it from the original.Lord-Knightmare wrote: ↑January 23rd, 2022, 1:15 pm Also, the standing animations over water for Drake Lord, Drake Sword-line, Drake Brave-line and that Drake mage unit are broken.
- January 23rd, 2022, 1:17 pm
- Forum: Add-on Feedback
- Topic: Stranger in Wesnoth
- Replies: 10
- Views: 141251
Re: Stranger in Wesnoth
NOTE: This post is about the campaign An Innocent Man. The link from the addons http server brought me here. In Villages in Tumult, I think the dwarf AI needs to be adjusted so their leader doesn't get killed on turn 1. He dies with like 600 gold left, so I think this is probably not intended, but ...
- January 23rd, 2022, 1:01 pm
- Forum: Scenario & Campaign Development
- Topic: 1.12 SP Drake Campaign, Brave Wings
- Replies: 186
- Views: 64681
Re: 1.12 SP Drake Campaign, Brave Wings
Could you upload the save files, please?Lord-Knightmare wrote: ↑January 23rd, 2022, 8:01 am I am playing the 1.16.2 port of this and I think the Elder wose hero got bugged really bad.
He lost both his ambush and regenerates and has a heals+4
- January 22nd, 2022, 4:56 pm
- Forum: Scenario & Campaign Development
- Topic: vghetto port project
- Replies: 301
- Views: 32665
Re: vghetto port project
Edit: Dropped Missing_Scepter. it's rubbish. That one is ... not actually that bad. It starts pretty slow, but it eventually gets better and Warlock Homz grows on you after a while. [1] I can't really recommend spending a lot of time working on it, but if you've already ported it, it might be worth...
- January 22nd, 2022, 12:08 pm
- Forum: Scenario & Campaign Development
- Topic: vghetto port project
- Replies: 301
- Views: 32665
Re: vghetto port project
Thank you for your contributions in making this project work! 8 campaigns ported if I can count correctly. That's a lot, and I really appreciate that.
- January 21st, 2022, 10:56 pm
- Forum: Scenario & Campaign Development
- Topic: vghetto port project
- Replies: 301
- Views: 32665
Re: vghetto port project
I update it or we drop it? I would drop. The alternative is to port it, but then delete it once Red Winter Reborn comes out. I leave the decision up to you. I would drop it myself. Edit: Dropped Missing_Scepter. it's rubbish. Moving on to Revenge_of_the_Rogue (zeth) Edit2: hmm, another boring one w...
- January 21st, 2022, 1:31 am
- Forum: Add-on Feedback
- Topic: Stranger in Wesnoth
- Replies: 10
- Views: 141251
Re: Stranger in Wesnoth
No, it's intentional.Lord-Knightmare wrote: ↑January 20th, 2022, 8:42 pm I think someone forgot to update the pbl template file when porting it under the porting project
I couldn't find threads for some of his work, so I linked them to here.
- January 20th, 2022, 6:03 pm
- Forum: Scenario & Campaign Development
- Topic: vghetto port project
- Replies: 301
- Views: 32665
Re: vghetto port project
But, but now that I think about it, I can use the short description present in the main.cfg file :hmm: Ok. I started working on Dungeon_Creeper_the_Lich (Cugel the Web Phoenix) This mod looks so familiar. It might already exist under a different name. Edit: It seems to be a fork of Dungeons of Wesn...