// // CPT operator / SondeerGame // This source file is (c) by Deltares. // - October 2014 // //============================================================================= // (Sea)Gulls, animated, making sounds, and navigating through the sky // following FlyingPathNodes in the map. // ------------------------------------------------------------ // Created by Maarten Wesselius // © 2007, Geodelft // // Date Id Modification // 2007-10-11 Wsl Class created // 2007-11-01 Wsl Sound functionality moved to GeoTimedSoundObject //============================================================================= class BirdNest extends DynamicMeshActor; event PreBeginPlay() { } event Touch( Actor Other ) { /// Increase objects hit! if (GeoPlayerController(Sondeerwagen(Other).Controller) != None) { GeoHud(GeoPlayerController(Sondeerwagen(Other).Controller).myHud).SetMessage( GeoPlayerController(Sondeerwagen(Other).Controller).IL8N("birdnests","ingame") , 1, 5); GeoPlayerController(Sondeerwagen(Other).Controller).playeractions.nrObjectsHit += 3; } } defaultproperties { StaticMesh=StaticMesh'MatthijsSM.Nature.vogelnest' bCollideActors=true bWorldGeometry=false bBlockKarma=false bBlockPlayers=false bStatic=false bUseCylinderCollision=true; CollisionHeight=256 CollisionRadius=128 DrawType=DT_StaticMesh }