https://pilot51.com/w/index.php?title=MaterialManager.SetEffectTemplate&feed=atom&action=historyMaterialManager.SetEffectTemplate - Revision history2024-03-28T17:19:58ZRevision history for this page on the wikiMediaWiki 1.35.2https://pilot51.com/w/index.php?title=MaterialManager.SetEffectTemplate&diff=907&oldid=prevPilot 51: New page: == MDT Description == This property specifies what effect happens when a particular attacking Material hits an object's Material. For example, a bullethole could appear, or a piece of ceme...2008-11-20T16:12:23Z<p>New page: == MDT Description == This property specifies what effect happens when a particular attacking Material hits an object's Material. For example, a bullethole could appear, or a piece of ceme...</p>
<p><b>New page</b></p><div>== MDT Description ==<br />
This property specifies what effect happens when a particular attacking Material hits an object's Material. For example, a bullethole could appear, or a piece of cement could fly off.<br />
<br />
To give a more in-depth example, a Thompson SMG shooting at heavy armor (file ''Game/damage_system/thomson.con'') has the entry:<br />
<br />
MaterialManager.AttGroup 216<br />
MaterialManager.DefGroup 50<br />
MaterialManager.DamageMod 0<br />
MaterialManager.SetEffectTemplate e_RichoMetal<br />
<br />
This last line specifies the e_RichoMetal effect, which is defined in ''objects/Effects/e_RichoMetal/Effects.con'':<br />
<br />
ObjectTemplate.Create EffectBundle e_RichoMetal<br />
...property definitions follow...<br />
<br />
See the [http://mdt.planetbattlefield.gamespy.com/Tutorials/Damage%20Tutorial/DamageTutorial.shtm Damage Tutorial] for more information.<br><br />
<br><br />
''[http://mdt.planetbattlefield.gamespy.com/scripting/MaterialManager/Properties/SetEffectTemplate.shtm Source and more details]''<br><br />
<br><br />
== Additional Description ==<br />
<br><br />
<br />
[[Category:Battlefield 1942]]</div>Pilot 51