how do you create ledges

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!
User avatar
Posts: 545
Joined: Wed Sep 26, 2012 5:28 pm

Re: how do you create ledges

Post by Skuggasveinn » Thu Jul 18, 2019 6:57 pm

The beach_ground_water tile was never meant to be used for elevations. It was simply meant to create the wade sound effect on the beach in the game.

For what you are trying to do you need to define your own tile to paint with.
under your mod_assets folder find scripts and then tiles.lua
paste the following in and refresh the mod, then you will see a new tile called "costume_beach_ground_water"

Code: Select all

	name = "costum_beach_ground_water",
	editorIcon = 200,
	color = {70,100,120,255},
	builder = "dungeon",
	-- floor geometry is generated by heightmap
	heightmapMaterial = "beach_ground_01",
	wall = {
		"mine_elevation_edge", 1,
		--"forest_elevation_edge", 1, -- or use this one if you want the vegetation on the wall.
	underwater = true,
	automapTile = "water",
this will fix your missing walls.

kind regards.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.

User avatar
Posts: 2949
Joined: Fri Mar 02, 2012 10:02 pm

Re: how do you create ledges

Post by Isaac » Thu Jul 18, 2019 7:51 pm

ders360 wrote:
Thu Jul 18, 2019 2:00 pm
ps I moved on to a different section in the meantime but I have the same problem I am trying to build a lake that gets gradually deeper but the walls are missing and you fall thew the floor there is no water also but I think I just need a water surface object
The lake will be complicated.

Forest, swamp, and beach tiles use heightmaps for single elevation slopes. The game makes a big mesh for the ground surface, based on the defined heights made with the heightmap tool. It works well enough, but the tiles on a higher or lower elevations do not line up smoothly— except where the slope is perfectly flat; [zero height].

Also... the wave height of the animated water mesh is affected by the height of the ground under the water—and can badly deform over depressions in the ground mesh.

*Though this can be fixed with scripting.

Posts: 13
Joined: Thu Jul 11, 2019 7:29 pm

Re: how do you create ledges

Post by ders360 » Fri Jul 19, 2019 6:08 pm

Ok I have looked at the videos expecoly the one on the outdoores areas the problem being it only covers the batch and i was only able to find the original games files to be able to study I have played with the forest elivetions walls and I have to say they are weird the walls I think don't like being bend backwards and the forest ledge corner peice sometimes makes it show up but overall I am confused on top of that I started a new progect and crated a river vary bacic it started at the bottom and gently curved left I put the forest underwater just like in the forgotten river in the have game the elivetions is -1 and I laced forest elivetions walls on -1 and the door was on the right place but the walls and solid floor where right below the visable floor
If anyone can explane how these forest elivation walls are cliping at bends backwards please explane
PS if anyone knows of a map other than the default map I can look at for examples please tell me below

Posts: 476
Joined: Sun May 06, 2018 9:42 pm

Re: how do you create ledges

Post by Pompidom » Fri Jul 19, 2019 6:18 pm

Simply go to nexus. ... egories/3/

Check every single mod out there that offers the editor files. On this forum you can find links to editor files as well. But searching for them is hard, especially if you don't know what to look for in the first place.

Posts: 13
Joined: Thu Jul 11, 2019 7:29 pm

Re: how do you create ledges

Post by ders360 » Fri Jul 19, 2019 6:24 pm

In the first three pages there are no maps that have anything but .data files and from what I can understand they arn't able to be edited

Thanked for the help from the rest of you I just saw there was a second page
Thank you Skuggasveinn for the script I think it may help

And Isaac I think I have a better solution just have the lake be like lake hyliea in ocorena of time drained Easter from what you have told me to build and I don't need to script in a diving helmit or somthing

Post Reply