Multiple magic schools spells pack

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Multiple magic schools spells pack

Post by AndakRainor »

Hi Akroma! So, did you have time to test the new spells ? What do you think of them ?
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Multiple magic schools spells pack

Post by akroma222 »

Heheh I did - but I went straight to the code and have been reading (and by reading, I mean learning) that most the day :lol: ;)
Ill make a visit to the test dungeon tonight to be sure!
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Multiple magic schools spells pack

Post by AndakRainor »

-- change log --

version 2.1

Correction of a bug with the Immortal spell.
One unused empty directory removed.
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Multiple magic schools spells pack

Post by AndakRainor »

-- change log --

version 2.2

Correction of a bug with the light system. It was not compatible with game saving in the previous version.
New icon for the vengeance spell.
kelly1111
Posts: 349
Joined: Sun Jan 20, 2013 6:28 pm

Re: Multiple magic schools spells pack

Post by kelly1111 »

I have been trying to get the download to work on this ge.tt site.. but somehow it doesnt open the download
What Am I doing wrong?
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Multiple magic schools spells pack

Post by AndakRainor »

Oh sorry, I don't use ge.tt anymore and did not update the original post (done)! You should get the pack here: http://www.nexusmods.com/legendofgrimrock2/mods/60/?
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Multiple magic schools spells pack

Post by akroma222 »

My ge.tt has been playing up too quit often :(
billb52

Re: Multiple magic schools spells pack

Post by billb52 »

Hi AndakRainor, I have tried installing the spells pack to my mod, and I am using fw.lua , I have set hook_framework = true and added script spells_functions
on map, when I try to run mod I get an error:
mod_assets/spells_pack/party.lua:37: attempt to index a global 'fw' (a nil value)
I think I have installed spells pack correctly, could you please advise
Thxs in advance
billb52
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Multiple magic schools spells pack

Post by AndakRainor »

In theory, "fw" is the id of the script entity you have linked to the fw.lua file. If you have done this then the global "fw" should be defined. So I think two problems can explain what you get:

- The script has not the id "fw". I don't think it is possible, iirc the hook framework needs this id to be functional.

- The script entity is not spawned at the time the party is already spawned and all its component init functions have been called. This could come from the order you placed the two objects on your maps. Is the hook framework script on your first map? In orrr3, where I used the spell pack with this flag, the starting_location object for the party is at (13,29) and the object "fw" is at (1,30). Both are on the first map at elevation 0. Where did you place those objects?
billb52

Re: Multiple magic schools spells pack

Post by billb52 »

:lol: Hi AndakRainor, thanks for your reply, stupid me forgot to place the 'fw' script on the map! ALL OK now
Post Reply