<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pilot51.com/w/index.php?action=history&amp;feed=atom&amp;title=ObjectTemplate.SetHudAmmoType</id>
	<title>ObjectTemplate.SetHudAmmoType - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pilot51.com/w/index.php?action=history&amp;feed=atom&amp;title=ObjectTemplate.SetHudAmmoType"/>
	<link rel="alternate" type="text/html" href="https://pilot51.com/w/index.php?title=ObjectTemplate.SetHudAmmoType&amp;action=history"/>
	<updated>2026-05-01T01:50:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://pilot51.com/w/index.php?title=ObjectTemplate.SetHudAmmoType&amp;diff=600&amp;oldid=prev</id>
		<title>Pilot 51: New page: == MDT description == This property sets the type of ammo that is to be displayed. Argument 1 specifies the format. This type is also used by vehicles&#039; HUD displays. Here are the values an...</title>
		<link rel="alternate" type="text/html" href="https://pilot51.com/w/index.php?title=ObjectTemplate.SetHudAmmoType&amp;diff=600&amp;oldid=prev"/>
		<updated>2008-11-17T22:20:14Z</updated>

		<summary type="html">&lt;p&gt;New page: == MDT description == This property sets the type of ammo that is to be displayed. Argument 1 specifies the format. This type is also used by vehicles&amp;#039; HUD displays. Here are the values an...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== MDT description ==&lt;br /&gt;
This property sets the type of ammo that is to be displayed. Argument 1 specifies the format. This type is also used by vehicles&amp;#039; HUD displays. Here are the values and what they mean:&lt;br /&gt;
&lt;br /&gt;
ATNone - for weapons that have no ammo, e.g. knives&lt;br /&gt;
ATAmmoBar - for weapons that use a sliding full and empty icon for their ammo bar.&lt;br /&gt;
ATIcon - for weapons with an icon that does not change, e.g. bazooka, landmine.&lt;br /&gt;
ATIconAndHeatBar - for the medpack, as the &amp;quot;heat&amp;quot; bar shows the healing level left.&lt;br /&gt;
ATIconAndReloadBar - for the engineer repair pack, with the &amp;quot;reload&amp;quot; bar showing repair level left.&lt;br /&gt;
ATIconAndStrengthBar - for grenades, as the right mouse button can vary the strength of the throw.&lt;br /&gt;
&lt;br /&gt;
If the format set by &amp;#039;&amp;#039;SetHudAmmoType&amp;#039;&amp;#039; is &amp;#039;&amp;#039;ATAmmoBar&amp;#039;&amp;#039;, then these properties are set:&lt;br /&gt;
&lt;br /&gt;
  ObjectTemplate.SetAmmoBar &amp;quot;Ingame/*_empty_32x64.dds&amp;quot;&lt;br /&gt;
  ObjectTemplate.SetAmmoBarFill &amp;quot;Ingame/*_full_32x64.dds&amp;quot;&lt;br /&gt;
  ObjectTemplate.SetAmmoBarSize #&lt;br /&gt;
&lt;br /&gt;
SetAmmoBar and SetAmmoBarFill are used to show how full the ammo clip is, using images of the clip itself. The SetAmmoBarSize is the height of the useful area of the ammo bar. All textures have to be a power of 2 along their edges, and all ammo bars are 32 or 64 pixels wide, but the useful height varies. If &amp;#039;&amp;#039;SetHudAmmoType&amp;#039;&amp;#039; is set to any of the &amp;#039;&amp;#039;ATIcon*&amp;#039;&amp;#039; types, then this property is set:&lt;br /&gt;
&lt;br /&gt;
  ObjectTemplate.SetAmmoIcon &amp;quot;Ammo/Icon_*.tga&amp;quot;&lt;br /&gt;
&lt;br /&gt;
See the [http://mdt.planetbattlefield.gamespy.com/Tutorials/HUD%20Tutorial/HUD%20Tutorial.shtm HUD Icon Tutorial] for details.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;[http://mdt.planetbattlefield.gamespy.com/scripting/ObjectTemplate/Properties/SetHudAmmoType.shtm Source and more details]&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Additional Description ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Battlefield 1942]]&lt;/div&gt;</summary>
		<author><name>Pilot 51</name></author>
	</entry>
</feed>