TUTHealerPickup - The Healer Part 2 of 9 - Source Code
//------------------------------------------------------------------------------ // class name : TUTHealerPickup // class type : Pickup // description: The Healer pickup - what sits on the ground // author : HSDanClark //------------------------------------------------------------------------------ // TODO : // //------------------------------------------------------------------------------ class TUTHealerPickup extends UTWeaponPickup placeable; static function StaticPrecache(LevelInfo L) { L.AddPrecacheMaterial(Texture'XEffectMat.link_muz_green'); L.AddPrecacheMaterial(Texture'XEffectMat.link_muzmesh_green'); L.AddPrecacheMaterial(Texture'XEffectMat.link_ring_green'); L.AddPrecacheMaterial(Texture'XEffectMat.link_beam_green'); L.AddPrecacheMaterial(Texture'XEffectMat.link_spark_green'); L.AddPrecacheStaticMesh(StaticMesh'WeaponStaticMesh.linkprojectile'); L.AddPrecacheStaticMesh(StaticMesh'WeaponStaticMesh.LinkGunPickup'); } simulated function UpdatePrecacheMaterials() { Level.AddPrecacheMaterial(Texture'XEffectMat.link_muz_green'); Level.AddPrecacheMaterial(Texture'XEffectMat.link_muzmesh_green'); Level.AddPrecacheMaterial(Texture'XEffectMat.link_ring_green'); Level.AddPrecacheMaterial(Texture'XEffectMat.link_beam_green'); Level.AddPrecacheMaterial(Texture'XEffectMat.link_spark_green'); } simulated function UpdatePrecacheStaticMeshes() { Level.AddPrecacheStaticMesh(StaticMesh'WeaponStaticMesh.linkprojectile'); Super.UpdatePrecacheStaticMeshes(); } defaultproperties { InventoryType=class'TUTHealer' PickupMessage="You got the Tutorial Healer." PickupSound=Sound'PickupSounds.LinkGunPickup' PickupForce="TUTHealerPickup" MaxDesireability=+0.7 StaticMesh=StaticMesh'WeaponStaticMesh.LinkGunPickup' DrawType=DT_StaticMesh DrawScale=0.6 Physics=PHYS_None }
Page Information
2022-11-20T20:25:12.546014Z
2003-11-20T07:10:06Z
HSDanClark
*
https://wiki.beyondunreal.com/Legacy:TheHealer/TUTHealerPickupSource
Attribution-NonCommercial-ShareAlike 3.0