frankie-on-platform/Sources/arm/node/Intro.hx
2019-04-19 01:47:51 +02:00

303 lines
16 KiB
Haxe

package arm.node;
@:keep class Intro extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Intro";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _TranslateObject = new armory.logicnode.TranslateObjectNode(this);
_TranslateObject.addInput(new armory.logicnode.NullNode(this), 0);
_TranslateObject.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_TranslateObject.addInput(new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0), 0);
_TranslateObject.addOutputs([new armory.logicnode.NullNode(this)]);
var _Print_001 = new armory.logicnode.PrintNode(this);
var _Print = new armory.logicnode.PrintNode(this);
var _SetLocation = new armory.logicnode.SetLocationNode(this);
var _Loop = new armory.logicnode.LoopNode(this);
var _SetVariable = new armory.logicnode.SetVariableNode(this);
var _SetVariable_001 = new armory.logicnode.SetVariableNode(this);
_SetVariable_001.addInput(new armory.logicnode.NullNode(this), 0);
var _Vector_002 = new armory.logicnode.VectorNode(this);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _VectorMath_003 = new armory.logicnode.VectorMathNode(this);
_VectorMath_003.property0 = "Add";
_VectorMath_003.addInput(_Vector_002, 0);
var _VectorMath_002 = new armory.logicnode.VectorMathNode(this);
_VectorMath_002.property0 = "Multiply";
var _VectorMath_001 = new armory.logicnode.VectorMathNode(this);
_VectorMath_001.property0 = "Multiply";
var _VectorMath = new armory.logicnode.VectorMathNode(this);
_VectorMath.property0 = "Subtract";
var _ArrayGet = new armory.logicnode.ArrayGetNode(this);
var _Array_Vector_ = new armory.logicnode.ArrayVectorNode(this);
var _Vector_001 = new armory.logicnode.VectorNode(this);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.699999988079071), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, -7.800000190734863), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 2.0), 0);
_Vector_001.addOutputs([_Array_Vector_]);
_Array_Vector_.addInput(_Vector_001, 0);
var _Vector = new armory.logicnode.VectorNode(this);
_Vector.addInput(new armory.logicnode.FloatNode(this, 6.300000190734863), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, -15.699999809265137), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 3.0), 0);
_Vector.addOutputs([_Array_Vector_]);
_Array_Vector_.addInput(_Vector, 0);
_Array_Vector_.addInput(new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0), 0);
_Array_Vector_.addInput(new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0), 0);
var _ArrayGet_001 = new armory.logicnode.ArrayGetNode(this);
_ArrayGet_001.addInput(_Array_Vector_, 0);
_ArrayGet_001.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_ArrayGet_001.addOutputs([_VectorMath]);
_Array_Vector_.addOutputs([_ArrayGet, _ArrayGet_001]);
_Array_Vector_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_ArrayGet.addInput(_Array_Vector_, 0);
_ArrayGet.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
_ArrayGet.addOutputs([_VectorMath]);
_VectorMath.addInput(_ArrayGet, 0);
_VectorMath.addInput(_ArrayGet_001, 0);
_VectorMath.addOutputs([_VectorMath_001]);
_VectorMath.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_VectorMath_001.addInput(_VectorMath, 0);
var _Vector_004 = new armory.logicnode.VectorNode(this);
var _Float_002 = new armory.logicnode.FloatNode(this);
_Float_002.addInput(new armory.logicnode.FloatNode(this, 0.009999999776482582), 0);
_Float_002.addOutputs([_Vector_004, _Vector_004, _Vector_004]);
_Vector_004.addInput(_Float_002, 0);
_Vector_004.addInput(_Float_002, 0);
_Vector_004.addInput(_Float_002, 0);
_Vector_004.addOutputs([_VectorMath_001]);
_VectorMath_001.addInput(_Vector_004, 0);
_VectorMath_001.addOutputs([_VectorMath_002, _Print_001]);
_VectorMath_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_VectorMath_002.addInput(_VectorMath_001, 0);
var _Vector_003 = new armory.logicnode.VectorNode(this);
var _Math_001 = new armory.logicnode.MathNode(this);
_Math_001.property0 = "Add";
_Math_001.property1 = "false";
var _Math = new armory.logicnode.MathNode(this);
_Math.property0 = "Subtract";
_Math.property1 = "false";
var _Time_001 = new armory.logicnode.TimeNode(this);
_Time_001.addOutputs([_Math]);
_Time_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Math.addInput(_Time_001, 0);
var _Float = new armory.logicnode.FloatNode(this);
_Float.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Float.addOutputs([_SetVariable, _Math]);
_Math.addInput(_Float, 0);
_Math.addOutputs([_Math_001]);
_Math_001.addInput(_Math, 0);
var _Float_001 = new armory.logicnode.FloatNode(this);
_Float_001.addInput(new armory.logicnode.FloatNode(this, 0.009999999776482582), 0);
_Float_001.addOutputs([_Math_001]);
_Math_001.addInput(_Float_001, 0);
_Math_001.addOutputs([_Vector_003, _Vector_003, _Vector_003]);
_Vector_003.addInput(_Math_001, 0);
_Vector_003.addInput(_Math_001, 0);
_Vector_003.addInput(_Math_001, 0);
_Vector_003.addOutputs([_VectorMath_002]);
_VectorMath_002.addInput(_Vector_003, 0);
_VectorMath_002.addOutputs([_VectorMath_003]);
_VectorMath_002.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_VectorMath_003.addInput(_VectorMath_002, 0);
_VectorMath_003.addOutputs([_SetLocation]);
_VectorMath_003.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Vector_002.addOutputs([_SetVariable_001, _VectorMath_003]);
_SetVariable_001.addInput(_Vector_002, 0);
var _GetLocation = new armory.logicnode.GetLocationNode(this);
_GetLocation.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetLocation.addOutputs([_SetVariable_001]);
_SetVariable_001.addInput(_GetLocation, 0);
_SetVariable_001.addOutputs([_SetVariable]);
_SetVariable.addInput(_SetVariable_001, 0);
_SetVariable.addInput(_Float, 0);
var _Time = new armory.logicnode.TimeNode(this);
_Time.addOutputs([_SetVariable]);
_Time.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_SetVariable.addInput(_Time, 0);
_SetVariable.addOutputs([_Loop]);
_Loop.addInput(_SetVariable, 0);
_Loop.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Loop.addInput(new armory.logicnode.IntegerNode(this, 100), 0);
_Loop.addOutputs([_SetLocation]);
_Loop.addOutputs([_Print]);
_Loop.addOutputs([new armory.logicnode.NullNode(this)]);
_SetLocation.addInput(_Loop, 0);
_SetLocation.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetLocation.addInput(_VectorMath_003, 0);
_SetLocation.addOutputs([_Print]);
_Print.addInput(_SetLocation, 0);
_Print.addInput(_Loop, 1);
_Print.addOutputs([_Print_001]);
_Print_001.addInput(_Print, 0);
_Print_001.addInput(_VectorMath_001, 0);
_Print_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _VectorMath_004 = new armory.logicnode.VectorMathNode(this);
_VectorMath_004.property0 = "Multiply";
_VectorMath_004.addInput(new armory.logicnode.VectorNode(this, 0.5, 0.5, 0.5), 0);
_VectorMath_004.addInput(new armory.logicnode.VectorNode(this, 0.009999999776482582, 0.009999999776482582, 0.009999999776482582), 0);
_VectorMath_004.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
_VectorMath_004.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
var _OnTimer = new armory.logicnode.OnTimerNode(this);
_OnTimer.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_OnTimer.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_OnTimer.addOutputs([new armory.logicnode.NullNode(this)]);
var _OnMouse = new armory.logicnode.OnMouseNode(this);
_OnMouse.property0 = "Down";
_OnMouse.property1 = "left";
_OnMouse.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetVariable_003 = new armory.logicnode.SetVariableNode(this);
var _OnMouse_001 = new armory.logicnode.OnMouseNode(this);
_OnMouse_001.property0 = "Down";
_OnMouse_001.property1 = "left";
_OnMouse_001.addOutputs([_SetVariable_003]);
_SetVariable_003.addInput(_OnMouse_001, 0);
var _Boolean = new armory.logicnode.BooleanNode(this);
_Boolean.addInput(new armory.logicnode.BooleanNode(this, false), 0);
var _SetVariable_004 = new armory.logicnode.SetVariableNode(this);
var _OnInit = new armory.logicnode.OnInitNode(this);
_OnInit.addOutputs([_SetVariable_004]);
_SetVariable_004.addInput(_OnInit, 0);
_SetVariable_004.addInput(_Boolean, 0);
_SetVariable_004.addInput(new armory.logicnode.NullNode(this), 0);
_SetVariable_004.addOutputs([new armory.logicnode.NullNode(this)]);
var _IsTrue = new armory.logicnode.IsTrueNode(this);
var _OnTimer_001 = new armory.logicnode.OnTimerNode(this);
_OnTimer_001.addInput(new armory.logicnode.FloatNode(this, 0.009999999776482582), 0);
_OnTimer_001.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_OnTimer_001.addOutputs([_IsTrue]);
_IsTrue.addInput(_OnTimer_001, 0);
_IsTrue.addInput(_Boolean, 0);
var _TranslateObject_001 = new armory.logicnode.TranslateObjectNode(this);
_TranslateObject_001.addInput(_IsTrue, 0);
_TranslateObject_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
var _VectorMath_006 = new armory.logicnode.VectorMathNode(this);
_VectorMath_006.property0 = "Multiply";
var _VectorMath_005 = new armory.logicnode.VectorMathNode(this);
_VectorMath_005.property0 = "Subtract";
var _ArrayGet_002 = new armory.logicnode.ArrayGetNode(this);
var _Array_Vector__001 = new armory.logicnode.ArrayVectorNode(this);
var _Vector_006 = new armory.logicnode.VectorNode(this);
_Vector_006.addInput(new armory.logicnode.FloatNode(this, 0.699999988079071), 0);
_Vector_006.addInput(new armory.logicnode.FloatNode(this, -7.800000190734863), 0);
_Vector_006.addInput(new armory.logicnode.FloatNode(this, 2.0), 0);
_Vector_006.addOutputs([_Array_Vector__001]);
_Array_Vector__001.addInput(_Vector_006, 0);
var _Vector_007 = new armory.logicnode.VectorNode(this);
_Vector_007.addInput(new armory.logicnode.FloatNode(this, 6.300000190734863), 0);
_Vector_007.addInput(new armory.logicnode.FloatNode(this, -15.699999809265137), 0);
_Vector_007.addInput(new armory.logicnode.FloatNode(this, 3.0), 0);
var _VectorMath_008 = new armory.logicnode.VectorMathNode(this);
_VectorMath_008.property0 = "Subtract";
_VectorMath_008.addInput(_Vector_007, 0);
var _GetLocation_002 = new armory.logicnode.GetLocationNode(this);
_GetLocation_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetLocation_002.addOutputs([_VectorMath_008]);
_VectorMath_008.addInput(_GetLocation_002, 0);
var _SeparateXYZ_008 = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ_008.addInput(_VectorMath_008, 0);
var _Compare_009 = new armory.logicnode.CompareNode(this);
_Compare_009.property0 = "Almost Equal";
_Compare_009.property1 = 0.10000000149011612;
_Compare_009.addInput(_SeparateXYZ_008, 0);
var _Float_007 = new armory.logicnode.FloatNode(this);
_Float_007.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Compare_010 = new armory.logicnode.CompareNode(this);
_Compare_010.property0 = "Almost Equal";
_Compare_010.property1 = 0.10000000149011612;
_Compare_010.addInput(_SeparateXYZ_008, 2);
_Compare_010.addInput(_Float_007, 0);
var _Compare_011 = new armory.logicnode.CompareNode(this);
_Compare_011.property0 = "And";
_Compare_011.property1 = 9.999999747378752e-05;
_Compare_011.addInput(_Compare_009, 0);
var _Compare_008 = new armory.logicnode.CompareNode(this);
_Compare_008.property0 = "Almost Equal";
_Compare_008.property1 = 0.10000000149011612;
_Compare_008.addInput(_SeparateXYZ_008, 1);
_Compare_008.addInput(_Float_007, 0);
_Compare_008.addOutputs([_Compare_011]);
_Compare_011.addInput(_Compare_008, 0);
_Compare_011.addInput(_Compare_010, 0);
var _IsTrue_007 = new armory.logicnode.IsTrueNode(this);
var _Print_003 = new armory.logicnode.PrintNode(this);
_Print_003.addInput(_TranslateObject_001, 0);
_Print_003.addInput(_VectorMath_008, 0);
_Print_003.addOutputs([_IsTrue_007]);
_IsTrue_007.addInput(_Print_003, 0);
_IsTrue_007.addInput(_Compare_011, 0);
var _SetVariable_005 = new armory.logicnode.SetVariableNode(this);
_SetVariable_005.addInput(_IsTrue_007, 0);
_SetVariable_005.addInput(_Boolean, 0);
var _Boolean_002 = new armory.logicnode.BooleanNode(this);
_Boolean_002.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_002.addOutputs([_SetVariable_005]);
_SetVariable_005.addInput(_Boolean_002, 0);
_SetVariable_005.addOutputs([new armory.logicnode.NullNode(this)]);
_IsTrue_007.addOutputs([_SetVariable_005]);
_Compare_011.addOutputs([_IsTrue_007]);
_Compare_010.addOutputs([_Compare_011]);
_Float_007.addOutputs([_Compare_010, _Compare_008, _Compare_009]);
_Compare_009.addInput(_Float_007, 0);
_Compare_009.addOutputs([_Compare_011]);
_SeparateXYZ_008.addOutputs([_Compare_009]);
_SeparateXYZ_008.addOutputs([_Compare_008]);
_SeparateXYZ_008.addOutputs([_Compare_010]);
_VectorMath_008.addOutputs([_SeparateXYZ_008, _Print_003]);
_VectorMath_008.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Vector_007.addOutputs([_Array_Vector__001, _VectorMath_008]);
_Array_Vector__001.addInput(_Vector_007, 0);
_Array_Vector__001.addInput(new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0), 0);
_Array_Vector__001.addInput(new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0), 0);
var _ArrayGet_003 = new armory.logicnode.ArrayGetNode(this);
_ArrayGet_003.addInput(_Array_Vector__001, 0);
_ArrayGet_003.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_ArrayGet_003.addOutputs([_VectorMath_005]);
_Array_Vector__001.addOutputs([_ArrayGet_002, _ArrayGet_003]);
_Array_Vector__001.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_ArrayGet_002.addInput(_Array_Vector__001, 0);
_ArrayGet_002.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
_ArrayGet_002.addOutputs([_VectorMath_005]);
_VectorMath_005.addInput(_ArrayGet_002, 0);
_VectorMath_005.addInput(_ArrayGet_003, 0);
_VectorMath_005.addOutputs([_VectorMath_006]);
_VectorMath_005.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_VectorMath_006.addInput(_VectorMath_005, 0);
var _Vector_009 = new armory.logicnode.VectorNode(this);
var _Float_005 = new armory.logicnode.FloatNode(this);
_Float_005.addInput(new armory.logicnode.FloatNode(this, 0.0010000000474974513), 0);
_Float_005.addOutputs([_Vector_009, _Vector_009, _Vector_009]);
_Vector_009.addInput(_Float_005, 0);
_Vector_009.addInput(_Float_005, 0);
_Vector_009.addInput(_Float_005, 0);
_Vector_009.addOutputs([_VectorMath_006]);
_VectorMath_006.addInput(_Vector_009, 0);
_VectorMath_006.addOutputs([_TranslateObject_001]);
_VectorMath_006.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_TranslateObject_001.addInput(_VectorMath_006, 0);
_TranslateObject_001.addOutputs([_Print_003]);
_IsTrue.addOutputs([_TranslateObject_001]);
_Boolean.addOutputs([_SetVariable_004, _SetVariable_003, _IsTrue, _SetVariable_005]);
_SetVariable_003.addInput(_Boolean, 0);
var _Boolean_001 = new armory.logicnode.BooleanNode(this);
_Boolean_001.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean_001.addOutputs([_SetVariable_003]);
_SetVariable_003.addInput(_Boolean_001, 0);
_SetVariable_003.addOutputs([new armory.logicnode.NullNode(this)]);
var _Boolean_003 = new armory.logicnode.BooleanNode(this);
_Boolean_003.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean_003.addOutputs([new armory.logicnode.BooleanNode(this, false)]);
}
}