Delete Decor.hx

This commit is contained in:
Philippe Roy 2019-04-18 23:25:54 +00:00
parent 04a24f0d2d
commit 17c3d9cdb9

View File

@ -1,640 +0,0 @@
package arm.node;
@:keep class Decor extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Decor";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _Vector = new armory.logicnode.VectorNode(this);
_Vector.addInput(new armory.logicnode.FloatNode(this, -12.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, -10.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_013 = new armory.logicnode.VectorNode(this);
_Vector_013.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
_Vector_013.addInput(new armory.logicnode.FloatNode(this, 140.0), 0);
_Vector_013.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_013.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_012 = new armory.logicnode.VectorNode(this);
_Vector_012.addInput(new armory.logicnode.FloatNode(this, -7.0), 0);
_Vector_012.addInput(new armory.logicnode.FloatNode(this, 67.0), 0);
_Vector_012.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_012.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_015 = new armory.logicnode.VectorNode(this);
_Vector_015.addInput(new armory.logicnode.FloatNode(this, -14.799999237060547), 0);
_Vector_015.addInput(new armory.logicnode.FloatNode(this, 70.0), 0);
_Vector_015.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_015.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_014 = new armory.logicnode.VectorNode(this);
_Vector_014.addInput(new armory.logicnode.FloatNode(this, 5.0), 0);
_Vector_014.addInput(new armory.logicnode.FloatNode(this, 141.0), 0);
_Vector_014.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_014.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_003 = new armory.logicnode.VectorNode(this);
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 4.5), 0);
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 135.0), 0);
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_003.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _CallFunction_016 = new armory.logicnode.CallFunctionNode(this);
var _CallFunction_015 = new armory.logicnode.CallFunctionNode(this);
var _CallFunction_014 = new armory.logicnode.CallFunctionNode(this);
var _OnInit_001 = new armory.logicnode.OnInitNode(this);
_OnInit_001.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_OnInit_001, 0);
var _SelfTrait_005 = new armory.logicnode.SelfTraitNode(this);
_SelfTrait_005.addOutputs([_CallFunction_014, _CallFunction_015, _CallFunction_016]);
_CallFunction_014.addInput(_SelfTrait_005, 0);
_CallFunction_014.addInput(new armory.logicnode.StringNode(this, "Ajout_objet"), 0);
var _Array_Object_ = new armory.logicnode.ArrayObjectNode(this);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Champignon_ brun1"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Champignon_ brun2"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Champignon_ rouge1"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Champignon_ rouge2"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.007"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.008"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.013"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.026"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.028"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.029"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.030"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_star_long1"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_star_long2"), 0);
_Array_Object_.addOutputs([_CallFunction_014, _CallFunction_015, _CallFunction_016]);
_Array_Object_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_CallFunction_014.addInput(_Array_Object_, 0);
var _Array_Integer_ = new armory.logicnode.ArrayIntegerNode(this);
var _Integer = new armory.logicnode.IntegerNode(this);
_Integer.addInput(new armory.logicnode.IntegerNode(this, 10), 0);
_Integer.addOutputs([_Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_]);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addOutputs([_CallFunction_014, _CallFunction_015, _CallFunction_016]);
_Array_Integer_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_CallFunction_014.addInput(_Array_Integer_, 0);
var _Array_Float_ = new armory.logicnode.ArrayFloatNode(this);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addOutputs([_CallFunction_014, _CallFunction_015, _CallFunction_016]);
_Array_Float_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_CallFunction_014.addInput(_Array_Float_, 0);
var _Float_002 = new armory.logicnode.FloatNode(this);
_Float_002.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
_Float_002.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_Float_002, 0);
var _Float_009 = new armory.logicnode.FloatNode(this);
_Float_009.addInput(new armory.logicnode.FloatNode(this, 4.0), 0);
_Float_009.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_Float_009, 0);
var _Float_010 = new armory.logicnode.FloatNode(this);
_Float_010.addInput(new armory.logicnode.FloatNode(this, -10.0), 0);
_Float_010.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_Float_010, 0);
_CallFunction_014.addOutputs([_CallFunction_015]);
_CallFunction_014.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_015.addInput(_CallFunction_014, 0);
_CallFunction_015.addInput(_SelfTrait_005, 0);
_CallFunction_015.addInput(new armory.logicnode.StringNode(this, "Ajout_objet"), 0);
_CallFunction_015.addInput(_Array_Object_, 0);
_CallFunction_015.addInput(_Array_Integer_, 0);
_CallFunction_015.addInput(_Array_Float_, 0);
var _Float_001 = new armory.logicnode.FloatNode(this);
_Float_001.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
_Float_001.addOutputs([_CallFunction_015]);
_CallFunction_015.addInput(_Float_001, 0);
var _Float_011 = new armory.logicnode.FloatNode(this);
_Float_011.addInput(new armory.logicnode.FloatNode(this, 18.0), 0);
_Float_011.addOutputs([_CallFunction_015]);
_CallFunction_015.addInput(_Float_011, 0);
var _Float_012 = new armory.logicnode.FloatNode(this);
_Float_012.addInput(new armory.logicnode.FloatNode(this, 4.0), 0);
_Float_012.addOutputs([_CallFunction_015]);
_CallFunction_015.addInput(_Float_012, 0);
_CallFunction_015.addOutputs([_CallFunction_016]);
_CallFunction_015.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_016.addInput(_CallFunction_015, 0);
_CallFunction_016.addInput(_SelfTrait_005, 0);
_CallFunction_016.addInput(new armory.logicnode.StringNode(this, "Ajout_objet"), 0);
_CallFunction_016.addInput(_Array_Object_, 0);
_CallFunction_016.addInput(_Array_Integer_, 0);
_CallFunction_016.addInput(_Array_Float_, 0);
var _Float = new armory.logicnode.FloatNode(this);
_Float.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
_Float.addOutputs([_CallFunction_016]);
_CallFunction_016.addInput(_Float, 0);
var _Float_013 = new armory.logicnode.FloatNode(this);
_Float_013.addInput(new armory.logicnode.FloatNode(this, 45.0), 0);
_Float_013.addOutputs([_CallFunction_016]);
_CallFunction_016.addInput(_Float_013, 0);
var _Float_014 = new armory.logicnode.FloatNode(this);
_Float_014.addInput(new armory.logicnode.FloatNode(this, 25.0), 0);
_Float_014.addOutputs([_CallFunction_016]);
_CallFunction_016.addInput(_Float_014, 0);
_CallFunction_016.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_016.addOutputs([new armory.logicnode.NullNode(this)]);
var _FunctionOutput_006 = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput_006", _FunctionOutput_006);
var _Loop = new armory.logicnode.LoopNode(this);
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
var _Function_006 = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function_006", _Function_006);
_Function_006.addOutputs([_SetProperty]);
var _SeparateXYZ_004 = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ_004.addInput(_Function_006, 1);
var _Math_010 = new armory.logicnode.MathNode(this);
_Math_010.property0 = "Add";
_Math_010.property1 = "false";
_Math_010.addInput(_SeparateXYZ_004, 0);
var _Math_015 = new armory.logicnode.MathNode(this);
_Math_015.property0 = "Multiply";
_Math_015.property1 = "false";
_Math_015.addInput(_Function_006, 3);
var _Math_009 = new armory.logicnode.MathNode(this);
_Math_009.property0 = "Cosine";
_Math_009.property1 = "false";
var _DegtoRad_001 = new armory.logicnode.DegToRadNode(this);
var _Math_013 = new armory.logicnode.MathNode(this);
_Math_013.property0 = "Multiply";
_Math_013.property1 = "false";
_Math_013.addInput(_Loop, 1);
_Math_013.addInput(new armory.logicnode.FloatNode(this, 45.0), 0);
_Math_013.addOutputs([_DegtoRad_001]);
_DegtoRad_001.addInput(_Math_013, 0);
var _Math_011 = new armory.logicnode.MathNode(this);
_Math_011.property0 = "Sine";
_Math_011.property1 = "false";
_Math_011.addInput(_DegtoRad_001, 0);
_Math_011.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
var _Math_014 = new armory.logicnode.MathNode(this);
_Math_014.property0 = "Multiply";
_Math_014.property1 = "false";
_Math_014.addInput(_Function_006, 3);
_Math_014.addInput(_Math_011, 0);
var _Math_012 = new armory.logicnode.MathNode(this);
_Math_012.property0 = "Add";
_Math_012.property1 = "false";
_Math_012.addInput(_SeparateXYZ_004, 1);
_Math_012.addInput(_Math_014, 0);
var _Vector_011 = new armory.logicnode.VectorNode(this);
_Vector_011.addInput(_Math_010, 0);
_Vector_011.addInput(_Math_012, 0);
var _Math_023 = new armory.logicnode.MathNode(this);
_Math_023.property0 = "Add";
_Math_023.property1 = "false";
_Math_023.addInput(_Function_006, 2);
_Math_023.addInput(new armory.logicnode.FloatNode(this, 0.10000000149011612), 0);
_Math_023.addOutputs([_Vector_011]);
_Vector_011.addInput(_Math_023, 0);
var _CastPhysicsRay_004 = new armory.logicnode.CastPhysicsRayNode(this);
_CastPhysicsRay_004.addInput(_Vector_011, 0);
var _Vector_016 = new armory.logicnode.VectorNode(this);
_Vector_016.addInput(_Math_010, 0);
_Vector_016.addInput(_Math_012, 0);
var _Math_024 = new armory.logicnode.MathNode(this);
_Math_024.property0 = "Subtract";
_Math_024.property1 = "false";
_Math_024.addInput(_Function_006, 2);
_Math_024.addInput(new armory.logicnode.FloatNode(this, 0.10000000149011612), 0);
_Math_024.addOutputs([_Vector_016]);
_Vector_016.addInput(_Math_024, 0);
_Vector_016.addOutputs([_CastPhysicsRay_004]);
_CastPhysicsRay_004.addInput(_Vector_016, 0);
var _Gate_005 = new armory.logicnode.GateNode(this);
_Gate_005.property0 = "Equal";
_Gate_005.property1 = 9.999999747378752e-05;
_Gate_005.addInput(_Loop, 0);
var _Object_004 = new armory.logicnode.ObjectNode(this);
_Object_004.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
_Object_004.addOutputs([_Gate_005]);
_Gate_005.addInput(_Object_004, 0);
_Gate_005.addInput(_CastPhysicsRay_004, 0);
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_001.addInput(_Gate_005, 0);
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "cast_ok"), 0);
var _Boolean_005 = new armory.logicnode.BooleanNode(this);
_Boolean_005.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean_005.addOutputs([_SetProperty_001]);
_SetProperty_001.addInput(_Boolean_005, 0);
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
_Gate_005.addOutputs([_SetProperty_001]);
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_002.addInput(_Gate_005, 1);
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "cast_ok"), 0);
var _Boolean_006 = new armory.logicnode.BooleanNode(this);
_Boolean_006.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_006.addOutputs([_SetProperty_002]);
_SetProperty_002.addInput(_Boolean_006, 0);
var _LoopBreak = new armory.logicnode.LoopBreakNode(this);
_LoopBreak.addInput(_SetProperty_002, 0);
_SetProperty_002.addOutputs([_LoopBreak]);
_Gate_005.addOutputs([_SetProperty_002]);
_CastPhysicsRay_004.addOutputs([_Gate_005]);
_CastPhysicsRay_004.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
_CastPhysicsRay_004.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
_Vector_011.addOutputs([_CastPhysicsRay_004]);
_Math_012.addOutputs([_Vector_011, _Vector_016]);
_Math_014.addOutputs([_Math_012]);
_Math_011.addOutputs([_Math_014]);
_DegtoRad_001.addOutputs([_Math_009, _Math_011]);
_Math_009.addInput(_DegtoRad_001, 0);
_Math_009.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
_Math_009.addOutputs([_Math_015]);
_Math_015.addInput(_Math_009, 0);
_Math_015.addOutputs([_Math_010]);
_Math_010.addInput(_Math_015, 0);
_Math_010.addOutputs([_Vector_011, _Vector_016]);
_SeparateXYZ_004.addOutputs([_Math_010]);
_SeparateXYZ_004.addOutputs([_Math_012]);
_SeparateXYZ_004.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Function_006.addOutputs([_SeparateXYZ_004]);
_Function_006.addOutputs([_Math_023, _Math_024]);
_Function_006.addOutputs([_Math_015, _Math_014]);
_SetProperty.addInput(_Function_006, 0);
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty.addInput(new armory.logicnode.StringNode(this, "cast_ok"), 0);
var _Boolean_004 = new armory.logicnode.BooleanNode(this);
_Boolean_004.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_004.addOutputs([_SetProperty]);
_SetProperty.addInput(_Boolean_004, 0);
_SetProperty.addOutputs([_Loop]);
_Loop.addInput(_SetProperty, 0);
_Loop.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Loop.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
_Loop.addOutputs([_Gate_005]);
_Loop.addOutputs([_Math_013]);
_Loop.addOutputs([_FunctionOutput_006]);
_FunctionOutput_006.addInput(_Loop, 2);
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetProperty.addInput(new armory.logicnode.StringNode(this, "cast_ok"), 0);
_GetProperty.addOutputs([_FunctionOutput_006]);
_FunctionOutput_006.addInput(_GetProperty, 0);
var _Float_006 = new armory.logicnode.FloatNode(this);
_Float_006.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Float_006.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
var _FunctionOutput_001 = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput_001", _FunctionOutput_001);
var _SetVariable_001 = new armory.logicnode.SetVariableNode(this);
var _While = new armory.logicnode.WhileNode(this);
var _Function_001 = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function_001", _Function_001);
_Function_001.addOutputs([_While]);
var _SpawnObject = new armory.logicnode.SpawnObjectNode(this);
var _Merge = new armory.logicnode.MergeNode(this);
var _Gate_002 = new armory.logicnode.GateNode(this);
_Gate_002.property0 = "Equal";
_Gate_002.property1 = 9.999999747378752e-05;
var _Gate_001 = new armory.logicnode.GateNode(this);
_Gate_001.property0 = "Equal";
_Gate_001.property1 = 9.999999747378752e-05;
var _CallFunction = new armory.logicnode.CallFunctionNode(this);
_CallFunction.addInput(_While, 0);
var _SelfTrait = new armory.logicnode.SelfTraitNode(this);
_SelfTrait.addOutputs([_CallFunction]);
_CallFunction.addInput(_SelfTrait, 0);
_CallFunction.addInput(new armory.logicnode.StringNode(this, "Ray_vec"), 0);
_CallFunction.addInput(new armory.logicnode.NullNode(this), 0);
_CallFunction.addInput(new armory.logicnode.NullNode(this), 0);
_CallFunction.addOutputs([_Gate_001]);
var _VectorMath = new armory.logicnode.VectorMathNode(this);
_VectorMath.property0 = "Add";
_VectorMath.addInput(_CallFunction, 1);
var _Vector_005 = new armory.logicnode.VectorNode(this);
_Vector_005.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_005.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_005.addInput(_Function_001, 5);
_Vector_005.addOutputs([_VectorMath]);
_VectorMath.addInput(_Vector_005, 0);
var _CastPhysicsRay = new armory.logicnode.CastPhysicsRayNode(this);
_CastPhysicsRay.addInput(_VectorMath, 0);
var _VectorMath_001 = new armory.logicnode.VectorMathNode(this);
_VectorMath_001.property0 = "Subtract";
_VectorMath_001.addInput(_VectorMath, 0);
var _Vector_006 = new armory.logicnode.VectorNode(this);
_Vector_006.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_006.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Math_001 = new armory.logicnode.MathNode(this);
_Math_001.property0 = "Subtract";
_Math_001.property1 = "false";
_Math_001.addInput(_Function_001, 5);
_Math_001.addInput(_Function_001, 6);
_Math_001.addOutputs([_Vector_006]);
_Vector_006.addInput(_Math_001, 0);
_Vector_006.addOutputs([_VectorMath_001]);
_VectorMath_001.addInput(_Vector_006, 0);
_VectorMath_001.addOutputs([_CastPhysicsRay]);
_VectorMath_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_CastPhysicsRay.addInput(_VectorMath_001, 0);
_CastPhysicsRay.addOutputs([_Gate_001]);
var _SetLocation = new armory.logicnode.SetLocationNode(this);
_SetLocation.addInput(_SpawnObject, 0);
_SetLocation.addInput(_SpawnObject, 1);
_SetLocation.addInput(_CastPhysicsRay, 1);
var _SetRotation = new armory.logicnode.SetRotationNode(this);
_SetRotation.addInput(_SetLocation, 0);
_SetRotation.addInput(_SpawnObject, 1);
var _Vector_007 = new armory.logicnode.VectorNode(this);
_Vector_007.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_007.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Random_Integer_ = new armory.logicnode.RandomIntegerNode(this);
_Random_Integer_.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Random_Integer_.addInput(new armory.logicnode.IntegerNode(this, 180), 0);
_Random_Integer_.addOutputs([_Vector_007]);
_Vector_007.addInput(_Random_Integer_, 0);
_Vector_007.addOutputs([_SetRotation]);
_SetRotation.addInput(_Vector_007, 0);
var _SetVariable = new armory.logicnode.SetVariableNode(this);
_SetVariable.addInput(_SetRotation, 0);
var _Integer_002 = new armory.logicnode.IntegerNode(this);
_Integer_002.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
var _Compare = new armory.logicnode.CompareNode(this);
_Compare.property0 = "Less";
_Compare.property1 = 9.999999747378752e-05;
_Compare.addInput(_Integer_002, 0);
_Compare.addInput(_Function_001, 2);
_Compare.addOutputs([_While]);
_Integer_002.addOutputs([_Compare, _Integer_002, _SetVariable_001]);
_SetVariable.addInput(_Integer_002, 0);
var _Math = new armory.logicnode.MathNode(this);
_Math.property0 = "Add";
_Math.property1 = "false";
_Math.addInput(_Integer_002, 0);
_Math.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
_Math.addOutputs([_SetVariable]);
_SetVariable.addInput(_Math, 0);
_SetVariable.addOutputs([new armory.logicnode.NullNode(this)]);
_SetRotation.addOutputs([_SetVariable]);
_SetLocation.addOutputs([_SetRotation]);
var _SeparateXYZ_002 = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ_002.addInput(_CastPhysicsRay, 1);
_SeparateXYZ_002.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_SeparateXYZ_002.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
var _CallFunction_002 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_002.addInput(_Gate_002, 1);
var _SelfTrait_001 = new armory.logicnode.SelfTraitNode(this);
_SelfTrait_001.addOutputs([_CallFunction_002]);
_CallFunction_002.addInput(_SelfTrait_001, 0);
_CallFunction_002.addInput(new armory.logicnode.StringNode(this, "Cast_ray_cercle"), 0);
_CallFunction_002.addInput(_VectorMath, 0);
_CallFunction_002.addInput(_SeparateXYZ_002, 2);
_CallFunction_002.addInput(_Function_001, 3);
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
_IsTrue_001.addInput(_CallFunction_002, 0);
_IsTrue_001.addInput(_CallFunction_002, 1);
_IsTrue_001.addOutputs([_Merge]);
_CallFunction_002.addOutputs([_IsTrue_001]);
_CallFunction_002.addOutputs([_IsTrue_001]);
_SeparateXYZ_002.addOutputs([_CallFunction_002]);
_CastPhysicsRay.addOutputs([_SetLocation, _SeparateXYZ_002]);
_CastPhysicsRay.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
_VectorMath.addOutputs([_CastPhysicsRay, _VectorMath_001, _CallFunction_002]);
_VectorMath.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_CallFunction.addOutputs([_VectorMath]);
_Gate_001.addInput(_CallFunction, 0);
var _Object = new armory.logicnode.ObjectNode(this);
_Object.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
_Object.addOutputs([_Gate_001]);
_Gate_001.addInput(_Object, 0);
_Gate_001.addInput(_CastPhysicsRay, 0);
_Gate_001.addOutputs([_Gate_002]);
_Gate_001.addOutputs([new armory.logicnode.NullNode(this)]);
_Gate_002.addInput(_Gate_001, 0);
_Gate_002.addInput(_Function_001, 3);
var _Float_004 = new armory.logicnode.FloatNode(this);
_Float_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Float_004.addOutputs([_Gate_002]);
_Gate_002.addInput(_Float_004, 0);
_Gate_002.addOutputs([_Merge]);
_Gate_002.addOutputs([_CallFunction_002]);
_Merge.addInput(_Gate_002, 0);
_Merge.addInput(_IsTrue_001, 0);
_Merge.addOutputs([_SpawnObject]);
_SpawnObject.addInput(_Merge, 0);
_SpawnObject.addInput(_Function_001, 1);
_SpawnObject.addInput(new armory.logicnode.NullNode(this), 0);
_SpawnObject.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_SpawnObject.addOutputs([_SetLocation]);
_SpawnObject.addOutputs([_SetLocation, _SetRotation]);
_Function_001.addOutputs([_SpawnObject]);
_Function_001.addOutputs([_Compare]);
_Function_001.addOutputs([_CallFunction_002, _Gate_002]);
_Function_001.addOutputs([new armory.logicnode.NullNode(this)]);
_Function_001.addOutputs([_Vector_005, _Math_001]);
_Function_001.addOutputs([_Math_001]);
_While.addInput(_Function_001, 0);
_While.addInput(_Compare, 0);
_While.addOutputs([_CallFunction]);
_While.addOutputs([_SetVariable_001]);
_SetVariable_001.addInput(_While, 1);
_SetVariable_001.addInput(_Integer_002, 0);
var _Integer_003 = new armory.logicnode.IntegerNode(this);
_Integer_003.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Integer_003.addOutputs([_SetVariable_001]);
_SetVariable_001.addInput(_Integer_003, 0);
_SetVariable_001.addOutputs([_FunctionOutput_001]);
_FunctionOutput_001.addInput(_SetVariable_001, 0);
_FunctionOutput_001.addInput(new armory.logicnode.NullNode(this), 0);
var _FunctionOutput_002 = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput_002", _FunctionOutput_002);
var _CallFunction_013 = new armory.logicnode.CallFunctionNode(this);
var _ArrayLoop = new armory.logicnode.ArrayLoopNode(this);
var _Function_002 = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function_002", _Function_002);
_Function_002.addOutputs([_ArrayLoop]);
_Function_002.addOutputs([_ArrayLoop]);
var _ArrayGet = new armory.logicnode.ArrayGetNode(this);
_ArrayGet.addInput(_Function_002, 2);
var _Math_003 = new armory.logicnode.MathNode(this);
_Math_003.property0 = "Add";
_Math_003.property1 = "false";
var _Integer_004 = new armory.logicnode.IntegerNode(this);
_Integer_004.addInput(new armory.logicnode.IntegerNode(this, -2), 0);
var _SetVariable_002 = new armory.logicnode.SetVariableNode(this);
_SetVariable_002.addInput(_ArrayLoop, 0);
_SetVariable_002.addInput(_Integer_004, 0);
_SetVariable_002.addInput(_Math_003, 0);
_SetVariable_002.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetVariable_003 = new armory.logicnode.SetVariableNode(this);
_SetVariable_003.addInput(_ArrayLoop, 2);
_SetVariable_003.addInput(_Integer_004, 0);
var _Integer_005 = new armory.logicnode.IntegerNode(this);
_Integer_005.addInput(new armory.logicnode.IntegerNode(this, -2), 0);
_Integer_005.addOutputs([_SetVariable_003]);
_SetVariable_003.addInput(_Integer_005, 0);
_SetVariable_003.addOutputs([new armory.logicnode.NullNode(this)]);
_Integer_004.addOutputs([_Math_003, _SetVariable_002, _SetVariable_003]);
_Math_003.addInput(_Integer_004, 0);
_Math_003.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
var _ArrayGet_001 = new armory.logicnode.ArrayGetNode(this);
_ArrayGet_001.addInput(_Function_002, 3);
_ArrayGet_001.addInput(_Math_003, 0);
_ArrayGet_001.addOutputs([_CallFunction_013]);
_Math_003.addOutputs([_SetVariable_002, _ArrayGet, _ArrayGet_001]);
_ArrayGet.addInput(_Math_003, 0);
var _Math_002 = new armory.logicnode.MathNode(this);
_Math_002.property0 = "Multiply";
_Math_002.property1 = "false";
_Math_002.addInput(_ArrayGet, 0);
_Math_002.addInput(_Function_002, 4);
_Math_002.addOutputs([_CallFunction_013]);
_ArrayGet.addOutputs([_Math_002]);
_Function_002.addOutputs([_ArrayGet]);
_Function_002.addOutputs([_ArrayGet_001]);
_Function_002.addOutputs([_Math_002]);
_Function_002.addOutputs([_CallFunction_013]);
_Function_002.addOutputs([_CallFunction_013]);
_ArrayLoop.addInput(_Function_002, 0);
_ArrayLoop.addInput(_Function_002, 1);
_ArrayLoop.addOutputs([_CallFunction_013, _SetVariable_002]);
_ArrayLoop.addOutputs([_CallFunction_013]);
_ArrayLoop.addOutputs([_SetVariable_003]);
_CallFunction_013.addInput(_ArrayLoop, 0);
var _SelfTrait_004 = new armory.logicnode.SelfTraitNode(this);
_SelfTrait_004.addOutputs([_CallFunction_013]);
_CallFunction_013.addInput(_SelfTrait_004, 0);
_CallFunction_013.addInput(new armory.logicnode.StringNode(this, "Ajout_elements"), 0);
_CallFunction_013.addInput(_ArrayLoop, 1);
_CallFunction_013.addInput(_Math_002, 0);
_CallFunction_013.addInput(_ArrayGet_001, 0);
_CallFunction_013.addInput(new armory.logicnode.NullNode(this), 0);
_CallFunction_013.addInput(_Function_002, 5);
_CallFunction_013.addInput(_Function_002, 6);
_CallFunction_013.addOutputs([_FunctionOutput_002]);
_CallFunction_013.addOutputs([new armory.logicnode.NullNode(this)]);
_FunctionOutput_002.addInput(_CallFunction_013, 0);
_FunctionOutput_002.addInput(new armory.logicnode.NullNode(this), 0);
var _Float_003 = new armory.logicnode.FloatNode(this);
_Float_003.addInput(new armory.logicnode.FloatNode(this, 30.0), 0);
_Float_003.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
var _FunctionOutput = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput", _FunctionOutput);
var _Function = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function", _Function);
_Function.addOutputs([_FunctionOutput]);
_Function.addOutputs([new armory.logicnode.NullNode(this)]);
_Function.addOutputs([new armory.logicnode.NullNode(this)]);
_FunctionOutput.addInput(_Function, 0);
var _Vector_002 = new armory.logicnode.VectorNode(this);
var _Random_Float_ = new armory.logicnode.RandomFloatNode(this);
var _SeparateXYZ_001 = new armory.logicnode.SeparateVectorNode(this);
var _Vector_001 = new armory.logicnode.VectorNode(this);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, -15.0), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, -10.0), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, -7.0), 0);
var _VectorMath_002 = new armory.logicnode.VectorMathNode(this);
_VectorMath_002.property0 = "Add";
_VectorMath_002.addInput(_Vector_001, 0);
var _Vector_004 = new armory.logicnode.VectorNode(this);
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 19.5), 0);
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 150.0), 0);
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 44.0), 0);
_Vector_004.addOutputs([_VectorMath_002]);
_VectorMath_002.addInput(_Vector_004, 0);
var _SeparateXYZ = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ.addInput(_VectorMath_002, 0);
_SeparateXYZ.addOutputs([_Random_Float_]);
var _Random_Float__001 = new armory.logicnode.RandomFloatNode(this);
_Random_Float__001.addInput(_SeparateXYZ_001, 1);
_Random_Float__001.addInput(_SeparateXYZ, 1);
_Random_Float__001.addOutputs([_Vector_002]);
_SeparateXYZ.addOutputs([_Random_Float__001]);
_SeparateXYZ.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_VectorMath_002.addOutputs([_SeparateXYZ]);
_VectorMath_002.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Vector_001.addOutputs([_SeparateXYZ_001, _VectorMath_002]);
_SeparateXYZ_001.addInput(_Vector_001, 0);
_SeparateXYZ_001.addOutputs([_Random_Float_]);
_SeparateXYZ_001.addOutputs([_Random_Float__001]);
_SeparateXYZ_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Random_Float_.addInput(_SeparateXYZ_001, 0);
_Random_Float_.addInput(_SeparateXYZ, 0);
_Random_Float_.addOutputs([_Vector_002]);
_Vector_002.addInput(_Random_Float_, 0);
_Vector_002.addInput(_Random_Float__001, 0);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_002.addOutputs([_FunctionOutput]);
_FunctionOutput.addInput(_Vector_002, 0);
}
public function Cast_ray_cercle(arg0:Dynamic, arg1:Dynamic, arg2:Dynamic) {
var functionNode = this.functionNodes["_Function_006"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.args.push(arg2);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput_006"].result;
}
public function Ajout_elements(arg0:Dynamic, arg1:Dynamic, arg2:Dynamic, arg3:Dynamic, arg4:Dynamic, arg5:Dynamic) {
var functionNode = this.functionNodes["_Function_001"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.args.push(arg2);
functionNode.args.push(arg3);
functionNode.args.push(arg4);
functionNode.args.push(arg5);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput_001"].result;
}
public function Ajout_objet(arg0:Dynamic, arg1:Dynamic, arg2:Dynamic, arg3:Dynamic, arg4:Dynamic, arg5:Dynamic) {
var functionNode = this.functionNodes["_Function_002"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.args.push(arg2);
functionNode.args.push(arg3);
functionNode.args.push(arg4);
functionNode.args.push(arg5);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput_002"].result;
}
public function Ray_vec(arg0:Dynamic, arg1:Dynamic) {
var functionNode = this.functionNodes["_Function"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput"].result;
}
}