Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 |
//----------------------------------------------------------- // //----------------------------------------------------------- class ONSAVRiLPickup extends UTWeaponPickup; #exec OBJ LOAD FILE=VMWeaponsSM.usx static function StaticPrecache(LevelInfo L) { L.AddPrecacheMaterial(Texture'VMWeaponsTX.PlayerWeaponsGroup.AVRiLtex'); L.AddPrecacheMaterial(Texture'AW-2004Particles.Weapons.DustSmoke'); L.AddPrecacheMaterial(Texture'ONSInterface-TX.avrilRETICLE'); L.AddPrecacheMaterial(Texture'VMWeaponsTX.PlayerWeaponsGroup.LGRreticleRed'); L.AddPrecacheStaticMesh(StaticMesh'VMWeaponsSM.AVRiLGroup.AVRiLprojectileSM'); L.AddPrecacheStaticMesh(StaticMesh'VMWeaponsSM.AVRiLsm'); } simulated function UpdatePrecacheMaterials() { Level.AddPrecacheMaterial(Texture'VMWeaponsTX.PlayerWeaponsGroup.AVRiLtex'); Level.AddPrecacheMaterial(Texture'VMParticleTextures.VehicleExplosions.VMExp2_framesANIM'); Level.AddPrecacheMaterial(Texture'AW-2004Particles.Weapons.DustSmoke'); Level.AddPrecacheMaterial(Texture'ONSInterface-TX.avrilRETICLE'); Level.AddPrecacheMaterial(Texture'VMWeaponsTX.PlayerWeaponsGroup.LGRreticleRed'); super.UpdatePrecacheMaterials(); } simulated function UpdatePrecacheStaticMeshes() { super.UpdatePrecacheStaticMeshes(); Level.AddPrecacheStaticMesh(StaticMesh'VMWeaponsSM.AVRiLGroup.AVRiLprojectileSM'); Level.AddPrecacheStaticMesh(StaticMesh'VMWeaponsSM.AVRiLsm'); } defaultproperties { StandUp=(Y=0.250000,Z=0.000000) MaxDesireability=0.700000 InventoryType=Class'Onslaught.ONSAVRiL' PickupMessage="You got the AVRiL." PickupSound=Sound'PickupSounds.FlakCannonPickup' PickupForce="ONSAVRiLPickup" DrawType=DT_StaticMesh StaticMesh=StaticMesh'VMWeaponsSM.PlayerWeaponsGroup.AVRiLsm' DrawScale=0.050000 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |