全面战争:战锤3

全面战争:战锤3

Modding Development Tools: Lua Console!
36 条留言
Xeonzs 9 月 14 日 上午 10:52 
Actually it seems the entire copy feature is broken, even lines without ' or " won't paste.
Xeonzs 9 月 14 日 上午 10:38 
Considering this hasn't been updated, will the paste feature be fixed someday?
It used to work just a few months ago, but now it doesn't and hovering over the button this appears to be a known issue.

I always had a script saved so that when I started a new Durthu campaign I could add Coeddil to my faction, as Drycha usually died before she'd confed me.
Typing out the entire thing would be too prone to errors and it's a relatively long script compared to the "gimme resources" commands.
matheusgames 2 月 5 日 下午 12:26 
Hello, is there any command to restart or force completion of the Malakai adventure missions?
Xeonzs 2024 年 7 月 5 日 下午 5:57 
This remains to be a life saver when it comes to joy.
Drycha remains suicidal, refusing to confed even when she's down to her last army, but I want coeddil to be with his fellow first ancient treeman durthu, brothers in arms.
I just spawn my own coeddil with this mod.
zerkeron 2024 年 5 月 22 日 下午 2:15 
Hi, thanks for the mod.
Thanks to you I could create a workaround for a bug regarding the "Nurgle Plagues Locked".
The Plagues button was not unlocking, even after acquiring 6000+ infections.
So I wrote a LUA-Script that just manually unlocks the button, and ran it with your mod.
Klissan 2024 年 3 月 23 日 下午 11:46 
Thank you for the mod - saved me a lot of time especially to test things in multiplayer
MobǂActarion 2023 年 11 月 4 日 上午 7:16 
No worries :) thanks for the head up!
Groove Wizard  [作者] 2023 年 10 月 30 日 下午 1:41 
No news yet. Haven't had much time or energy to do any modding. This and MCT are probably going to get an update maybe this or next quarter, they need a big facelift and they both have big in-progress rewrites. Sorry I don't have better info, modding has been a drag lately.
MobǂActarion 2023 年 10 月 28 日 下午 8:08 
Hello, Not wanting to be a pain but, any news about update ? :) thanks
等等我,正在使用健胃消食片 2023 年 10 月 16 日 上午 7:44 
Not effective
kyokamaru 2023 年 7 月 17 日 上午 9:25 
shift F3 does nothing.
Ciaphas Cain 2023 年 7 月 13 日 上午 11:38 
Nice one, I look forward to seeing what you do with it! GL
Groove Wizard  [作者] 2023 年 7 月 12 日 上午 6:46 
Not yet, I'm giving the Lua Console a pretty major facelift atm which does include the button and some fixed functionality.
Ciaphas Cain 2023 年 7 月 12 日 上午 4:11 
Groove did you implement that UI button in this at all? Its not showing as been updated since Sept but we all know how buggy Steam can be..
SadPanda 2023 年 5 月 4 日 下午 7:41 
If I press shift+f3 in the start menu, it loads.
If I press it ingame, it doesn't..
Silito13 2023 年 1 月 24 日 上午 11:17 
Is there a way to force the progression of Prophecies of Sotek with LUA? Stuck on the first stage after completing everything for several turns now
Groove Wizard  [作者] 2022 年 10 月 22 日 下午 6:20 
Okay phew, yeah for some reason that launch option fully disables all mods
Zirroxas 2022 年 10 月 22 日 下午 5:10 
Update! The problem was that I still had the "-dx11" launch option enabled, which screws with a lot of mods apparently. Clearing my launch options fixed the problem.
Groove Wizard  [作者] 2022 年 10 月 21 日 下午 1:04 
I'll add a UI button to trigger it soon. I don't know why it's failing for y'all. If you can provide me with script logs (read: Reporting Issues in my MCT page for a brief overview) that will help tremendously
Zirroxas 2022 年 10 月 21 日 下午 12:10 
Am also unable to access the console using Shift+F3. Please advise.
leyasu888 2022 年 10 月 2 日 下午 5:40 
Hi could i ask what the code to give gifts of slaanesh to characters is?
SiCall 2022 年 9 月 10 日 上午 6:33 
just like everyone else, seems like shift+f3 is broken
Zacarriss 2022 年 9 月 6 日 下午 7:44 
shift+f3 is not working
Epyon (AnimeToxic) 2022 年 8 月 27 日 下午 2:01 
this does not have a console command for souls for the new dlc :( ? i want to add more souls
Big K 2022 年 6 月 15 日 上午 11:04 
I have a bug where I press shift+f3 and nothing happens
Groove Wizard  [作者] 2022 年 4 月 18 日 下午 2:14 
Copy/paste support added! You can paste directly from your clipboard using the new Paste button; using the "Copy" button, a new file is created in your WH3 folder called "lua_console_code.lua" with all the console contents, due to a current standing issue with copying to clipboard.
Groove Wizard  [作者] 2022 年 4 月 17 日 下午 7:06 
The plan is to do videos and text, yeah. I haven't ever been very happy with the tutorials I originally made, but that stuff takes so much time. We'll see where the winds take me!
[Myrm]Fable09 2022 年 4 月 17 日 下午 6:52 
I followed your tutorials for Lua scripts 2 years ago when Three Kingdoms came out and got lost , then busy with life .

Havie made one tutorials back then , easy to understand with video rather than self reading through a bunch of scripts and library

https://www.youtube.com/watch?v=nwspodMiBzY&t=1412s

If you decide to make tutorial series with videos , make it as a course on Udemy , i'm sure lot of people will buy it and it also pay off the time you spent to make tutorials
Groove Wizard  [作者] 2022 年 4 月 17 日 上午 11:30 
@Fable - This isn't intended as a thing to teach people Lua, but I do have a tutorial series planned eventually. We have a couple guides on the discord/wiki, and you can ask questions at the discord too!
Groove Wizard  [作者] 2022 年 4 月 17 日 上午 11:29 
Added in a scrollbar and support to add lines (to a maximum of 90) or remove lines (to a minimum of 5).
[Myrm]Fable09 2022 年 4 月 16 日 下午 12:54 
can you put some sample codes so non IT users can start learning on their own ?
Groove Wizard  [作者] 2022 年 4 月 15 日 下午 2:20 
Added in the global functions `t_set(table, index, value)` and `t_get(table, index)` as a workaround for the current bug where you can't use the [] keys in the Lua Console. Therefore, instead of doing `table[index] = value` you have to do `t_set(table, index, value)`, and instead of `local value = table[index]` you have to do `local value = t_get(table, index)`.

Enjoy!
Groove Wizard  [作者] 2022 年 4 月 11 日 下午 12:58 
Lua Console now properly works in battle, yay
DesertFox 2022 年 4 月 10 日 下午 1:31 
glad to see you back Vandy from WH2 to WH3
Groove Wizard  [作者] 2022 年 4 月 10 日 上午 6:18 
Should, yep
bushez 2022 年 4 月 9 日 下午 2:30 
Vandy its working in battles too?