Search found 9 matches

by Darklynx
Wed Oct 10, 2012 6:45 pm
Forum: Modding
Topic: Constant Effects
Replies: 2
Views: 2234

Re: Constant Effects

This is my poisonous cloud :D defineParticleSystem{ name = "gas", emitters = { { emissionRate = 10, emissionTime = 0, maxParticles = 300, spawnBurst = false, boxMin = {-7.5, 0.0,-7.5}, boxMax = { 7.5, 0.0, 7.5}, sprayAngle = {0,360}, velocity = {0.0,0.0}, objectSpace = true, texture = &quo...
by Darklynx
Sun Oct 07, 2012 4:37 pm
Forum: Modding
Topic: [Request] A new hook for alcove "onRemoveItem"
Replies: 12
Views: 9700

Re: [Request] A new hook for alcove "onRemoveItem"

remember that the alcove only activates on the first item put in, so if you place the gem as the second item it wont activate and do this stuff. The alcove has this hook from the original asset of LoG: onInsertItem = function(self, item) return item.name == "green_gem" and self:getItemCou...
by Darklynx
Sun Oct 07, 2012 12:50 pm
Forum: Modding
Topic: [Request] A new hook for alcove "onRemoveItem"
Replies: 12
Views: 9700

Re: [Request] A new hook for alcove "onRemoveItem"

I have found a more clean (and silent) solution: cloneObject{ name = "party", baseObject = "party", onPickUpItem = function(party, item) if item.name == "green_gem_PH" then return false end end, } cloneObject{ name = "green_gem_PH", baseObject = "green_ge...
by Darklynx
Sun Oct 07, 2012 10:36 am
Forum: Modding
Topic: [Request] A new hook for alcove "onRemoveItem"
Replies: 12
Views: 9700

Re: [Request] A new hook for alcove "onRemoveItem"

Thank you guys, it was really simple :D I solved it with this function: function alcove_onDeactivate() setMouseItem() -- Destroy the gem collected alcove:addItem(spawn("green_gem")) -- Respawn instantly the gem end I can put the gem in the alcove, but i can't remove it :)
by Darklynx
Sat Oct 06, 2012 8:31 pm
Forum: Modding
Topic: [Request] A new hook for alcove "onRemoveItem"
Replies: 12
Views: 9700

[Request] A new hook for alcove "onRemoveItem"

I'm doing a complex puzzle in my dungeon with custom alcoves, but i can't find a hook to launch a function when an item is removed from the alcove. I need this because the player need to put a certain item in order in a series of alcoves, and this is doable with "onInsertItem", but i need ...
by Darklynx
Mon Sep 24, 2012 5:53 pm
Forum: Modding
Topic: Grimrock.exe stopped working
Replies: 45
Views: 34216

Re: Grimrock.exe stopped working

petri wrote:I have no idea why the XAudio dll gets unloaded, but I got some ideas how to maybe workaround this. I'll do some testing tomorrow...
Thank you very much :)
by Darklynx
Thu Sep 20, 2012 6:11 pm
Forum: Modding
Topic: Grimrock.exe stopped working
Replies: 45
Views: 34216

Re: Grimrock.exe stopped working

Hmm, we have been unable to reproduce the crash so far after several hours of testing. Couple of questions, would help us tracking this down: - Does the crash happen even if you just create a new dungeon, start preview and leave it running? - Is the preview window open or closed while it crashes? -...
by Darklynx
Thu Apr 12, 2012 4:14 pm
Forum: Gameplay Hints
Topic: Did you miss a good item? (REFERENCE)
Replies: 156
Views: 209075

Re: Did you miss a good item?

Level 6:
SpoilerShow
Orb of Radiance
Sword of Nex
by Darklynx
Thu Apr 12, 2012 4:10 pm
Forum: Gameplay Hints
Topic: Plate armor level 4
Replies: 27
Views: 36197

Re: Plate armor level 4

I have found it!
SpoilerShow
The access is not from above, but from below. Try to search at level 6 in a "hot" room. :)