// September 2015 // Levee Patroller / Dijk Patrouille // This source file is (c) by Deltares. This source file is open source but only available to select users. Do not redistribute without written permission of Stichting Deltares, Delft, The Netherlands. // This header has been automatically generated. class LeveeFailureErosionOuterRipRap_Corner extends LeveeFailure placeable; function SetFailureOptions() { /// Failure information: Mechanism = FM_ErosionOuterRipRap; LinkedTile.Mechanism = Mechanism; LinkedTile.CurrentState = STA_Relevant; NL_FailureName = "Erosie Buitentalud"; EN_FailureName = "Erosion Outer"; super.SetFailureOptions(); } function CreateObjects() { local DynamicMover M; // local DynVariableTimedMover Mv; local DynamicMeshActor sMA; /// ID is the same as the linked object: id = LinkedTile.Name; /// Creating World Objects: /// For the record: The likely center is: 12800.00,8704.00,64.00 sMA = CreateMesh(Location, id$"StaticMeshActor", StaticMesh'PrimDikeSM.ErosionOuter.ErosionOuterBase'); M = CreateMover(Location, id$"Stone20", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone20' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone14", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone14' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone13", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone13' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone19", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone19' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone25", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone25' , 12.00, 2); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M = CreateMover(Location, id$"Stone24", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone24' , 12.00, 2); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M = CreateMover(Location, id$"Stone18", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone18' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone23", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone23' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone12", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone12' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone8", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone8' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone26", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone26' , 12.00, 2); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M = CreateMover(Location, id$"Stone7", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone7' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone21", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone21' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone17", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone17' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone16", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone16' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone15", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone15' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone11", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone11' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone10", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone10' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone9", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone9' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone6", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone6' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone5", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone5' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone4", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone4' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone3", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone3' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone2", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone2' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"Stone1", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone1' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(Location, id$"SandMover", StaticMesh'PrimDikeSM.ErosionOuter.sand' , 400.00, 2); M.SetKeyPos( vect(-24.00,56.00,-216.00), 1); M.SetKeyRot( rot(0,0,0), 1); M = CreateMover(Location, id$"Stone22", StaticMesh'PrimDikeSM.ErosionOuter.BrokenStone22' , 12.00, 3); M.SetKeyPos( vect(0.00,0.00,-8.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.SetKeyPos( vect(-3280.00,1632.00,-5392.00), 2); M.SetKeyRot( rot(0,0,0), 2); M = CreateMover(VectorOffset(vect(0.00,0.00,-288.00)), id$"EroOuterStraightMeasure02", StaticMesh'SecDikeSM.Measures.measure_sheet_outer_bend' , 2.00, 2); M.SetKeyPos( vect(0.00,0.00,288.00), 1); M.SetKeyRot( rot(0,0,0), 1); M.bDisableSorting = true; /// Disable sorting for sheet. /// Call parent: Super.CreateObjects(); /// Set redmarker location position: RedMarkerLocation = RotateVectorInvertRelative(1236.00,2496.00,684.00); } function CreateTriggers() { local DScriptedTrigger sT; sT = Spawn(class'DScriptedTrigger'); /// Tag is the same as the linked object name: sT.Tag = GetFailureName(); FailureScript = sT; /// Store in public leveetile var. /// Position is the same as the linked object: sT.SetLocation(LinkedTile.Location); sT.Actions.insert(0, 56); sT.Actions[0] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[0]).PauseTime = 10.00 * speedfactor; sT.Actions[1] = new class'ACTION_IfActive'; ACTION_IfActive(sT.Actions[1]).FailureTag = GetName(id$""); sT.Actions[2] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[2]).Event = GetName(id$"Stone1"); sT.Actions[3] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[3]).PauseTime = 1.00 * speedfactor; sT.Actions[4] = new class'ACTION_IfRelevant'; ACTION_IfRelevant(sT.Actions[4]).FailureTag = GetName(id$""); sT.Actions[5] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[5]).Event = GetName(id$"Stone2"); sT.Actions[6] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[6]).PauseTime = 1.00 * speedfactor; sT.Actions[7] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[7]).Event = GetName(id$"Stone3"); sT.Actions[8] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[8]).PauseTime = 1.00 * speedfactor; sT.Actions[9] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[9]).Event = GetName(id$"Stone4"); sT.Actions[10] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[10]).PauseTime = 630.00 * speedfactor; sT.Actions[11] = new class'ACTION_IfCritical'; ACTION_IfCritical(sT.Actions[11]).FailureTag = GetName(id$""); sT.Actions[12] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[12]).Event = GetName(id$"Stone5"); sT.Actions[13] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[13]).PauseTime = 15.00 * speedfactor; sT.Actions[14] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[14]).Event = GetName(id$"SandMover"); sT.Actions[15] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[15]).Event = GetName(id$"Stone6"); sT.Actions[16] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[16]).PauseTime = 15.00 * speedfactor; sT.Actions[17] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[17]).Event = GetName(id$"Stone7"); sT.Actions[18] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[18]).PauseTime = 15.00 * speedfactor; sT.Actions[19] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[19]).Event = GetName(id$"Stone8"); sT.Actions[20] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[20]).PauseTime = 15.00 * speedfactor; sT.Actions[21] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[21]).Event = GetName(id$"Stone9"); sT.Actions[22] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[22]).PauseTime = 15.00 * speedfactor; sT.Actions[23] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[23]).Event = GetName(id$"Stone10"); sT.Actions[24] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[24]).PauseTime = 15.00 * speedfactor; sT.Actions[25] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[25]).Event = GetName(id$"Stone11"); sT.Actions[26] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[26]).PauseTime = 15.00 * speedfactor; sT.Actions[27] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[27]).Event = GetName(id$"Stone12"); sT.Actions[28] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[28]).PauseTime = 15.00 * speedfactor; sT.Actions[29] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[29]).Event = GetName(id$"Stone13"); sT.Actions[30] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[30]).PauseTime = 15.00 * speedfactor; sT.Actions[31] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[31]).Event = GetName(id$"Stone14"); sT.Actions[32] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[32]).PauseTime = 15.00 * speedfactor; sT.Actions[33] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[33]).Event = GetName(id$"Stone15"); sT.Actions[34] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[34]).PauseTime = 15.00 * speedfactor; sT.Actions[35] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[35]).Event = GetName(id$"Stone16"); sT.Actions[36] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[36]).PauseTime = 15.00 * speedfactor; sT.Actions[37] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[37]).Event = GetName(id$"Stone17"); sT.Actions[38] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[38]).PauseTime = 15.00 * speedfactor; sT.Actions[39] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[39]).Event = GetName(id$"Stone18"); sT.Actions[40] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[40]).PauseTime = 15.00 * speedfactor; sT.Actions[41] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[41]).Event = GetName(id$"Stone19"); sT.Actions[42] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[42]).PauseTime = 15.00 * speedfactor; sT.Actions[43] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[43]).Event = GetName(id$"Stone20"); sT.Actions[44] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[44]).PauseTime = 15.00 * speedfactor; sT.Actions[45] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[45]).Event = GetName(id$"Stone21"); sT.Actions[46] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[46]).PauseTime = 15.00 * speedfactor; sT.Actions[47] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[47]).Event = GetName(id$"Stone22"); sT.Actions[48] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[48]).PauseTime = 15.00 * speedfactor; sT.Actions[49] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[49]).Event = GetName(id$"Stone23"); sT.Actions[50] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[50]).PauseTime = 15.00 * speedfactor; sT.Actions[51] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[51]).Event = GetName(id$"Stone24"); sT.Actions[52] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[52]).PauseTime = 15.00 * speedfactor; sT.Actions[53] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[53]).Event = GetName(id$"Stone25"); sT.Actions[54] = new class'ACTION_WaitForTimer'; ACTION_WaitForTimer(sT.Actions[54]).PauseTime = 15.00 * speedfactor; sT.Actions[55] = new class'ACTION_TriggerEvent'; ACTION_TriggerEvent(sT.Actions[55]).Event = GetName(id$"Stone26"); } function CreateSignals() { local SignalRipPitching signal0; local SignalReportRipPitching signal0report0,signal0report1; /// Signals information: Signals.Insert(0,1); /// local SignalRipPitching signal0; signal0 = New class'SignalRipPitching'; signal0.CrossCutLocation=CUT_OuterSlope; signal0.FirstState=STA_Reportable; signal0.RevetmentType=REV_PitchingStone; signal0.SignalReports.insert(0,2); signal0report0 = New class'SignalReportRipPitching'; signal0report0.ElementsLoose = GEO_Yes; signal0report0.ElementsMissingOrMoved = GEO_Yes; signal0report0.FlushingSoil = GEO_No; signal0report0.FlushingSoilQuantity = QUA_None; signal0report0.GeoState = STA_Relevant; signal0report0.LengthOfDamage = SIZE_Medium; signal0report0.LengthOfDamageMax = SIZE_Large; signal0report0.WidthOfDamage = SIZE_Small; signal0report0.WidthOfDamageMax = SIZE_MediumLarge; signal0.SignalReports[0] = signal0report0; Signals[0] = signal0; signal0report1 = New class'SignalReportRipPitching'; signal0report1.ElementsLoose = GEO_Yes; signal0report1.ElementsMissingOrMoved = GEO_Yes; signal0report1.FlushingSoil = GEO_Yes; signal0report1.FlushingSoilQuantity = QUA_Much; signal0report1.GeoState = STA_Critical; signal0report1.LengthOfDamage = SIZE_Medium; signal0report1.LengthOfDamageMax = SIZE_Large; signal0report1.WidthOfDamage = SIZE_Small; signal0report1.WidthOfDamageMax = SIZE_MediumLarge; signal0.SignalReports[1] = signal0report1; Signals[0] = signal0; } function CreateMeasures() { local Measure Msr; /// Creating measures: Measures.Insert(0,1); Msr = New class'Measure'; Msr.SetPropertyText("EventMeasureTaken", id$"EroOuterStraightMeasure02"); Msr.bMeasureEffective = True; Msr.MeasureType = MEA_CoverOuterSlopeWithFoil; Measures[0] = Msr; } defaultproperties { FailureSize = TS_OTHER; }