occluders and the wallsets on the forum

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
kelly1111
Posts: 349
Joined: Sun Jan 20, 2013 6:28 pm

occluders and the wallsets on the forum

Post by kelly1111 »

Hello Everyone,

Two questions (perhaps already answered)

the wallsets that are downloadable from the forums (eg: deep-dungeon, dark-temple, frozen, etc) Do these wallsets have occluders applied to them? I remember reading somewhere that they havent werent finished yet. If so, I have used them extensivly in my dungeon, is it still easy to fix the problem? Or do I have to start over?

And how then do I fix it?
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: occluders and the wallsets on the forum

Post by minmay »

The conversions are all basically crap. The deep dungeon, dark temple, and dungeon master ones are completely missing occluders.
The fix is easy, just add this to the walls:

Code: Select all

		{
			class = "Occluder",
			model = "assets/models/env/dungeon_wall_01_occluder.fbx",
		},
And this to the floors:

Code: Select all

		{
			class = "Occluder",
			model = "assets/models/env/dungeon_floor_01_occluder.fbx",
		},
And this to the ceilings:

Code: Select all

		{
			class = "Occluder",
			model = "assets/models/env/catacomb_ceiling_occluder.fbx",
		},
The Winter Tileset is properly made and should already have all the needed occluders. It might be missing some ItemConstrainBoxComponents, haven't looked at it yet.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: occluders and the wallsets on the forum

Post by Skuggasveinn »

minmay wrote: The Winter Tileset is properly made and should already have all the needed occluders. It might be missing some ItemConstrainBoxComponents, haven't looked at it yet.
The only object that perhaps needs ItemConstrainBox and doesn't have it is the rope ladder (boxes around the pillars at top), but other objects like the doors etc have ItemConstrainBoxes.

I had some trouble with the occluder for the wooden floor inside the houses, if there was an elevation down with a ladder inside a house it sometimes stopped rendering the models that made up the elevation drop even if it was clearly visible (if you backed away from the elevation hole and viewed it from a long semi-horizontal angle) , so I disabled that occluder. If I was making a mod I would have made 2 definitions for the floor, one with occluder and another without, and only use the one without it around up and down ladders. There is a good benefit of having the engine stop rendering stuff on other floors of the house. (ps. the wooden ceiling occluder model is inside the definition just commented out, so people can enable it again if they so choose, also looking at the source I see that I have commented out one occluder for a house wall that should be enabled, I will fix that along with ItemConstrain for the rope ladder in the next release).

kind regards.
Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
User avatar
Eleven Warrior
Posts: 752
Joined: Thu Apr 18, 2013 2:32 pm
Location: Australia

Re: occluders and the wallsets on the forum

Post by Eleven Warrior »

Hey Skuggs how about just posting the updated lua files instead of the whole pack mate? Unless the models etc.. have been changed. Oh and the set......................................AWESOME :) :)
Post Reply