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 |
//============================================================================= // LightningBolt. //============================================================================= class LightningBolt extends xEmitter; #exec TEXTURE IMPORT NAME=LightningBoltT FILE=textures\LightningBolt.tga GROUP="Skins" DXT=5 #exec OBJ LOAD FILE=..\Sounds\WeaponSounds.uax simulated function PostBeginPlay() { Super.PostBeginPlay(); MakeNoise(0.5); PlaySound(Sound'WeaponSounds.LightningGun.LightningGunImpact', SLOT_Misc,,,,,false); if( Level.NetMode != NM_DedicatedServer ) Spawn(class'BlueSparks',,,Location,Rotation); } defaultproperties { mParticleType=PT_Branch mRegen=False mStartParticles=30 mMaxParticles=30 mLifeRange(0)=0.500000 mLifeRange(1)=0.500000 mPosDev=(X=5.000000,Y=5.000000,Z=5.000000) mSpawnVecB=(X=40.000000,Y=40.000000,Z=10.000000) mSizeRange(0)=30.000000 mSizeRange(1)=30.000000 blockOnNet=True bReplicateInstigator=True bReplicateMovement=False bSkipActorPropertyReplication=True RemoteRole=ROLE_DumbProxy NetPriority=3.000000 Skins(0)=Texture'XEffects.Skins.LightningBoltT' Style=STY_Additive } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |