Time cycle and map transfer issue

Zaha

Villager
Member
Joined
Mar 15, 2019
Messages
26
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hi all

I'm trying to set up a framework for my time cycle which is based on events adding to a 'Hours' variable, and which at certain points tints the screen (which is working well).

I've made 'Night' versions of my maps, and had hoped that adding a simple conditional branch to the transfer points would allow a nice smooth shift for the player see below). However, it only works one way and I have no idea why (something to do with the variables not being read)? For example, enough hours are added to the 'Hours' variable for the time to get to night. The player goes into the Inn and is transferred to the 'Inn (Night)' map. When the player leaves though, it doesn't transfer them to the 'Village (Night)' for some reason, and vice versa.

Any ideas why please?
 

Attachments

  • Night.JPG
    Night.JPG
    49.4 KB · Views: 8

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,386
Reaction score
8,099
First Language
German
Primarily Uses
RMMV
it would help to see the full event (including trigger etc, you cut off that part of the event as well).
especially we need to see how you count up your hours/time and so on.

there are several ways that could have gone wrong, but without full info we would be guessing...
 

Zaha

Villager
Member
Joined
Mar 15, 2019
Messages
26
Reaction score
0
First Language
English
Primarily Uses
RMMV
Ah, sorry! Here's the rest of it
 

Attachments

  • night1.JPG
    night1.JPG
    92.7 KB · Views: 4

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,386
Reaction score
8,099
First Language
German
Primarily Uses
RMMV
and the rest? I specifically asked where the hour variable is defined and controlled

that event will transfer the player to two different maps based on what value the hour is, and if that doesn't work as intended then something is wrong with how the hour variable is handled.
 

Zaha

Villager
Member
Joined
Mar 15, 2019
Messages
26
Reaction score
0
First Language
English
Primarily Uses
RMMV
Cool, just had to take a call :) For each story event, I'll add a couple of hours (see below for an example). They all seem to work as they are interlinked and I've play tested them fine. It's just transfer that doesn't work.

All the links to the tinting, etc also work fine across maps.

I'm not sure how to show you the variable?
 

Attachments

  • event.JPG
    event.JPG
    100.3 KB · Views: 4
  • Hours.JPG
    Hours.JPG
    104.4 KB · Views: 4
  • tint.JPG
    tint.JPG
    88.2 KB · Views: 3

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,386
Reaction score
8,099
First Language
German
Primarily Uses
RMMV
OK, manual time control instead of an automatic counting.

then two things:
first, pleas add a show text command with text "hour is now \V[43]." to the transfer event, so that you can know the number of the hour on each transfer. I suspect that you forgot to remove 24 hours each day and it continues counting up.

second, show the transfer event where you get back from the inn - the one that is not working correct - if you want to solve that problem as well.
 

Zaha

Villager
Member
Joined
Mar 15, 2019
Messages
26
Reaction score
0
First Language
English
Primarily Uses
RMMV
Andar - thank you so much for your help! Just placing that show text command highlighted I had made a really stupid mistake in the night map transfer event. I can't believe it was something some so obvious, but that I couldn't see it.

Once again, thank you for your time and help! :)
 

Latest Threads

Latest Posts

Latest Profile Posts

It seems that I have to change the order with which I make the fantasy games on my bucket list, because the intended title is used as a story element in the first two games in the line, and somebody else might take the title for their own game because the term uses real words. I can't risk going over the apparent three year limit for registering trademark ahead of time.
I am interested in collaborations so if you like my art, hit up my messages! :wub
unknown.png

Making good progress with the second chapter. :)

Still work in progress.

(Real life, it is chronically the fourth chapter that I am making.)
constructionworkconcept.pngezgif-2-0acb620ecf8d.gifezgif-2-afeaf16ebb8d.gif "The Great Wall is great. But, most people can only be the slaves who built it, leaving their bones underneath that wall. They spent their whole life to build that wall and the empire, an empire that enslaves them." :kaoswt2: I'm just going to turn it into a modern-day sad tale.

Forum statistics

Threads
110,671
Messages
1,055,076
Members
143,794
Latest member
fantaseafox
Top