Easy Pit not working

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: Easy Pit not working

Post by NutJob »

Dunkler wrote:Tested it with module height 3 on both maps and same bug/message

Edit: moved the level up...no change :(
Can you go into your dungeon.lua and paste in the floor layers *to this thread?

Ex.

Code: Select all

loadLayer("floor_elevation", {
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,5,5,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,5,5,5,5,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,5,0,0,0,5,0,0,
	0,0,0,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,5,5,5,0,0,5,5,5,5,0,5,0,0,
	0,0,0,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0,0,0,0,0,0,5,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,5,5,5,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,5,5,5,6,6,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,5,5,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
})
edit*
Last edited by NutJob on Sat Oct 25, 2014 8:23 pm, edited 1 time in total.
Dunkler
Posts: 73
Joined: Thu Jul 10, 2014 3:20 pm

Re: Easy Pit not working

Post by Dunkler »

you mean in the pits level? would't that completly destroy the whole level?
Dunkler
Posts: 73
Joined: Thu Jul 10, 2014 3:20 pm

Re: Easy Pit not working

Post by Dunkler »

NutJob wrote: Can you go into your dungeon.lua and paste in the floor layers *to this thread?
Sure. Here is the Dungeon.lua from the "pits level"

Code: Select all


--- level 6 ---

newMap{
	name = "Grand-Hall-East",
	width = 32,
	height = 32,
	moduleHeight = 4,
	levelCoord = {1,0,1},
	ambientTrack = "dungeon",
	tiles = {
		"castle_floor",
		"castle_wall",
	}
}

loadLayer("floor_elevation", {
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
	0,0,0,0,0,0,0,0,0,0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get(5,31,30,1)
spawn("castle_stairs_up",0,28,3,3,"castle_stairs_up_5")
castle_stairs_up_5.stairs:setTeleportTarget(5,31,28,4)
spawn("invisible_platform",1,28,1,3,"invisible_platform_101")
spawn("invisible_platform",2,28,2,3,"invisible_platform_102")
spawn("invisible_platform",3,28,2,3,"invisible_platform_103")
spawn("invisible_platform",4,28,3,3,"invisible_platform_104")
spawn("invisible_platform",5,28,3,3,"invisible_platform_105")
spawn("castle_floor_01",1,28,1,3,"castle_floor_01_102")
spawn("castle_floor_01",2,28,1,3,"castle_floor_01_103")
spawn("castle_floor_01",3,28,3,3,"castle_floor_01_104")
spawn("castle_floor_01",4,28,1,3,"castle_floor_01_105")
spawn("castle_floor_01",5,28,2,3,"castle_floor_01_106")
spawn("castle_pillar_01",2,29,0,1,"castle_pillar_01_137")
spawn("castle_pillar_01",2,28,2,1,"castle_pillar_01_138")
spawn("castle_pillar_01",3,28,0,1,"castle_pillar_01_139")
spawn("castle_pillar_01",3,29,1,1,"castle_pillar_01_140")
spawn("castle_pillar_01",4,29,1,1,"castle_pillar_01_1155")
spawn("castle_pillar_01",4,28,0,1,"castle_pillar_01_142")
spawn("castle_pillar_01",5,28,0,1,"castle_pillar_01_143")
spawn("castle_pillar_01",5,29,3,1,"castle_pillar_01_144")
spawn("castle_ceiling_01",5,28,2,1,"castle_ceiling_01_60")
spawn("castle_ceiling_01",4,28,2,1,"castle_ceiling_01_61")
spawn("castle_ceiling_01",3,28,2,1,"castle_ceiling_01_62")
spawn("castle_ceiling_01",2,28,2,1,"castle_ceiling_01_63")
spawn("castle_ceiling_01",1,28,1,1,"castle_ceiling_01_64")
spawn("castle_wall_01",5,29,0,2,"castle_wall_01_159")
spawn("castle_wall_01",4,29,0,2,"castle_wall_01_168")
spawn("castle_wall_01",3,29,0,2,"castle_wall_01_180")
spawn("castle_wall_01",2,29,0,2,"castle_wall_01_181")
spawn("castle_wall_01",1,29,0,2,"castle_wall_01_182")
spawn("castle_wall_01",1,27,2,2,"castle_wall_01_183")
spawn("castle_wall_01",2,27,2,2,"castle_wall_01_184")
spawn("castle_wall_01",3,27,2,2,"castle_wall_01_185")
spawn("castle_wall_01",4,27,2,2,"castle_wall_01_186")
spawn("castle_wall_01",5,27,2,2,"castle_wall_01_187")
spawn("starting_location",3,16,1,0,"starting_location_1")
spawn("torch",2,30,3,0,"torch_1")
spawn("castle_pillar_01",2,29,3,2,"castle_pillar_01_141")
spawn("castle_pillar_01",2,28,1,2,"castle_pillar_01_145")
spawn("castle_pillar_01",3,28,3,2,"castle_pillar_01_146")
spawn("castle_pillar_01",3,29,3,2,"castle_pillar_01_147")
spawn("castle_pillar_01",4,29,3,2,"castle_pillar_01_148")
spawn("castle_pillar_01",4,28,3,2,"castle_pillar_01_149")
spawn("castle_pillar_01",5,28,1,2,"castle_pillar_01_150")
spawn("castle_pillar_01",5,29,1,2,"castle_pillar_01_151")
spawn("castle_wall_01",1,28,0,2,"castle_wall_01_188")
spawn("castle_wall_01",1,28,2,2,"castle_wall_01_189")
spawn("castle_wall_01",2,28,2,2,"castle_wall_01_190")
spawn("castle_wall_01",2,28,0,2,"castle_wall_01_191")
spawn("castle_wall_01",3,28,0,2,"castle_wall_01_192")
spawn("castle_wall_01",3,28,2,2,"castle_wall_01_193")
spawn("castle_wall_01",4,28,2,2,"castle_wall_01_194")
spawn("castle_wall_01",4,28,0,2,"castle_wall_01_195")
spawn("castle_wall_01",5,28,0,2,"castle_wall_01_196")
spawn("castle_wall_01",5,28,2,2,"castle_wall_01_197")
spawn("ladder_metal_4m",3,29,2,1,"ladder_metal_4m_5")
spawn("castle_pit",4,14,0,1,"castle_pit_1")

Dunkler
Posts: 73
Joined: Thu Jul 10, 2014 3:20 pm

Re: Easy Pit not working

Post by Dunkler »

Hello everyone!

I finally found out what causes this..and i think it is actually a bug.

If i use Dungeon tiles in the room below the pit it works!

If i use Castle Tiles below the room with the Pit the error message apears again.

The room with the Pit can have castle Tiles. i just need to make sure the level below does not use castle tiles..which is not what i wanted..but o well...

If anyone knows how to get around this let me know :)
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: Easy Pit not working

Post by NutJob »

How odd, that, I didn't try while attempting to replicate the bug (was, indeed, using dungeon_ for everything).
GoldenShadowGS
Posts: 168
Joined: Thu Oct 30, 2014 1:56 am

Re: Easy Pit not working

Post by GoldenShadowGS »

I'm coming up on the same error. I am using the castle tileset and need to create a pit. When playing I get the error message saying undefined object: castle_ceiling_shaft_0000.

Now, this thread is quite old, but the problem seems very apparent to me. castle_ceiling_shaft_0000 is not defined. The dungeon tileset has all of the ceiling and shaft variations 000,0001,0101, etc...
The Castle tileset only has ceiling variations. This bug can probably be fixed if we can redefine pits to use the regular "castle_ceiling_shaft" entity instead of the one with the four binary numbers on it. Or it could be fixed by defining all of the 0000 versions of castle_ceiling_shaft. Without the asset pack, Its hard for me to figure this out though.

EDIT: It turned out to be much easier than I thought.
Just clone the castle ceiling shaft and name it to whatever numbers you are missing.

put this in objects.lua

Code: Select all

defineObject{
	name = "castle_ceiling_shaft_0000",
	baseObject = "castle_ceiling_shaft",
}
User avatar
Halluinoid
Posts: 165
Joined: Tue Apr 02, 2013 7:08 pm
Contact:

Re: Easy Pit not working

Post by Halluinoid »

I have got this problem now but

Just clone the castle ceiling shaft and name it to whatever numbers you are missing?

I put this in objects.lua but I am in trouble with above

"undefined object: castle_ceiling_shaft_0000" coming up after I used a castle tileset to drop down from a forest chasm

if I delete the new castle level, no error

then do a new castle level, error is back :o
Post Reply