Skill Leveling Limitations and/or Requirements

Have trouble running Legend of Grimrock 2 or do you have questions about the purchasing options? Look for help here.
User avatar
Frenchie
Posts: 219
Joined: Wed Oct 16, 2013 2:50 am

Re: Skill Leveling Limitations and/or Requirements

Post by Frenchie »

Did you download the LoG2 assets? It contains lua scripts of skills, traits, etc. I guess you have to place your modified lua file in a specific path like assets/scripts/skills.lua to load it. It will prioritize that over the one in the grimrock2.dat file. Lua expert minmay probably knows it all (I found the above path in the dat file)
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Skill Leveling Limitations and/or Requirements

Post by minmay »

Not loading the standard skills is just a matter of not including assets/scripts/skills.lua. You can copy standard_assets.lua from the asset pack and just remove the line that includes skills.lua.
Frenchie wrote:I guess you have to place your modified lua file in a specific path like assets/scripts/skills.lua to load it. It will prioritize that over the one in the grimrock2.dat file.
That will not work at all.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
David Ward
Posts: 103
Joined: Wed Jan 07, 2015 11:44 pm
Location: Vancouver, BC, Canada

Re: Skill Leveling Limitations and/or Requirements

Post by David Ward »

Okay thanks. It seems like making modifications at this level requires a pretty good knowledge set of how .lua works. I've never worked out with any of this stuff before using this editor, it's going to take some time to study and figure out. Thanks for all of the input.
User avatar
Frenchie
Posts: 219
Joined: Wed Oct 16, 2013 2:50 am

Re: Skill Leveling Limitations and/or Requirements

Post by Frenchie »

I'm not even at apprentice level in Lua, but for World of Warcraft this approach worked when I replaced gunshot sounds with silencer shots. For some it comes natural while for others it's a hard struggle to work in Lua...
User avatar
David Ward
Posts: 103
Joined: Wed Jan 07, 2015 11:44 pm
Location: Vancouver, BC, Canada

Re: Skill Leveling Limitations and/or Requirements

Post by David Ward »

Indeed. Well, thank you all for the input, as always. Lots to consider and work with!
Post Reply