Search found 112 matches

by alois
Fri Apr 24, 2015 3:03 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963539

Re: Ask a simple question, get a simple answer

The cube wrote:I know the id of a item, how do i find the items name?

Do i have to iterate through the whole map?
No; if you know the id, then just do "findEntity(id).name" (if you need the object coordinates, do "findEntity.x" etc).

Alois :)
by alois
Thu Apr 23, 2015 9:35 am
Forum: Modding
Topic: Spike trap script help
Replies: 50
Views: 46054

Re: Spike trap script help

local targetX = findEntity("blocker") local targetY = findEntity("blocker") In the lines above, both targetX and targetY refer to the same object (the blocker whose id is "blocker"), not to its (X,Y) position; I do not think that the script can work in this way... Aloi...
by alois
Wed Apr 22, 2015 11:53 am
Forum: Modding
Topic: Spike trap script help
Replies: 50
Views: 46054

Re: Spike trap script help

You are damaging the tile where "t" is (damageTile(t.level etc)), but you have not defined "t"; I think that

Code: Select all

     damageTile(deathpit.level, deathpit.x, deathpit.y, 0, 6, "poison", 9001)
should do the trick...

Alois :)
by alois
Tue Apr 14, 2015 6:35 pm
Forum: Modding
Topic: How to upload my "map" of LoG 1?
Replies: 13
Views: 13741

Re: How to upload my "map" of LoG 1?

Isaac wrote:It's a misspelling of cinematics. The paths don't match.
Also of "samples" in the HD :)

Alois
by alois
Tue Apr 14, 2015 6:27 pm
Forum: Support and Tech Discussion
Topic: Editor crashes on Mac
Replies: 28
Views: 31938

Re: Editor crashes on Mac

Running 10.10.3 with an ATI Radeon HD 4850 card I have no problems (apart from the Steam overlay one), so maybe it is card/driver-related?

Alois
by alois
Sun Apr 12, 2015 7:01 am
Forum: Support and Tech Discussion
Topic: Editor crashes on Mac
Replies: 28
Views: 31938

Re: Editor crashes on Mac

10.10.3 here.

1) Launched Grimrock, waited for Steam logo to disappear, opened a dungeon -> everything OK
2) Launched Grimrock, went straight to the editor, tried to open a file while the Steam logo was still there -> crash

Alois :)
by alois
Sat Apr 04, 2015 4:30 pm
Forum: Mod Creation
Topic: checkLineOfSight() is BUGGED and needs to be fixed
Replies: 8
Views: 5832

Re: checkLineOfSight() is BUGGED and needs to be fixed

Maybe an easier thing is to check twice with checkLineOfSight: if (px,py) is one point and (qx,qy) is the other one, then do local pq = party.map:checkLineOfSight(px,py,qx,qy,0) local qp = party.map:checkLineOfSight(qx,qy,px,py,0) local notblocked = pq and qp In your example, the answer is always &q...
by alois
Sat Apr 04, 2015 7:50 am
Forum: Mod Creation
Topic: checkLineOfSight() is BUGGED and needs to be fixed
Replies: 8
Views: 5832

Re: checkLineOfSight() is BUGGED and needs to be fixed

Confirmed (also moving both the "target point" and the pressure plates). Maybe the problem is in the algorithm used to compute the "line" between the two points. I mean: if you have to go from (0,0) to (1,2), you can either do (0,0) -> (0,1) -> (1,2) (diagonally) or (0,0) -> (1,1...
by alois
Sat Dec 27, 2014 8:22 pm
Forum: Custom Dungeons
Topic: The Legend of the Lost Dwarf Kingdom of Kahrak'arul
Replies: 256
Views: 280970

Re: The Legend of the Lost Dwarf Kingdom of Kahrak'arul

I was stuck too... 1) After falling and reemerging, turn around: there is a button on a wall right in front of you; you have to jump and click. 2) I seem to recall that one of the champions said (in the large room with the HQ entrance) that the pirates were too *bright* :) 3) To open the safe, look ...
by alois
Sat Dec 27, 2014 7:31 pm
Forum: Custom Dungeons
Topic: The Legend of the Lost Dwarf Kingdom of Kahrak'arul
Replies: 256
Views: 280970

Re: The Legend of the Lost Dwarf Kingdom of Kahrak'arul

A possible bug: In the egyptian temple (or whatever is called): when you pick up the serpent rock a medusa appears ("medusa_5"); after defeating the medusa, if you put the rock back on the sarcophagus, and then you pick it up again, the game crashes (since it is looking for a no longer exi...