Ask a simple question, get a simple answer

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!
GoldenShadowGS
Posts: 168
Joined: Thu Oct 30, 2014 1:56 am

Re: Ask a simple question, get a simple answer

Post by GoldenShadowGS »

You will need another pressure plate that your player has to traverse to get out of the trap that is set to reset the door to their initial states.
Jackard
Posts: 59
Joined: Thu Oct 30, 2014 7:32 pm

Re: Ask a simple question, get a simple answer

Post by Jackard »

Ah, I switched out the lever for a button and that worked as well. It seems you cannot toggle levers?
cameronC
Posts: 80
Joined: Wed Apr 11, 2012 10:54 pm

Re: Ask a simple question, get a simple answer

Post by cameronC »

Two part question, hopefully simple enough.

1. When an item is altered (For example, performing an action calls setDescription() on an item) is that new description carried over after a game is saved/loaded? In the editor it, obviously, doesn't stick so I was wondering if there was anything special needed to make sure that anything like that is saved. [They do, which I thought was the case]

2. When I exported my dungeon and loaded it to test if that new description would stick after reloading I get an error that crashes the game when I try to save my game. The grimrock.log file is right here. Are there any more steps than Export -> Load under Custom Dungeons? [Still no clue why my dungeon does this]
Last edited by cameronC on Sun Nov 02, 2014 7:51 pm, edited 1 time in total.
Writer and sometimes artist of the very slightly acclaimed comic series Scrambled Circuits. A comic series about a robot written by a human.

Grimrock 2 socketSystem: viewtopic.php?f=22&t=8546 / Github
swampie
Posts: 9
Joined: Sun Nov 02, 2014 1:12 am

Re: Ask a simple question, get a simple answer

Post by swampie »

I am trying to make an obstacle witch can be destroyed by a special item, let's say a sledghammer.
My first thought was to add a onDamage hook to the obstacle component, but that didn't work.
So I added a health component and voila, it was destructable, but still no onDamage check.
My question is: where do you put the onDamage hook? :?:
User avatar
Blichew
Posts: 157
Joined: Thu Sep 27, 2012 12:39 am

Re: Ask a simple question, get a simple answer

Post by Blichew »

Just a quick question: is there a model (custom?) that looks and works like an alcove but can be moved freely with setWorldPosition ? Default alcove replaces a wall and it moves along the whole wall behind it. :(
GoldenShadowGS
Posts: 168
Joined: Thu Oct 30, 2014 1:56 am

Re: Ask a simple question, get a simple answer

Post by GoldenShadowGS »

Blichew wrote:Just a quick question: is there a model (custom?) that looks and works like an alcove but can be moved freely with setWorldPosition ? Default alcove replaces a wall and it moves along the whole wall behind it. :(
It has to replace the wall because the original wall would be clipping the alcove and look bad. You will need new 3d art to move it around.
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: Ask a simple question, get a simple answer

Post by NutJob »

Has anyone successfully Exported a game with External Scripts? If so, what technique did you use?
Jackard
Posts: 59
Joined: Thu Oct 30, 2014 7:32 pm

Re: Ask a simple question, get a simple answer

Post by Jackard »

Why can I not use two ceilings on the same tile at different elevations? This includes both terrain and object ceilings - only one will show up ingame.
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: Ask a simple question, get a simple answer

Post by NutJob »

Jackard wrote:Why can I not use two ceilings on the same tile at different elevations? This includes both terrain and object ceilings - only one will show up ingame.
Because you can't see through the first?
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Ask a simple question, get a simple answer

Post by Drakkan »

please easy script help - i do not want to player remove torch from some torch holder with printing some message. thanks
Breath from the unpromising waters.
Eye of the Atlantis
Post Reply