Make the sky night?

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
barronvonburp
Posts: 30
Joined: Mon Jul 13, 2015 7:41 am

Make the sky night?

Post by barronvonburp »

How to make the sky night at all times?
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Make the sky night?

Post by AndakRainor »

You could use GameMode.setTimeOfDay(time) and call it frequently enough (in a timer component for example) to avoid the sunrise :)
barronvonburp
Posts: 30
Joined: Mon Jul 13, 2015 7:41 am

Re: Make the sky night?

Post by barronvonburp »

I tried the command, and I can't seem to change the time to night with it, no matter which value I input.
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Make the sky night?

Post by AndakRainor »

The value goes from 0 to 2. 0 to 1 is day time and 1 to 2 is night iirc.
Post Reply