Difference between revisions of "Day/Night Cycle"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Removed stub sing...Please check...)
m (Light Sources)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Build
 
{{Build
|Version = 360
+
|Version = 939
 
}}
 
}}
 +
The [[Day/Night Cycle]] is an optional feature for KAG servers, whereby the environment alternates between day and night.
  
 +
During the daytime, visibility is at maximum. Players can see clearly. Darkness only exists in confined spaces, such as in confined structures or underground caverns. However, as night approaches, everything slowly becomes darker, and the visibility reduces, giving excitement to the game.
  
{{Premium}}
+
Nighttime provides a cover of darkness for all players, permitting an additional level of tactics. During the night, players have low visibility, which allows teams to organize ambushes from the shadows. For [[CTF]] servers with the cycle enabled, night is the perfect time for players to sneakily grab enemy flags. To counter this, a team may wish to introduce some light sources to its base.
The Day/Night Cycle was implemented before the Zombies update in order to create a suitable time for the zombies to attack. The devs decided it would also be a great addition to the other gamemodes so players could pull off ambushes, sneak attacks, etc.
+
  
During the day visibility is at maximum. Players can see clearly. However as night approaches the darkness of your screen incrises and visibility reduces giving excitement to the game.
+
==Light Sources==
 +
There are several different light sources in the standard settings and more variations can be modded in and added to a server's configs.
 +
The standard light sources include:
 +
*Daylight (The whole map is visible but obviously only in the day.) This excludes places that the light wont touch, for example deep underwater, in a deep cavern or in a long tunnel.
 +
*[[Lantern]]s: Lanterns can be created at a builders workshop (CTF) or a workbench (TTH) and the standard price is 10 wood.
 +
*Lit [[keg]]s and [[bomb]]s: When lit, kegs and bombs also emit a small amount of light, so that enemies can spot them.
 +
*Player: The player gives off a faint radius of light, however this is purely on the client side and no other players can see your light radius, as they will have their own.
 +
*Certain Workshops have lanterns mounted to them, and thus act as a light source, with similar light radius as a [[Lantern]]
  
Night is perfect time for players to sneak attack enemy flags and its the time when zombies come out and start attacking player castles ([Zombie Portal]]s spawn zombies at day though). Length of day and night can be configured but generally day is longer due to fact that building takes more then fighting.
+
==Day/Night Cycle in gamemodes other than Take the Halls==
==Lighting==
+
<p>To enable day and night, simply open up the gamemode.cfg file, located Kagserv/Base/Rules/%your_game_mode_choice%/ and change the variables:
The Day/Night Cycle comes hand-in-hand with the new lighting system, added in the same update (public [[Version history|build 319]]).
+
  
 
+
<syntaxhighlight lang="ini" enclose="div">
==Update History==
+
daycycle_speed                    = 0 # 1 day = X minutes; / 0 no cycle
{{Update History|
+
daycycle_start                    = 0.5        # 0.0 midnight; 0.5 - midday; 1.0 midnight
''[[Version_history#319|Build 319]]''
+
</syntaxhighlight>
*Day/Night Cycle is introduced
+
|}}
+

Latest revision as of 06:22, 28 August 2014

This page might not be up-to-date (build 939).

The Day/Night Cycle is an optional feature for KAG servers, whereby the environment alternates between day and night.

During the daytime, visibility is at maximum. Players can see clearly. Darkness only exists in confined spaces, such as in confined structures or underground caverns. However, as night approaches, everything slowly becomes darker, and the visibility reduces, giving excitement to the game.

Nighttime provides a cover of darkness for all players, permitting an additional level of tactics. During the night, players have low visibility, which allows teams to organize ambushes from the shadows. For CTF servers with the cycle enabled, night is the perfect time for players to sneakily grab enemy flags. To counter this, a team may wish to introduce some light sources to its base.

Light Sources

There are several different light sources in the standard settings and more variations can be modded in and added to a server's configs. The standard light sources include:

  • Daylight (The whole map is visible but obviously only in the day.) This excludes places that the light wont touch, for example deep underwater, in a deep cavern or in a long tunnel.
  • Lanterns: Lanterns can be created at a builders workshop (CTF) or a workbench (TTH) and the standard price is 10 wood.
  • Lit kegs and bombs: When lit, kegs and bombs also emit a small amount of light, so that enemies can spot them.
  • Player: The player gives off a faint radius of light, however this is purely on the client side and no other players can see your light radius, as they will have their own.
  • Certain Workshops have lanterns mounted to them, and thus act as a light source, with similar light radius as a Lantern

Day/Night Cycle in gamemodes other than Take the Halls

To enable day and night, simply open up the gamemode.cfg file, located Kagserv/Base/Rules/%your_game_mode_choice%/ and change the variables:

daycycle_speed                     = 0                  # 1 day = X minutes; / 0 no cycle
daycycle_start                     = 0.5        # 0.0 midnight; 0.5 - midday; 1.0 midnight