http://ufoai.org/w/index.php?title=UFO-Scripts/equipment.ufo&feed=atom&action=historyUFO-Scripts/equipment.ufo - Revision history2024-03-28T19:58:34ZRevision history for this page on the wikiMediaWiki 1.35.4http://ufoai.org/w/index.php?title=UFO-Scripts/equipment.ufo&diff=37762&oldid=prevH-hour at 09:59, 5 October 20112011-10-05T09:59:45Z<p></p>
<p><b>New page</b></p><div>==General==<br />
With equipment definitions you can define various weapon and item pools, that can be used for each campaign or mission.<br />
<br />
==Example==<br />
<pre>equipment replaceme<br />
{<br />
assault 2<br />
assault_ammo 4<br />
smg 2<br />
smg_ammo 4<br />
}</pre><br />
This will define an equipment pool with 2 [[Equipment|weapons]] and the appropriate ammo. '''replaceme''' will be the id you need to know if you want to access this definition in e.g. a [[campaign.ufo|campaign definition]].<br />
<br />
==Skirmish/MP Menus==<br />
In the skirmish (and someday the MP menu as well), players can select their equipment set. For this reason, you can also add a name parameter to your equipment definition. The example above could be:<br />
<pre>equipment replaceme<br />
{<br />
name "_Assault Rifle and SMG"<br />
assault 2<br />
assault_ammo 4<br />
smg 2<br />
smg_ammo 4<br />
}</pre><br />
<br />
<br />
==Links==<br />
* [[UFO-Scripts]]<br />
* [[campaign.ufo]]<br />
* [[Adding mission]]<br />
* [[Create campaign]]<br />
<br />
[[Category:UFO-Scripts]]<br />
[[Category:Contribute]]</div>H-hour