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 |
/****************************************************************************** EradicatorIncomingSound Creation date: 2011-08-24 11:18 Last change: $Id$ Copyright © 2011, Wormbo Website: http://www.koehler-homepage.de/Wormbo/ Feel free to reuse this code. Send me a note if you found it helpful or want to report bugs/provide improvements. Please ask for permission first, if you intend to make money off reused code. ******************************************************************************/ class EradicatorIncomingSound extends ONSIncomingShellSound; #exec audio import file=Sounds\ShellIncoming1.wav #exec audio import file=Sounds\ShellIncoming2.wav #exec audio import file=Sounds\ShellIncoming3.wav function StartTimer(float TimeToImpact) { if (TimeToImpact > SoundLength) SetTimer(TimeToImpact - SoundLength, false); else Destroy(); } //============================================================================= // Default values //============================================================================= defaultproperties { Begin Object Class=ProceduralSound Name=ShellIncoming1P BaseSound = Sound'ShellIncoming1' PitchModification = -10 PitchVariance = 20 End Object Begin Object Class=ProceduralSound Name=ShellIncoming2P BaseSound = Sound'ShellIncoming2' PitchModification = -10 PitchVariance = 20 End Object Begin Object Class=ProceduralSound Name=ShellIncoming3P BaseSound = Sound'ShellIncoming3' PitchModification = -10 PitchVariance = 20 End Object Begin Object Class=SoundGroup Name=ShellIncomingSound Sounds = (Sound'ShellIncoming1P',Sound'ShellIncoming2P',Sound'ShellIncoming3P') End Object SoundLength = 3.5 ShellSound = Sound'ShellIncomingSound' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |