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 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 |
class PainterPickup extends UTWeaponPickup; function PrebeginPlay() { Super.PreBeginPlay(); if ( Level.Game.IsA('xMutantGame') ) Destroy(); } function SetWeaponStay() { bWeaponStay = false; } function float GetRespawnTime() { return ReSpawnTime; } static function StaticPrecache(LevelInfo L) { L.AddPrecacheMaterial(Material'XEffectMat.painter_beam'); L.AddPrecacheMaterial(Material'XEffectMat.ion_grey'); L.AddPrecacheMaterial(Material'XEffectMat.Ion_beam'); L.AddPrecacheMaterial(Material'EpicParticles.Smokepuff2'); L.AddPrecacheMaterial(Material'EpicParticles.IonBurn2'); L.AddPrecacheMaterial(Material'EpicParticles.BurnFlare1'); L.AddPrecacheMaterial(Material'EpicParticles.WhiteStreak01aw'); L.AddPrecacheMaterial(Material'EpicParticles.Smokepuff'); L.AddPrecacheMaterial(Material'EpicParticles.SoftFlare'); L.AddPrecacheStaticMesh(StaticMesh'WeaponStaticMesh.PainterPickup'); } simulated function UpdatePrecacheMaterials() { Level.AddPrecacheMaterial(Material'XEffectMat.painter_beam'); Level.AddPrecacheMaterial(Material'XEffectMat.ion_grey'); Level.AddPrecacheMaterial(Material'XEffectMat.Ion_beam'); Level.AddPrecacheMaterial(Material'EpicParticles.Smokepuff2'); Level.AddPrecacheMaterial(Material'EpicParticles.IonBurn2'); Level.AddPrecacheMaterial(Material'EpicParticles.BurnFlare1'); Level.AddPrecacheMaterial(Material'EpicParticles.WhiteStreak01aw'); Level.AddPrecacheMaterial(Material'EpicParticles.Smokepuff'); Level.AddPrecacheMaterial(Material'EpicParticles.SoftFlare'); super.UpdatePrecacheMaterials(); } defaultproperties { bWeaponStay=Falsch MaxDesireability=1.500000 InventoryType=Class'XWeapons.Painter' RespawnTime=120.000000 PickupMessage="You got the Ion Painter." PickupSound=Sound'PickupSounds.LinkGunPickup' PickupForce="LinkGunPickup" DrawType=DT_StaticMesh StaticMesh=StaticMesh'WeaponStaticMesh.PainterPickup' DrawScale=0.600000 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |