dungeon wall grating

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
Halluinoid
Posts: 165
Joined: Tue Apr 02, 2013 7:08 pm
Contact:

dungeon wall grating

Post by Halluinoid »

levers, secret buttons and floor triggers will not open dungeon wall grating :o

anybody using dungeon wall grating? what can you use to trigger grating to open? ;)
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: dungeon wall grating

Post by Skuggasveinn »

dungeon_wall_grating is not a door (base object is base_wall_grating), and therefore doesn't respond to open/close

dungeon_door_portcullis is a door and perhaps the alternative you are looking for ?
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
User avatar
Halluinoid
Posts: 165
Joined: Tue Apr 02, 2013 7:08 pm
Contact:

Re: dungeon wall grating

Post by Halluinoid »

dungeon_wall_grating is not a door in LOG2

it was in LOG1 :lol:

interestingly, the grating OPENS to Z in editor2 as well ;) (but nothing else)
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: dungeon wall grating

Post by minmay »

You can actually open/close a dungeon wall grating with a script, just not a connector since it doesn't have a ControllerComponent:

Code: Select all

dungeon_wall_grating_1.door:open()
However, that is bad practice imo. Just use an actual portcullis door.
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.
Post Reply