LoG2 Editor dungeon.lua file question

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!
Post Reply
ordep
Posts: 2
Joined: Mon Mar 16, 2015 12:28 am

LoG2 Editor dungeon.lua file question

Post by ordep »

Hello.

I've been working closely with the Editor as well as the dungeon.lua file it generates for each project and need to re-interpret it after any user change.
I've come to realize the couple of lines which tell what type of tiles are used in the dungeons, sometimes have duplicates, for instance:

Code: Select all

  	tiles = {
		"castle_arena_floor",
		"castle_arena_floor",
		"dungeon_floor",
		"dungeon_wall",
	}
Correct me if I'm wrong, but it seems to have something to do with erasing existing tiles while having different tile type selected.
I'm not so sure what causes this behavior, but it's really annoying trying to find a hack to compensate for this random behavior :/

Any help is greatly appreciated!

- ordep
Post Reply