Page 2 of 2

Re: Skill Leveling Limitations and/or Requirements

Posted: Sun Feb 01, 2015 12:19 pm
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)

Re: Skill Leveling Limitations and/or Requirements

Posted: Sun Feb 01, 2015 9:17 pm
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.

Re: Skill Leveling Limitations and/or Requirements

Posted: Sun Feb 01, 2015 10:00 pm
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.

Re: Skill Leveling Limitations and/or Requirements

Posted: Mon Feb 02, 2015 3:40 am
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...

Re: Skill Leveling Limitations and/or Requirements

Posted: Mon Feb 02, 2015 6:24 am
by David Ward
Indeed. Well, thank you all for the input, as always. Lots to consider and work with!