Search found 5 matches

by lowena
Sat Oct 18, 2014 8:09 am
Forum: Mod Creation
Topic: Easier way to use global functions?
Replies: 3
Views: 7105

Re: Easier way to use global functions?

Well, that might work, but I think that's even clunkier than typing the full line each time. :lol: I was hoping for something like "using namespace std;" in C++ or whatever, but it's not that big of a deal.
by lowena
Sat Oct 18, 2014 8:08 am
Forum: Mod Creation
Topic: Any chance of LoG 1 maps being able to port over?
Replies: 15
Views: 21558

Re: Any chance of LoG 1 maps being able to port over?

From Looking at the Dungeon Editor scripts as in Dungeon.lua in Legend of Grimrock 2 it will be pretty easy to port over the Dungeon.lua but everything else will be something complicated... Yeah, I have no idea about assets. I'd think animations, models, textures and such wouldn't have to be change...
by lowena
Sat Oct 18, 2014 3:23 am
Forum: Mod Creation
Topic: Any chance of LoG 1 maps being able to port over?
Replies: 15
Views: 21558

Re: Any chance of LoG 1 maps being able to port over?

Lua would work, but usually most people don't want to bother with installing Lua to be able to use the script. Too bad LoG2 isn't like Hack 'n' Slash where you have wider access to Lua and could probably run such a script within the game. x)
by lowena
Sat Oct 18, 2014 2:59 am
Forum: Mod Creation
Topic: Any chance of LoG 1 maps being able to port over?
Replies: 15
Views: 21558

Re: Any chance of LoG 1 maps being able to port over?

How about writing this in a portable way? How about C++? Okay, it's maybe not the best language for text processing, but it's very portable. And can be later extended into other fancy stuff. I have an early prototype that can convert parts of dungeon.lua from LoG1 to LoG2 format. It's not much, but...
by lowena
Fri Oct 17, 2014 9:42 pm
Forum: Mod Creation
Topic: Easier way to use global functions?
Replies: 3
Views: 7105

Easier way to use global functions?

I am making a dungeon that includes the following script: function giveskill() for i=1, 4, 1 do cclass = party.party:getChampion(i):getClass() if (cclass == "wizard") then party.party:getChampion(i):addSkillPoints(25) end end end Is there an easier way to do the line "party.party:getC...