Outdoor elevation not supported?

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
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Outdoor elevation not supported?

Post by Drakkan »

Perhaps I just missed something, but when I want create for example beach elevation (both minus and plus) only floor is displayed but walls are missing completely. It is working for example for MINUS floor swamp ground (but again if i make positive swamp elevation (mean I set floor to 1,2 etc...) again just floor in the air is visible and thats all :/
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
DarkRagnar
Posts: 7
Joined: Mon Aug 20, 2012 7:31 pm

Re: Outdoor elevation not supported?

Post by DarkRagnar »

From what I can tell, you aren't missing anything. One of the first things I tried with the editor was trying to make a elevated beach cliff-side area. The beach dungeon walls always appear on elevation 0 even when you change the height value. The only way you can do it is with the heightmap.

Start your level at -3 heightmap and then scale up your area where you want it. Up to +3 heightmap. Not elevation. That is a whole other can of worms with outdoor areas. If you make the height dramatically increase, you can try a ladder. It probably wont look too pretty unless you make a custom slanted ladder.
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: Outdoor elevation not supported?

Post by Skuggasveinn »

I could be wrong, but I think that you create a level that's either using heightmaps (-3/+3) or tilesets (-7/+7).
I've been mixing these in the editor and getting pretty weird stuff going on, so perhaps they are not meant to be mixed.
Also in the main campaign I never saw them mixed, Shipwreck Beach is a heigtmap and Twigroot Forest also,in these areas you never see a stair or an elevation like inside a dungeon (you see the small ups and downs) , but the bog, Forgotten River and Sleet Island are all tiles that have water, stairs and elevations.

Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
User avatar
cromcrom
Posts: 549
Joined: Tue Sep 11, 2012 7:16 am
Location: Chateauroux in a socialist s#!$*&% formerly known as "France"

Re: Outdoor elevation not supported?

Post by cromcrom »

@drakkan.

from my tries, I stumbled upon the same error as you. I fixed it by manually adding the walls, and it really works fine. I think this is the way it is supposed to be done so far, although I agree this is not very easy to do :-)
A trip of a thousand leagues starts with a step.
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Outdoor elevation not supported?

Post by Drakkan »

cromcrom wrote:@drakkan.

from my tries, I stumbled upon the same error as you. I fixed it by manually adding the walls, and it really works fine. I think this is the way it is supposed to be done so far, although I agree this is not very easy to do :-)
yes that was also my idea, which walls you are using please ? I didnt find any approproate walls for beach, just these rocky walls which does not fit well :/
Skuggasveinn wrote:I could be wrong, but I think that you create a level that's either using heightmaps (-3/+3) or tilesets (-7/+7).
I've been mixing these in the editor and getting pretty weird stuff going on, so perhaps they are not meant to be mixed.
Also in the main campaign I never saw them mixed, Shipwreck Beach is a heigtmap and Twigroot Forest also,in these areas you never see a stair or an elevation like inside a dungeon (you see the small ups and downs) , but the bog, Forgotten River and Sleet Island are all tiles that have water, stairs and elevations.

Skuggasveinn.
yeah, exactly in main campaign this was not "supported", so seems we cannot use it as well :/
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
Mysterious
Posts: 226
Joined: Wed Nov 06, 2013 8:31 am

Re: Outdoor elevation not supported?

Post by Mysterious »

Yeah I tried to create a lake which I did succesfuly, but when I tried to put a bridge to cross the lake the bridge is at ground level and I tried to lift the bridge by 1 and it appears in the air lol. I think the models increments up or down should have been eg
0.1 0.2 0.3 0.2 1.1 or -0.1 -0.2 -0.3 -1.1 etc You can only go 1234567 or vise versa. I use the height map to make the floor into a ditch added the ocean water tile and I got the lake or river. I just cant get the bridge to look right.
User avatar
SnowyOwl47
Posts: 148
Joined: Fri Sep 12, 2014 10:41 pm

Re: Outdoor elevation not supported?

Post by SnowyOwl47 »

Mysterious wrote:Yeah I tried to create a lake which I did succesfuly, but when I tried to put a bridge to cross the lake the bridge is at ground level and I tried to lift the bridge by 1 and it appears in the air lol. I think the models increments up or down should have been eg
0.1 0.2 0.3 0.2 1.1 or -0.1 -0.2 -0.3 -1.1 etc You can only go 1234567 or vise versa. I use the height map to make the floor into a ditch added the ocean water tile and I got the lake or river. I just cant get the bridge to look right.
You don't do that, you change the height in the object.

Click the object under the ID textfield there is an position area go to H and change it to 1

@Drakkan
@DarkRagnar
@Skuggasveinn
@cromcrom
@Mysterious

And yes the height map is indeed the thing you use to change beach ground and forest ground up and down up to pretty high watch @Skuggasveinn tutorial videos.
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Outdoor elevation not supported?

Post by antti »

You can mix height maps (the smooth rolling terrain) and elevations. If you end up with missing walls in the elevations, the floor tile in question doesn't have any elevation edge walls defined so try another tile. Here's an example from the default assets that supports both:

Code: Select all

defineTile{
	name = "swamp_ground",
	editorIcon = 200,
	color = {140,145,90,255},
	builder = "dungeon",
	-- floor geometry is generated by heightmap
	heightmapMaterial = "swamp_ground_01",
	diggable = true,
	wall = {
		"forest_elevation_edge", 1,
	},
	automapTile = "grassy_ground",
}
Steven Seagal of gaming industry
User avatar
Leki
Posts: 550
Joined: Wed Sep 12, 2012 3:49 pm

Re: Outdoor elevation not supported?

Post by Leki »

As antti said... and I found it after two really long nights :roll:
Just remember that heightmap projection is planar, so edge between floor=0 and floor = -1 with height map over them makes holes in "walls", but that cannot stop you now, right? :twisted:
I'm the Gate I'm the Key.
Dawn of Lore
User avatar
Mysterious
Posts: 226
Joined: Wed Nov 06, 2013 8:31 am

Re: Outdoor elevation not supported?

Post by Mysterious »

Hi guys just question. I got stairs going down to the level below to a dungeon setting and want to put water a say knee high. I have tried many things and things go very funny. Any help please thank you :)
Post Reply