Move all files to armory3d folder
@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"rp_bloom": true,
|
|
||||||
"rp_dynres": false,
|
|
||||||
"rp_gi": false,
|
|
||||||
"rp_motionblur": false,
|
|
||||||
"rp_shadowmap_cascade": 1024,
|
|
||||||
"rp_shadowmap_cube": 512,
|
|
||||||
"rp_ssgi": true,
|
|
||||||
"rp_ssr": true,
|
|
||||||
"rp_supersample": 1.0,
|
|
||||||
"window_h": 1080,
|
|
||||||
"window_maximizable": false,
|
|
||||||
"window_minimizable": true,
|
|
||||||
"window_mode": 0,
|
|
||||||
"window_msaa": 1,
|
|
||||||
"window_resizable": false,
|
|
||||||
"window_scale": 1.0,
|
|
||||||
"window_vsync": true,
|
|
||||||
"window_w": 1920
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
// Auto-generated
|
|
||||||
package ;
|
|
||||||
class Main {
|
|
||||||
public static inline var projectName = 'ecureuil';
|
|
||||||
public static inline var projectPackage = 'arm';
|
|
||||||
public static function main() {
|
|
||||||
iron.object.BoneAnimation.skinMaxBones = 52;
|
|
||||||
iron.object.LightObject.cascadeCount = 4;
|
|
||||||
iron.object.LightObject.cascadeSplitFactor = 0.800000011920929;
|
|
||||||
armory.system.Starter.main(
|
|
||||||
'Scene',
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
true,
|
|
||||||
false,
|
|
||||||
1920,
|
|
||||||
1080,
|
|
||||||
1,
|
|
||||||
true,
|
|
||||||
armory.renderpath.RenderPathCreator.get
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,79 +0,0 @@
|
|||||||
package arm;
|
|
||||||
|
|
||||||
import iron.object.Object;
|
|
||||||
import iron.object.Animation;
|
|
||||||
import iron.Trait;
|
|
||||||
import iron.system.Input;
|
|
||||||
import iron.math.Vec4;
|
|
||||||
import iron.math.Quat;
|
|
||||||
|
|
||||||
class Character extends Trait {
|
|
||||||
|
|
||||||
var currentAction:String;
|
|
||||||
var animation:Animation;
|
|
||||||
|
|
||||||
var speed = 0.0;
|
|
||||||
var loc:Vec4 = new Vec4();
|
|
||||||
var lastLoc:Vec4 = null;
|
|
||||||
var framesIdle = 0; // Number of frames character did not move
|
|
||||||
|
|
||||||
@:prop
|
|
||||||
var actionIdle:String = "idle";
|
|
||||||
|
|
||||||
@:prop
|
|
||||||
var actionMove:String = "run";
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
|
|
||||||
currentAction = actionIdle;
|
|
||||||
notifyOnInit(init);
|
|
||||||
}
|
|
||||||
|
|
||||||
function init() {
|
|
||||||
animation = object.animation;
|
|
||||||
|
|
||||||
// Try first child if we are running from armature
|
|
||||||
if (animation == null) {
|
|
||||||
if(object.children.length > 0) {
|
|
||||||
animation = object.children[0].animation;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (animation == null) return;
|
|
||||||
notifyOnUpdate(update);
|
|
||||||
}
|
|
||||||
|
|
||||||
function update() {
|
|
||||||
// Get current position
|
|
||||||
var tr = object.transform;
|
|
||||||
loc.set(tr.worldx(), tr.worldy(), tr.worldz());
|
|
||||||
|
|
||||||
// Set previous position to current position if there is no previous position
|
|
||||||
if (lastLoc == null) lastLoc = new Vec4(loc.x, loc.y, loc.z);
|
|
||||||
|
|
||||||
// Check if character moved compared from last position
|
|
||||||
speed = Vec4.distance(loc, lastLoc);
|
|
||||||
|
|
||||||
// Update previous position to current position
|
|
||||||
// in preparation for next check
|
|
||||||
lastLoc.setFrom(loc);
|
|
||||||
|
|
||||||
if (speed == 0) framesIdle++;
|
|
||||||
else framesIdle = 0;
|
|
||||||
|
|
||||||
// If state is idle and character is in movement, play move walk animation
|
|
||||||
if (currentAction == actionIdle && framesIdle == 0) {
|
|
||||||
currentAction = actionMove;
|
|
||||||
|
|
||||||
if (actionMove != null) animation.play(actionMove);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Otherwise if state is walking and character is idle, play idle animation
|
|
||||||
else if (currentAction == actionMove && framesIdle > 2) {
|
|
||||||
currentAction = actionIdle;
|
|
||||||
|
|
||||||
if (actionIdle != null) animation.play(actionIdle);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,182 +0,0 @@
|
|||||||
package arm;
|
|
||||||
|
|
||||||
import iron.Scene;
|
|
||||||
import iron.math.Vec4;
|
|
||||||
import iron.math.Quat;
|
|
||||||
import iron.math.Mat4;
|
|
||||||
import iron.data.SceneFormat;
|
|
||||||
import iron.data.Data;
|
|
||||||
import iron.data.MeshData;
|
|
||||||
import iron.data.MaterialData;
|
|
||||||
import iron.system.Input;
|
|
||||||
import iron.system.Time;
|
|
||||||
import iron.system.Tween;
|
|
||||||
import armory.trait.PhysicsBreak;
|
|
||||||
|
|
||||||
//
|
|
||||||
// Intro_cam : Animation for the begining
|
|
||||||
//
|
|
||||||
|
|
||||||
class Intro_cam extends iron.Trait {
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
|
|
||||||
// Start
|
|
||||||
var go= false;
|
|
||||||
|
|
||||||
// Suiveur
|
|
||||||
var loc_to = new Vec4 ();
|
|
||||||
var loc_from = new Vec4 ();
|
|
||||||
var deltaxyz = new Vec4 ();
|
|
||||||
var scale = new Vec4 ();
|
|
||||||
var deltax = 0.0;
|
|
||||||
var deltay = 0.0;
|
|
||||||
var deltaz = 0.0;
|
|
||||||
var delta_a = 0.0;
|
|
||||||
var delta_b = 0.0;
|
|
||||||
var delta_c = 0.0;
|
|
||||||
var position = 0;
|
|
||||||
|
|
||||||
// Tempo
|
|
||||||
var duration_cycle=0.01;
|
|
||||||
var duration=0.0;
|
|
||||||
|
|
||||||
// Positions (repère objet de la courbe (dump python))
|
|
||||||
var delta = [
|
|
||||||
new Vec4 (0.0, 0.0, 0.0),
|
|
||||||
new Vec4 (-0.714604914188385, -1.9046026468276978, 0.36248692870140076),
|
|
||||||
new Vec4 (-0.2727598547935486, -3.9623684883117676, 0.6186656355857849),
|
|
||||||
new Vec4 (1.2784634828567505, -5.851366996765137, 0.7989855408668518),
|
|
||||||
new Vec4 (3.764294147491455, -7.323999881744385, 0.9349323511123657),
|
|
||||||
new Vec4 (6.88226318359375, -8.207002639770508, 1.0590277910232544),
|
|
||||||
new Vec4 (9.54699420928955, -8.419892311096191, 1.1722874641418457),
|
|
||||||
new Vec4 (12.064346313476562, -8.174274444580078, 1.3170785903930664),
|
|
||||||
new Vec4 (14.102925300598145, -7.484195232391357, 1.5114848613739014),
|
|
||||||
new Vec4 (15.088809967041016, -6.700578689575195, 1.7009670734405518),
|
|
||||||
new Vec4 (15.388349533081055, -6.067254543304443, 1.852500081062317),
|
|
||||||
new Vec4 (15.33479118347168, -5.358070373535156, 2.0269899368286133),
|
|
||||||
new Vec4 (14.867095947265625, -4.586199760437012, 2.226856231689453),
|
|
||||||
new Vec4 (14.457979202270508, -4.181393623352051, 2.337069272994995)
|
|
||||||
];
|
|
||||||
|
|
||||||
// Cible camera
|
|
||||||
var target = new Vec4 (2.2124, -6.7793, 0.95099);
|
|
||||||
var rot_from = new Quat();
|
|
||||||
var rot_from2 = new Quat();
|
|
||||||
var rot_to = new Quat();
|
|
||||||
var rot_to2 = new Quat();
|
|
||||||
|
|
||||||
//
|
|
||||||
// notifyOnInit
|
|
||||||
//
|
|
||||||
|
|
||||||
notifyOnInit(function() {
|
|
||||||
|
|
||||||
duration=duration_cycle;
|
|
||||||
go= false;
|
|
||||||
});
|
|
||||||
|
|
||||||
//
|
|
||||||
// notifyOnUpdate
|
|
||||||
//
|
|
||||||
|
|
||||||
notifyOnUpdate(function() {
|
|
||||||
|
|
||||||
// Point 1
|
|
||||||
var mouse = Input.getMouse();
|
|
||||||
if (mouse.started()) {
|
|
||||||
position=1;
|
|
||||||
|
|
||||||
// Localisation
|
|
||||||
loc_from = object.transform.loc;
|
|
||||||
deltax = (delta[position].x-delta[position-1].x);
|
|
||||||
deltay = (delta[position].y-delta[position-1].y);
|
|
||||||
deltaz = (delta[position].z-delta[position-1].z);
|
|
||||||
deltaxyz.set(deltax, deltay, deltaz);
|
|
||||||
loc_to.addvecs(loc_from,deltaxyz);
|
|
||||||
trace("position "+Std.string(position));
|
|
||||||
|
|
||||||
// Rotation
|
|
||||||
// object.transform.scale.z = -1;
|
|
||||||
object.transform.buildMatrix();
|
|
||||||
rot_from.fromMat(iron.Scene.active.getChild("Target_pos0").transform.world);
|
|
||||||
rot_from2.set(rot_from.x*1, rot_from.y*1, rot_from.z*1, rot_from.w*1);
|
|
||||||
object.transform.rot.fromEuler(rot_from2.getEuler().x, rot_from2.getEuler().y, rot_from2.getEuler().z);
|
|
||||||
object.transform.buildMatrix();
|
|
||||||
|
|
||||||
rot_to.fromMat(iron.Scene.active.getChild("Target_pos1").transform.world);
|
|
||||||
rot_to2.set(rot_to.x*1, rot_to.y*1, rot_to.z*1, rot_to.w*1);
|
|
||||||
trace("rot_from "+Std.string(rot_from2));
|
|
||||||
trace("rot_to "+Std.string(rot_to2));
|
|
||||||
delta_a = ((rot_to2.getEuler().x)-(rot_from2.getEuler().x));
|
|
||||||
delta_b = (rot_to2.getEuler().y-rot_from2.getEuler().y);
|
|
||||||
delta_c = (rot_to2.getEuler().z-rot_from2.getEuler().z);
|
|
||||||
|
|
||||||
// orientation_from.set(target.x-object.transform.world.getLoc().x, target.y-object.transform.world.getLoc().y, target.z-object.transform.world.getLoc().z);
|
|
||||||
// orientation_to.set(target.x-object.transform.world.getLoc().x, target.y-object.transform.world.getLoc().y, target.z-object.transform.world.getLoc().z);
|
|
||||||
|
|
||||||
// trace("object.transform.world.getLoc() "+Std.string(object.transform.world.getLoc()));
|
|
||||||
// trace("target "+Std.string(target));
|
|
||||||
|
|
||||||
// orientation_from.set(target.x-object.transform.world.getLoc().x, target.y-object.transform.world.getLoc().y, target.z-object.transform.world.getLoc().z);
|
|
||||||
// orientation_to.set(target.x-loc_from.x, target.y-loc_from.y, target.z-loc_from.z);
|
|
||||||
// orientation_to.set(target.x-loc_to.x, target.y-loc_to.y, target.z-loc_to.z);
|
|
||||||
// trace("orientation_from "+Std.string(orientation_from));
|
|
||||||
// trace("orientation_to "+Std.string(orientation_to));
|
|
||||||
// orientation_quat.fromTo(orientation_from, orientation_to);
|
|
||||||
go= true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Déplacement
|
|
||||||
if (go) {
|
|
||||||
duration -= iron.system.Time.delta;
|
|
||||||
if (duration <= 0.0) {
|
|
||||||
object.transform.translate(deltax/100, deltay/100, deltaz/100); // Translation x, y, z
|
|
||||||
object.transform.rotate(Vec4.xAxis(), delta_a/100);
|
|
||||||
object.transform.rotate(Vec4.yAxis(), delta_b/100);
|
|
||||||
object.transform.rotate(Vec4.zAxis(), delta_c/100);
|
|
||||||
duration=duration_cycle;
|
|
||||||
|
|
||||||
// Arrivée ?
|
|
||||||
if (loc_to.x - object.transform.loc.x < 0.01 && loc_to.y - object.transform.loc.y < 0.01 && loc_to.z - object.transform.loc.z < 0.01) {
|
|
||||||
|
|
||||||
// Correction du point de départ
|
|
||||||
object.transform.translate(loc_to.x - object.transform.loc.x, loc_to.y - object.transform.loc.y, loc_to.z - object.transform.loc.z);
|
|
||||||
|
|
||||||
// Point ++
|
|
||||||
if (position<13) {
|
|
||||||
|
|
||||||
position++;
|
|
||||||
trace("position "+Std.string(position));
|
|
||||||
|
|
||||||
// Localisation
|
|
||||||
loc_from = object.transform.loc;
|
|
||||||
deltax = (delta[position].x-delta[position-1].x);
|
|
||||||
deltay = (delta[position].y-delta[position-1].y);
|
|
||||||
deltaz = (delta[position].z-delta[position-1].z);
|
|
||||||
deltaxyz.set(deltax, deltay, deltaz);
|
|
||||||
loc_to.addvecs(loc_from,deltaxyz);
|
|
||||||
trace("position "+Std.string(position));
|
|
||||||
|
|
||||||
// Rotation
|
|
||||||
rot_from.fromMat(iron.Scene.active.getChild("Target_pos"+Std.string(position-1)).transform.world);
|
|
||||||
rot_from2.set(rot_from.x*1, rot_from.y*1, rot_from.z*1, rot_from.w*1);
|
|
||||||
object.transform.rot.fromEuler(rot_from2.getEuler().x, rot_from2.getEuler().y, rot_from2.getEuler().z);
|
|
||||||
object.transform.buildMatrix();
|
|
||||||
|
|
||||||
rot_to.fromMat(iron.Scene.active.getChild("Target_pos"+Std.string(position)).transform.world);
|
|
||||||
rot_to2.set(rot_to.x*1, rot_to.y*1, rot_to.z*1, rot_to.w*1);
|
|
||||||
trace("rot_from "+Std.string(rot_from2));
|
|
||||||
trace("rot_to "+Std.string(rot_to2));
|
|
||||||
delta_a = (rot_to2.getEuler().x-rot_from2.getEuler().x);
|
|
||||||
delta_b = (rot_to2.getEuler().y-rot_from2.getEuler().y);
|
|
||||||
delta_c = (rot_to2.getEuler().z-rot_from2.getEuler().z);
|
|
||||||
|
|
||||||
go= true;
|
|
||||||
}
|
|
||||||
else go= false;
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
});
|
|
||||||
}}
|
|
@ -1,27 +0,0 @@
|
|||||||
package arm;
|
|
||||||
|
|
||||||
class Sound_amb extends iron.Trait {
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
|
|
||||||
// notifyOnInit(function() {
|
|
||||||
// });
|
|
||||||
|
|
||||||
notifyOnUpdate(function() {
|
|
||||||
|
|
||||||
var mouse = iron.system.Input.getMouse();
|
|
||||||
|
|
||||||
// Mouse clicked
|
|
||||||
if (mouse.started()) {
|
|
||||||
|
|
||||||
// Randomly play one of the three hit sounds
|
|
||||||
iron.data.Data.getSound('amb_bird_1.wav', function(sound:kha.Sound) {
|
|
||||||
iron.system.Audio.play(sound);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// notifyOnRemove(function() {
|
|
||||||
// });
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Camera_mode extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Camera_mode";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _SetCamera = new armory.logicnode.SetCameraNode(this);
|
|
||||||
var _Branch = new armory.logicnode.BranchNode(this);
|
|
||||||
var _OnKeyboard_004 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_004.property0 = "Started";
|
|
||||||
_OnKeyboard_004.property1 = "f";
|
|
||||||
_OnKeyboard_004.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_OnKeyboard_004, 0);
|
|
||||||
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.StringNode(this, "camera_fps"), 0);
|
|
||||||
_GetProperty.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_GetProperty, 0);
|
|
||||||
var _SetCamera_001 = new armory.logicnode.SetCameraNode(this);
|
|
||||||
_SetCamera_001.addInput(_Branch, 0);
|
|
||||||
_SetCamera_001.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
|
|
||||||
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty_001.addInput(_SetCamera_001, 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "camera_fps"), 0);
|
|
||||||
var _Boolean_001 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_Boolean_001.addOutputs([_SetProperty_001]);
|
|
||||||
_SetProperty_001.addInput(_Boolean_001, 0);
|
|
||||||
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_SetCamera_001.addOutputs([_SetProperty_001]);
|
|
||||||
_Branch.addOutputs([_SetCamera_001]);
|
|
||||||
_Branch.addOutputs([_SetCamera]);
|
|
||||||
_SetCamera.addInput(_Branch, 1);
|
|
||||||
_SetCamera.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
|
|
||||||
_SetCamera.addOutputs([_SetProperty]);
|
|
||||||
_SetProperty.addInput(_SetCamera, 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.StringNode(this, "camera_fps"), 0);
|
|
||||||
var _Boolean = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_Boolean.addOutputs([_SetProperty]);
|
|
||||||
_SetProperty.addInput(_Boolean, 0);
|
|
||||||
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,81 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Colision_terrain extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Colision_terrain";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _OnInit = new armory.logicnode.OnInitNode(this);
|
|
||||||
_OnInit.addOutputs([_SetProperty_001]);
|
|
||||||
_SetProperty_001.addInput(_OnInit, 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "terrain_inside"), 0);
|
|
||||||
var _Boolean_002 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_002.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_Boolean_002.addOutputs([_SetProperty_001]);
|
|
||||||
_SetProperty_001.addInput(_Boolean_002, 0);
|
|
||||||
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _Print = new armory.logicnode.PrintNode(this);
|
|
||||||
var _OnContact = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact.property0 = "Begin";
|
|
||||||
_OnContact.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact.addInput(new armory.logicnode.ObjectNode(this, "Rustine1"), 0);
|
|
||||||
_OnContact.addOutputs([_Print]);
|
|
||||||
_Print.addInput(_OnContact, 0);
|
|
||||||
var _Boolean = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_Boolean.addOutputs([_Print, _SetProperty]);
|
|
||||||
_Print.addInput(_Boolean, 0);
|
|
||||||
_Print.addOutputs([_SetProperty]);
|
|
||||||
_SetProperty.addInput(_Print, 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.StringNode(this, "terrain_inside"), 0);
|
|
||||||
_SetProperty.addInput(_Boolean, 0);
|
|
||||||
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _Print_001 = new armory.logicnode.PrintNode(this);
|
|
||||||
var _OnContact_001 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_001.property0 = "End";
|
|
||||||
_OnContact_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_001.addInput(new armory.logicnode.ObjectNode(this, "Rustine1"), 0);
|
|
||||||
_OnContact_001.addOutputs([_Print_001]);
|
|
||||||
_Print_001.addInput(_OnContact_001, 0);
|
|
||||||
var _Boolean_001 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_Boolean_001.addOutputs([_Print_001, _SetProperty_002]);
|
|
||||||
_Print_001.addInput(_Boolean_001, 0);
|
|
||||||
_Print_001.addOutputs([_SetProperty_002]);
|
|
||||||
_SetProperty_002.addInput(_Print_001, 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "terrain_inside"), 0);
|
|
||||||
_SetProperty_002.addInput(_Boolean_001, 0);
|
|
||||||
_SetProperty_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _ApplyForce = new armory.logicnode.ApplyForceNode(this);
|
|
||||||
var _OnContact_002 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_002.property0 = "Begin";
|
|
||||||
_OnContact_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_002.addInput(new armory.logicnode.ObjectNode(this, "Rustine1"), 0);
|
|
||||||
_OnContact_002.addOutputs([_ApplyForce]);
|
|
||||||
_ApplyForce.addInput(_OnContact_002, 0);
|
|
||||||
_ApplyForce.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
var _Vector = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, -100.0), 0);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addOutputs([_ApplyForce]);
|
|
||||||
_ApplyForce.addInput(_Vector, 0);
|
|
||||||
_ApplyForce.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,95 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class General extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "General";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _Shutdown = new armory.logicnode.ShutdownNode(this);
|
|
||||||
var _OnKeyboard = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard.property0 = "Down";
|
|
||||||
_OnKeyboard.property1 = "escape";
|
|
||||||
_OnKeyboard.addOutputs([_Shutdown]);
|
|
||||||
_Shutdown.addInput(_OnKeyboard, 0);
|
|
||||||
_Shutdown.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _OnInit = new armory.logicnode.OnInitNode(this);
|
|
||||||
_OnInit.addOutputs([_SetProperty_001]);
|
|
||||||
_SetProperty_001.addInput(_OnInit, 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
|
|
||||||
var _Boolean = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_Boolean.addOutputs([_SetProperty_001]);
|
|
||||||
_SetProperty_001.addInput(_Boolean, 0);
|
|
||||||
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _OnKeyboard_002 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_002.property0 = "Released";
|
|
||||||
_OnKeyboard_002.property1 = "space";
|
|
||||||
_OnKeyboard_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetCamera = new armory.logicnode.SetCameraNode(this);
|
|
||||||
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _IsTrue = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _Merge = new armory.logicnode.MergeNode(this);
|
|
||||||
_Merge.addInput(new armory.logicnode.NullNode(this), 0);
|
|
||||||
var _OnKeyboard_003 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_003.property0 = "Released";
|
|
||||||
_OnKeyboard_003.property1 = "down";
|
|
||||||
_OnKeyboard_003.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_003, 0);
|
|
||||||
var _OnKeyboard_004 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_004.property0 = "Released";
|
|
||||||
_OnKeyboard_004.property1 = "up";
|
|
||||||
_OnKeyboard_004.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_004, 0);
|
|
||||||
var _OnKeyboard_005 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_005.property0 = "Released";
|
|
||||||
_OnKeyboard_005.property1 = "left";
|
|
||||||
_OnKeyboard_005.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_005, 0);
|
|
||||||
var _OnKeyboard_006 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_006.property0 = "Released";
|
|
||||||
_OnKeyboard_006.property1 = "right";
|
|
||||||
_OnKeyboard_006.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_006, 0);
|
|
||||||
var _OnKeyboard_007 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_007.property0 = "Released";
|
|
||||||
_OnKeyboard_007.property1 = "f";
|
|
||||||
_OnKeyboard_007.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_007, 0);
|
|
||||||
var _OnKeyboard_008 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_008.property0 = "Released";
|
|
||||||
_OnKeyboard_008.property1 = "e";
|
|
||||||
_OnKeyboard_008.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_008, 0);
|
|
||||||
_Merge.addOutputs([_IsTrue]);
|
|
||||||
_IsTrue.addInput(_Merge, 0);
|
|
||||||
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
|
|
||||||
_GetProperty.addOutputs([_IsTrue]);
|
|
||||||
_IsTrue.addInput(_GetProperty, 0);
|
|
||||||
_IsTrue.addOutputs([_SetProperty_002]);
|
|
||||||
_SetProperty_002.addInput(_IsTrue, 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
|
|
||||||
var _Boolean_001 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_Boolean_001.addOutputs([_SetProperty_002]);
|
|
||||||
_SetProperty_002.addInput(_Boolean_001, 0);
|
|
||||||
_SetProperty_002.addOutputs([_SetCamera]);
|
|
||||||
_SetCamera.addInput(_SetProperty_002, 0);
|
|
||||||
_SetCamera.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
|
|
||||||
_SetCamera.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,303 +0,0 @@
|
|||||||
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)]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,70 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Intro_cam2 extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Intro_cam2";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _SetRotation = new armory.logicnode.SetRotationNode(this);
|
|
||||||
var _Branch = new armory.logicnode.BranchNode(this);
|
|
||||||
var _OnUpdate = new armory.logicnode.OnUpdateNode(this);
|
|
||||||
_OnUpdate.property0 = "Update";
|
|
||||||
_OnUpdate.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_OnUpdate, 0);
|
|
||||||
var _LookingAt = new armory.logicnode.LookingAtNode(this);
|
|
||||||
var _GetLocation = new armory.logicnode.GetLocationNode(this);
|
|
||||||
var _Object = new armory.logicnode.ObjectNode(this);
|
|
||||||
_Object.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
|
|
||||||
_Object.addOutputs([_GetLocation]);
|
|
||||||
_GetLocation.addInput(_Object, 0);
|
|
||||||
_GetLocation.addOutputs([_LookingAt]);
|
|
||||||
_LookingAt.addInput(_GetLocation, 0);
|
|
||||||
var _GetLocation_001 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
var _Object_001 = new armory.logicnode.ObjectNode(this);
|
|
||||||
_Object_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_Object_001.addOutputs([_GetLocation_001]);
|
|
||||||
_GetLocation_001.addInput(_Object_001, 0);
|
|
||||||
_GetLocation_001.addOutputs([_LookingAt]);
|
|
||||||
_LookingAt.addInput(_GetLocation_001, 0);
|
|
||||||
var _Vector = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_Vector.addOutputs([_LookingAt]);
|
|
||||||
_LookingAt.addInput(_Vector, 0);
|
|
||||||
var _Vector_001 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_001.addOutputs([_LookingAt]);
|
|
||||||
_LookingAt.addInput(_Vector_001, 0);
|
|
||||||
_LookingAt.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_LookingAt.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_LookingAt.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_LookingAt.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_LookingAt.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_LookingAt.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_LookingAt.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_LookingAt.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_LookingAt.addOutputs([_SetRotation]);
|
|
||||||
_LookingAt.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
|
|
||||||
_LookingAt.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_LookingAt, 2);
|
|
||||||
_Branch.addOutputs([_SetRotation]);
|
|
||||||
_Branch.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_SetRotation.addInput(_Branch, 0);
|
|
||||||
_SetRotation.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetRotation.addInput(_LookingAt, 0);
|
|
||||||
_SetRotation.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,441 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Moving extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Moving";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _RotateObject_002 = new armory.logicnode.RotateObjectNode(this);
|
|
||||||
var _Branch_002 = new armory.logicnode.BranchNode(this);
|
|
||||||
var _IsFalse = new armory.logicnode.IsFalseNode(this);
|
|
||||||
var _OnKeyboard_004 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_004.property0 = "Down";
|
|
||||||
_OnKeyboard_004.property1 = "left";
|
|
||||||
_OnKeyboard_004.addOutputs([_IsFalse]);
|
|
||||||
_IsFalse.addInput(_OnKeyboard_004, 0);
|
|
||||||
var _GetProperty_002 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_002.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
|
|
||||||
_GetProperty_002.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
|
|
||||||
var _IsFalse_001 = new armory.logicnode.IsFalseNode(this);
|
|
||||||
var _OnKeyboard_005 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_005.property0 = "Down";
|
|
||||||
_OnKeyboard_005.property1 = "right";
|
|
||||||
_OnKeyboard_005.addOutputs([_IsFalse_001]);
|
|
||||||
_IsFalse_001.addInput(_OnKeyboard_005, 0);
|
|
||||||
_IsFalse_001.addInput(_GetProperty_002, 0);
|
|
||||||
var _Branch_003 = new armory.logicnode.BranchNode(this);
|
|
||||||
_Branch_003.addInput(_IsFalse_001, 0);
|
|
||||||
var _GetProperty_005 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_005.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
|
|
||||||
_GetProperty_005.addInput(new armory.logicnode.StringNode(this, "camera_fps"), 0);
|
|
||||||
_GetProperty_005.addOutputs([_Branch_002, _Branch_003]);
|
|
||||||
_Branch_003.addInput(_GetProperty_005, 0);
|
|
||||||
var _Merge_003 = new armory.logicnode.MergeNode(this);
|
|
||||||
_Merge_003.addInput(_Branch_003, 0);
|
|
||||||
_Merge_003.addInput(_Branch_003, 1);
|
|
||||||
var _PlayAction_003 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
_PlayAction_003.addInput(_Merge_003, 0);
|
|
||||||
_PlayAction_003.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_003.addInput(new armory.logicnode.StringNode(this, "Frankie_Turn.R"), 0);
|
|
||||||
_PlayAction_003.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Merge_003.addOutputs([_PlayAction_003]);
|
|
||||||
var _RotateObject_003 = new armory.logicnode.RotateObjectNode(this);
|
|
||||||
_RotateObject_003.addInput(_Branch_003, 0);
|
|
||||||
_RotateObject_003.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
var _Vector_004 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _Math_001 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_001.property0 = "Multiply";
|
|
||||||
_Math_001.property1 = "false";
|
|
||||||
var _Float_003 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_003.addInput(new armory.logicnode.FloatNode(this, 0.019999999552965164), 0);
|
|
||||||
var _Vector_003 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_003.addInput(_Float_003, 0);
|
|
||||||
_Vector_003.addOutputs([_RotateObject_002]);
|
|
||||||
_Float_003.addOutputs([_Vector_003, _Math_001]);
|
|
||||||
_Math_001.addInput(_Float_003, 0);
|
|
||||||
_Math_001.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
|
|
||||||
_Math_001.addOutputs([_Vector_004]);
|
|
||||||
_Vector_004.addInput(_Math_001, 0);
|
|
||||||
_Vector_004.addOutputs([_RotateObject_003]);
|
|
||||||
_RotateObject_003.addInput(_Vector_004, 0);
|
|
||||||
_RotateObject_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Branch_003.addOutputs([_Merge_003, _RotateObject_003]);
|
|
||||||
var _RotateObject_001 = new armory.logicnode.RotateObjectNode(this);
|
|
||||||
_RotateObject_001.addInput(_Branch_003, 1);
|
|
||||||
_RotateObject_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
var _Vector_001 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _Math = new armory.logicnode.MathNode(this);
|
|
||||||
_Math.property0 = "Multiply";
|
|
||||||
_Math.property1 = "false";
|
|
||||||
var _Float_001 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_001.addInput(new armory.logicnode.FloatNode(this, 0.05000000074505806), 0);
|
|
||||||
var _Vector = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addInput(_Float_001, 0);
|
|
||||||
var _RotateObject = new armory.logicnode.RotateObjectNode(this);
|
|
||||||
_RotateObject.addInput(_Branch_002, 1);
|
|
||||||
_RotateObject.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_RotateObject.addInput(_Vector, 0);
|
|
||||||
_RotateObject.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Vector.addOutputs([_RotateObject]);
|
|
||||||
_Float_001.addOutputs([_Vector, _Math]);
|
|
||||||
_Math.addInput(_Float_001, 0);
|
|
||||||
_Math.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
|
|
||||||
_Math.addOutputs([_Vector_001]);
|
|
||||||
_Vector_001.addInput(_Math, 0);
|
|
||||||
_Vector_001.addOutputs([_RotateObject_001]);
|
|
||||||
_RotateObject_001.addInput(_Vector_001, 0);
|
|
||||||
_RotateObject_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Branch_003.addOutputs([_Merge_003, _RotateObject_001]);
|
|
||||||
_IsFalse_001.addOutputs([_Branch_003]);
|
|
||||||
_GetProperty_002.addOutputs([_IsFalse, _IsFalse_001]);
|
|
||||||
_IsFalse.addInput(_GetProperty_002, 0);
|
|
||||||
_IsFalse.addOutputs([_Branch_002]);
|
|
||||||
_Branch_002.addInput(_IsFalse, 0);
|
|
||||||
_Branch_002.addInput(_GetProperty_005, 0);
|
|
||||||
var _Merge_002 = new armory.logicnode.MergeNode(this);
|
|
||||||
_Merge_002.addInput(_Branch_002, 0);
|
|
||||||
_Merge_002.addInput(_Branch_002, 1);
|
|
||||||
var _PlayAction_004 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
_PlayAction_004.addInput(_Merge_002, 0);
|
|
||||||
_PlayAction_004.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_004.addInput(new armory.logicnode.StringNode(this, "Frankie_Turn.L"), 0);
|
|
||||||
_PlayAction_004.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_004.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_004.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Merge_002.addOutputs([_PlayAction_004]);
|
|
||||||
_Branch_002.addOutputs([_Merge_002, _RotateObject_002]);
|
|
||||||
_Branch_002.addOutputs([_RotateObject, _Merge_002]);
|
|
||||||
_RotateObject_002.addInput(_Branch_002, 0);
|
|
||||||
_RotateObject_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_RotateObject_002.addInput(_Vector_003, 0);
|
|
||||||
_RotateObject_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _PlayAction_002 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _Branch_001 = new armory.logicnode.BranchNode(this);
|
|
||||||
var _ArrayLoop_001 = new armory.logicnode.ArrayLoopNode(this);
|
|
||||||
var _SetProperty_004 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _Merge = new armory.logicnode.MergeNode(this);
|
|
||||||
var _OnKeyboard_003 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_003.property0 = "Released";
|
|
||||||
_OnKeyboard_003.property1 = "up";
|
|
||||||
_OnKeyboard_003.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_003, 0);
|
|
||||||
var _OnKeyboard_008 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_008.property0 = "Released";
|
|
||||||
_OnKeyboard_008.property1 = "down";
|
|
||||||
_OnKeyboard_008.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_008, 0);
|
|
||||||
var _OnKeyboard_006 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_006.property0 = "Released";
|
|
||||||
_OnKeyboard_006.property1 = "right";
|
|
||||||
_OnKeyboard_006.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_006, 0);
|
|
||||||
var _OnKeyboard_007 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_007.property0 = "Released";
|
|
||||||
_OnKeyboard_007.property1 = "left";
|
|
||||||
_OnKeyboard_007.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_007, 0);
|
|
||||||
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty_002.addInput(_Merge, 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
|
|
||||||
var _Boolean_002 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_002.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_Boolean_002.addOutputs([_SetProperty_002, _SetProperty_004]);
|
|
||||||
_SetProperty_002.addInput(_Boolean_002, 0);
|
|
||||||
_SetProperty_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Merge.addOutputs([_SetProperty_002, _SetProperty_004]);
|
|
||||||
_SetProperty_004.addInput(_Merge, 0);
|
|
||||||
_SetProperty_004.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_SetProperty_004.addInput(new armory.logicnode.StringNode(this, "contact"), 0);
|
|
||||||
_SetProperty_004.addInput(_Boolean_002, 0);
|
|
||||||
_SetProperty_004.addOutputs([_ArrayLoop_001]);
|
|
||||||
_ArrayLoop_001.addInput(_SetProperty_004, 0);
|
|
||||||
var _Array_Object__001 = new armory.logicnode.ArrayObjectNode(this);
|
|
||||||
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
|
|
||||||
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "bridge_01"), 0);
|
|
||||||
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "bridge_02"), 0);
|
|
||||||
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "frankies_home"), 0);
|
|
||||||
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "Platforme"), 0);
|
|
||||||
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "Rustine23"), 0);
|
|
||||||
_Array_Object__001.addOutputs([_ArrayLoop_001]);
|
|
||||||
_Array_Object__001.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
|
|
||||||
_ArrayLoop_001.addInput(_Array_Object__001, 0);
|
|
||||||
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
_IsTrue_001.addInput(_ArrayLoop_001, 0);
|
|
||||||
var _HasContact_001 = new armory.logicnode.HasContactNode(this);
|
|
||||||
_HasContact_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_HasContact_001.addInput(_ArrayLoop_001, 1);
|
|
||||||
_HasContact_001.addOutputs([_IsTrue_001]);
|
|
||||||
_IsTrue_001.addInput(_HasContact_001, 0);
|
|
||||||
var _SetProperty_003 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty_003.addInput(_IsTrue_001, 0);
|
|
||||||
_SetProperty_003.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_SetProperty_003.addInput(new armory.logicnode.StringNode(this, "contact"), 0);
|
|
||||||
var _Boolean_003 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_003.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_Boolean_003.addOutputs([_SetProperty_003]);
|
|
||||||
_SetProperty_003.addInput(_Boolean_003, 0);
|
|
||||||
var _LoopBreak_001 = new armory.logicnode.LoopBreakNode(this);
|
|
||||||
_LoopBreak_001.addInput(_SetProperty_003, 0);
|
|
||||||
_SetProperty_003.addOutputs([_LoopBreak_001]);
|
|
||||||
_IsTrue_001.addOutputs([_SetProperty_003]);
|
|
||||||
_ArrayLoop_001.addOutputs([_IsTrue_001]);
|
|
||||||
_ArrayLoop_001.addOutputs([_HasContact_001]);
|
|
||||||
_ArrayLoop_001.addOutputs([_Branch_001]);
|
|
||||||
_Branch_001.addInput(_ArrayLoop_001, 2);
|
|
||||||
var _GetProperty_001 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_GetProperty_001.addInput(new armory.logicnode.StringNode(this, "contact"), 0);
|
|
||||||
_GetProperty_001.addOutputs([_Branch_001]);
|
|
||||||
_Branch_001.addInput(_GetProperty_001, 0);
|
|
||||||
_Branch_001.addOutputs([_PlayAction_002]);
|
|
||||||
var _PlayAction_008 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
_PlayAction_008.addInput(_Branch_001, 1);
|
|
||||||
_PlayAction_008.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_008.addInput(new armory.logicnode.StringNode(this, "Frankie_Falling"), 0);
|
|
||||||
_PlayAction_008.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_008.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_008.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Branch_001.addOutputs([_PlayAction_008]);
|
|
||||||
_PlayAction_002.addInput(_Branch_001, 0);
|
|
||||||
_PlayAction_002.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_002.addInput(new armory.logicnode.StringNode(this, "Frankie_Idle1"), 0);
|
|
||||||
_PlayAction_002.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _PlayAction_006 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _Merge_001 = new armory.logicnode.MergeNode(this);
|
|
||||||
var _OnContact_004 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_004.property0 = "Begin";
|
|
||||||
_OnContact_004.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_004.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
|
|
||||||
_OnContact_004.addOutputs([_Merge_001]);
|
|
||||||
_Merge_001.addInput(_OnContact_004, 0);
|
|
||||||
var _OnContact_006 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_006.property0 = "Begin";
|
|
||||||
_OnContact_006.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_006.addInput(new armory.logicnode.ObjectNode(this, "bridge_01"), 0);
|
|
||||||
_OnContact_006.addOutputs([_Merge_001]);
|
|
||||||
_Merge_001.addInput(_OnContact_006, 0);
|
|
||||||
var _OnContact_005 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_005.property0 = "Begin";
|
|
||||||
_OnContact_005.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_005.addInput(new armory.logicnode.ObjectNode(this, "bridge_02"), 0);
|
|
||||||
_OnContact_005.addOutputs([_Merge_001]);
|
|
||||||
_Merge_001.addInput(_OnContact_005, 0);
|
|
||||||
var _OnContact_007 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_007.property0 = "Begin";
|
|
||||||
_OnContact_007.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_007.addInput(new armory.logicnode.ObjectNode(this, "Platforme"), 0);
|
|
||||||
_OnContact_007.addOutputs([_Merge_001]);
|
|
||||||
_Merge_001.addInput(_OnContact_007, 0);
|
|
||||||
_Merge_001.addOutputs([_PlayAction_006]);
|
|
||||||
_PlayAction_006.addInput(_Merge_001, 0);
|
|
||||||
_PlayAction_006.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_006.addInput(new armory.logicnode.StringNode(this, "Frankie_Idle1"), 0);
|
|
||||||
_PlayAction_006.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_006.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_006.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _TranslateOnLocalAxis = new armory.logicnode.TranslateOnLocalAxisNode(this);
|
|
||||||
var _OnEvent = new armory.logicnode.OnEventNode(this);
|
|
||||||
_OnEvent.property0 = "avancer";
|
|
||||||
var _PlayAction = new armory.logicnode.PlayActionNode(this);
|
|
||||||
_PlayAction.addInput(_OnEvent, 0);
|
|
||||||
_PlayAction.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction.addInput(new armory.logicnode.StringNode(this, "Frankie_Walk"), 0);
|
|
||||||
_PlayAction.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
var _Sleep = new armory.logicnode.SleepNode(this);
|
|
||||||
_Sleep.addInput(_PlayAction, 0);
|
|
||||||
_Sleep.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty.addInput(_Sleep, 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
|
|
||||||
var _Boolean = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_Boolean.addOutputs([_SetProperty]);
|
|
||||||
_SetProperty.addInput(_Boolean, 0);
|
|
||||||
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Sleep.addOutputs([_SetProperty]);
|
|
||||||
_PlayAction.addOutputs([_Sleep]);
|
|
||||||
_PlayAction.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_OnEvent.addOutputs([_TranslateOnLocalAxis, _PlayAction]);
|
|
||||||
_TranslateOnLocalAxis.addInput(_OnEvent, 0);
|
|
||||||
_TranslateOnLocalAxis.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
var _Float = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
var _TranslateOnLocalAxis_001 = new armory.logicnode.TranslateOnLocalAxisNode(this);
|
|
||||||
var _IsFalse_003 = new armory.logicnode.IsFalseNode(this);
|
|
||||||
var _OnKeyboard_001 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_001.property0 = "Down";
|
|
||||||
_OnKeyboard_001.property1 = "down";
|
|
||||||
_OnKeyboard_001.addOutputs([_IsFalse_003]);
|
|
||||||
_IsFalse_003.addInput(_OnKeyboard_001, 0);
|
|
||||||
var _GetProperty_003 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_003.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
|
|
||||||
_GetProperty_003.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
|
|
||||||
var _IsFalse_002 = new armory.logicnode.IsFalseNode(this);
|
|
||||||
var _OnKeyboard_009 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_009.property0 = "Down";
|
|
||||||
_OnKeyboard_009.property1 = "up";
|
|
||||||
_OnKeyboard_009.addOutputs([_IsFalse_002]);
|
|
||||||
_IsFalse_002.addInput(_OnKeyboard_009, 0);
|
|
||||||
_IsFalse_002.addInput(_GetProperty_003, 0);
|
|
||||||
var _IsFalse_005 = new armory.logicnode.IsFalseNode(this);
|
|
||||||
_IsFalse_005.addInput(_IsFalse_002, 0);
|
|
||||||
var _HasContact_002 = new armory.logicnode.HasContactNode(this);
|
|
||||||
_HasContact_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_HasContact_002.addInput(new armory.logicnode.ObjectNode(this, "Rustine0"), 0);
|
|
||||||
_HasContact_002.addOutputs([_IsFalse_005]);
|
|
||||||
_IsFalse_005.addInput(_HasContact_002, 0);
|
|
||||||
var _Branch = new armory.logicnode.BranchNode(this);
|
|
||||||
_Branch.addInput(_IsFalse_005, 0);
|
|
||||||
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
|
|
||||||
_GetProperty.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_GetProperty, 0);
|
|
||||||
var _SendEvent_001 = new armory.logicnode.SendEventNode(this);
|
|
||||||
_SendEvent_001.addInput(_Branch, 0);
|
|
||||||
_SendEvent_001.addInput(new armory.logicnode.StringNode(this, "courrir"), 0);
|
|
||||||
_SendEvent_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_SendEvent_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Branch.addOutputs([_SendEvent_001]);
|
|
||||||
var _SendEvent = new armory.logicnode.SendEventNode(this);
|
|
||||||
_SendEvent.addInput(_Branch, 1);
|
|
||||||
_SendEvent.addInput(new armory.logicnode.StringNode(this, "avancer"), 0);
|
|
||||||
_SendEvent.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_SendEvent.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Branch.addOutputs([_SendEvent]);
|
|
||||||
_IsFalse_005.addOutputs([_Branch]);
|
|
||||||
_IsFalse_002.addOutputs([_IsFalse_005]);
|
|
||||||
_GetProperty_003.addOutputs([_IsFalse_002, _IsFalse_003]);
|
|
||||||
_IsFalse_003.addInput(_GetProperty_003, 0);
|
|
||||||
var _PlayAction_001 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
_PlayAction_001.addInput(_IsFalse_003, 0);
|
|
||||||
_PlayAction_001.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_001.addInput(new armory.logicnode.StringNode(this, "Frankie_WalkBack"), 0);
|
|
||||||
_PlayAction_001.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_IsFalse_003.addOutputs([_TranslateOnLocalAxis_001, _PlayAction_001]);
|
|
||||||
_TranslateOnLocalAxis_001.addInput(_IsFalse_003, 0);
|
|
||||||
_TranslateOnLocalAxis_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_TranslateOnLocalAxis_001.addInput(_Float, 0);
|
|
||||||
_TranslateOnLocalAxis_001.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_TranslateOnLocalAxis_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_TranslateOnLocalAxis_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Float.addOutputs([_TranslateOnLocalAxis_001, _TranslateOnLocalAxis]);
|
|
||||||
_TranslateOnLocalAxis.addInput(_Float, 0);
|
|
||||||
_TranslateOnLocalAxis.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_TranslateOnLocalAxis.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_TranslateOnLocalAxis.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _PlayAction_005 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _OnEvent_001 = new armory.logicnode.OnEventNode(this);
|
|
||||||
_OnEvent_001.property0 = "courrir";
|
|
||||||
var _TranslateOnLocalAxis_002 = new armory.logicnode.TranslateOnLocalAxisNode(this);
|
|
||||||
_TranslateOnLocalAxis_002.addInput(_OnEvent_001, 0);
|
|
||||||
_TranslateOnLocalAxis_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_TranslateOnLocalAxis_002.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
|
|
||||||
_TranslateOnLocalAxis_002.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_TranslateOnLocalAxis_002.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_TranslateOnLocalAxis_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_OnEvent_001.addOutputs([_TranslateOnLocalAxis_002, _PlayAction_005]);
|
|
||||||
_PlayAction_005.addInput(_OnEvent_001, 0);
|
|
||||||
_PlayAction_005.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_005.addInput(new armory.logicnode.StringNode(this, "Frankie_Run"), 0);
|
|
||||||
_PlayAction_005.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_005.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_005.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _GetProperty_006 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_006.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_GetProperty_006.addInput(new armory.logicnode.StringNode(this, "terrain_inside"), 0);
|
|
||||||
_GetProperty_006.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _PlayAction_011 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _PlayAction_010 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _ApplyForce = new armory.logicnode.ApplyForceNode(this);
|
|
||||||
var _PlaySpeaker = new armory.logicnode.PlaySoundNode(this);
|
|
||||||
var _IsTrue = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _ArrayLoop = new armory.logicnode.ArrayLoopNode(this);
|
|
||||||
var _IsFalse_004 = new armory.logicnode.IsFalseNode(this);
|
|
||||||
var _OnKeyboard = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard.property0 = "Started";
|
|
||||||
_OnKeyboard.property1 = "space";
|
|
||||||
_OnKeyboard.addOutputs([_IsFalse_004]);
|
|
||||||
_IsFalse_004.addInput(_OnKeyboard, 0);
|
|
||||||
_IsFalse_004.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_IsFalse_004.addOutputs([_ArrayLoop]);
|
|
||||||
_ArrayLoop.addInput(_IsFalse_004, 0);
|
|
||||||
var _Array_Object_ = new armory.logicnode.ArrayObjectNode(this);
|
|
||||||
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
|
|
||||||
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "bridge_01"), 0);
|
|
||||||
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "bridge_02"), 0);
|
|
||||||
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Platforme"), 0);
|
|
||||||
_Array_Object_.addOutputs([_ArrayLoop]);
|
|
||||||
_Array_Object_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
|
|
||||||
_ArrayLoop.addInput(_Array_Object_, 0);
|
|
||||||
_ArrayLoop.addOutputs([_IsTrue]);
|
|
||||||
var _HasContact = new armory.logicnode.HasContactNode(this);
|
|
||||||
_HasContact.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_HasContact.addInput(_ArrayLoop, 1);
|
|
||||||
_HasContact.addOutputs([_IsTrue]);
|
|
||||||
_ArrayLoop.addOutputs([_HasContact]);
|
|
||||||
_ArrayLoop.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_IsTrue.addInput(_ArrayLoop, 0);
|
|
||||||
_IsTrue.addInput(_HasContact, 0);
|
|
||||||
var _LoopBreak = new armory.logicnode.LoopBreakNode(this);
|
|
||||||
_LoopBreak.addInput(_IsTrue, 0);
|
|
||||||
_IsTrue.addOutputs([_LoopBreak, _PlaySpeaker]);
|
|
||||||
_PlaySpeaker.addInput(_IsTrue, 0);
|
|
||||||
_PlaySpeaker.addInput(new armory.logicnode.ObjectNode(this, "sfx_jump"), 0);
|
|
||||||
_PlaySpeaker.addOutputs([_ApplyForce]);
|
|
||||||
_ApplyForce.addInput(_PlaySpeaker, 0);
|
|
||||||
_ApplyForce.addInput(new armory.logicnode.ObjectNode(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);
|
|
||||||
var _Float_002 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_002.addInput(new armory.logicnode.FloatNode(this, 500.0), 0);
|
|
||||||
_Float_002.addOutputs([_Vector_002]);
|
|
||||||
_Vector_002.addInput(_Float_002, 0);
|
|
||||||
_Vector_002.addOutputs([_ApplyForce]);
|
|
||||||
_ApplyForce.addInput(_Vector_002, 0);
|
|
||||||
_ApplyForce.addOutputs([_PlayAction_010]);
|
|
||||||
_PlayAction_010.addInput(_ApplyForce, 0);
|
|
||||||
_PlayAction_010.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_010.addInput(new armory.logicnode.StringNode(this, "Frankie_Jump"), 0);
|
|
||||||
_PlayAction_010.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_010.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_010.addOutputs([_PlayAction_011]);
|
|
||||||
_PlayAction_011.addInput(_PlayAction_010, 1);
|
|
||||||
_PlayAction_011.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
|
|
||||||
_PlayAction_011.addInput(new armory.logicnode.StringNode(this, "Frankie_Falling"), 0);
|
|
||||||
_PlayAction_011.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_011.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_011.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _GetProperty_004 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_004.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_GetProperty_004.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
|
|
||||||
_GetProperty_004.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,385 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Platform_mvt extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Platform_mvt";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _FunctionOutput_004 = new armory.logicnode.FunctionOutputNode(this);
|
|
||||||
this.functionOutputNodes.set("_FunctionOutput_004", _FunctionOutput_004);
|
|
||||||
var _Merge_005 = new armory.logicnode.MergeNode(this);
|
|
||||||
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _SetVariable_017 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _Gate_003 = new armory.logicnode.GateNode(this);
|
|
||||||
_Gate_003.property0 = "Equal";
|
|
||||||
_Gate_003.property1 = 9.999999747378752e-05;
|
|
||||||
var _Function_002 = new armory.logicnode.FunctionNode(this);
|
|
||||||
this.functionNodes.set("_Function_002", _Function_002);
|
|
||||||
_Function_002.addOutputs([_Gate_003]);
|
|
||||||
_Gate_003.addInput(_Function_002, 0);
|
|
||||||
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.StringNode(this, "step"), 0);
|
|
||||||
var _Math_009 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_009.property0 = "Add";
|
|
||||||
_Math_009.property1 = "false";
|
|
||||||
_Math_009.addInput(_GetProperty, 0);
|
|
||||||
_Math_009.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
var _ConcatenateString = new armory.logicnode.ConcatenateStringNode(this);
|
|
||||||
var _String = new armory.logicnode.StringNode(this);
|
|
||||||
_String.addInput(new armory.logicnode.StringNode(this, "plateforme_step"), 0);
|
|
||||||
_String.addOutputs([_ConcatenateString]);
|
|
||||||
_ConcatenateString.addInput(_String, 0);
|
|
||||||
_ConcatenateString.addInput(_Math_009, 0);
|
|
||||||
var _GetObject = new armory.logicnode.GetObjectNode(this);
|
|
||||||
_GetObject.addInput(_ConcatenateString, 0);
|
|
||||||
var _GetLocation_002 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_002.addInput(_GetObject, 0);
|
|
||||||
_GetLocation_002.addOutputs([_SetVariable_017]);
|
|
||||||
_GetObject.addOutputs([_GetLocation_002]);
|
|
||||||
_ConcatenateString.addOutputs([_GetObject]);
|
|
||||||
_Math_009.addOutputs([_ConcatenateString, _SetProperty_002]);
|
|
||||||
_GetProperty.addOutputs([_Gate_003, _Math_009]);
|
|
||||||
_Gate_003.addInput(_GetProperty, 0);
|
|
||||||
var _Integer_008 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_008.addInput(new armory.logicnode.IntegerNode(this, 4), 0);
|
|
||||||
_Integer_008.addOutputs([_Gate_003]);
|
|
||||||
_Gate_003.addInput(_Integer_008, 0);
|
|
||||||
var _SetVariable_019 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
_SetVariable_019.addInput(_Gate_003, 0);
|
|
||||||
var _Vector_012 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_012.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_012.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_012.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_012.addOutputs([_FunctionOutput_004, _SetVariable_017, _SetVariable_019]);
|
|
||||||
_SetVariable_019.addInput(_Vector_012, 0);
|
|
||||||
var _GetLocation_005 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_005.addInput(new armory.logicnode.ObjectNode(this, "plateforme_step1"), 0);
|
|
||||||
_GetLocation_005.addOutputs([_SetVariable_019]);
|
|
||||||
_SetVariable_019.addInput(_GetLocation_005, 0);
|
|
||||||
var _SetProperty_005 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty_005.addInput(_SetVariable_019, 0);
|
|
||||||
_SetProperty_005.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_005.addInput(new armory.logicnode.StringNode(this, "step"), 0);
|
|
||||||
var _Integer_009 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_009.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_Integer_009.addOutputs([_SetProperty_005]);
|
|
||||||
_SetProperty_005.addInput(_Integer_009, 0);
|
|
||||||
_SetProperty_005.addOutputs([_Merge_005]);
|
|
||||||
_SetVariable_019.addOutputs([_SetProperty_005]);
|
|
||||||
_Gate_003.addOutputs([_SetVariable_019]);
|
|
||||||
_Gate_003.addOutputs([_SetVariable_017]);
|
|
||||||
_SetVariable_017.addInput(_Gate_003, 1);
|
|
||||||
_SetVariable_017.addInput(_Vector_012, 0);
|
|
||||||
_SetVariable_017.addInput(_GetLocation_002, 0);
|
|
||||||
_SetVariable_017.addOutputs([_SetProperty_002]);
|
|
||||||
_SetProperty_002.addInput(_SetVariable_017, 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "step"), 0);
|
|
||||||
_SetProperty_002.addInput(_Math_009, 0);
|
|
||||||
_SetProperty_002.addOutputs([_Merge_005]);
|
|
||||||
_Merge_005.addInput(_SetProperty_002, 0);
|
|
||||||
_Merge_005.addInput(_SetProperty_005, 0);
|
|
||||||
_Merge_005.addOutputs([_FunctionOutput_004]);
|
|
||||||
_FunctionOutput_004.addInput(_Merge_005, 0);
|
|
||||||
_FunctionOutput_004.addInput(_Vector_012, 0);
|
|
||||||
var _SetVariable_015 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _CallFunction_012 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _IsTrue_006 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _Merge = new armory.logicnode.MergeNode(this);
|
|
||||||
var _TranslateObject_002 = new armory.logicnode.TranslateObjectNode(this);
|
|
||||||
var _Branch = new armory.logicnode.BranchNode(this);
|
|
||||||
var _TranslateObject_001 = new armory.logicnode.TranslateObjectNode(this);
|
|
||||||
var _SetVariable_011 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _SetVariable_009 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _CallFunction_004 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _SetVariable_002 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _CallFunction_003 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _SetVariable_001 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _CallFunction_002 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnTimer_001 = new armory.logicnode.OnTimerNode(this);
|
|
||||||
_OnTimer_001.addInput(new armory.logicnode.FloatNode(this, 0.0010000000474974513), 0);
|
|
||||||
_OnTimer_001.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_OnTimer_001.addOutputs([_CallFunction_002]);
|
|
||||||
_CallFunction_002.addInput(_OnTimer_001, 0);
|
|
||||||
var _SelfTrait_001 = new armory.logicnode.SelfTraitNode(this);
|
|
||||||
_SelfTrait_001.addOutputs([_CallFunction_002, _CallFunction_003, _CallFunction_004]);
|
|
||||||
_CallFunction_002.addInput(_SelfTrait_001, 0);
|
|
||||||
_CallFunction_002.addInput(new armory.logicnode.StringNode(this, "pas"), 0);
|
|
||||||
var _SeparateXYZ_005 = new armory.logicnode.SeparateVectorNode(this);
|
|
||||||
var _Vector_011 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_011.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_011.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_011.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _SetVariable_016 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _OnInit_003 = new armory.logicnode.OnInitNode(this);
|
|
||||||
_OnInit_003.addOutputs([_SetVariable_016]);
|
|
||||||
_SetVariable_016.addInput(_OnInit_003, 0);
|
|
||||||
_SetVariable_016.addInput(_Vector_011, 0);
|
|
||||||
var _GetLocation_013 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_013.addInput(new armory.logicnode.ObjectNode(this, "plateforme_step1"), 0);
|
|
||||||
_GetLocation_013.addOutputs([_SetVariable_016]);
|
|
||||||
_SetVariable_016.addInput(_GetLocation_013, 0);
|
|
||||||
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty_001.addInput(_SetVariable_016, 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "step"), 0);
|
|
||||||
var _Integer_005 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_005.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_Integer_005.addOutputs([_SetProperty_001]);
|
|
||||||
_SetProperty_001.addInput(_Integer_005, 0);
|
|
||||||
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_SetVariable_016.addOutputs([_SetProperty_001]);
|
|
||||||
_Vector_011.addOutputs([_SeparateXYZ_005, _SetVariable_016, _SetVariable_015]);
|
|
||||||
_SeparateXYZ_005.addInput(_Vector_011, 0);
|
|
||||||
_SeparateXYZ_005.addOutputs([_CallFunction_002]);
|
|
||||||
_SeparateXYZ_005.addOutputs([_CallFunction_003]);
|
|
||||||
_SeparateXYZ_005.addOutputs([_CallFunction_004]);
|
|
||||||
_CallFunction_002.addInput(_SeparateXYZ_005, 0);
|
|
||||||
var _SeparateXYZ_006 = new armory.logicnode.SeparateVectorNode(this);
|
|
||||||
var _GetLocation_007 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_007.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_GetLocation_007.addOutputs([_SeparateXYZ_006]);
|
|
||||||
_SeparateXYZ_006.addInput(_GetLocation_007, 0);
|
|
||||||
_SeparateXYZ_006.addOutputs([_CallFunction_002]);
|
|
||||||
_SeparateXYZ_006.addOutputs([_CallFunction_003]);
|
|
||||||
_SeparateXYZ_006.addOutputs([_CallFunction_004]);
|
|
||||||
_CallFunction_002.addInput(_SeparateXYZ_006, 0);
|
|
||||||
_CallFunction_002.addOutputs([_SetVariable_001]);
|
|
||||||
_CallFunction_002.addOutputs([_SetVariable_001]);
|
|
||||||
_SetVariable_001.addInput(_CallFunction_002, 0);
|
|
||||||
var _Float_002 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _Vector_002 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_002.addInput(_Float_002, 0);
|
|
||||||
var _Float_003 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Float_003.addOutputs([_SetVariable_002, _Vector_002]);
|
|
||||||
_Vector_002.addInput(_Float_003, 0);
|
|
||||||
var _Float_004 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Float_004.addOutputs([_SetVariable_009, _Vector_002]);
|
|
||||||
_Vector_002.addInput(_Float_004, 0);
|
|
||||||
_Vector_002.addOutputs([_SetVariable_011]);
|
|
||||||
_Float_002.addOutputs([_SetVariable_001, _Vector_002]);
|
|
||||||
_SetVariable_001.addInput(_Float_002, 0);
|
|
||||||
_SetVariable_001.addInput(_CallFunction_002, 1);
|
|
||||||
_SetVariable_001.addOutputs([_CallFunction_003]);
|
|
||||||
_CallFunction_003.addInput(_SetVariable_001, 0);
|
|
||||||
_CallFunction_003.addInput(_SelfTrait_001, 0);
|
|
||||||
_CallFunction_003.addInput(new armory.logicnode.StringNode(this, "pas"), 0);
|
|
||||||
_CallFunction_003.addInput(_SeparateXYZ_005, 1);
|
|
||||||
_CallFunction_003.addInput(_SeparateXYZ_006, 1);
|
|
||||||
_CallFunction_003.addOutputs([_SetVariable_002]);
|
|
||||||
_CallFunction_003.addOutputs([_SetVariable_002]);
|
|
||||||
_SetVariable_002.addInput(_CallFunction_003, 0);
|
|
||||||
_SetVariable_002.addInput(_Float_003, 0);
|
|
||||||
_SetVariable_002.addInput(_CallFunction_003, 1);
|
|
||||||
_SetVariable_002.addOutputs([_CallFunction_004]);
|
|
||||||
_CallFunction_004.addInput(_SetVariable_002, 0);
|
|
||||||
_CallFunction_004.addInput(_SelfTrait_001, 0);
|
|
||||||
_CallFunction_004.addInput(new armory.logicnode.StringNode(this, "pas"), 0);
|
|
||||||
_CallFunction_004.addInput(_SeparateXYZ_005, 2);
|
|
||||||
_CallFunction_004.addInput(_SeparateXYZ_006, 2);
|
|
||||||
_CallFunction_004.addOutputs([_SetVariable_009]);
|
|
||||||
_CallFunction_004.addOutputs([_SetVariable_009]);
|
|
||||||
_SetVariable_009.addInput(_CallFunction_004, 0);
|
|
||||||
_SetVariable_009.addInput(_Float_004, 0);
|
|
||||||
_SetVariable_009.addInput(_CallFunction_004, 1);
|
|
||||||
_SetVariable_009.addOutputs([_SetVariable_011]);
|
|
||||||
_SetVariable_011.addInput(_SetVariable_009, 0);
|
|
||||||
var _Vector_010 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_010.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_Vector_010.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_Vector_010.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
var _SeparateXYZ_007 = new armory.logicnode.SeparateVectorNode(this);
|
|
||||||
_SeparateXYZ_007.addInput(_Vector_010, 0);
|
|
||||||
var _Compare_001 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_001.property0 = "Equal";
|
|
||||||
_Compare_001.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_001.addInput(_SeparateXYZ_007, 0);
|
|
||||||
var _Float_005 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_005.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _Compare_002 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_002.property0 = "Equal";
|
|
||||||
_Compare_002.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_002.addInput(_SeparateXYZ_007, 1);
|
|
||||||
_Compare_002.addInput(_Float_005, 0);
|
|
||||||
var _Compare_004 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_004.property0 = "And";
|
|
||||||
_Compare_004.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_004.addInput(_Compare_001, 0);
|
|
||||||
_Compare_004.addInput(_Compare_002, 0);
|
|
||||||
var _Compare_003 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_003.property0 = "Equal";
|
|
||||||
_Compare_003.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_003.addInput(_SeparateXYZ_007, 2);
|
|
||||||
_Compare_003.addInput(_Float_005, 0);
|
|
||||||
_Compare_003.addOutputs([_Compare_004]);
|
|
||||||
_Compare_004.addInput(_Compare_003, 0);
|
|
||||||
_Compare_004.addOutputs([_IsTrue_006]);
|
|
||||||
_Compare_002.addOutputs([_Compare_004]);
|
|
||||||
_Float_005.addOutputs([_Compare_001, _Compare_002, _Compare_003]);
|
|
||||||
_Compare_001.addInput(_Float_005, 0);
|
|
||||||
_Compare_001.addOutputs([_Compare_004]);
|
|
||||||
_SeparateXYZ_007.addOutputs([_Compare_001]);
|
|
||||||
_SeparateXYZ_007.addOutputs([_Compare_002]);
|
|
||||||
_SeparateXYZ_007.addOutputs([_Compare_003]);
|
|
||||||
_Vector_010.addOutputs([_SetVariable_011, _TranslateObject_001, _SeparateXYZ_007, _TranslateObject_002]);
|
|
||||||
_SetVariable_011.addInput(_Vector_010, 0);
|
|
||||||
_SetVariable_011.addInput(_Vector_002, 0);
|
|
||||||
_SetVariable_011.addOutputs([_TranslateObject_001]);
|
|
||||||
_TranslateObject_001.addInput(_SetVariable_011, 0);
|
|
||||||
_TranslateObject_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_TranslateObject_001.addInput(_Vector_010, 0);
|
|
||||||
_TranslateObject_001.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_TranslateObject_001, 0);
|
|
||||||
var _HasContact = new armory.logicnode.HasContactNode(this);
|
|
||||||
_HasContact.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_HasContact.addInput(new armory.logicnode.ObjectNode(this, "Platforme"), 0);
|
|
||||||
_HasContact.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_HasContact, 0);
|
|
||||||
_Branch.addOutputs([_TranslateObject_002]);
|
|
||||||
_Branch.addOutputs([_Merge]);
|
|
||||||
_TranslateObject_002.addInput(_Branch, 0);
|
|
||||||
_TranslateObject_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_TranslateObject_002.addInput(_Vector_010, 0);
|
|
||||||
_TranslateObject_002.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_TranslateObject_002, 0);
|
|
||||||
_Merge.addInput(_Branch, 1);
|
|
||||||
_Merge.addOutputs([_IsTrue_006]);
|
|
||||||
_IsTrue_006.addInput(_Merge, 0);
|
|
||||||
_IsTrue_006.addInput(_Compare_004, 0);
|
|
||||||
_IsTrue_006.addOutputs([_CallFunction_012]);
|
|
||||||
_CallFunction_012.addInput(_IsTrue_006, 0);
|
|
||||||
var _SelfTrait_003 = new armory.logicnode.SelfTraitNode(this);
|
|
||||||
_SelfTrait_003.addOutputs([_CallFunction_012]);
|
|
||||||
_CallFunction_012.addInput(_SelfTrait_003, 0);
|
|
||||||
_CallFunction_012.addInput(new armory.logicnode.StringNode(this, "nextstep"), 0);
|
|
||||||
_CallFunction_012.addOutputs([_SetVariable_015]);
|
|
||||||
_CallFunction_012.addOutputs([_SetVariable_015]);
|
|
||||||
_SetVariable_015.addInput(_CallFunction_012, 0);
|
|
||||||
_SetVariable_015.addInput(_Vector_011, 0);
|
|
||||||
_SetVariable_015.addInput(_CallFunction_012, 1);
|
|
||||||
_SetVariable_015.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _FunctionOutput_003 = new armory.logicnode.FunctionOutputNode(this);
|
|
||||||
this.functionOutputNodes.set("_FunctionOutput_003", _FunctionOutput_003);
|
|
||||||
var _Merge_004 = new armory.logicnode.MergeNode(this);
|
|
||||||
var _SetVariable_010 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _Gate_013 = new armory.logicnode.GateNode(this);
|
|
||||||
_Gate_013.property0 = "Greater";
|
|
||||||
_Gate_013.property1 = 9.999999747378752e-05;
|
|
||||||
var _Function_003 = new armory.logicnode.FunctionNode(this);
|
|
||||||
this.functionNodes.set("_Function_003", _Function_003);
|
|
||||||
_Function_003.addOutputs([_Gate_013]);
|
|
||||||
var _Math_010 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_010.property0 = "Subtract";
|
|
||||||
_Math_010.property1 = "false";
|
|
||||||
_Math_010.addInput(_Function_003, 1);
|
|
||||||
_Math_010.addInput(_Function_003, 2);
|
|
||||||
var _Math_013 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_013.property0 = "Abs";
|
|
||||||
_Math_013.property1 = "false";
|
|
||||||
_Math_013.addInput(_Math_010, 0);
|
|
||||||
_Math_013.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
|
|
||||||
var _Gate_014 = new armory.logicnode.GateNode(this);
|
|
||||||
_Gate_014.property0 = "Greater";
|
|
||||||
_Gate_014.property1 = 9.999999747378752e-05;
|
|
||||||
_Gate_014.addInput(_Gate_013, 1);
|
|
||||||
_Gate_014.addInput(_Math_013, 0);
|
|
||||||
var _Float_007 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_007.addInput(new armory.logicnode.FloatNode(this, 0.019999999552965164), 0);
|
|
||||||
var _Math_015 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_015.property0 = "Multiply";
|
|
||||||
_Math_015.property1 = "false";
|
|
||||||
_Math_015.addInput(_Float_007, 0);
|
|
||||||
_Math_015.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
|
|
||||||
var _SetVariable_012 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
_SetVariable_012.addInput(_Gate_014, 0);
|
|
||||||
var _Float_006 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_006.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _SetVariable_013 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
_SetVariable_013.addInput(_Gate_014, 1);
|
|
||||||
_SetVariable_013.addInput(_Float_006, 0);
|
|
||||||
var _Float_008 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_008.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Float_008.addOutputs([_SetVariable_013]);
|
|
||||||
_SetVariable_013.addInput(_Float_008, 0);
|
|
||||||
_SetVariable_013.addOutputs([_Merge_004]);
|
|
||||||
_Float_006.addOutputs([_SetVariable_010, _SetVariable_012, _SetVariable_013, _FunctionOutput_003]);
|
|
||||||
_SetVariable_012.addInput(_Float_006, 0);
|
|
||||||
_SetVariable_012.addInput(_Math_015, 0);
|
|
||||||
_SetVariable_012.addOutputs([_Merge_004]);
|
|
||||||
_Math_015.addOutputs([_SetVariable_012]);
|
|
||||||
_Float_007.addOutputs([_Gate_013, _Gate_014, _SetVariable_010, _Math_015]);
|
|
||||||
_Gate_014.addInput(_Float_007, 0);
|
|
||||||
_Gate_014.addOutputs([_SetVariable_012]);
|
|
||||||
_Gate_014.addOutputs([_SetVariable_013]);
|
|
||||||
_Math_013.addOutputs([_Gate_014]);
|
|
||||||
_Math_010.addOutputs([_Gate_013, _Math_013]);
|
|
||||||
_Function_003.addOutputs([_Math_010]);
|
|
||||||
_Function_003.addOutputs([_Math_010]);
|
|
||||||
_Gate_013.addInput(_Function_003, 0);
|
|
||||||
_Gate_013.addInput(_Math_010, 0);
|
|
||||||
_Gate_013.addInput(_Float_007, 0);
|
|
||||||
_Gate_013.addOutputs([_SetVariable_010]);
|
|
||||||
_Gate_013.addOutputs([_Gate_014]);
|
|
||||||
_SetVariable_010.addInput(_Gate_013, 0);
|
|
||||||
_SetVariable_010.addInput(_Float_006, 0);
|
|
||||||
_SetVariable_010.addInput(_Float_007, 0);
|
|
||||||
_SetVariable_010.addOutputs([_Merge_004]);
|
|
||||||
_Merge_004.addInput(_SetVariable_010, 0);
|
|
||||||
_Merge_004.addInput(_SetVariable_012, 0);
|
|
||||||
_Merge_004.addInput(_SetVariable_013, 0);
|
|
||||||
_Merge_004.addOutputs([_FunctionOutput_003]);
|
|
||||||
_FunctionOutput_003.addInput(_Merge_004, 0);
|
|
||||||
_FunctionOutput_003.addInput(_Float_006, 0);
|
|
||||||
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _SetLocation_002 = new armory.logicnode.SetLocationNode(this);
|
|
||||||
var _OnInit_001 = new armory.logicnode.OnInitNode(this);
|
|
||||||
_OnInit_001.addOutputs([_SetLocation_002]);
|
|
||||||
_SetLocation_002.addInput(_OnInit_001, 0);
|
|
||||||
_SetLocation_002.addInput(new armory.logicnode.ObjectNode(this, "Plateforme_box"), 0);
|
|
||||||
var _GetLocation_001 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_001.addInput(new armory.logicnode.ObjectNode(this, "plateforme_step4"), 0);
|
|
||||||
_GetLocation_001.addOutputs([_SetLocation_002]);
|
|
||||||
_SetLocation_002.addInput(_GetLocation_001, 0);
|
|
||||||
_SetLocation_002.addOutputs([_SetProperty]);
|
|
||||||
_SetProperty.addInput(_SetLocation_002, 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.StringNode(this, "step"), 0);
|
|
||||||
var _Integer = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer.addInput(new armory.logicnode.IntegerNode(this, 4), 0);
|
|
||||||
_Integer.addOutputs([_SetProperty]);
|
|
||||||
_SetProperty.addInput(_Integer, 0);
|
|
||||||
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function nextstep() {
|
|
||||||
var functionNode = this.functionNodes["_Function_002"];
|
|
||||||
functionNode.args = [];
|
|
||||||
functionNode.run(0);
|
|
||||||
return this.functionOutputNodes["_FunctionOutput_004"].result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public function pas(arg0:Dynamic, arg1:Dynamic) {
|
|
||||||
var functionNode = this.functionNodes["_Function_003"];
|
|
||||||
functionNode.args = [];
|
|
||||||
functionNode.args.push(arg0);
|
|
||||||
functionNode.args.push(arg1);
|
|
||||||
functionNode.run(0);
|
|
||||||
return this.functionOutputNodes["_FunctionOutput_003"].result;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,640 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Scatter extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Scatter";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
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);
|
|
||||||
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)]);
|
|
||||||
}
|
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,415 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Sound_ambiance extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Sound_ambiance";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _SetVariable_006 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _Merge_002 = new armory.logicnode.MergeNode(this);
|
|
||||||
var _PlaySpeaker_002 = new armory.logicnode.PlaySoundNode(this);
|
|
||||||
var _Branch_002 = new armory.logicnode.BranchNode(this);
|
|
||||||
var _IsTrue_004 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _Print_005 = new armory.logicnode.PrintNode(this);
|
|
||||||
var _SetVariable_007 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _OnTimer_002 = new armory.logicnode.OnTimerNode(this);
|
|
||||||
_OnTimer_002.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_OnTimer_002.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_OnTimer_002.addOutputs([_SetVariable_007]);
|
|
||||||
_SetVariable_007.addInput(_OnTimer_002, 0);
|
|
||||||
var _Integer_012 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_012.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
var _Math_002 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_002.property0 = "Add";
|
|
||||||
_Math_002.property1 = "false";
|
|
||||||
_Math_002.addInput(_Integer_012, 0);
|
|
||||||
_Math_002.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
var _Compare_002 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_002.property0 = "Equal";
|
|
||||||
_Compare_002.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_002.addInput(_Math_002, 0);
|
|
||||||
var _Function_002 = new armory.logicnode.FunctionNode(this);
|
|
||||||
this.functionNodes.set("_Function_002", _Function_002);
|
|
||||||
var _SetVariable_008 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
_SetVariable_008.addInput(_Function_002, 0);
|
|
||||||
_SetVariable_008.addInput(_Integer_012, 0);
|
|
||||||
var _Integer_013 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_013.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_013.addOutputs([_SetVariable_008]);
|
|
||||||
_SetVariable_008.addInput(_Integer_013, 0);
|
|
||||||
_SetVariable_008.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Function_002.addOutputs([_SetVariable_008]);
|
|
||||||
_Function_002.addOutputs([_PlaySpeaker_002]);
|
|
||||||
_Function_002.addOutputs([_Compare_002]);
|
|
||||||
_Compare_002.addInput(_Function_002, 2);
|
|
||||||
_Compare_002.addOutputs([_IsTrue_004]);
|
|
||||||
_Math_002.addOutputs([_SetVariable_007, _Compare_002]);
|
|
||||||
_Integer_012.addOutputs([_SetVariable_007, _Math_002, _SetVariable_006, _Print_005, _SetVariable_008]);
|
|
||||||
_SetVariable_007.addInput(_Integer_012, 0);
|
|
||||||
_SetVariable_007.addInput(_Math_002, 0);
|
|
||||||
_SetVariable_007.addOutputs([_Print_005]);
|
|
||||||
_Print_005.addInput(_SetVariable_007, 0);
|
|
||||||
_Print_005.addInput(_Integer_012, 0);
|
|
||||||
_Print_005.addOutputs([_IsTrue_004]);
|
|
||||||
_IsTrue_004.addInput(_Print_005, 0);
|
|
||||||
_IsTrue_004.addInput(_Compare_002, 0);
|
|
||||||
_IsTrue_004.addOutputs([_Branch_002]);
|
|
||||||
_Branch_002.addInput(_IsTrue_004, 0);
|
|
||||||
var _Random_Boolean__002 = new armory.logicnode.RandomBooleanNode(this);
|
|
||||||
_Random_Boolean__002.addOutputs([_Branch_002]);
|
|
||||||
_Branch_002.addInput(_Random_Boolean__002, 0);
|
|
||||||
_Branch_002.addOutputs([_PlaySpeaker_002]);
|
|
||||||
_Branch_002.addOutputs([_Merge_002]);
|
|
||||||
_PlaySpeaker_002.addInput(_Branch_002, 0);
|
|
||||||
_PlaySpeaker_002.addInput(_Function_002, 1);
|
|
||||||
_PlaySpeaker_002.addOutputs([_Merge_002]);
|
|
||||||
_Merge_002.addInput(_PlaySpeaker_002, 0);
|
|
||||||
_Merge_002.addInput(_Branch_002, 1);
|
|
||||||
_Merge_002.addOutputs([_SetVariable_006]);
|
|
||||||
_SetVariable_006.addInput(_Merge_002, 0);
|
|
||||||
_SetVariable_006.addInput(_Integer_012, 0);
|
|
||||||
var _Integer_011 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_011.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_011.addOutputs([_SetVariable_006]);
|
|
||||||
_SetVariable_006.addInput(_Integer_011, 0);
|
|
||||||
_SetVariable_006.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetVariable_009 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _Merge_003 = new armory.logicnode.MergeNode(this);
|
|
||||||
var _PlaySpeaker_003 = new armory.logicnode.PlaySoundNode(this);
|
|
||||||
var _Branch_003 = new armory.logicnode.BranchNode(this);
|
|
||||||
var _IsTrue_005 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _SetVariable_010 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _OnTimer_003 = new armory.logicnode.OnTimerNode(this);
|
|
||||||
_OnTimer_003.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_OnTimer_003.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_OnTimer_003.addOutputs([_SetVariable_010]);
|
|
||||||
_SetVariable_010.addInput(_OnTimer_003, 0);
|
|
||||||
var _Integer_016 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_016.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
var _Math_003 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_003.property0 = "Add";
|
|
||||||
_Math_003.property1 = "false";
|
|
||||||
_Math_003.addInput(_Integer_016, 0);
|
|
||||||
_Math_003.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
var _Compare_003 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_003.property0 = "Equal";
|
|
||||||
_Compare_003.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_003.addInput(_Math_003, 0);
|
|
||||||
var _Function_003 = new armory.logicnode.FunctionNode(this);
|
|
||||||
this.functionNodes.set("_Function_003", _Function_003);
|
|
||||||
var _SetVariable_011 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
_SetVariable_011.addInput(_Function_003, 0);
|
|
||||||
_SetVariable_011.addInput(_Integer_016, 0);
|
|
||||||
var _Integer_015 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_015.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_015.addOutputs([_SetVariable_011]);
|
|
||||||
_SetVariable_011.addInput(_Integer_015, 0);
|
|
||||||
_SetVariable_011.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Function_003.addOutputs([_SetVariable_011]);
|
|
||||||
_Function_003.addOutputs([_PlaySpeaker_003]);
|
|
||||||
_Function_003.addOutputs([_Compare_003]);
|
|
||||||
_Compare_003.addInput(_Function_003, 2);
|
|
||||||
_Compare_003.addOutputs([_IsTrue_005]);
|
|
||||||
_Math_003.addOutputs([_SetVariable_010, _Compare_003]);
|
|
||||||
_Integer_016.addOutputs([_SetVariable_010, _Math_003, _SetVariable_009, _SetVariable_011]);
|
|
||||||
_SetVariable_010.addInput(_Integer_016, 0);
|
|
||||||
_SetVariable_010.addInput(_Math_003, 0);
|
|
||||||
_SetVariable_010.addOutputs([_IsTrue_005]);
|
|
||||||
_IsTrue_005.addInput(_SetVariable_010, 0);
|
|
||||||
_IsTrue_005.addInput(_Compare_003, 0);
|
|
||||||
_IsTrue_005.addOutputs([_Branch_003]);
|
|
||||||
_Branch_003.addInput(_IsTrue_005, 0);
|
|
||||||
var _Random_Boolean__003 = new armory.logicnode.RandomBooleanNode(this);
|
|
||||||
_Random_Boolean__003.addOutputs([_Branch_003]);
|
|
||||||
_Branch_003.addInput(_Random_Boolean__003, 0);
|
|
||||||
_Branch_003.addOutputs([_PlaySpeaker_003]);
|
|
||||||
_Branch_003.addOutputs([_Merge_003]);
|
|
||||||
_PlaySpeaker_003.addInput(_Branch_003, 0);
|
|
||||||
_PlaySpeaker_003.addInput(_Function_003, 1);
|
|
||||||
_PlaySpeaker_003.addOutputs([_Merge_003]);
|
|
||||||
_Merge_003.addInput(_PlaySpeaker_003, 0);
|
|
||||||
_Merge_003.addInput(_Branch_003, 1);
|
|
||||||
_Merge_003.addOutputs([_SetVariable_009]);
|
|
||||||
_SetVariable_009.addInput(_Merge_003, 0);
|
|
||||||
_SetVariable_009.addInput(_Integer_016, 0);
|
|
||||||
var _Integer_014 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_014.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_014.addOutputs([_SetVariable_009]);
|
|
||||||
_SetVariable_009.addInput(_Integer_014, 0);
|
|
||||||
_SetVariable_009.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetVariable_003 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _Merge_001 = new armory.logicnode.MergeNode(this);
|
|
||||||
var _PlaySpeaker_001 = new armory.logicnode.PlaySoundNode(this);
|
|
||||||
var _Branch_001 = new armory.logicnode.BranchNode(this);
|
|
||||||
var _IsTrue_003 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _SetVariable_004 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _OnTimer_001 = new armory.logicnode.OnTimerNode(this);
|
|
||||||
_OnTimer_001.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_OnTimer_001.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_OnTimer_001.addOutputs([_SetVariable_004]);
|
|
||||||
_SetVariable_004.addInput(_OnTimer_001, 0);
|
|
||||||
var _Integer_007 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_007.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
var _Math_001 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_001.property0 = "Add";
|
|
||||||
_Math_001.property1 = "false";
|
|
||||||
_Math_001.addInput(_Integer_007, 0);
|
|
||||||
_Math_001.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
var _Compare_001 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_001.property0 = "Equal";
|
|
||||||
_Compare_001.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_001.addInput(_Math_001, 0);
|
|
||||||
var _Function_001 = new armory.logicnode.FunctionNode(this);
|
|
||||||
this.functionNodes.set("_Function_001", _Function_001);
|
|
||||||
var _SetVariable_005 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
_SetVariable_005.addInput(_Function_001, 0);
|
|
||||||
_SetVariable_005.addInput(_Integer_007, 0);
|
|
||||||
var _Integer_008 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_008.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_008.addOutputs([_SetVariable_005]);
|
|
||||||
_SetVariable_005.addInput(_Integer_008, 0);
|
|
||||||
_SetVariable_005.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Function_001.addOutputs([_SetVariable_005]);
|
|
||||||
_Function_001.addOutputs([_PlaySpeaker_001]);
|
|
||||||
_Function_001.addOutputs([_Compare_001]);
|
|
||||||
_Compare_001.addInput(_Function_001, 2);
|
|
||||||
_Compare_001.addOutputs([_IsTrue_003]);
|
|
||||||
_Math_001.addOutputs([_SetVariable_004, _Compare_001]);
|
|
||||||
_Integer_007.addOutputs([_SetVariable_004, _Math_001, _SetVariable_003, _SetVariable_005]);
|
|
||||||
_SetVariable_004.addInput(_Integer_007, 0);
|
|
||||||
_SetVariable_004.addInput(_Math_001, 0);
|
|
||||||
_SetVariable_004.addOutputs([_IsTrue_003]);
|
|
||||||
_IsTrue_003.addInput(_SetVariable_004, 0);
|
|
||||||
_IsTrue_003.addInput(_Compare_001, 0);
|
|
||||||
_IsTrue_003.addOutputs([_Branch_001]);
|
|
||||||
_Branch_001.addInput(_IsTrue_003, 0);
|
|
||||||
var _Random_Boolean__001 = new armory.logicnode.RandomBooleanNode(this);
|
|
||||||
_Random_Boolean__001.addOutputs([_Branch_001]);
|
|
||||||
_Branch_001.addInput(_Random_Boolean__001, 0);
|
|
||||||
_Branch_001.addOutputs([_PlaySpeaker_001]);
|
|
||||||
_Branch_001.addOutputs([_Merge_001]);
|
|
||||||
_PlaySpeaker_001.addInput(_Branch_001, 0);
|
|
||||||
_PlaySpeaker_001.addInput(_Function_001, 1);
|
|
||||||
_PlaySpeaker_001.addOutputs([_Merge_001]);
|
|
||||||
_Merge_001.addInput(_PlaySpeaker_001, 0);
|
|
||||||
_Merge_001.addInput(_Branch_001, 1);
|
|
||||||
_Merge_001.addOutputs([_SetVariable_003]);
|
|
||||||
_SetVariable_003.addInput(_Merge_001, 0);
|
|
||||||
_SetVariable_003.addInput(_Integer_007, 0);
|
|
||||||
var _Integer_006 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_006.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_006.addOutputs([_SetVariable_003]);
|
|
||||||
_SetVariable_003.addInput(_Integer_006, 0);
|
|
||||||
_SetVariable_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetVariable_001 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _Merge = new armory.logicnode.MergeNode(this);
|
|
||||||
var _PlaySpeaker = new armory.logicnode.PlaySoundNode(this);
|
|
||||||
var _Branch = new armory.logicnode.BranchNode(this);
|
|
||||||
var _IsTrue_002 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _SetVariable = new armory.logicnode.SetVariableNode(this);
|
|
||||||
var _OnTimer = new armory.logicnode.OnTimerNode(this);
|
|
||||||
_OnTimer.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_OnTimer.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_OnTimer.addOutputs([_SetVariable]);
|
|
||||||
_SetVariable.addInput(_OnTimer, 0);
|
|
||||||
var _Integer_001 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_001.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
var _Math = new armory.logicnode.MathNode(this);
|
|
||||||
_Math.property0 = "Add";
|
|
||||||
_Math.property1 = "false";
|
|
||||||
_Math.addInput(_Integer_001, 0);
|
|
||||||
_Math.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
var _Compare = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare.property0 = "Equal";
|
|
||||||
_Compare.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare.addInput(_Math, 0);
|
|
||||||
var _Function = new armory.logicnode.FunctionNode(this);
|
|
||||||
this.functionNodes.set("_Function", _Function);
|
|
||||||
var _SetVariable_002 = new armory.logicnode.SetVariableNode(this);
|
|
||||||
_SetVariable_002.addInput(_Function, 0);
|
|
||||||
_SetVariable_002.addInput(_Integer_001, 0);
|
|
||||||
var _Integer_003 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_003.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_003.addOutputs([_SetVariable_002]);
|
|
||||||
_SetVariable_002.addInput(_Integer_003, 0);
|
|
||||||
_SetVariable_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Function.addOutputs([_SetVariable_002]);
|
|
||||||
_Function.addOutputs([_PlaySpeaker]);
|
|
||||||
_Function.addOutputs([_Compare]);
|
|
||||||
_Compare.addInput(_Function, 2);
|
|
||||||
_Compare.addOutputs([_IsTrue_002]);
|
|
||||||
_Math.addOutputs([_SetVariable, _Compare]);
|
|
||||||
_Integer_001.addOutputs([_SetVariable, _Math, _SetVariable_001, _SetVariable_002]);
|
|
||||||
_SetVariable.addInput(_Integer_001, 0);
|
|
||||||
_SetVariable.addInput(_Math, 0);
|
|
||||||
_SetVariable.addOutputs([_IsTrue_002]);
|
|
||||||
_IsTrue_002.addInput(_SetVariable, 0);
|
|
||||||
_IsTrue_002.addInput(_Compare, 0);
|
|
||||||
_IsTrue_002.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_IsTrue_002, 0);
|
|
||||||
var _Random_Boolean_ = new armory.logicnode.RandomBooleanNode(this);
|
|
||||||
_Random_Boolean_.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_Random_Boolean_, 0);
|
|
||||||
_Branch.addOutputs([_PlaySpeaker]);
|
|
||||||
_Branch.addOutputs([_Merge]);
|
|
||||||
_PlaySpeaker.addInput(_Branch, 0);
|
|
||||||
_PlaySpeaker.addInput(_Function, 1);
|
|
||||||
_PlaySpeaker.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_PlaySpeaker, 0);
|
|
||||||
_Merge.addInput(_Branch, 1);
|
|
||||||
_Merge.addOutputs([_SetVariable_001]);
|
|
||||||
_SetVariable_001.addInput(_Merge, 0);
|
|
||||||
_SetVariable_001.addInput(_Integer_001, 0);
|
|
||||||
var _Integer_002 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_002.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_002.addOutputs([_SetVariable_001]);
|
|
||||||
_SetVariable_001.addInput(_Integer_002, 0);
|
|
||||||
_SetVariable_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnInit = new armory.logicnode.OnInitNode(this);
|
|
||||||
var _CallFunction_001 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_001.addInput(_OnInit, 0);
|
|
||||||
var _SelfTrait_001 = new armory.logicnode.SelfTraitNode(this);
|
|
||||||
_SelfTrait_001.addOutputs([_CallFunction_001]);
|
|
||||||
_CallFunction_001.addInput(_SelfTrait_001, 0);
|
|
||||||
_CallFunction_001.addInput(new armory.logicnode.StringNode(this, "Son_ambiance1"), 0);
|
|
||||||
var _ArrayGet_002 = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
var _Array_Object__002 = new armory.logicnode.ArrayObjectNode(this);
|
|
||||||
_Array_Object__002.addInput(new armory.logicnode.ObjectNode(this, "amb_bird_1"), 0);
|
|
||||||
_Array_Object__002.addInput(new armory.logicnode.ObjectNode(this, "amb_bird_2"), 0);
|
|
||||||
_Array_Object__002.addInput(new armory.logicnode.ObjectNode(this, "amb_cricket_1"), 0);
|
|
||||||
_Array_Object__002.addInput(new armory.logicnode.ObjectNode(this, "amb_frog_1"), 0);
|
|
||||||
var _ArrayGet = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
_ArrayGet.addInput(_Array_Object__002, 0);
|
|
||||||
var _Integer_004 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_004.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
var _ArrayGet_001 = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
var _Array_Integer_ = new armory.logicnode.ArrayIntegerNode(this);
|
|
||||||
_Array_Integer_.addInput(new armory.logicnode.IntegerNode(this, 10), 0);
|
|
||||||
_Array_Integer_.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
|
|
||||||
_Array_Integer_.addInput(new armory.logicnode.IntegerNode(this, 2), 0);
|
|
||||||
_Array_Integer_.addInput(new armory.logicnode.IntegerNode(this, 5), 0);
|
|
||||||
var _ArrayGet_003 = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
_ArrayGet_003.addInput(_Array_Integer_, 0);
|
|
||||||
var _Integer_005 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_005.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_Integer_005.addOutputs([_ArrayGet_002, _ArrayGet_003]);
|
|
||||||
_ArrayGet_003.addInput(_Integer_005, 0);
|
|
||||||
_ArrayGet_003.addOutputs([_CallFunction_001]);
|
|
||||||
var _ArrayGet_007 = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
_ArrayGet_007.addInput(_Array_Integer_, 0);
|
|
||||||
var _Integer_009 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_009.addInput(new armory.logicnode.IntegerNode(this, 3), 0);
|
|
||||||
var _ArrayGet_006 = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
_ArrayGet_006.addInput(_Array_Object__002, 0);
|
|
||||||
_ArrayGet_006.addInput(_Integer_009, 0);
|
|
||||||
var _CallFunction_003 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_003.addInput(_OnInit, 0);
|
|
||||||
var _SelfTrait_003 = new armory.logicnode.SelfTraitNode(this);
|
|
||||||
_SelfTrait_003.addOutputs([_CallFunction_003]);
|
|
||||||
_CallFunction_003.addInput(_SelfTrait_003, 0);
|
|
||||||
_CallFunction_003.addInput(new armory.logicnode.StringNode(this, "Son_ambiance3"), 0);
|
|
||||||
_CallFunction_003.addInput(_ArrayGet_006, 0);
|
|
||||||
_CallFunction_003.addInput(_ArrayGet_007, 0);
|
|
||||||
_CallFunction_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_ArrayGet_006.addOutputs([_CallFunction_003]);
|
|
||||||
_Integer_009.addOutputs([_ArrayGet_006, _ArrayGet_007]);
|
|
||||||
_ArrayGet_007.addInput(_Integer_009, 0);
|
|
||||||
_ArrayGet_007.addOutputs([_CallFunction_003]);
|
|
||||||
var _ArrayGet_005 = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
_ArrayGet_005.addInput(_Array_Integer_, 0);
|
|
||||||
var _Integer_010 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_010.addInput(new armory.logicnode.IntegerNode(this, 2), 0);
|
|
||||||
var _ArrayGet_004 = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
_ArrayGet_004.addInput(_Array_Object__002, 0);
|
|
||||||
_ArrayGet_004.addInput(_Integer_010, 0);
|
|
||||||
var _CallFunction_002 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_002.addInput(_OnInit, 0);
|
|
||||||
var _SelfTrait_002 = new armory.logicnode.SelfTraitNode(this);
|
|
||||||
_SelfTrait_002.addOutputs([_CallFunction_002]);
|
|
||||||
_CallFunction_002.addInput(_SelfTrait_002, 0);
|
|
||||||
_CallFunction_002.addInput(new armory.logicnode.StringNode(this, "Son_ambiance2"), 0);
|
|
||||||
_CallFunction_002.addInput(_ArrayGet_004, 0);
|
|
||||||
_CallFunction_002.addInput(_ArrayGet_005, 0);
|
|
||||||
_CallFunction_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_ArrayGet_004.addOutputs([_CallFunction_002]);
|
|
||||||
_Integer_010.addOutputs([_ArrayGet_005, _ArrayGet_004]);
|
|
||||||
_ArrayGet_005.addInput(_Integer_010, 0);
|
|
||||||
_ArrayGet_005.addOutputs([_CallFunction_002]);
|
|
||||||
_Array_Integer_.addOutputs([_ArrayGet_001, _ArrayGet_003, _ArrayGet_007, _ArrayGet_005]);
|
|
||||||
_Array_Integer_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
|
|
||||||
_ArrayGet_001.addInput(_Array_Integer_, 0);
|
|
||||||
_ArrayGet_001.addInput(_Integer_004, 0);
|
|
||||||
_ArrayGet_001.addOutputs([_CallFunction]);
|
|
||||||
_Integer_004.addOutputs([_ArrayGet, _ArrayGet_001]);
|
|
||||||
_ArrayGet.addInput(_Integer_004, 0);
|
|
||||||
_ArrayGet.addOutputs([_CallFunction]);
|
|
||||||
_Array_Object__002.addOutputs([_ArrayGet, _ArrayGet_002, _ArrayGet_006, _ArrayGet_004]);
|
|
||||||
_Array_Object__002.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
|
|
||||||
_ArrayGet_002.addInput(_Array_Object__002, 0);
|
|
||||||
_ArrayGet_002.addInput(_Integer_005, 0);
|
|
||||||
_ArrayGet_002.addOutputs([_CallFunction_001]);
|
|
||||||
_CallFunction_001.addInput(_ArrayGet_002, 0);
|
|
||||||
_CallFunction_001.addInput(_ArrayGet_003, 0);
|
|
||||||
_CallFunction_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_OnInit.addOutputs([_CallFunction, _CallFunction_001, _CallFunction_002, _CallFunction_003]);
|
|
||||||
_CallFunction.addInput(_OnInit, 0);
|
|
||||||
var _SelfTrait = new armory.logicnode.SelfTraitNode(this);
|
|
||||||
_SelfTrait.addOutputs([_CallFunction]);
|
|
||||||
_CallFunction.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction.addInput(new armory.logicnode.StringNode(this, "Son_ambiance0"), 0);
|
|
||||||
_CallFunction.addInput(_ArrayGet, 0);
|
|
||||||
_CallFunction.addInput(_ArrayGet_001, 0);
|
|
||||||
_CallFunction.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function Son_ambiance0(arg0:Dynamic, arg1:Dynamic) {
|
|
||||||
var functionNode = this.functionNodes["_Function_002"];
|
|
||||||
functionNode.args = [];
|
|
||||||
functionNode.args.push(arg0);
|
|
||||||
functionNode.args.push(arg1);
|
|
||||||
functionNode.run(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public function Son_ambiance3(arg0:Dynamic, arg1:Dynamic) {
|
|
||||||
var functionNode = this.functionNodes["_Function_003"];
|
|
||||||
functionNode.args = [];
|
|
||||||
functionNode.args.push(arg0);
|
|
||||||
functionNode.args.push(arg1);
|
|
||||||
functionNode.run(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public function Son_ambiance2(arg0:Dynamic, arg1:Dynamic) {
|
|
||||||
var functionNode = this.functionNodes["_Function_001"];
|
|
||||||
functionNode.args = [];
|
|
||||||
functionNode.args.push(arg0);
|
|
||||||
functionNode.args.push(arg1);
|
|
||||||
functionNode.run(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public function Son_ambiance1(arg0:Dynamic, arg1:Dynamic) {
|
|
||||||
var functionNode = this.functionNodes["_Function"];
|
|
||||||
functionNode.args = [];
|
|
||||||
functionNode.args.push(arg0);
|
|
||||||
functionNode.args.push(arg1);
|
|
||||||
functionNode.run(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,642 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Spawn extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Spawn";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _CallFunction_012 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _SetRotation = new armory.logicnode.SetRotationNode(this);
|
|
||||||
var _Merge_002 = new armory.logicnode.MergeNode(this);
|
|
||||||
var _SetProperty_005 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _Merge_001 = new armory.logicnode.MergeNode(this);
|
|
||||||
var _Gate = new armory.logicnode.GateNode(this);
|
|
||||||
_Gate.property0 = "Equal";
|
|
||||||
_Gate.property1 = 9.999999747378752e-05;
|
|
||||||
var _OnEvent = new armory.logicnode.OnEventNode(this);
|
|
||||||
_OnEvent.property0 = "spawn";
|
|
||||||
_OnEvent.addOutputs([_Gate]);
|
|
||||||
_Gate.addInput(_OnEvent, 0);
|
|
||||||
var _Integer_004 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_004.addInput(new armory.logicnode.IntegerNode(this, 5), 0);
|
|
||||||
_Integer_004.addOutputs([_Gate]);
|
|
||||||
_Gate.addInput(_Integer_004, 0);
|
|
||||||
var _GetProperty_009 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_009.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_GetProperty_009.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
|
|
||||||
var _Gate_001 = new armory.logicnode.GateNode(this);
|
|
||||||
_Gate_001.property0 = "Equal";
|
|
||||||
_Gate_001.property1 = 9.999999747378752e-05;
|
|
||||||
_Gate_001.addInput(_Gate, 1);
|
|
||||||
var _Integer_005 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_005.addInput(new armory.logicnode.IntegerNode(this, 6), 0);
|
|
||||||
_Integer_005.addOutputs([_Gate_001]);
|
|
||||||
_Gate_001.addInput(_Integer_005, 0);
|
|
||||||
_Gate_001.addInput(_GetProperty_009, 0);
|
|
||||||
_Gate_001.addOutputs([_Merge_001]);
|
|
||||||
var _SetProperty_007 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty_007.addInput(_Gate_001, 1);
|
|
||||||
_SetProperty_007.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_007.addInput(new armory.logicnode.StringNode(this, "spawn_rot"), 0);
|
|
||||||
var _Math_003 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_003.property0 = "Add";
|
|
||||||
_Math_003.property1 = "false";
|
|
||||||
var _Float_002 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_002.addInput(new armory.logicnode.FloatNode(this, 180.0), 0);
|
|
||||||
_Float_002.addOutputs([_Math_003]);
|
|
||||||
_Math_003.addInput(_Float_002, 0);
|
|
||||||
_Math_003.addInput(new armory.logicnode.FloatNode(this, -0.9292187690734863), 0);
|
|
||||||
_Math_003.addOutputs([_SetProperty_007]);
|
|
||||||
_SetProperty_007.addInput(_Math_003, 0);
|
|
||||||
_SetProperty_007.addOutputs([_Merge_002]);
|
|
||||||
_Gate_001.addOutputs([_SetProperty_007]);
|
|
||||||
_GetProperty_009.addOutputs([_Gate, _Gate_001]);
|
|
||||||
_Gate.addInput(_GetProperty_009, 0);
|
|
||||||
_Gate.addOutputs([_Merge_001]);
|
|
||||||
_Gate.addOutputs([_Gate_001]);
|
|
||||||
_Merge_001.addInput(_Gate, 0);
|
|
||||||
_Merge_001.addInput(_Gate_001, 0);
|
|
||||||
_Merge_001.addOutputs([_SetProperty_005]);
|
|
||||||
_SetProperty_005.addInput(_Merge_001, 0);
|
|
||||||
_SetProperty_005.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_005.addInput(new armory.logicnode.StringNode(this, "spawn_rot"), 0);
|
|
||||||
var _Math_004 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_004.property0 = "Add";
|
|
||||||
_Math_004.property1 = "false";
|
|
||||||
var _Float_003 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Float_003.addOutputs([_Math_004]);
|
|
||||||
_Math_004.addInput(_Float_003, 0);
|
|
||||||
_Math_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Math_004.addOutputs([_SetProperty_005]);
|
|
||||||
_SetProperty_005.addInput(_Math_004, 0);
|
|
||||||
_SetProperty_005.addOutputs([_Merge_002]);
|
|
||||||
_Merge_002.addInput(_SetProperty_005, 0);
|
|
||||||
_Merge_002.addInput(_SetProperty_007, 0);
|
|
||||||
_Merge_002.addOutputs([_SetRotation]);
|
|
||||||
_SetRotation.addInput(_Merge_002, 0);
|
|
||||||
_SetRotation.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
var _Vector_001 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _GetProperty_001 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_GetProperty_001.addInput(new armory.logicnode.StringNode(this, "spawn_rot"), 0);
|
|
||||||
_GetProperty_001.addOutputs([_Vector_001]);
|
|
||||||
_Vector_001.addInput(_GetProperty_001, 0);
|
|
||||||
_Vector_001.addOutputs([_SetRotation]);
|
|
||||||
_SetRotation.addInput(_Vector_001, 0);
|
|
||||||
var _CallFunction_007 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_007.addInput(_SetRotation, 0);
|
|
||||||
var _GetTrait_001 = new armory.logicnode.GetTraitNode(this);
|
|
||||||
var _Object_001 = new armory.logicnode.ObjectNode(this);
|
|
||||||
_Object_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_Object_001.addOutputs([_GetTrait_001]);
|
|
||||||
_GetTrait_001.addInput(_Object_001, 0);
|
|
||||||
_GetTrait_001.addInput(new armory.logicnode.StringNode(this, "Spawn"), 0);
|
|
||||||
var _CallFunction_008 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_008.addInput(_SetRotation, 0);
|
|
||||||
_CallFunction_008.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_008.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_005 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_005.addInput(new armory.logicnode.ObjectNode(this, "Spawn1"), 0);
|
|
||||||
_GetLocation_005.addOutputs([_CallFunction_008]);
|
|
||||||
_CallFunction_008.addInput(_GetLocation_005, 0);
|
|
||||||
var _Integer_028 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_028.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_Integer_028.addOutputs([_CallFunction_008]);
|
|
||||||
_CallFunction_008.addInput(_Integer_028, 0);
|
|
||||||
_CallFunction_008.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_008.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_009 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_009.addInput(_SetRotation, 0);
|
|
||||||
_CallFunction_009.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_009.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_007 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_007.addInput(new armory.logicnode.ObjectNode(this, "Spawn2"), 0);
|
|
||||||
_GetLocation_007.addOutputs([_CallFunction_009]);
|
|
||||||
_CallFunction_009.addInput(_GetLocation_007, 0);
|
|
||||||
var _Integer_015 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_015.addInput(new armory.logicnode.IntegerNode(this, 2), 0);
|
|
||||||
_Integer_015.addOutputs([_CallFunction_009]);
|
|
||||||
_CallFunction_009.addInput(_Integer_015, 0);
|
|
||||||
_CallFunction_009.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_009.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_010 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_010.addInput(_SetRotation, 0);
|
|
||||||
_CallFunction_010.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_010.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_006 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_006.addInput(new armory.logicnode.ObjectNode(this, "Spawn3"), 0);
|
|
||||||
_GetLocation_006.addOutputs([_CallFunction_010]);
|
|
||||||
_CallFunction_010.addInput(_GetLocation_006, 0);
|
|
||||||
var _Integer_016 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_016.addInput(new armory.logicnode.IntegerNode(this, 3), 0);
|
|
||||||
_Integer_016.addOutputs([_CallFunction_010]);
|
|
||||||
_CallFunction_010.addInput(_Integer_016, 0);
|
|
||||||
_CallFunction_010.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_010.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_011 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_011.addInput(_SetRotation, 0);
|
|
||||||
_CallFunction_011.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_011.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_009 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_009.addInput(new armory.logicnode.ObjectNode(this, "Spawn4"), 0);
|
|
||||||
_GetLocation_009.addOutputs([_CallFunction_011]);
|
|
||||||
_CallFunction_011.addInput(_GetLocation_009, 0);
|
|
||||||
var _Integer_018 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_018.addInput(new armory.logicnode.IntegerNode(this, 4), 0);
|
|
||||||
_Integer_018.addOutputs([_CallFunction_011]);
|
|
||||||
_CallFunction_011.addInput(_Integer_018, 0);
|
|
||||||
_CallFunction_011.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_011.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_013 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_013.addInput(_SetRotation, 0);
|
|
||||||
_CallFunction_013.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_013.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_012 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_012.addInput(new armory.logicnode.ObjectNode(this, "Spawn6"), 0);
|
|
||||||
_GetLocation_012.addOutputs([_CallFunction_013]);
|
|
||||||
_CallFunction_013.addInput(_GetLocation_012, 0);
|
|
||||||
var _Integer_020 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_020.addInput(new armory.logicnode.IntegerNode(this, 6), 0);
|
|
||||||
_Integer_020.addOutputs([_CallFunction_013]);
|
|
||||||
_CallFunction_013.addInput(_Integer_020, 0);
|
|
||||||
_CallFunction_013.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_013.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_014 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_014.addInput(_SetRotation, 0);
|
|
||||||
_CallFunction_014.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_014.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_011 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_011.addInput(new armory.logicnode.ObjectNode(this, "Spawn7"), 0);
|
|
||||||
_GetLocation_011.addOutputs([_CallFunction_014]);
|
|
||||||
_CallFunction_014.addInput(_GetLocation_011, 0);
|
|
||||||
var _Integer_019 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_019.addInput(new armory.logicnode.IntegerNode(this, 7), 0);
|
|
||||||
_Integer_019.addOutputs([_CallFunction_014]);
|
|
||||||
_CallFunction_014.addInput(_Integer_019, 0);
|
|
||||||
_CallFunction_014.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_014.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_015 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
_CallFunction_015.addInput(_SetRotation, 0);
|
|
||||||
_CallFunction_015.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_015.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_013 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_013.addInput(new armory.logicnode.ObjectNode(this, "Spawn8"), 0);
|
|
||||||
_GetLocation_013.addOutputs([_CallFunction_015]);
|
|
||||||
_CallFunction_015.addInput(_GetLocation_013, 0);
|
|
||||||
var _Integer_029 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_029.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
|
|
||||||
_Integer_029.addOutputs([_CallFunction_015]);
|
|
||||||
_CallFunction_015.addInput(_Integer_029, 0);
|
|
||||||
_CallFunction_015.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_015.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_GetTrait_001.addOutputs([_CallFunction_007, _CallFunction_008, _CallFunction_009, _CallFunction_010, _CallFunction_011, _CallFunction_012, _CallFunction_013, _CallFunction_014, _CallFunction_015]);
|
|
||||||
_CallFunction_007.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_007.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_010 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_010.addInput(new armory.logicnode.ObjectNode(this, "Spawn0"), 0);
|
|
||||||
_GetLocation_010.addOutputs([_CallFunction_007]);
|
|
||||||
_CallFunction_007.addInput(_GetLocation_010, 0);
|
|
||||||
var _Integer_027 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_027.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_027.addOutputs([_CallFunction_007]);
|
|
||||||
_CallFunction_007.addInput(_Integer_027, 0);
|
|
||||||
_CallFunction_007.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_007.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_SetRotation.addOutputs([_CallFunction_007, _CallFunction_008, _CallFunction_009, _CallFunction_010, _CallFunction_011, _CallFunction_012, _CallFunction_013, _CallFunction_014, _CallFunction_015]);
|
|
||||||
_CallFunction_012.addInput(_SetRotation, 0);
|
|
||||||
_CallFunction_012.addInput(_GetTrait_001, 0);
|
|
||||||
_CallFunction_012.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
|
|
||||||
var _GetLocation_008 = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation_008.addInput(new armory.logicnode.ObjectNode(this, "Spawn5"), 0);
|
|
||||||
_GetLocation_008.addOutputs([_CallFunction_012]);
|
|
||||||
_CallFunction_012.addInput(_GetLocation_008, 0);
|
|
||||||
var _Integer_017 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_017.addInput(new armory.logicnode.IntegerNode(this, 5), 0);
|
|
||||||
_Integer_017.addOutputs([_CallFunction_012]);
|
|
||||||
_CallFunction_012.addInput(_Integer_017, 0);
|
|
||||||
_CallFunction_012.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_012.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _FunctionOutput_001 = new armory.logicnode.FunctionOutputNode(this);
|
|
||||||
this.functionOutputNodes.set("_FunctionOutput_001", _FunctionOutput_001);
|
|
||||||
var _SetProperty_004 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _SetLocation_010 = new armory.logicnode.SetLocationNode(this);
|
|
||||||
var _Branch_012 = new armory.logicnode.BranchNode(this);
|
|
||||||
var _Function_001 = new armory.logicnode.FunctionNode(this);
|
|
||||||
this.functionNodes.set("_Function_001", _Function_001);
|
|
||||||
_Function_001.addOutputs([_Branch_012]);
|
|
||||||
_Function_001.addOutputs([_SetLocation_010]);
|
|
||||||
var _Compare_013 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_013.property0 = "Equal";
|
|
||||||
_Compare_013.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_013.addInput(_Function_001, 2);
|
|
||||||
var _GetProperty_008 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_008.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_GetProperty_008.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
|
|
||||||
_GetProperty_008.addOutputs([_Compare_013]);
|
|
||||||
_Compare_013.addInput(_GetProperty_008, 0);
|
|
||||||
_Compare_013.addOutputs([_Branch_012]);
|
|
||||||
_Function_001.addOutputs([_Compare_013]);
|
|
||||||
_Branch_012.addInput(_Function_001, 0);
|
|
||||||
_Branch_012.addInput(_Compare_013, 0);
|
|
||||||
_Branch_012.addOutputs([_SetLocation_010]);
|
|
||||||
_Branch_012.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_SetLocation_010.addInput(_Branch_012, 0);
|
|
||||||
_SetLocation_010.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetLocation_010.addInput(_Function_001, 1);
|
|
||||||
_SetLocation_010.addOutputs([_SetProperty_004]);
|
|
||||||
_SetProperty_004.addInput(_SetLocation_010, 0);
|
|
||||||
_SetProperty_004.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_004.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
|
|
||||||
var _Boolean_006 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_006.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_Boolean_006.addOutputs([_SetProperty_004]);
|
|
||||||
_SetProperty_004.addInput(_Boolean_006, 0);
|
|
||||||
_SetProperty_004.addOutputs([_FunctionOutput_001]);
|
|
||||||
_FunctionOutput_001.addInput(_SetProperty_004, 0);
|
|
||||||
_FunctionOutput_001.addInput(new armory.logicnode.NullNode(this), 0);
|
|
||||||
var _SetVisible_011 = new armory.logicnode.SetVisibleNode(this);
|
|
||||||
var _Loop_001 = new armory.logicnode.LoopNode(this);
|
|
||||||
var _Loop_002 = new armory.logicnode.LoopNode(this);
|
|
||||||
var _OnInit_001 = new armory.logicnode.OnInitNode(this);
|
|
||||||
_OnInit_001.addOutputs([_Loop_002]);
|
|
||||||
_Loop_002.addInput(_OnInit_001, 0);
|
|
||||||
_Loop_002.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_Loop_002.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
|
|
||||||
_Loop_002.addOutputs([_Loop_001]);
|
|
||||||
var _ConcatenateString_001 = new armory.logicnode.ConcatenateStringNode(this);
|
|
||||||
var _String_001 = new armory.logicnode.StringNode(this);
|
|
||||||
_String_001.addInput(new armory.logicnode.StringNode(this, "Spawn"), 0);
|
|
||||||
_String_001.addOutputs([_ConcatenateString_001]);
|
|
||||||
_ConcatenateString_001.addInput(_String_001, 0);
|
|
||||||
_ConcatenateString_001.addInput(_Loop_002, 1);
|
|
||||||
var _GetObject_001 = new armory.logicnode.GetObjectNode(this);
|
|
||||||
_GetObject_001.addInput(_ConcatenateString_001, 0);
|
|
||||||
var _GetChildren_001 = new armory.logicnode.GetChildrenNode(this);
|
|
||||||
_GetChildren_001.addInput(_GetObject_001, 0);
|
|
||||||
var _ArrayGet_001 = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
_ArrayGet_001.addInput(_GetChildren_001, 0);
|
|
||||||
_ArrayGet_001.addInput(_Loop_001, 1);
|
|
||||||
_ArrayGet_001.addOutputs([_SetVisible_011]);
|
|
||||||
var _ArrayLength_001 = new armory.logicnode.ArrayLengthNode(this);
|
|
||||||
_ArrayLength_001.addInput(_GetChildren_001, 0);
|
|
||||||
_ArrayLength_001.addOutputs([_Loop_001]);
|
|
||||||
_GetChildren_001.addOutputs([_ArrayGet_001, _ArrayLength_001]);
|
|
||||||
_GetObject_001.addOutputs([_GetChildren_001]);
|
|
||||||
_ConcatenateString_001.addOutputs([_GetObject_001]);
|
|
||||||
_Loop_002.addOutputs([_ConcatenateString_001]);
|
|
||||||
_Loop_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Loop_001.addInput(_Loop_002, 0);
|
|
||||||
_Loop_001.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Loop_001.addInput(_ArrayLength_001, 0);
|
|
||||||
_Loop_001.addOutputs([_SetVisible_011]);
|
|
||||||
_Loop_001.addOutputs([_ArrayGet_001]);
|
|
||||||
_Loop_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_SetVisible_011.addInput(_Loop_001, 0);
|
|
||||||
_SetVisible_011.addInput(_ArrayGet_001, 0);
|
|
||||||
_SetVisible_011.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_SetVisible_011.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_016 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnVolumeTrigger_014 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_014.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_014.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_014.addInput(new armory.logicnode.ObjectNode(this, "Spawn8"), 0);
|
|
||||||
_OnVolumeTrigger_014.addOutputs([_CallFunction_016]);
|
|
||||||
_CallFunction_016.addInput(_OnVolumeTrigger_014, 0);
|
|
||||||
var _SelfTrait = new armory.logicnode.SelfTraitNode(this);
|
|
||||||
_SelfTrait.addOutputs([_SelfTrait, _SelfTrait]);
|
|
||||||
_CallFunction_016.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction_016.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
|
|
||||||
var _Integer_030 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_030.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
|
|
||||||
_Integer_030.addOutputs([_CallFunction_016]);
|
|
||||||
_CallFunction_016.addInput(_Integer_030, 0);
|
|
||||||
_CallFunction_016.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_016.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_006 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnVolumeTrigger_013 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_013.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_013.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_013.addInput(new armory.logicnode.ObjectNode(this, "Spawn7"), 0);
|
|
||||||
_OnVolumeTrigger_013.addOutputs([_CallFunction_006]);
|
|
||||||
_CallFunction_006.addInput(_OnVolumeTrigger_013, 0);
|
|
||||||
_CallFunction_006.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction_006.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
|
|
||||||
var _Integer_026 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_026.addInput(new armory.logicnode.IntegerNode(this, 7), 0);
|
|
||||||
_Integer_026.addOutputs([_CallFunction_006]);
|
|
||||||
_CallFunction_006.addInput(_Integer_026, 0);
|
|
||||||
_CallFunction_006.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_006.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_003 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnVolumeTrigger_010 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_010.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_010.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_010.addInput(new armory.logicnode.ObjectNode(this, "Spawn4"), 0);
|
|
||||||
_OnVolumeTrigger_010.addOutputs([_CallFunction_003]);
|
|
||||||
_CallFunction_003.addInput(_OnVolumeTrigger_010, 0);
|
|
||||||
_CallFunction_003.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction_003.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
|
|
||||||
var _Integer_023 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_023.addInput(new armory.logicnode.IntegerNode(this, 4), 0);
|
|
||||||
_Integer_023.addOutputs([_CallFunction_003]);
|
|
||||||
_CallFunction_003.addInput(_Integer_023, 0);
|
|
||||||
_CallFunction_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnVolumeTrigger_007 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_007.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_007.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_007.addInput(new armory.logicnode.ObjectNode(this, "Spawn1"), 0);
|
|
||||||
_OnVolumeTrigger_007.addOutputs([_CallFunction]);
|
|
||||||
_CallFunction.addInput(_OnVolumeTrigger_007, 0);
|
|
||||||
_CallFunction.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
|
|
||||||
var _Integer_022 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_022.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
|
|
||||||
_Integer_022.addOutputs([_CallFunction]);
|
|
||||||
_CallFunction.addInput(_Integer_022, 0);
|
|
||||||
_CallFunction.addInput(new armory.logicnode.NullNode(this), 0);
|
|
||||||
_CallFunction.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_005 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnVolumeTrigger_012 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_012.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_012.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_012.addInput(new armory.logicnode.ObjectNode(this, "Spawn6"), 0);
|
|
||||||
_OnVolumeTrigger_012.addOutputs([_CallFunction_005]);
|
|
||||||
_CallFunction_005.addInput(_OnVolumeTrigger_012, 0);
|
|
||||||
_CallFunction_005.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction_005.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
|
|
||||||
var _Integer_025 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_025.addInput(new armory.logicnode.IntegerNode(this, 6), 0);
|
|
||||||
_Integer_025.addOutputs([_CallFunction_005]);
|
|
||||||
_CallFunction_005.addInput(_Integer_025, 0);
|
|
||||||
_CallFunction_005.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_005.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_002 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnVolumeTrigger_009 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_009.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_009.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_009.addInput(new armory.logicnode.ObjectNode(this, "Spawn3"), 0);
|
|
||||||
_OnVolumeTrigger_009.addOutputs([_CallFunction_002]);
|
|
||||||
_CallFunction_002.addInput(_OnVolumeTrigger_009, 0);
|
|
||||||
_CallFunction_002.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction_002.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
|
|
||||||
var _Integer_021 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_021.addInput(new armory.logicnode.IntegerNode(this, 3), 0);
|
|
||||||
_Integer_021.addOutputs([_CallFunction_002]);
|
|
||||||
_CallFunction_002.addInput(_Integer_021, 0);
|
|
||||||
_CallFunction_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_001 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnVolumeTrigger_008 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_008.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_008.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_008.addInput(new armory.logicnode.ObjectNode(this, "Spawn2"), 0);
|
|
||||||
_OnVolumeTrigger_008.addOutputs([_CallFunction_001]);
|
|
||||||
_CallFunction_001.addInput(_OnVolumeTrigger_008, 0);
|
|
||||||
_CallFunction_001.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction_001.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
|
|
||||||
var _Integer_012 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_012.addInput(new armory.logicnode.IntegerNode(this, 2), 0);
|
|
||||||
_Integer_012.addOutputs([_CallFunction_001]);
|
|
||||||
_CallFunction_001.addInput(_Integer_012, 0);
|
|
||||||
_CallFunction_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _CallFunction_004 = new armory.logicnode.CallFunctionNode(this);
|
|
||||||
var _OnVolumeTrigger_011 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_011.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_011.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_011.addInput(new armory.logicnode.ObjectNode(this, "Spawn5"), 0);
|
|
||||||
_OnVolumeTrigger_011.addOutputs([_CallFunction_004]);
|
|
||||||
_CallFunction_004.addInput(_OnVolumeTrigger_011, 0);
|
|
||||||
_CallFunction_004.addInput(_SelfTrait, 0);
|
|
||||||
_CallFunction_004.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
|
|
||||||
var _Integer_024 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_024.addInput(new armory.logicnode.IntegerNode(this, 5), 0);
|
|
||||||
_Integer_024.addOutputs([_CallFunction_004]);
|
|
||||||
_CallFunction_004.addInput(_Integer_024, 0);
|
|
||||||
_CallFunction_004.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_CallFunction_004.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _FunctionOutput = new armory.logicnode.FunctionOutputNode(this);
|
|
||||||
this.functionOutputNodes.set("_FunctionOutput", _FunctionOutput);
|
|
||||||
var _Loop = new armory.logicnode.LoopNode(this);
|
|
||||||
var _SetProperty_009 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _IsTrue_005 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _Function = new armory.logicnode.FunctionNode(this);
|
|
||||||
this.functionNodes.set("_Function", _Function);
|
|
||||||
_Function.addOutputs([_IsTrue_005]);
|
|
||||||
var _Compare_015 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_015.property0 = "Less";
|
|
||||||
_Compare_015.property1 = 9.999999747378752e-05;
|
|
||||||
var _GetProperty_005 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_005.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_GetProperty_005.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
|
|
||||||
_GetProperty_005.addOutputs([_Compare_015]);
|
|
||||||
_Compare_015.addInput(_GetProperty_005, 0);
|
|
||||||
_Compare_015.addInput(_Function, 1);
|
|
||||||
_Compare_015.addOutputs([_IsTrue_005]);
|
|
||||||
var _ConcatenateString = new armory.logicnode.ConcatenateStringNode(this);
|
|
||||||
var _String = new armory.logicnode.StringNode(this);
|
|
||||||
_String.addInput(new armory.logicnode.StringNode(this, "Spawn"), 0);
|
|
||||||
_String.addOutputs([_ConcatenateString]);
|
|
||||||
_ConcatenateString.addInput(_String, 0);
|
|
||||||
_ConcatenateString.addInput(_Function, 1);
|
|
||||||
var _GetObject = new armory.logicnode.GetObjectNode(this);
|
|
||||||
_GetObject.addInput(_ConcatenateString, 0);
|
|
||||||
var _GetChildren = new armory.logicnode.GetChildrenNode(this);
|
|
||||||
_GetChildren.addInput(_GetObject, 0);
|
|
||||||
var _ArrayGet = new armory.logicnode.ArrayGetNode(this);
|
|
||||||
_ArrayGet.addInput(_GetChildren, 0);
|
|
||||||
_ArrayGet.addInput(_Loop, 1);
|
|
||||||
var _SetVisible_010 = new armory.logicnode.SetVisibleNode(this);
|
|
||||||
_SetVisible_010.addInput(_Loop, 0);
|
|
||||||
_SetVisible_010.addInput(_ArrayGet, 0);
|
|
||||||
_SetVisible_010.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_SetVisible_010.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_ArrayGet.addOutputs([_SetVisible_010]);
|
|
||||||
var _ArrayLength = new armory.logicnode.ArrayLengthNode(this);
|
|
||||||
_ArrayLength.addInput(_GetChildren, 0);
|
|
||||||
_ArrayLength.addOutputs([_Loop]);
|
|
||||||
_GetChildren.addOutputs([_ArrayGet, _ArrayLength]);
|
|
||||||
_GetObject.addOutputs([_GetChildren]);
|
|
||||||
_ConcatenateString.addOutputs([_GetObject]);
|
|
||||||
_Function.addOutputs([_SetProperty_009, _Compare_015, _ConcatenateString]);
|
|
||||||
_Function.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_IsTrue_005.addInput(_Function, 0);
|
|
||||||
_IsTrue_005.addInput(_Compare_015, 0);
|
|
||||||
_IsTrue_005.addOutputs([_SetProperty_009]);
|
|
||||||
_SetProperty_009.addInput(_IsTrue_005, 0);
|
|
||||||
_SetProperty_009.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_009.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
|
|
||||||
_SetProperty_009.addInput(_Function, 1);
|
|
||||||
_SetProperty_009.addOutputs([_Loop]);
|
|
||||||
_Loop.addInput(_SetProperty_009, 0);
|
|
||||||
_Loop.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Loop.addInput(_ArrayLength, 0);
|
|
||||||
_Loop.addOutputs([_SetVisible_010]);
|
|
||||||
_Loop.addOutputs([_ArrayGet]);
|
|
||||||
_Loop.addOutputs([_FunctionOutput]);
|
|
||||||
_FunctionOutput.addInput(_Loop, 2);
|
|
||||||
_FunctionOutput.addInput(new armory.logicnode.NullNode(this), 0);
|
|
||||||
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _OnInit = new armory.logicnode.OnInitNode(this);
|
|
||||||
_OnInit.addOutputs([_SetProperty]);
|
|
||||||
_SetProperty.addInput(_OnInit, 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
|
|
||||||
var _Integer = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer.addOutputs([_SetProperty]);
|
|
||||||
_SetProperty.addInput(_Integer, 0);
|
|
||||||
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SendEvent_001 = new armory.logicnode.SendEventNode(this);
|
|
||||||
var _Merge = new armory.logicnode.MergeNode(this);
|
|
||||||
var _IsTrue = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _OnUpdate = new armory.logicnode.OnUpdateNode(this);
|
|
||||||
_OnUpdate.property0 = "Update";
|
|
||||||
_OnUpdate.addOutputs([_IsTrue]);
|
|
||||||
_IsTrue.addInput(_OnUpdate, 0);
|
|
||||||
var _Compare = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare.property0 = "Less Equal";
|
|
||||||
_Compare.property1 = 9.999999747378752e-05;
|
|
||||||
var _SeparateXYZ = new armory.logicnode.SeparateVectorNode(this);
|
|
||||||
var _GetLocation = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_GetLocation.addOutputs([_SeparateXYZ]);
|
|
||||||
_SeparateXYZ.addInput(_GetLocation, 0);
|
|
||||||
_SeparateXYZ.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
|
|
||||||
_SeparateXYZ.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
|
|
||||||
_SeparateXYZ.addOutputs([_Compare]);
|
|
||||||
_Compare.addInput(_SeparateXYZ, 2);
|
|
||||||
var _Integer_001 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_001.addInput(new armory.logicnode.IntegerNode(this, -9), 0);
|
|
||||||
_Integer_001.addOutputs([_Compare]);
|
|
||||||
_Compare.addInput(_Integer_001, 0);
|
|
||||||
_Compare.addOutputs([_IsTrue]);
|
|
||||||
_IsTrue.addInput(_Compare, 0);
|
|
||||||
_IsTrue.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_IsTrue, 0);
|
|
||||||
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _Branch = new armory.logicnode.BranchNode(this);
|
|
||||||
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _OnKeyboard = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard.property0 = "Started";
|
|
||||||
_OnKeyboard.property1 = "z";
|
|
||||||
_OnKeyboard.addOutputs([_IsTrue_001]);
|
|
||||||
_IsTrue_001.addInput(_OnKeyboard, 0);
|
|
||||||
var _KeyboardState = new armory.logicnode.KeyboardNode(this);
|
|
||||||
_KeyboardState.property0 = "Down";
|
|
||||||
_KeyboardState.property1 = "control";
|
|
||||||
var _IsTrue_002 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _OnKeyboard_001 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_001.property0 = "Started";
|
|
||||||
_OnKeyboard_001.property1 = "a";
|
|
||||||
_OnKeyboard_001.addOutputs([_IsTrue_002]);
|
|
||||||
_IsTrue_002.addInput(_OnKeyboard_001, 0);
|
|
||||||
_IsTrue_002.addInput(_KeyboardState, 0);
|
|
||||||
var _Branch_001 = new armory.logicnode.BranchNode(this);
|
|
||||||
_Branch_001.addInput(_IsTrue_002, 0);
|
|
||||||
var _Compare_002 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_002.property0 = "Greater";
|
|
||||||
_Compare_002.property1 = 9.999999747378752e-05;
|
|
||||||
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_GetProperty.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
|
|
||||||
var _Math = new armory.logicnode.MathNode(this);
|
|
||||||
_Math.property0 = "Add";
|
|
||||||
_Math.property1 = "false";
|
|
||||||
_Math.addInput(_GetProperty, 0);
|
|
||||||
_Math.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
_Math.addOutputs([_SetProperty_001]);
|
|
||||||
var _Compare_001 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_001.property0 = "Less";
|
|
||||||
_Compare_001.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_001.addInput(_GetProperty, 0);
|
|
||||||
var _Integer_002 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_002.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
|
|
||||||
_Integer_002.addOutputs([_Compare_001]);
|
|
||||||
_Compare_001.addInput(_Integer_002, 0);
|
|
||||||
_Compare_001.addOutputs([_Branch]);
|
|
||||||
var _Math_001 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_001.property0 = "Subtract";
|
|
||||||
_Math_001.property1 = "false";
|
|
||||||
_Math_001.addInput(_GetProperty, 0);
|
|
||||||
_Math_001.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
|
|
||||||
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty_002.addInput(_Branch_001, 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
|
|
||||||
_SetProperty_002.addInput(_Math_001, 0);
|
|
||||||
_SetProperty_002.addOutputs([_Merge]);
|
|
||||||
_Math_001.addOutputs([_SetProperty_002]);
|
|
||||||
_GetProperty.addOutputs([_Math, _Compare_001, _Compare_002, _Math_001]);
|
|
||||||
_Compare_002.addInput(_GetProperty, 0);
|
|
||||||
var _Integer_003 = new armory.logicnode.IntegerNode(this);
|
|
||||||
_Integer_003.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
|
|
||||||
_Integer_003.addOutputs([_Compare_002]);
|
|
||||||
_Compare_002.addInput(_Integer_003, 0);
|
|
||||||
_Compare_002.addOutputs([_Branch_001]);
|
|
||||||
_Branch_001.addInput(_Compare_002, 0);
|
|
||||||
_Branch_001.addOutputs([_SetProperty_002]);
|
|
||||||
_Branch_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_IsTrue_002.addOutputs([_Branch_001]);
|
|
||||||
_KeyboardState.addOutputs([_IsTrue_001, _IsTrue_002]);
|
|
||||||
_IsTrue_001.addInput(_KeyboardState, 0);
|
|
||||||
_IsTrue_001.addOutputs([_Branch]);
|
|
||||||
_Branch.addInput(_IsTrue_001, 0);
|
|
||||||
_Branch.addInput(_Compare_001, 0);
|
|
||||||
_Branch.addOutputs([_SetProperty_001]);
|
|
||||||
_Branch.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_SetProperty_001.addInput(_Branch, 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
|
|
||||||
_SetProperty_001.addInput(_Math, 0);
|
|
||||||
_SetProperty_001.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_SetProperty_001, 0);
|
|
||||||
_Merge.addInput(_SetProperty_002, 0);
|
|
||||||
var _OnKeyboard_002 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_002.property0 = "Down";
|
|
||||||
_OnKeyboard_002.property1 = "r";
|
|
||||||
_OnKeyboard_002.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnKeyboard_002, 0);
|
|
||||||
_Merge.addOutputs([_SendEvent_001]);
|
|
||||||
_SendEvent_001.addInput(_Merge, 0);
|
|
||||||
_SendEvent_001.addInput(new armory.logicnode.StringNode(this, "spawn"), 0);
|
|
||||||
_SendEvent_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SendEvent_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function go_spawn(arg0:Dynamic, arg1:Dynamic) {
|
|
||||||
var functionNode = this.functionNodes["_Function_001"];
|
|
||||||
functionNode.args = [];
|
|
||||||
functionNode.args.push(arg0);
|
|
||||||
functionNode.args.push(arg1);
|
|
||||||
functionNode.run(0);
|
|
||||||
return this.functionOutputNodes["_FunctionOutput_001"].result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public function set_spawn_nb(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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,83 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class Springbox_jump extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "Springbox_jump";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _PlayAction_001 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _ApplyForce = new armory.logicnode.ApplyForceNode(this);
|
|
||||||
var _PlayAction = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _OnVolumeTrigger = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger.addInput(new armory.logicnode.ObjectNode(this, "Field"), 0);
|
|
||||||
_OnVolumeTrigger.addOutputs([_PlayAction]);
|
|
||||||
_PlayAction.addInput(_OnVolumeTrigger, 0);
|
|
||||||
_PlayAction.addInput(new armory.logicnode.ObjectNode(this, "springbox"), 0);
|
|
||||||
_PlayAction.addInput(new armory.logicnode.StringNode(this, "springboxAction"), 0);
|
|
||||||
_PlayAction.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction.addOutputs([_ApplyForce]);
|
|
||||||
_ApplyForce.addInput(_PlayAction, 1);
|
|
||||||
_ApplyForce.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
var _Vector = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _Float = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float.addInput(new armory.logicnode.FloatNode(this, 1000.0), 0);
|
|
||||||
_Float.addOutputs([_Vector]);
|
|
||||||
_Vector.addInput(_Float, 0);
|
|
||||||
_Vector.addOutputs([_ApplyForce]);
|
|
||||||
_ApplyForce.addInput(_Vector, 0);
|
|
||||||
_ApplyForce.addOutputs([_PlayAction_001]);
|
|
||||||
_PlayAction_001.addInput(_ApplyForce, 0);
|
|
||||||
_PlayAction_001.addInput(new armory.logicnode.ObjectNode(this, "springbox"), 0);
|
|
||||||
_PlayAction_001.addInput(new armory.logicnode.StringNode(this, ""), 0);
|
|
||||||
_PlayAction_001.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _PlayAction_003 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _ApplyForce_001 = new armory.logicnode.ApplyForceNode(this);
|
|
||||||
var _PlayAction_002 = new armory.logicnode.PlayActionNode(this);
|
|
||||||
var _OnVolumeTrigger_002 = new armory.logicnode.OnVolumeTriggerNode(this);
|
|
||||||
_OnVolumeTrigger_002.property0 = "Enter";
|
|
||||||
_OnVolumeTrigger_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnVolumeTrigger_002.addInput(new armory.logicnode.ObjectNode(this, "Field2"), 0);
|
|
||||||
_OnVolumeTrigger_002.addOutputs([_PlayAction_002]);
|
|
||||||
_PlayAction_002.addInput(_OnVolumeTrigger_002, 0);
|
|
||||||
_PlayAction_002.addInput(new armory.logicnode.ObjectNode(this, "springbox2"), 0);
|
|
||||||
_PlayAction_002.addInput(new armory.logicnode.StringNode(this, "springboxAction2"), 0);
|
|
||||||
_PlayAction_002.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_002.addOutputs([_ApplyForce_001]);
|
|
||||||
_ApplyForce_001.addInput(_PlayAction_002, 1);
|
|
||||||
_ApplyForce_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
var _Vector_001 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _Float_001 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_001.addInput(new armory.logicnode.FloatNode(this, 1000.0), 0);
|
|
||||||
_Float_001.addOutputs([_Vector_001]);
|
|
||||||
_Vector_001.addInput(_Float_001, 0);
|
|
||||||
_Vector_001.addOutputs([_ApplyForce_001]);
|
|
||||||
_ApplyForce_001.addInput(_Vector_001, 0);
|
|
||||||
_ApplyForce_001.addOutputs([_PlayAction_003]);
|
|
||||||
_PlayAction_003.addInput(_ApplyForce_001, 0);
|
|
||||||
_PlayAction_003.addInput(new armory.logicnode.ObjectNode(this, "springbox2"), 0);
|
|
||||||
_PlayAction_003.addInput(new armory.logicnode.StringNode(this, ""), 0);
|
|
||||||
_PlayAction_003.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
|
|
||||||
_PlayAction_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_PlayAction_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,75 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class TrackCamera extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "TrackCamera";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _TranslateObject_002 = new armory.logicnode.TranslateObjectNode(this);
|
|
||||||
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _OnKeyboard_001 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_001.property0 = "Started";
|
|
||||||
_OnKeyboard_001.property1 = "e";
|
|
||||||
_OnKeyboard_001.addOutputs([_IsTrue_001]);
|
|
||||||
_IsTrue_001.addInput(_OnKeyboard_001, 0);
|
|
||||||
_IsTrue_001.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_IsTrue_001.addOutputs([_TranslateObject_002]);
|
|
||||||
_TranslateObject_002.addInput(_IsTrue_001, 0);
|
|
||||||
_TranslateObject_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
var _Vector_003 = new armory.logicnode.VectorNode(this);
|
|
||||||
var _Float_002 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_002.addInput(new armory.logicnode.FloatNode(this, 40.0), 0);
|
|
||||||
var _Math_002 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_002.property0 = "Multiply";
|
|
||||||
_Math_002.property1 = "false";
|
|
||||||
_Math_002.addInput(_Float_002, 0);
|
|
||||||
_Math_002.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
|
|
||||||
var _Vector_002 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_002.addInput(_Math_002, 0);
|
|
||||||
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _TranslateObject_003 = new armory.logicnode.TranslateObjectNode(this);
|
|
||||||
var _IsTrue_002 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _OnKeyboard_002 = new armory.logicnode.OnKeyboardNode(this);
|
|
||||||
_OnKeyboard_002.property0 = "Released";
|
|
||||||
_OnKeyboard_002.property1 = "e";
|
|
||||||
_OnKeyboard_002.addOutputs([_IsTrue_002]);
|
|
||||||
_IsTrue_002.addInput(_OnKeyboard_002, 0);
|
|
||||||
_IsTrue_002.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_IsTrue_002.addOutputs([_TranslateObject_003]);
|
|
||||||
_TranslateObject_003.addInput(_IsTrue_002, 0);
|
|
||||||
_TranslateObject_003.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_TranslateObject_003.addInput(_Vector_002, 0);
|
|
||||||
_TranslateObject_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_Vector_002.addOutputs([_TranslateObject_003]);
|
|
||||||
_Math_002.addOutputs([_Vector_002]);
|
|
||||||
_Float_002.addOutputs([_Math_002, _Vector_003]);
|
|
||||||
_Vector_003.addInput(_Float_002, 0);
|
|
||||||
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_003.addOutputs([_TranslateObject_002]);
|
|
||||||
_TranslateObject_002.addInput(_Vector_003, 0);
|
|
||||||
_TranslateObject_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetLocation = new armory.logicnode.SetLocationNode(this);
|
|
||||||
var _OnUpdate = new armory.logicnode.OnUpdateNode(this);
|
|
||||||
_OnUpdate.property0 = "Update";
|
|
||||||
_OnUpdate.addOutputs([_SetLocation]);
|
|
||||||
_SetLocation.addInput(_OnUpdate, 0);
|
|
||||||
_SetLocation.addInput(new armory.logicnode.ObjectNode(this, "TrackCamera"), 0);
|
|
||||||
var _GetLocation = new armory.logicnode.GetLocationNode(this);
|
|
||||||
_GetLocation.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_GetLocation.addOutputs([_SetLocation]);
|
|
||||||
_SetLocation.addInput(_GetLocation, 0);
|
|
||||||
_SetLocation.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,158 +0,0 @@
|
|||||||
package arm.node;
|
|
||||||
|
|
||||||
@:keep class TrackCamera2 extends armory.logicnode.LogicTree {
|
|
||||||
|
|
||||||
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
|
||||||
|
|
||||||
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
|
||||||
|
|
||||||
public function new() {
|
|
||||||
super();
|
|
||||||
name = "TrackCamera2";
|
|
||||||
this.functionNodes = new Map();
|
|
||||||
this.functionOutputNodes = new Map();
|
|
||||||
notifyOnAdd(add);
|
|
||||||
}
|
|
||||||
|
|
||||||
override public function add() {
|
|
||||||
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _OnInit = new armory.logicnode.OnInitNode(this);
|
|
||||||
_OnInit.addOutputs([_SetProperty_001]);
|
|
||||||
_SetProperty_001.addInput(_OnInit, 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
|
|
||||||
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
|
|
||||||
var _Boolean_001 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_Boolean_001.addOutputs([_SetProperty_001]);
|
|
||||||
_SetProperty_001.addInput(_Boolean_001, 0);
|
|
||||||
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
var _SetProperty_005 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
var _TranslateObject = new armory.logicnode.TranslateObjectNode(this);
|
|
||||||
var _IsTrue_003 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _Gate = new armory.logicnode.GateNode(this);
|
|
||||||
_Gate.property0 = "Or";
|
|
||||||
_Gate.property1 = 9.999999747378752e-05;
|
|
||||||
var _IsFalse_003 = new armory.logicnode.IsFalseNode(this);
|
|
||||||
var _OnUpdate_003 = new armory.logicnode.OnUpdateNode(this);
|
|
||||||
_OnUpdate_003.property0 = "Update";
|
|
||||||
_OnUpdate_003.addOutputs([_IsFalse_003]);
|
|
||||||
_IsFalse_003.addInput(_OnUpdate_003, 0);
|
|
||||||
var _GetProperty_004 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_004.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
|
|
||||||
_GetProperty_004.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
|
|
||||||
_GetProperty_004.addOutputs([_IsFalse_003]);
|
|
||||||
_IsFalse_003.addInput(_GetProperty_004, 0);
|
|
||||||
_IsFalse_003.addOutputs([_Gate]);
|
|
||||||
_Gate.addInput(_IsFalse_003, 0);
|
|
||||||
var _Compare_002 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_002.property0 = "Greater Equal";
|
|
||||||
_Compare_002.property1 = 9.999999747378752e-05;
|
|
||||||
var _SeparateXYZ_001 = new armory.logicnode.SeparateVectorNode(this);
|
|
||||||
var _GetVelocity_002 = new armory.logicnode.GetVelocityNode(this);
|
|
||||||
_GetVelocity_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_GetVelocity_002.addOutputs([_SeparateXYZ_001]);
|
|
||||||
_GetVelocity_002.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
|
|
||||||
_SeparateXYZ_001.addInput(_GetVelocity_002, 0);
|
|
||||||
_SeparateXYZ_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
|
|
||||||
_SeparateXYZ_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
|
|
||||||
var _Compare_003 = new armory.logicnode.CompareNode(this);
|
|
||||||
_Compare_003.property0 = "Less Equal";
|
|
||||||
_Compare_003.property1 = 9.999999747378752e-05;
|
|
||||||
_Compare_003.addInput(_SeparateXYZ_001, 2);
|
|
||||||
var _Math_001 = new armory.logicnode.MathNode(this);
|
|
||||||
_Math_001.property0 = "Multiply";
|
|
||||||
_Math_001.property1 = "false";
|
|
||||||
var _Float_001 = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float_001.addInput(new armory.logicnode.FloatNode(this, 5.0), 0);
|
|
||||||
_Float_001.addOutputs([_Math_001, _Compare_002]);
|
|
||||||
_Math_001.addInput(_Float_001, 0);
|
|
||||||
_Math_001.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
|
|
||||||
_Math_001.addOutputs([_Compare_003]);
|
|
||||||
_Compare_003.addInput(_Math_001, 0);
|
|
||||||
_Compare_003.addOutputs([_Gate]);
|
|
||||||
_SeparateXYZ_001.addOutputs([_Compare_002, _Compare_003]);
|
|
||||||
_Compare_002.addInput(_SeparateXYZ_001, 2);
|
|
||||||
_Compare_002.addInput(_Float_001, 0);
|
|
||||||
_Compare_002.addOutputs([_Gate]);
|
|
||||||
_Gate.addInput(_Compare_002, 0);
|
|
||||||
_Gate.addInput(_Compare_003, 0);
|
|
||||||
_Gate.addOutputs([_IsTrue_003]);
|
|
||||||
_Gate.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_IsTrue_003.addInput(_Gate, 0);
|
|
||||||
_IsTrue_003.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_IsTrue_003.addOutputs([_TranslateObject]);
|
|
||||||
_TranslateObject.addInput(_IsTrue_003, 0);
|
|
||||||
_TranslateObject.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
|
|
||||||
var _Vector = new armory.logicnode.VectorNode(this);
|
|
||||||
var _Float = new armory.logicnode.FloatNode(this);
|
|
||||||
_Float.addInput(new armory.logicnode.FloatNode(this, 5.0), 0);
|
|
||||||
var _Math = new armory.logicnode.MathNode(this);
|
|
||||||
_Math.property0 = "Multiply";
|
|
||||||
_Math.property1 = "false";
|
|
||||||
_Math.addInput(_Float, 0);
|
|
||||||
_Math.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
|
|
||||||
var _Vector_001 = new armory.logicnode.VectorNode(this);
|
|
||||||
_Vector_001.addInput(_Math, 0);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
var _TranslateObject_001 = new armory.logicnode.TranslateObjectNode(this);
|
|
||||||
var _IsTrue_004 = new armory.logicnode.IsTrueNode(this);
|
|
||||||
var _Merge = new armory.logicnode.MergeNode(this);
|
|
||||||
var _OnContact_004 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_004.property0 = "Begin";
|
|
||||||
_OnContact_004.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_004.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
|
|
||||||
_OnContact_004.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnContact_004, 0);
|
|
||||||
var _OnContact_003 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_003.property0 = "Begin";
|
|
||||||
_OnContact_003.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_003.addInput(new armory.logicnode.ObjectNode(this, "bridge_01"), 0);
|
|
||||||
_OnContact_003.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnContact_003, 0);
|
|
||||||
var _OnContact_002 = new armory.logicnode.OnContactNode(this);
|
|
||||||
_OnContact_002.property0 = "Begin";
|
|
||||||
_OnContact_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
|
||||||
_OnContact_002.addInput(new armory.logicnode.ObjectNode(this, "bridge_02"), 0);
|
|
||||||
_OnContact_002.addOutputs([_Merge]);
|
|
||||||
_Merge.addInput(_OnContact_002, 0);
|
|
||||||
_Merge.addOutputs([_IsTrue_004]);
|
|
||||||
_IsTrue_004.addInput(_Merge, 0);
|
|
||||||
var _GetProperty_003 = new armory.logicnode.GetPropertyNode(this);
|
|
||||||
_GetProperty_003.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
|
|
||||||
_GetProperty_003.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
|
|
||||||
_GetProperty_003.addOutputs([_IsTrue_004]);
|
|
||||||
_IsTrue_004.addInput(_GetProperty_003, 0);
|
|
||||||
_IsTrue_004.addOutputs([_TranslateObject_001]);
|
|
||||||
_TranslateObject_001.addInput(_IsTrue_004, 0);
|
|
||||||
_TranslateObject_001.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
|
|
||||||
_TranslateObject_001.addInput(_Vector_001, 0);
|
|
||||||
var _SetProperty_006 = new armory.logicnode.SetPropertyNode(this);
|
|
||||||
_SetProperty_006.addInput(_TranslateObject_001, 0);
|
|
||||||
_SetProperty_006.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_006.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
|
|
||||||
var _Boolean_005 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_005.addInput(new armory.logicnode.BooleanNode(this, false), 0);
|
|
||||||
_Boolean_005.addOutputs([_SetProperty_006]);
|
|
||||||
_SetProperty_006.addInput(_Boolean_005, 0);
|
|
||||||
_SetProperty_006.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
_TranslateObject_001.addOutputs([_SetProperty_006]);
|
|
||||||
_Vector_001.addOutputs([_TranslateObject_001]);
|
|
||||||
_Math.addOutputs([_Vector_001]);
|
|
||||||
_Float.addOutputs([_Math, _Vector]);
|
|
||||||
_Vector.addInput(_Float, 0);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
|
||||||
_Vector.addOutputs([_TranslateObject]);
|
|
||||||
_TranslateObject.addInput(_Vector, 0);
|
|
||||||
_TranslateObject.addOutputs([_SetProperty_005]);
|
|
||||||
_SetProperty_005.addInput(_TranslateObject, 0);
|
|
||||||
_SetProperty_005.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
|
||||||
_SetProperty_005.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
|
|
||||||
var _Boolean_004 = new armory.logicnode.BooleanNode(this);
|
|
||||||
_Boolean_004.addInput(new armory.logicnode.BooleanNode(this, true), 0);
|
|
||||||
_Boolean_004.addOutputs([_SetProperty_005]);
|
|
||||||
_SetProperty_005.addInput(_Boolean_004, 0);
|
|
||||||
_SetProperty_005.addOutputs([new armory.logicnode.NullNode(this)]);
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 187 KiB |
Before Width: | Height: | Size: 423 KiB |
Before Width: | Height: | Size: 172 KiB |
Before Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 154 KiB |
Before Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 236 KiB |
Before Width: | Height: | Size: 169 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 523 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 132 KiB |
Before Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 43 KiB |
BIN
props/cave.blend
Before Width: | Height: | Size: 473 KiB |
Before Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 62 KiB |