36 lines
1.2 KiB
Ucode
36 lines
1.2 KiB
Ucode
//=============================================================================
|
|
// Minigun.
|
|
//=============================================================================
|
|
class UT2341EnforcerPickup extends UTWeaponPickup;
|
|
|
|
static function StaticPrecache(LevelInfo L)
|
|
{
|
|
L.AddPrecacheMaterial(Texture'XEffects.ShellCasingTex');
|
|
L.AddPrecacheMaterial(Texture'AW-2004Explosions.Part_explode2s');
|
|
L.AddPrecacheMaterial(Texture'AW-2004Particles.TracerShot');
|
|
L.AddPrecacheStaticMesh(StaticMesh'UT2341Weapons_SM.UTMinigun');
|
|
}
|
|
|
|
simulated function UpdatePrecacheMaterials()
|
|
{
|
|
Level.AddPrecacheMaterial(Texture'XEffects.ShellCasingTex');
|
|
Level.AddPrecacheMaterial(Texture'AW-2004Explosions.Part_explode2s');
|
|
Level.AddPrecacheMaterial(Texture'AW-2004Particles.TracerShot');
|
|
|
|
super.UpdatePrecacheMaterials();
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
MaxDesireability=0.730000
|
|
InventoryType=Class'UT2341WeaponsReducedv1a.UT2341Enforcer'
|
|
PickupMessage="You got an Enforcer."
|
|
PickupSound=Sound'UT2341Weapons_Sounds.General.WeaponPickup'
|
|
PickupForce="MinigunPickup"
|
|
DrawType=DT_StaticMesh
|
|
StaticMesh=StaticMesh'UT2341Weapons_SM.General.UTEnforcer'
|
|
DrawScale=0.220000
|
|
AmbientGlow=64
|
|
RotationRate=(Yaw=5000)
|
|
}
|