Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AmmoSlug's code, if you want a template to create a new Ammo part: https://pastebin.com/gcYJpAh3 

Ammo Generic With Multiple Specialized Ammo Types

Code Block
<object Name="Explosive 12 Gauge Shell" Inherits="TemporaryProjectile">
   <part Name="AmmoGeneric" ProjectileObject="Projectile12Gauge" SpecializedProjectileObject="Explosive_Projectile12Gauge"></part>
 </object>

 <object Name="AP 12 Gauge Shell" Inherits="TemporaryProjectile">
   <part Name="AmmoGeneric" ProjectileObject="Projectile12Gauge" SpecializedProjectileObject="AP_Projectile12Gauge"></part>
 </object>


 <object Name="Explosive_Projectile12Gauge" Inherits="TemporaryProjectile">
...
 </object>


 <object Name="AP_Projectile12Gauge" Inherits="TemporaryProjectile">
...
 </object>


Scripting Impact Ammo Effects

...