Page 393 of 400

Re: Ask a simple question, get a simple answer

Posted: Thu Jul 25, 2024 9:35 am
by Slava
Hiker wrote: Wed Jul 24, 2024 4:18 pm but then how can I script an item that doesn’t have random properties?
Use standart items. You can create random items using inheritance from base item as I wrote in the example above.

name = "random_sack",
baseObject = "sack",

In this case, you will have both items available. And no need to juggle hooks.

Re: Ask a simple question, get a simple answer

Posted: Tue Aug 13, 2024 9:41 am
by Slade
How I get my console working? I have set from grimrock file to console true and shorkey 190 and when I start the editor it wont open. Where is the problem?

Re: Ask a simple question, get a simple answer

Posted: Tue Aug 13, 2024 6:06 pm
by minmay
You can't open the console in the main editor interface. You can use it from the dungeon preview, however.

Re: Ask a simple question, get a simple answer

Posted: Sat Aug 17, 2024 9:25 am
by Slade
How to trigger custom sound with floor triggers that way that it begins with floor trigger and then it loops till the script is ended with floor trigger? I have already defined them in sounds.lua like this
defineSound{
name = "prelude",
filename = "mod_assets/sounds/prelude.wav",
loop = false,
volume = 1,
minDistance = 1,
maxDistance = 1,
}

Re: Ask a simple question, get a simple answer

Posted: Sat Aug 17, 2024 10:06 am
by Slade
Me again. Hey can anyone write tutorial(if there aint already) how to :
Control time and day cycles?
Use timers?
Use NPC movement?
I'm back in a long time so I have forgotten even basics. Time to raise! (slowly)

Re: Ask a simple question, get a simple answer

Posted: Tue Aug 20, 2024 2:22 am
by Blackswamp
Hello people! Hey I'm new and I dont know usable coding for this, so can somebody tell me how counters work? How to add values in them and triggering with scripts? I didnt find on forums that specific thing.

Re: Ask a simple question, get a simple answer

Posted: Tue Aug 20, 2024 9:25 am
by THOM
Blackswamp wrote: Tue Aug 20, 2024 2:22 am Hello people! Hey I'm new and I dont know usable coding for this, so can somebody tell me how counters work? How to add values in them and triggering with scripts? I didnt find on forums that specific thing.
I explained it some time a go: https://www.grimrock.net/forum/viewtopi ... 653#p91653

You can also have a look at the whole thread.

Re: Ask a simple question, get a simple answer

Posted: Thu Aug 22, 2024 9:29 am
by Blackswamp
Awesome, thank you.

Re: Ask a simple question, get a simple answer

Posted: Thu Aug 22, 2024 9:44 am
by Blackswamp
https://imgur.com/yEl2s6p Hey another question. Why I get this error message when I'm trying to shovel ground. It happens everywhere if I just click shovel. I followed Skuggavesteins buried treasures tutorial exactly but I still have this error. If you know something, help mej!

Re: Ask a simple question, get a simple answer

Posted: Thu Aug 22, 2024 2:33 pm
by THOM
What is you init.lua file line 89 - 91 saying?