diff --git a/exts/__pycache__/vimeo.cpython-310.pyc b/exts/__pycache__/vimeo.cpython-310.pyc index c1c60768..1aa343b0 100644 Binary files a/exts/__pycache__/vimeo.cpython-310.pyc and b/exts/__pycache__/vimeo.cpython-310.pyc differ diff --git a/exts/__pycache__/youtube.cpython-310.pyc b/exts/__pycache__/youtube.cpython-310.pyc index e16756d4..bf76992b 100644 Binary files a/exts/__pycache__/youtube.cpython-310.pyc and b/exts/__pycache__/youtube.cpython-310.pyc differ diff --git a/source/images/logic_nodes/data/path/ln-get_master_folder.png b/source/images/logic_nodes/data/path/ln-get_master_folder.png new file mode 100644 index 00000000..9735e1ca Binary files /dev/null and b/source/images/logic_nodes/data/path/ln-get_master_folder.png differ diff --git a/source/images/logic_nodes/data/path/ln-join_path.png b/source/images/logic_nodes/data/path/ln-join_path.png new file mode 100644 index 00000000..e947aa37 Binary files /dev/null and b/source/images/logic_nodes/data/path/ln-join_path.png differ diff --git a/source/images/logic_nodes/math/ln-tween_value.png b/source/images/logic_nodes/math/ln-tween_value.png index 740b4cef..63e31d1a 100644 Binary files a/source/images/logic_nodes/math/ln-tween_value.png and b/source/images/logic_nodes/math/ln-tween_value.png differ diff --git a/source/images/logic_nodes/objects/transformation/ln-move_to.png b/source/images/logic_nodes/objects/transformation/ln-move_to.png index d33bc255..8efc4b40 100644 Binary files a/source/images/logic_nodes/objects/transformation/ln-move_to.png and b/source/images/logic_nodes/objects/transformation/ln-move_to.png differ diff --git a/source/images/logic_nodes/sound/fmod/ln-load_bank.PNG b/source/images/logic_nodes/sound/fmod/ln-load_bank.PNG new file mode 100644 index 00000000..20ba8080 Binary files /dev/null and b/source/images/logic_nodes/sound/fmod/ln-load_bank.PNG differ diff --git a/source/images/logic_nodes/sound/fmod/ln-start_event.PNG b/source/images/logic_nodes/sound/fmod/ln-start_event.PNG new file mode 100644 index 00000000..079bc2db Binary files /dev/null and b/source/images/logic_nodes/sound/fmod/ln-start_event.PNG differ diff --git a/source/manual/logic_nodes/data/index.rst b/source/manual/logic_nodes/data/index.rst index 31f89e88..0cf32629 100644 --- a/source/manual/logic_nodes/data/index.rst +++ b/source/manual/logic_nodes/data/index.rst @@ -12,3 +12,4 @@ Data variables/index load_scene load_file_content + path/index diff --git a/source/manual/logic_nodes/data/path/get_master_folder.rst b/source/manual/logic_nodes/data/path/get_master_folder.rst new file mode 100644 index 00000000..63766d63 --- /dev/null +++ b/source/manual/logic_nodes/data/path/get_master_folder.rst @@ -0,0 +1,24 @@ +.. figure:: /images/logic_nodes/data/path/ln-get_master_folder.png + :align: right + :width: 215 + :alt: Get Master Folder Node + +.. _ln-get_master_folder: + +============================== +Get Master Folder +============================== + +Go up in directories until the directory name matches the given string. + +Inputs +++++++++++++++++++++++++++++++ + +Name + Name of the folder to look for. + +Outputs +++++++++++++++++++++++++++++++ + +Path + Full path to the directory. If no directory is found, an empty string is returned. diff --git a/source/manual/logic_nodes/data/path/index.rst b/source/manual/logic_nodes/data/path/index.rst new file mode 100644 index 00000000..feae7f6a --- /dev/null +++ b/source/manual/logic_nodes/data/path/index.rst @@ -0,0 +1,11 @@ +.. _ln-data-path-index: + +============================== +Path +============================== + +.. toctree:: + :maxdepth: 1 + + get_master_folder + join_path diff --git a/source/manual/logic_nodes/data/path/join_path.rst b/source/manual/logic_nodes/data/path/join_path.rst new file mode 100644 index 00000000..87be5506 --- /dev/null +++ b/source/manual/logic_nodes/data/path/join_path.rst @@ -0,0 +1,32 @@ +.. figure:: /images/logic_nodes/data/path/ln-join_path.png + :align: right + :width: 215 + :alt: Join Path Node + +.. _ln-join_path: +============================== +Join Path +============================== + +Join multiple components of a path regardless of operating system. + +Parameters +++++++++++++++++++++++++++++++ + +Add Socket + Will add another socket for additional items. + +Inputs +++++++++++++++++++++++++++++++ + +Path + Path Component. + +Path + Path Component. + +Outputs +++++++++++++++++++++++++++++++ + +Path + Full path to the directory. diff --git a/source/manual/logic_nodes/math/tween_value.rst b/source/manual/logic_nodes/math/tween_value.rst index 870e7f67..b51ace4b 100644 --- a/source/manual/logic_nodes/math/tween_value.rst +++ b/source/manual/logic_nodes/math/tween_value.rst @@ -31,25 +31,25 @@ Type A value type to process. On Demand - todo + Automatically move right on the curve if the "Result" socket is being accessed. Inputs ++++++++++++++++++++++++++++++ Forward - todo + Move right on the curve. Back - todo + Move left on the curve. From - Starting tween value. todo + Starting tween value. To - Ending tween value. todo + Ending tween value. Duration - Duration of tween. todo + Duration of Tweening. Outputs ++++++++++++++++++++++++++++++ @@ -57,8 +57,11 @@ Outputs Done *True* if node performed successfully, else *False*. +Reached + *True* if the factor is either 0 or 1, else *False*. + Result - Resulting tween value. todo + Resulting tween value. Factor - todo + Current X-Axis position. diff --git a/source/manual/logic_nodes/objects/transformation/move_to.rst b/source/manual/logic_nodes/objects/transformation/move_to.rst index 9c539cab..3c68d461 100644 --- a/source/manual/logic_nodes/objects/transformation/move_to.rst +++ b/source/manual/logic_nodes/objects/transformation/move_to.rst @@ -37,3 +37,6 @@ Output Done *True* if the node performed successfully, else *False*. + +Reached + *True* if the object is within stopping distance, else *False*. diff --git a/source/manual/logic_nodes/sound/fmod/index.rst b/source/manual/logic_nodes/sound/fmod/index.rst new file mode 100644 index 00000000..212d37a9 --- /dev/null +++ b/source/manual/logic_nodes/sound/fmod/index.rst @@ -0,0 +1,11 @@ +.. _ln-sound-fmod: + +============================== +FMod +============================== + +.. toctree:: + :maxdepth: 1 + + load_bank + start_event diff --git a/source/manual/logic_nodes/sound/fmod/load_bank.rst b/source/manual/logic_nodes/sound/fmod/load_bank.rst new file mode 100644 index 00000000..9a629f6e --- /dev/null +++ b/source/manual/logic_nodes/sound/fmod/load_bank.rst @@ -0,0 +1,27 @@ +.. figure:: /images/logic_nodes/sound/fmod/ln-load_bank.png + :align: right + :width: 215 + :alt: Load Bank Node + +.. _ln-load_bank: + +============================== +Load Bank +============================== + +Load a `.bank` file from the system for later use. + +Inputs +++++++++++++++++++++++++++++++ + +Condition + If connected, condition must be fulfilled for node to activate. + +Path + Path to the `.bank` file. `.bank` files are build with the FMod application. + +Outputs +++++++++++++++++++++++++++++++ + +Done + *True* if node performed successfully, else *False*. diff --git a/source/manual/logic_nodes/sound/fmod/start_event.rst b/source/manual/logic_nodes/sound/fmod/start_event.rst new file mode 100644 index 00000000..41a0c0a5 --- /dev/null +++ b/source/manual/logic_nodes/sound/fmod/start_event.rst @@ -0,0 +1,45 @@ +.. figure:: /images/logic_nodes/sound/fmod/ln-start_event.png + :align: right + :width: 215 + :alt: Start Event Node + +.. _ln-start_event: + +============================== +Start Event +============================== + +Start an event by name. + +Parameters +++++++++++++++++++++++++++++++ + +Speaker Mode + If active, an object reference will be used for the position and orientation of this sound. + +Inputs +++++++++++++++++++++++++++++++ + +Condition + If connected, condition must be fulfilled for node to activate. + +Event + Name of the event. Event names are defined within the FMod application. + +Position + World position of this event. + +Speaker + Reference object for position and orientation. + +Channel + Channel for grouping events together. + +Outputs +++++++++++++++++++++++++++++++ + +Done + *True* if node performed successfully, else *False*. + +Event + The `Event` or `EventSpeaker` python object. diff --git a/source/manual/logic_nodes/sound/index.rst b/source/manual/logic_nodes/sound/index.rst index 56ef8599..ef8f39c5 100644 --- a/source/manual/logic_nodes/sound/index.rst +++ b/source/manual/logic_nodes/sound/index.rst @@ -13,3 +13,5 @@ Sound resume_sound stop_sound stop_all_sounds + + fmod/index