this is the flood object
;------------------------------------------------------------------------------ Object ElrondVilyaFlood Draw = W3DScriptedModelDraw ModuleTag_01 DefaultModelConditionState Model = None End End EditorSorting = SYSTEM KindOf = NO_COLLIDE IMMOBILE UNATTACKABLE INERT ForceLuaRegistration = Yes; I have no AI, but I want to send a fear message so please register me. ; *** ENGINEERING Parameters *** Body = ImmortalBody ModuleTag_02 MaxHealth = 1 InitialHealth = 1 End Behavior = DeletionUpdate ModuleTag_03; Not LifetimeUpdate, since I can't die. This will DestroyObject me. MinLifetime = 20000 MaxLifetime = 20000 End Behavior = FloodUpdate ModuleTag_FloodCentral AngleOfFlow = 0; In degrees, with 0 as screen right DirectionIsRelative = Yes; If it is relative, it adds the facing of the flood object. FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:250 Z:0 ControlPointOffsetThree = X:100 Y:250 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:200 Z:0 ControlPointOffsetThree = X:100 Y:200 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:150 Z:0 ControlPointOffsetThree = X:100 Y:150 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:100 Z:0 ControlPointOffsetThree = X:100 Y:100 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:50 Z:0 ControlPointOffsetThree = X:100 Y:50 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:0 Z:0 ControlPointOffsetThree = X:100 Y:0 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:-50 Z:0 ControlPointOffsetThree = X:100 Y:-50 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:-100 Z:0 ControlPointOffsetThree = X:100 Y:-100 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:-150 Z:0 ControlPointOffsetThree = X:100 Y:-150 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:-60 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:-200 Z:0 ControlPointOffsetThree = X:100 Y:-200 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:0 MemberSpeed = 20 End FloodMember MemberTemplateName = ElrondFlood ControlPointOffsetOne = X:-200 Y:0 Z:0 ControlPointOffsetTwo = X:-100 Y:-250 Z:0 ControlPointOffsetThree = X:100 Y:-250 Z:0 ControlPointOffsetFour = X:200 Y:0 Z:-60 MemberSpeed = 20 End End Geometry = BOX GeometryMajorRadius = 10.0 GeometryMinorRadius = 1.0 GeometryHeight = 3.0 GeometryIsSmall = No Shadow = NONE End
Edited by Nertea, 03 September 2009 - 09:48 PM.
I changed your code tag to something more readable than icode