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 |
//----------------------------------------------------------- // //----------------------------------------------------------- class ONSMineLayerPickup extends UTWeaponPickup; #exec OBJ LOAD FILE=VMWeaponsSM.usx static function StaticPrecache(LevelInfo L) { L.AddPrecacheMaterial(Texture'VMWeaponsTX.PlayerWeaponsGroup.SpiderMineTEX'); L.AddPrecacheMaterial(Shader'VMWeaponsTX.PlayerWeaponsGroup.ParasiteMineImplantTEXshad'); L.AddPrecacheMaterial(Texture'VMWeaponsTX.PlayerWeaponsGroup.SpiderMineBLUETEX'); L.AddPrecacheMaterial(Texture'XGameShaders.WeaponShaders.bio_flash'); L.AddPrecacheMaterial(Texture'AW-2004Particles.Weapons.BeamFragment'); L.AddPrecacheStaticMesh(default.StaticMesh); } simulated function UpdatePrecacheMaterials() { Level.AddPrecacheMaterial(Texture'VMWeaponsTX.PlayerWeaponsGroup.SpiderMineTEX'); Level.AddPrecacheMaterial(Shader'VMWeaponsTX.PlayerWeaponsGroup.ParasiteMineImplantTEXshad'); Level.AddPrecacheMaterial(Texture'VMWeaponsTX.PlayerWeaponsGroup.SpiderMineBLUETEX'); Level.AddPrecacheMaterial(Texture'XGameShaders.WeaponShaders.bio_flash'); Level.AddPrecacheMaterial(Texture'AW-2004Particles.Weapons.BeamFragment'); super.UpdatePrecacheMaterials(); } DefaultProperties { InventoryType=class'ONSMineLayer' //pickup message displayed to the player PickupMessage="You got the Mine Layer." PickupSound=Sound'PickupSounds.FlakCannonPickup' PickupForce="ONSMineLayerPickup" MaxDesireability=+0.7 //mesh & draw type to use StaticMesh=StaticMesh'ONSWeapons-SM.MineLayerPickup' DrawType=DT_StaticMesh DrawScale=0.3 LockerOffset=35.0 Standup=(Y=0.25,Z=0.0) } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |