Ask a simple question, get a simple answer
Re: Ask a simple question, get a simple answer
https://youtu.be/aECU6e7GbY4
This is the g1_shield_hook object in action.
I'm looking for wall hook objects that accept more than shields.
Preferably with an item component on them.
Are there any available? (besides MAM)
This is the g1_shield_hook object in action.
I'm looking for wall hook objects that accept more than shields.
Preferably with an item component on them.
Are there any available? (besides MAM)
Re: Ask a simple question, get a simple answer
how i can ask monster to go to x y position?
Re: Ask a simple question, get a simple answer
Code: Select all
zarchton_1.brain:seek(x,y)
The monster will ignore the command, if the brain determines that it cannot reach the location.
_______________________________
Re: Ask a simple question, get a simple answer
How do I parse the content of a chest / an alcove using lua scripting ?
the containedItems() method doesn't seems to work in log2
the containedItems() method doesn't seems to work in log2
Re: Ask a simple question, get a simple answer
Ok I got it ! For example in an Alcove named "dungeon_alcove_1" :
Code: Select all
for myIndex, myObject in dungeon_alcove_1.surface:contents() do
print("object number :",tostring(myIndex), "- object name :", myObject.go.name )
end
-
- Posts: 1
- Joined: Mon Mar 18, 2019 1:39 am
Re: Ask a simple question, get a simple answer
Can you copy/paste floor plans (Like you can with entity's) ?
Re: Ask a simple question, get a simple answer
No. The walls must be carved out, separate from the placed assets.
But the editor does allow for rotating the layout of the walls, by 90° increments.
Though [strangely] this does not correctly copy the elevations, and might be a feature held over from the early development; before elevations were implemented.
But the editor does allow for rotating the layout of the walls, by 90° increments.
SpoilerShow

Re: Ask a simple question, get a simple answer
You can copy and paste the loadLayer call in the dungeon.lua.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: Ask a simple question, get a simple answer
Does anyone know how to create a custom "builder"?
I mostly used builder = "dungeon" or "mine". But how can you create a custom one? or can you?
Thanks in advance
I mostly used builder = "dungeon" or "mine". But how can you create a custom one? or can you?
Thanks in advance

Re: Ask a simple question, get a simple answer
You can't.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.