Search found 10 matches

by Dinasty
Fri Nov 18, 2016 11:57 am
Forum: Mod Creation
Topic: Open door by placing gem on plate or on point of map
Replies: 8
Views: 7559

Re: Open door by placing gem on plate or on point of map

self.go.map
dungeon_secret_door_1.map
party.map

all of theese works, thank you :D
by Dinasty
Fri Nov 18, 2016 3:46 am
Forum: Mod Creation
Topic: Open door by placing gem on plate or on point of map
Replies: 8
Views: 7559

Open door by placing gem on plate or on point of map

Hi, can someone give me the lua script to open a door by placing a gem on a specific tile of the map? (without using alcove or altar) function itemCheck() for item in map:entitiesAt(15, 14) do if item.id == "red_gem_1" then dungeon_secret_door_1.door:open() end end end I tryed this but doe...
by Dinasty
Thu Oct 30, 2014 8:53 pm
Forum: Mod Creation
Topic: [Guide] How to Make Outdoor Areas
Replies: 41
Views: 37108

Re: [Guide] How to Make Outdoor Areas

Chimera005ao i tryed your dungeon...it's pretty good but i can't solve the ladder enigma! And...how the hell did u put one character only in the party? (sorry for bad english, i'm italian)
by Dinasty
Thu Oct 04, 2012 4:31 pm
Forum: Modding
Topic: Spawn more than one arrow in party slot
Replies: 6
Views: 5439

Re: Spawn more than one arrow in party slot

It didn't works but thanks anyway! thanks of u i found the solution!

Code: Select all

local startArrow = spawn("arrow")
party:getChampion(3):insertItem(8, startArrow)
startArrow:setStackSize(5)

SOLVED :D
by Dinasty
Thu Oct 04, 2012 3:45 pm
Forum: Modding
Topic: Spawn more than one arrow in party slot
Replies: 6
Views: 5439

Spawn more than one arrow in party slot

This works but it add only one arrow in the champion's hand..

Code: Select all

party:getChampion(3):insertItem(8, spawn("arrow"))
if i copy multiples time the code it doesn't add more arrows... if i put a number near "arrow" doens't work too :P

Any help?
by Dinasty
Wed Oct 03, 2012 2:02 pm
Forum: Modding
Topic: Spawn a lot of torches
Replies: 7
Views: 5067

Re: Spawn a lot of torches

very thanks to all! i just complete my first level of my custom dungeon *_*
by Dinasty
Wed Oct 03, 2012 12:21 pm
Forum: Modding
Topic: Spawn a lot of torches
Replies: 7
Views: 5067

Re: Spawn a lot of torches

Very thanks! It works :D but...

How can i run it only once? I try to deselect "Activate Always" from the Altar, but every time i put the red gem on the altar he play the sound i have set!
by Dinasty
Wed Oct 03, 2012 11:07 am
Forum: Modding
Topic: Spawn a lot of torches
Replies: 7
Views: 5067

Re: Spawn a lot of torches

There is a way to use 2 function in a single one? I read this "http://www.grimrock.net/modding/how-to-script-item-on-an-alcove-puzzle/" and i want that "When you place red fragment on the altar all the torches spawns in the room". I try this but it doesn t work :D function itemPu...
by Dinasty
Tue Oct 02, 2012 7:19 pm
Forum: Modding
Topic: Shakin the camera (Solution found)
Replies: 35
Views: 34001

Re: Shakin the camera (Solution found)

there is a way to set how much time the camera shakes?
by Dinasty
Tue Oct 02, 2012 7:18 pm
Forum: Modding
Topic: Spawn a lot of torches
Replies: 7
Views: 5067

Spawn a lot of torches

Hello all, i'm very noob on scripting but I'm working on my custom dungeon. Please, i need that when the players place the "red gem" on the altar, all the torches spawns in the room (only once, and only where there aren't torches). is this possible? (sorry for bad english, but i'm italian ...