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!
If u do not want to use it in your dungeon better do not read more.
SpoilerShow
It follows party when turned off, if far not more than 1 tile.
When it's lit champions lose 100 exp each second, per wisp.
Can be turned in a killable object, but i didn't tested it.
Zo Kath Ra wrote:Can you upload a screenshot, or better yet, a video?
SpoilerShow
If you kill the wisp, do you get the lost exp back?
I added 2 videos and one image, u can download them from same folder/link u can see up.
SpoilerShow
Nope, u don't get lost exp back. Since i didn't tested them as killable i didn't keep trace of exp they stole. Btw it's not very difficult if u know a little of programmin. I already have table element (but i didn't use it), it is: 'datiFuoco[nFuocoFatuo]["dannoExp"] = 0'.
U just need to add code to store stolen exp in there. Function that makes damage is 'function danniExp()', u can find i at end of file. U can simply add your code after 'party.party:getChampion(i):gainExp(-100)'.
And make some tests abviously.
Btw i prefer keeping them as they are and eventualy give fixed exp when party complete that room. If a palyer is good can earn exp, if not so good loses some exp less.
Thank you.
I raised it with heightmap, but monsters get higher than floor so i now changed with an invisible platform and floor tile, rised with ':setWorldPositionY(1.3)'
Granamir wrote:Thank you.
I raised it with heightmap, but monsters get higher than floor so i now changed with an invisible platform and floor tile, rised with ':setWorldPositionY(1.3)'
Ok, but I still dont understand how you textured the sides of your raised platform/floor. I can look throught the world if I do that ...
Can you please explain a bit more?
Granamir wrote:Thank you.
I raised it with heightmap, but monsters get higher than floor so i now changed with an invisible platform and floor tile, rised with ':setWorldPositionY(1.3)'
Ok, but I still dont understand how you textured the sides of your raised platform/floor. I can look throught the world if I do that ...
Can you please explain a bit more?
Sure,
floor tile i used is: "dungeon_floor_dirt_01"
for sides i used "dungeon_ceiling_wall" with ":setWorldPositionY(-3.2)".
Btw using set world position and sutile offset pay attention to "minimalSaveState" in definition of object u use, if they have = true have to copy them and set as false, otherwise after u save/load they come back to standard position.
Do you know if the dungeon/system will take a big performace hit if you use alot of setworldposition in your dungeon
or does it not matter for the engine / performance ?
Do you know if the dungeon/system will take a big performace hit if you use alot of setworldposition in your dungeon
or does it not matter for the engine / performance ?
U'r welcome
As i know (still doesn't tested) it affect only load/save time.