if (!ShouldTaunt())
{
LarryMonster(Pawn).PlayTaunt();
}
Exhibit 2:
RandSoundNum=Rand(HurtNoise.Length);
PlaySound(HurtNoise[HurtNoise.length]);
Exhibit 3:
(I can not even begin to guess wtf our draw scale is going to be set to)
SetDrawScale(scaleStart-(scaleStart-scaleStart/1.2)*TimeSince(interpStart)/0.2);
Exhibit 4:
(for this code the comment says it all)
// hack of the month : set bCheckSoundOcclusion if I am a guest,
// which will remove the controller from the list in the end in native code:
// (the reason, by the way, is that I do not want to have to
// rebuild EngineClasses.h, and the SeamlessTravel is hacked up
// anyways :-P )
Exhibit 5:
EngineSound.PitchMultiplier = FClamp(((VSize(Velocity) - 150)/600) + 0.9, 0.9, 1.4);
EngineSound.PitchMultiplier = Lerp(1.4, 0.9, FClamp(((VSize(Velocity)- 150)/600)/0.5 , 0, 1));
(Thanks to Anon)
No comments:
Post a Comment