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!
Pompidom
Posts: 497
Joined: Sun May 06, 2018 9:42 pm

Re: Ask a simple question, get a simple answer

Post by Pompidom »

https://ibb.co/gYuSNU
https://ibb.co/njohp9

I made a script where the bookshelf lowers itself down at the same speed the secret wall opens up :)

Holy crap !

I just made an elevator :D

https://www.youtube.com/watch?v=qNbcUNw ... e=youtu.be
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Ask a simple question, get a simple answer

Post by akroma222 »

Pompidom wrote: Sat Sep 22, 2018 3:53 pm https://ibb.co/gYuSNU
https://ibb.co/njohp9
I made a script where the bookshelf lowers itself down at the same speed the secret wall opens up :)
Holy crap !
I just made an elevator :D
https://www.youtube.com/watch?v=qNbcUNw ... e=youtu.be
Awesome work! ...share share??
Not sure how you scripted it, Id be interested to see if you used a different method from:
https://www.nexusmods.com/legendofgrimrock2/mods/10/
which is found in this thread:
www.grimrock.net/forum/viewtopic.php?f= ... ors#p81313

Akroma ;)
Pompidom
Posts: 497
Joined: Sun May 06, 2018 9:42 pm

Re: Ask a simple question, get a simple answer

Post by Pompidom »

akroma222 wrote: Sat Sep 22, 2018 4:48 pm
Awesome work! ...share share??
Basically, I simply butchered your cubeanimator script
And this is what I came up with in 5 minutes time. I can make it go up and down.

And quite frankly I already have multiple ideas how to make a real elevator with multiple floor buttons that effectively bring you to the exact floor you clicked on.

I'm gonna slave at it this weekend, as it will take me some time. And then release it.

I even have an idea how to make multiple floors on the same squares as well so that you actually have a use for it in the log2 engine.
Pompidom
Posts: 497
Joined: Sun May 06, 2018 9:42 pm

Re: Ask a simple question, get a simple answer

Post by Pompidom »

Oh wow :(

I didn't realize elevators were already a thing....

I thought I struck gold...

Oh well, at least I can make something out of it :)
User avatar
Zo Kath Ra
Posts: 937
Joined: Sat Apr 21, 2012 9:57 am
Location: Germany

Re: Ask a simple question, get a simple answer

Post by Zo Kath Ra »

Pompidom wrote: Sat Sep 22, 2018 5:05 pm Oh wow :(

I didn't realize elevators were already a thing....

I thought I struck gold...

Oh well, at least I can make something out of it :)
I know the feeling...
When I have a great new idea for modding Grimrock, somebody else has already done it.
User avatar
Isaac
Posts: 3185
Joined: Fri Mar 02, 2012 10:02 pm

Re: Ask a simple question, get a simple answer

Post by Isaac »

The bookshelf idea is neat, but it does previously exist* in the ORRR2 (for LoG1), along with climb-able ladders—which didn't.

*Though not implemented the same way.
SpoilerShow
Image
Pompidom
Posts: 497
Joined: Sun May 06, 2018 9:42 pm

Re: Ask a simple question, get a simple answer

Post by Pompidom »

https://ibb.co/fSi3Z9
https://ibb.co/eY5T1p

So I have these DM_curtains, They're "clickable" You click them once and you tear them up.
Now I want the game to activate light from the window as soon you "open" them to let the sunlight in.

So basically something like this:

Code: Select all

function opencurtain()
if curtain_1 is torn
		then sx_town_window_indoor_snapon_lightrays_73.light:enable()
Is this possible with the assets I have now?
Pompidom
Posts: 497
Joined: Sun May 06, 2018 9:42 pm

Re: Ask a simple question, get a simple answer

Post by Pompidom »

Actually, never mind

I have found a workaround solution, by simply using an invisible no sound button that overlays it all and then simply disable model from the closed curtain and then enable the model of a torn curtain while enabling the light.
Pompidom
Posts: 497
Joined: Sun May 06, 2018 9:42 pm

Re: Ask a simple question, get a simple answer

Post by Pompidom »

Pompidom wrote: Mon Sep 24, 2018 4:19 pm Actually, never mind

I have found a workaround solution, by simply using an invisible no sound button that overlays it all and then simply disable model from the closed curtain and then enable the model of a torn curtain while enabling the light.
https://youtu.be/TRzvcJ4tfKk
Pompidom
Posts: 497
Joined: Sun May 06, 2018 9:42 pm

Re: Ask a simple question, get a simple answer

Post by Pompidom »

So I decided to export my mod.

Ran around and saved + reloaded to check for minimal savestate stuff issues.

I have plenty :)

Especially with set:WorldPosition objects. How do I fix this? :)

This:
https://ibb.co/nvZXcU

Looks now like this after reloading:
https://ibb.co/dxSUP9
Post Reply