Git Product home page Git Product logo

Comments (10)

dymanoid avatar dymanoid commented on July 27, 2024 1

I think, I will change the idea a bit. I introduce a new small button that switches between three states:

  • normal: the light conditions are determined by the game time
  • overridden day: light conditions as of noon, the game time runs independently
  • overridden night: light conditions as of midnight, the game time runs independently

This button will only be available when the day/night cycle is enabled in the game options.

With this button, players can choose the light conditions they want e.g. for building at night and then switch back to normal mode. No game pausing is required.

from realtime.

dymanoid avatar dymanoid commented on July 27, 2024 1

Real Time now supports time warping while paused. However, there are no controls for that in Real Time. The Time Warp or Ultimate Eyecandy mods can be used to warp the time. The game will be automatically paused on warping. On resuming, the time will be reverted back again.

from realtime.

originalfoo avatar originalfoo commented on July 27, 2024

Problem is I need more granular control over the sun position while time warping, particularly when detailing. For example, I often have to get it just right so the sun is shining at a certain angle down a street so as not to have the buildings casting to many shadows on the are where I'm working.

As for night time, that is simpler - just darkness with lights on is fine. Although even here, I can foresee a desire to have some control over where the moon is if taking screenshots (which I am very prone to doing at night time). Getting the moon position just right, and the resulting moonlight on buildings, etc., can make difference between a good night time screenie and a great one.

That, for me, is the best part of time warp mod - I can get the lighting conditions just right for whatever my needs are at the time.

from realtime.

originalfoo avatar originalfoo commented on July 27, 2024

Why not just have two states: Normal and overriden.

Normal mode:

  • Sky and weather are linked to game time

Override mode:

  • Sky is independent of game time - I can right click or drag around the sun/moon circle to set sun/moon position (ie. granular control over lighting conditions)
  • But weather remains linked to game time

That would be perfect :)

from realtime.

originalfoo avatar originalfoo commented on July 27, 2024

Further thought - simply right-clicking or right-dragging on sun/moon circle would 'detach' the sky from the game time... so no need to manually set 'override' mode prior to sky warping.

The background colour of the sun/moon circle could change colour (or globe changes colour, or whatever) as visual indicator that sky warping is active.

A right-click on the globe (tile purchase button) would return to normal mode (sky becomes linked to game time).

If sky warping is not active, right-clicking the globe could enable sky warping (detach sky from time) without actually changing the current state of the sky (in essence it would be a way to "pause" the current sky condition).

Also, daytime and nighttime states would always remain linked to game time - the game could still transition to night time state (budget changes, etc) even if the sky was warped to daylight.

from realtime.

originalfoo avatar originalfoo commented on July 27, 2024

Rough mockup of possible visualisation depicting sky-warp mode is active - replace the globe with an 'undo' style button:

sky-warp

EDIT: Would probably need different background colour to make it more obvious?

If you can get me the globe sprite (for reference of exact dimensions) I can spend some time experimenting with different designs.

EDIT 2: Wow, that screenie I used to do rough sketch must be really old - no sun and moon in the outer circle lol!

If you can get sprite for the sun/moon circle background, I could experiment with tweaks to that also (might look rubbish but only one way to find out).

from realtime.

dymanoid avatar dymanoid commented on July 27, 2024

Well... We have Real Time here. Why can't you just wait till the desired time of the day naturally occurs? The only use case for temporarily switching to "noon" is when your need to urgently fix something in your city in the night but don't see anything because it's just too dark.
For the other things, I guess, everyone could wait some time...

Why over-complicating?

from realtime.

Sipke82 avatar Sipke82 commented on July 27, 2024

I think the initial idea was the best. Allow timewarp when paused. as soon as unpause, go back to original game time, simple....

from realtime.

originalfoo avatar originalfoo commented on July 27, 2024

For me, RealTime is about making a city behave like a city - ie. cim activity follows recognisable patterns rather than the random chaos of vanilla game. It means they go to work/school at set times, shopping at weekends and so on. There's a clear sense of work day vs. weekend, main shift vs. night shift and so on. The sky being synchronised with that is the icing on the cake, I love it, but it's not the primary reason I use RealTime.

An "instant noon/midnight" regularly wouldn't suffice. I generally need much more specific lighting conditions hence the need to drag around (like in time warp mod) to get the sky set exactly as I want.

For example, I had to wait until 2:30pm so the sun was in just the right place to light up an underpass I was working on. Then there's the secondary need, which is getting everything just right for screenshots at night - like, a fog might start but I want to get the moon a bit lower in the sky to include it in the screen grab. Time warp mod was always perfect for that stuff, but sadly it changes the game time which sends my cims crazy if I'm using RT.

If it's possible to "instant noon/midnight" while the game is still running, it's possible to "instant any time of day or night" while the game is still running?

from realtime.

dymanoid avatar dymanoid commented on July 27, 2024

It is possible to decouple the sun from the time. But then, it will be not Real Time anymore, I just don't want to do that.

So my final decision is: I implement the originally proposed solution. The sun position may be freely changed while the game is paused. On un-pausing, the sun position resets to correspond the game time.

from realtime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.