<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.commanderwars.com/w/index.php?action=history&amp;feed=atom&amp;title=Weather_Manipulation</id>
	<title>Weather Manipulation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.commanderwars.com/w/index.php?action=history&amp;feed=atom&amp;title=Weather_Manipulation"/>
	<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Weather_Manipulation&amp;action=history"/>
	<updated>2026-10-01T11:29:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.1</generator>
	<entry>
		<id>https://www.commanderwars.com/w/index.php?title=Weather_Manipulation&amp;diff=3785&amp;oldid=prev</id>
		<title>Admin: /* Manipulating the Weather */</title>
		<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Weather_Manipulation&amp;diff=3785&amp;oldid=prev"/>
		<updated>2023-12-09T01:40:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Manipulating the Weather&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:40, 9 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l45&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The possible values for the &amp;#039;&amp;#039;&amp;#039;weatherId&amp;#039;&amp;#039;&amp;#039; are:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The possible values for the &amp;#039;&amp;#039;&amp;#039;weatherId&amp;#039;&amp;#039;&amp;#039; are:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;WEATHER1_SUN&lt;/del&gt;&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;WEATHER_1SUN&lt;/ins&gt;&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER_RAIN&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER_RAIN&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER_SANDSTORM&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER_SANDSTORM&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-187:rev-3785 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://www.commanderwars.com/w/index.php?title=Weather_Manipulation&amp;diff=187&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Weather_Manipulation&amp;diff=187&amp;oldid=prev"/>
		<updated>2022-06-19T02:05:18Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:05, 19 June 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff::1.12:old-186:rev-187 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://www.commanderwars.com/w/index.php?title=Weather_Manipulation&amp;diff=186&amp;oldid=prev</id>
		<title>en&gt;Admin at 03:11, 14 March 2022</title>
		<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Weather_Manipulation&amp;diff=186&amp;oldid=prev"/>
		<updated>2022-03-14T03:11:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are 5 types of Weather in Commander Wars:&lt;br /&gt;
&lt;br /&gt;
*Clear Weather&lt;br /&gt;
*Rain&lt;br /&gt;
*Sandstorm&lt;br /&gt;
*Mist&lt;br /&gt;
*Snow&lt;br /&gt;
&lt;br /&gt;
Each of these have an effect on different COs such as Olaf or Penny.&lt;br /&gt;
&lt;br /&gt;
The following percentages are set if the match options are set for random weather, otherwise the weather will always be clear. &lt;br /&gt;
&lt;br /&gt;
==Clear Weather==&lt;br /&gt;
There&amp;#039;s a 70% chance of Clear Weather. It has no special effect on Units or COs unless they are customized to benefit or otherwise be affected by it.&lt;br /&gt;
&lt;br /&gt;
==Rain==&lt;br /&gt;
There&amp;#039;s 10% chance of Rain. By default, it creates Fog of War as well, during the days it&amp;#039;s raining. On top of the temporary Fog of War, there is reduced vision (-1) for all Units. &lt;br /&gt;
&lt;br /&gt;
==Sandstorm==&lt;br /&gt;
There&amp;#039;s 10% chance of a Sandstorm. This reduces the Offense of all units by 15% and the Fire Range by -1.&lt;br /&gt;
==Mist==&lt;br /&gt;
There&amp;#039;s a 0% chance of Mist. This creates a Fog of War like mode where the same rules as Fog of War apply, however, there are no dark tiles in the map. Instead, players Units&amp;#039; must have the opponent&amp;#039;s Units in Vision Range to be able to attack them.&lt;br /&gt;
&lt;br /&gt;
==Snow==&lt;br /&gt;
There&amp;#039;s 10% chance of Snow. This reduces the movement of Air Units by -1; and the Movement of Ground Units by -1, except in the following Terrain Types:&lt;br /&gt;
&lt;br /&gt;
*STREET&lt;br /&gt;
*STREET1&lt;br /&gt;
*SNOW_STREET&lt;br /&gt;
*BRIDGE&lt;br /&gt;
*BRIDGE1&lt;br /&gt;
*WASTE_PATH&lt;br /&gt;
*DESERT_PATH&lt;br /&gt;
*DESERT_PATH1&lt;br /&gt;
*TELEPORTTILE&lt;br /&gt;
&lt;br /&gt;
==Manipulating the Weather==&lt;br /&gt;
The Weather can be manipulated by a CO, a Unit or scripted as an event in a map.&lt;br /&gt;
To do so the code is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
map.getGameRules().changeWeather(String weatherId , int duration );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The possible values for the &amp;#039;&amp;#039;&amp;#039;weatherId&amp;#039;&amp;#039;&amp;#039; are:&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER1_SUN&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER_RAIN&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER_SANDSTORM&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER_MIST&amp;quot;&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;quot;WEATHER_SNOW&amp;quot;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;duration&amp;#039;&amp;#039;&amp;#039; parameter is the number of days the weather will be changed.&lt;br /&gt;
&lt;br /&gt;
[[Category:Modding tutorials]]&lt;/div&gt;</summary>
		<author><name>en&gt;Admin</name></author>
	</entry>
</feed>