<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.soldat2.com/index.php?action=history&amp;feed=atom&amp;title=Custom_Modifiers</id>
	<title>Custom Modifiers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.soldat2.com/index.php?action=history&amp;feed=atom&amp;title=Custom_Modifiers"/>
	<link rel="alternate" type="text/html" href="https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;action=history"/>
	<updated>2026-05-05T18:45:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;diff=157&amp;oldid=prev</id>
		<title>Nerf cardboard at 17:48, 10 June 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;diff=157&amp;oldid=prev"/>
		<updated>2023-06-10T17:48:56Z</updated>

		<summary type="html">&lt;p&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 17:48, 10 June 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-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&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;Follow the '''exact''' same structure as in this file - ie. all parameters are within the &amp;quot;Objects&amp;quot; key.&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;Follow the '''exact''' same structure as in this file - ie. all parameters are within the &amp;quot;Objects&amp;quot; key.&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;To customize game mode configuration, there is the special namespace &amp;quot;Objects.Rules&amp;quot;. This also allows to load custom scripts, by &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;naming it&lt;/del&gt;.&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;To customize game mode configuration, there is the special namespace &amp;quot;Objects.Rules&amp;quot;. This also allows to load custom scripts, by &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;adding an object key with the script class name&lt;/ins&gt;.&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;&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;Some more hints:&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;Some more hints:&lt;/div&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;* You only need to specify the parameter you want to change. Due to some bugs, this does not work for some objects (eg MeleeWeapon).&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;* You only need to specify the parameter you want to change. Due to some bugs, this does not work for some objects (eg MeleeWeapon) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- there all parameters of the object need to be specified&lt;/ins&gt;.&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;* Its possible to add or remove elements from lists, instead of replacing the whole default list. To do this, prefix the parameter name with &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; (eg  &amp;lt;code&amp;gt;&amp;quot;-PrimaryWeapons&amp;quot;: [&amp;quot;Minigun&amp;quot;]&amp;lt;/code&amp;gt;). This improves composability of multiple Modifiers. On non-lists, a &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;-prefix removes the whole element.&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;* Its possible to add or remove elements from lists, instead of replacing the whole default list. To do this, prefix the parameter name with &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; (eg  &amp;lt;code&amp;gt;&amp;quot;-PrimaryWeapons&amp;quot;: [&amp;quot;Minigun&amp;quot;]&amp;lt;/code&amp;gt;). This improves composability of multiple Modifiers. On non-lists, a &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;-prefix removes the whole element.&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;* Changes are applied whenever the file is saved. This works for most parameters, but not all.&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;* Changes are applied whenever the file is saved. This works for most parameters, but not all.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key soldat2wiki:diff::1.12:old-151:rev-157 --&gt;
&lt;/table&gt;</summary>
		<author><name>Nerf cardboard</name></author>
	</entry>
	<entry>
		<id>https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;diff=151&amp;oldid=prev</id>
		<title>Nerf cardboard: add to Category:Modding</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;diff=151&amp;oldid=prev"/>
		<updated>2023-06-10T11:46:53Z</updated>

		<summary type="html">&lt;p&gt;add to Category:Modding&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 11:46, 10 June 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-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&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;}&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;}&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;lt;/pre&amp;gt;&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;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Modding]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key soldat2wiki:diff::1.12:old-150:rev-151 --&gt;
&lt;/table&gt;</summary>
		<author><name>Nerf cardboard</name></author>
	</entry>
	<entry>
		<id>https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;diff=150&amp;oldid=prev</id>
		<title>Nerf cardboard at 11:43, 10 June 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;diff=150&amp;oldid=prev"/>
		<updated>2023-06-10T11:43:46Z</updated>

		<summary type="html">&lt;p&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 11:43, 10 June 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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;Modifiers are snippets of configuration that partially override the default game config, which makes for some nice match variation in servers.&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;Modifiers are snippets of configuration that partially override the default game config, which makes for some nice match variation in servers.&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;Check the default configuration file &amp;lt;code&amp;gt;Modifiers/_default.json&amp;lt;/code&amp;gt; (anything not related to game modes: weapons player movement) as a reference of available parameters.&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;Check the default configuration file &amp;lt;code&amp;gt;Modifiers/_default.json&amp;lt;/code&amp;gt; (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;contains &lt;/ins&gt;anything not related to game modes: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;eg &lt;/ins&gt;weapons&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;player movement&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, ...&lt;/ins&gt;) as a reference of available parameters.&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;Follow the '''exact''' same structure as in this file - ie. all parameters are within the &amp;quot;Objects&amp;quot; key.&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;Follow the '''exact''' same structure as in this file - ie. all parameters are within the &amp;quot;Objects&amp;quot; key.&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;!-- diff cache key soldat2wiki:diff::1.12:old-149:rev-150 --&gt;
&lt;/table&gt;</summary>
		<author><name>Nerf cardboard</name></author>
	</entry>
	<entry>
		<id>https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;diff=149&amp;oldid=prev</id>
		<title>Nerf cardboard: Created page with &quot;Modifiers are snippets of configuration that partially override the default game config, which makes for some nice match variation in servers.  Check the default configuration file &lt;code&gt;Modifiers/_default.json&lt;/code&gt; (anything not related to game modes: weapons player movement) as a reference of available parameters. Follow the '''exact''' same structure as in this file - ie. all parameters are within the &quot;Objects&quot; key.  To customize game mode configuration, there is th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat2.com/index.php?title=Custom_Modifiers&amp;diff=149&amp;oldid=prev"/>
		<updated>2023-06-10T11:43:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Modifiers are snippets of configuration that partially override the default game config, which makes for some nice match variation in servers.  Check the default configuration file &amp;lt;code&amp;gt;Modifiers/_default.json&amp;lt;/code&amp;gt; (anything not related to game modes: weapons player movement) as a reference of available parameters. Follow the &amp;#039;&amp;#039;&amp;#039;exact&amp;#039;&amp;#039;&amp;#039; same structure as in this file - ie. all parameters are within the &amp;quot;Objects&amp;quot; key.  To customize game mode configuration, there is th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Modifiers are snippets of configuration that partially override the default game config, which makes for some nice match variation in servers.&lt;br /&gt;
&lt;br /&gt;
Check the default configuration file &amp;lt;code&amp;gt;Modifiers/_default.json&amp;lt;/code&amp;gt; (anything not related to game modes: weapons player movement) as a reference of available parameters.&lt;br /&gt;
Follow the '''exact''' same structure as in this file - ie. all parameters are within the &amp;quot;Objects&amp;quot; key.&lt;br /&gt;
&lt;br /&gt;
To customize game mode configuration, there is the special namespace &amp;quot;Objects.Rules&amp;quot;. This also allows to load custom scripts, by naming it.&lt;br /&gt;
&lt;br /&gt;
Some more hints:&lt;br /&gt;
* You only need to specify the parameter you want to change. Due to some bugs, this does not work for some objects (eg MeleeWeapon).&lt;br /&gt;
* Its possible to add or remove elements from lists, instead of replacing the whole default list. To do this, prefix the parameter name with &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; (eg  &amp;lt;code&amp;gt;&amp;quot;-PrimaryWeapons&amp;quot;: [&amp;quot;Minigun&amp;quot;]&amp;lt;/code&amp;gt;). This improves composability of multiple Modifiers. On non-lists, a &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;-prefix removes the whole element.&lt;br /&gt;
* Changes are applied whenever the file is saved. This works for most parameters, but not all.&lt;br /&gt;
* The JSON parser understands JSON2, so trailing commas and comments are allowed.&lt;br /&gt;
&lt;br /&gt;
= Example =&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;Objects&amp;quot;: {&lt;br /&gt;
    &amp;quot;Rules&amp;quot;: {&lt;br /&gt;
      // customizing game rules parameters&lt;br /&gt;
      &amp;quot;StandardGameplay&amp;quot;: {&lt;br /&gt;
        &amp;quot;DamageModifier&amp;quot;: 2&lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;-RandomDrops&amp;quot;: {}&lt;br /&gt;
      // loading a custom script&lt;br /&gt;
      &amp;quot;MyCustomScript&amp;quot;: {&lt;br /&gt;
        &amp;quot;SomeScriptParameter&amp;quot;: 1.0&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;Gostek&amp;quot;: {&lt;br /&gt;
      &amp;quot;PhysicsObject&amp;quot;: {&lt;br /&gt;
        &amp;quot;Mass&amp;quot;: 0.65, // faster movement by making players lighter&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;Meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;Description&amp;quot;: &amp;quot;this text shows up as a tooltip in the lobby&amp;quot;,&lt;br /&gt;
    &amp;quot;Author&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
    &amp;quot;Version&amp;quot;: &amp;quot;1.0&amp;quot;,&lt;br /&gt;
    &amp;quot;Game&amp;quot;: &amp;quot;Soldat2&amp;quot;,&lt;br /&gt;
    &amp;quot;GameVersion&amp;quot;: &amp;quot;0.8.67&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nerf cardboard</name></author>
	</entry>
</feed>