It would be better if there was a day and night cycle in the game. (I do know of the normal way of doing that.) but this is going to be automatic.
i did not know that. but what about setting the time it takes in game to turn night. like night in 5 minutes or 1 minute or even seconds
It's coded into the map file. Which means it's different for every map. Whosoever makes a map chooses the rate at which day/night comes if they even choose to let it be night.
actually, most maps have the day/night cycle paused at daytime, to play it, you have to open the level editor, and in the scene, find the "tod" thing, and enable the "play" checkmark