Search found 103 matches

by alois
Sun Jun 25, 2017 10:46 am
Forum: Custom Dungeons
Topic: Exellion : Chronicles of the Grim Reaper
Replies: 73
Views: 55667

Re: Exellion : Chronicles of the Grim Reaper

After putting the remains on the mine bone altar, and saving, the program crashes when loading back... [string "Surface.lua"]:0: could not resolve object reference with id remains_unknown_59 (referenced by mine_bone_altar) stack traceback: [C]: in function 'assert' [string "Surface.lua"]: in main ch...
by alois
Thu Jan 05, 2017 4:34 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3511
Views: 1007777

Re: Ask a simple question, get a simple answer

Aren't you spawning blasts at the wrong level number? In your dungeon, the level number is 5 :) Also, the "else part" stops the loop as soon as x = 0 and y = 0, i.e., halfway through the loops. Alois :) Seriously? ..... I... well slap a dunce cap on me and call me stupid. I'd been playing with the ...
by alois
Thu Jan 05, 2017 11:21 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3511
Views: 1007777

Re: Ask a simple question, get a simple answer

The function is called once, but each pass through the x loop usually comes with a full pass through the y loop, [7 passes through the y loop, if fmax == 3]. Is this nested loop intended just for spawning a set number of lightning bolts in fixed positions? **If so, there might be a simpler way to s...
by alois
Fri Dec 02, 2016 4:41 pm
Forum: Mod Creation
Topic: Healing spell code
Replies: 10
Views: 5504

Re: Healing spell code

Try party.party:getChampion(i) :)

Alois :)
by alois
Sat Nov 12, 2016 4:15 pm
Forum: Custom Dungeons
Topic: [MOD] - The Butcher of Many + LVL1 Walkthrough
Replies: 116
Views: 66084

Re: [MOD] - The Butcher of Many v1.0

Same problem here with the two rock guardians... Also, got this error when reloading from a save game: [string "Surface.lua"]:0: could not resolve object reference with id wooden_box_5 (referenced by altar_3) stack traceback: [C]: in function 'assert' [string "Surface.lua"]: in main chunk [string "G...
by alois
Wed Jun 17, 2015 6:27 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3511
Views: 1007777

Re: Ask a simple question, get a simple answer

Do you want the party to simply turn (in this case: party:setPosition(party.x,party.y,0/1/2/3,party.elevation,party.level) is enough) or to be incapable of turning after you set the facing (which involves the onTurn hook)?

Alois :)
by alois
Sun Jun 14, 2015 11:28 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3511
Views: 1007777

Re: Ask a simple question, get a simple answer

It seems to me that you are adding to the alcove surface something different from the item you have spawned. Try

Code: Select all

local rs = spawn("rat_shank")
pickup_food_alcove.surface:addItem(rs.item)
playSound("level_up")
Alois :)
by alois
Thu Jun 11, 2015 4:25 pm
Forum: Mod Creation
Topic: Calling on a spawned item.
Replies: 10
Views: 2840

Re: Calling on a spawned item.

First of all, it should be: function spawn() spawn("dagger",7,12,18,2,1,"powerdagger") end Then, if you call the function "spawn()", you are re-defining the grimrock "spawn" function; therefore, what happens when you call your function "spawn()" is that the function calls itself and then calls itsel...
by alois
Fri May 29, 2015 12:33 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3511
Views: 1007777

Re: Ask a simple question, get a simple answer

hi everyone is it possible to check if the party moves against a wall? i want script the system from DM to damage the party. or has anyone else these system already? Try this :) defineObject{ name = "party", baseObject = "party", components = { { class = "Party", onMove = function(self,direction) l...
by alois
Tue May 19, 2015 2:59 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3511
Views: 1007777

Re: Ask a simple question, get a simple answer

If you look in the asset pack, in the scripts/monsters directory, you will find the "skeleton_commander.lua" file. At the beginning of the file there is the list of animations, one of which is "summonUndead".

Alois :)