[EXSP] Extended Spells Framework v1.4.4

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Saurbaum
Posts: 17
Joined: Sat Jan 05, 2013 6:19 pm

Re: [EXSP] Extended Spells Framework v1.4.2

Post by Saurbaum »

Thanks for the swift turn around. Sorry for breaking it.
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: [EXSP] Extended Spells Framework v1.4.2

Post by Drakkan »

Hi Diarmuid,
I have idea / request for new spell - Shield. It should be targetable on one champion (not stackable) and create some kind of barrier absorbing damage (let say just from physical dmg). I see it as earth or air magic. Also it should have some duration, lets say 2 min. What you think ?
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
Pecen
Posts: 40
Joined: Sun Jan 20, 2013 3:56 pm

Re: [EXSP] Extended Spells Framework v1.4.2

Post by Pecen »

Hi,
i'm testing the spinners, everything works fine, but the problem is, when i activate exsp, every projectile spells cast by my party(caster or item) are doubled.. any thoughts what can cause it?
User avatar
Diarmuid
Posts: 807
Joined: Thu Nov 22, 2012 6:59 am
Location: Montreal, Canada
Contact:

Re: [EXSP] Extended Spells Framework v1.4.2

Post by Diarmuid »

Hmmm... Are you talking about default projectile spells in the game? Or custom ones you defined?
User avatar
Pecen
Posts: 40
Joined: Sun Jan 20, 2013 3:56 pm

Re: [EXSP] Extended Spells Framework v1.4.2

Post by Pecen »

I'm talking about default spells unfortunately, i like the spinners, but with this issue they are not usable :(

http://imgur.com/4azjV2M
http://imgur.com/ogaZjrg
User avatar
Diarmuid
Posts: 807
Joined: Thu Nov 22, 2012 6:59 am
Location: Montreal, Canada
Contact:

Re: [EXSP] Extended Spells Framework v1.4.2

Post by Diarmuid »

Ok I know what it is: somehow the monsters are not registered in the jKos framework and it cannot add required hooks to monsters. So maybe if they are custom defined monsters, be sure you use fw_defineObject instead of defineObject. Also make sure that framework is loaded before all custom assets, and exsp is loaded last in init.lua.

But anyway, your post and some other discussions I've had led me to the idea that I should make a "Lite" version, which has support for spell spinners only. I'm working on it right now.

EDIT: Here it is: viewtopic.php?f=14&t=5355
User avatar
Diarmuid
Posts: 807
Joined: Thu Nov 22, 2012 6:59 am
Location: Montreal, Canada
Contact:

Re: [EXSP] Extended Spells Framework v1.4.3

Post by Diarmuid »

Ok, quick update to optimize some functions. Some checks were using timers, others were using onGui... things are cleaner now, with an 1-2fps gain.

1.4.3 Changelog:

Fixed: Redundant timers and onGui hooks were unnecessarily slowing performance by 1-2 fps.

Download it here: https://drive.google.com/folderview?id= ... sp=sharing
User avatar
Pecen
Posts: 40
Joined: Sun Jan 20, 2013 3:56 pm

Re: [EXSP] Extended Spells Framework v1.4.3

Post by Pecen »

Well, solved with lite version.. only one thing, i had to add fw_addModule("exsp_default_log_spells") into init.lua, otherwise LoG crashes to desktop when trying to test/play.. really dont know why, i think framework is running properly, but nevermind, now everything seems to be allright, thanks :)
User avatar
Diarmuid
Posts: 807
Joined: Thu Nov 22, 2012 6:59 am
Location: Montreal, Canada
Contact:

Re: [EXSP] Extended Spells Framework v1.4.3

Post by Diarmuid »

Weird...

It works perfectly here. Here's my init.lua:

Code: Select all

-- This file has been generated by Dungeon Editor 1.3.6

-- import standard assets
import "assets/scripts/standard_assets.lua"

-- import framework
import "mod_assets/framework/framework.lua"

-- import custom assets
import "mod_assets/scripts/items.lua"
import "mod_assets/scripts/monsters.lua"
import "mod_assets/scripts/objects.lua"
import "mod_assets/scripts/wall_sets.lua"
import "mod_assets/scripts/recipes.lua"
import "mod_assets/scripts/spells.lua"
import "mod_assets/scripts/materials.lua"
import "mod_assets/scripts/sounds.lua"

import "mod_assets/exsp/exsp_init.lua"
Are you sure framework is loaded at the top and exsp_init at the bottom?
User avatar
Pecen
Posts: 40
Joined: Sun Jan 20, 2013 3:56 pm

Re: [EXSP] Extended Spells Framework v1.4.3

Post by Pecen »

I create new and clean dungeon for testing, to prevent possible collisions with other custom stuff, only with fw and exsp, here it is:

Code: Select all

-- This file has been generated by Dungeon Editor 1.3.7

-- import standard assets
import "assets/scripts/standard_assets.lua"

import "mod_assets/framework/framework.lua"
fw_addModule("exsp_default_log_spells")

-- import custom assets
import "mod_assets/scripts/items.lua"
import "mod_assets/scripts/monsters.lua"
import "mod_assets/scripts/objects.lua"
import "mod_assets/scripts/wall_sets.lua"
import "mod_assets/scripts/recipes.lua"
import "mod_assets/scripts/spells.lua"
import "mod_assets/scripts/materials.lua"
import "mod_assets/scripts/sounds.lua"
import "mod_assets/exsp/exsp_init.lua"
Only difference seems to be the game version, don't know if that could be the reason
Post Reply