Ask a simple question, get a simple answer
Re: Ask a simple question, get a simple answer
@antti : Could sticking it thread and the superthread ?
Both of them are useful for modders to ask or found easily important threads and of course, not having 5 times the same question in 5 different threads
Thanks in advance !
Both of them are useful for modders to ask or found easily important threads and of course, not having 5 times the same question in 5 different threads
Thanks in advance !
Re: Ask a simple question, get a simple answer
if you're calling it directly just use "secret_door_id_1:setWorldPositionY(42)"Vice Dellos wrote:i want to change the y-position of a secret door. i thought you had to do something like
door.go:setWorldPositionY(42) but i get an error: attempt to index field 'go' (a nil value) How are you supposed to call on it?
It's not entierly clear when you need to add the ".go"
Links to my YouTube playlist of "tutorials" and to my forum thread.
Re: Ask a simple question, get a simple answer
Is there an object that allows the player to pass through walls?
Having some trouble mixing terrain that creates invisible walls.
Having some trouble mixing terrain that creates invisible walls.
Re: Ask a simple question, get a simple answer
As in something your champion can posses to allow the party to walk through a wall OR allow you, the creator, to walk through a wall for debugging? F1 removes Collision if the latter.Jackard wrote:Is there an object that allows the player to pass through walls?
Having some trouble mixing terrain that creates invisible walls.
Re: Ask a simple question, get a simple answer
Neither. I want to add something to the map that allows players to pass through these pesky invisible walls created by mixing terrain.
Re: Ask a simple question, get a simple answer
Then I have the exact opposite problem you have. I wish my wall entities had collision. Also, to answer your question, I don't think so.Jackard wrote:Neither. I want to add something to the map that allows players to pass through these pesky invisible walls created by mixing terrain.
Re: Ask a simple question, get a simple answer
Q1: Is there a way to find entities(At) on another level? So far I can only use self or the calling object (be it a lever, the party, floor trigger, etc) with entitiesAt(x,y) and would love something like entitiesAt(level,x,y).
Q2: Is there a way to get the height of a tile? so far I have been using "self.go.map:getElevation(party.x, party.y)" but it's cumbersome.
Q2: Is there a way to get the height of a tile? so far I have been using "self.go.map:getElevation(party.x, party.y)" but it's cumbersome.
Last edited by NutJob on Fri Oct 31, 2014 3:10 am, edited 2 times in total.
Re: Ask a simple question, get a simple answer
Couldn't you just place an invisible_wall there, or set the entity to have a class of Obstacle?NutJob wrote:Then I have the exact opposite problem you have. I wish my wall entities had collision. Also, to answer your question, I don't think so.Jackard wrote:Neither. I want to add something to the map that allows players to pass through these pesky invisible walls created by mixing terrain.
Re: Ask a simple question, get a simple answer
Is there an object limit? My editor has begun to crash when I copypaste things.
Code: Select all
=== Software Failure ===
[string "GameObject.lua"]:0: attempt to index field 'map' (a nil value)
stack traceback:
[string "GameObject.lua"]: in function 'destroy'
[string "Map.lua"]: in function 'removeFloor'
[string "Arch.lua"]: in function 'spawn'
[string "DungeonEditor.lua"]: in function 'spawn'
clipboard:1: in main chunk
[string "DungeonEditor.lua"]: in function 'pasteEntities'
[string "DungeonEditor.lua"]: in function 'mapView'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk
Re: Ask a simple question, get a simple answer
Also its letting me move through some of these thin walls, without using the console. Do walls need a solid tile for collision to work properly?