Page 3 of 3

Re: [Blender]SlidingDoor OpenClose&EnableDisable NodeTrees

PostPosted: Sun Sep 06, 2020 9:20 am
by Maroonroon
Hello :)
So... After a break, I have finaly finish converting my Blend files to Korman, re-scale the objects (for some other reasons), and then testing the Node Tree in game (Complete Chronicles only, for now).

Note:
- Take a look at the nodes elements titles, they gives informations.
- The sounds used are probably not the definitive sounds.


Here's my working "OfficeDoorOpenClose" Node Tree (for a door with "exterior one shot animations", but it's easy to delete the "exterior one shot animations"):
Show Spoiler


And here's my working "OfficeDoorEnableDisable" Node Tree (for a "lockable from inside only" door, but it's easy to add "lockable from ouside" elements in this Node Tree, using the "OfficeDoorOpenClose" Node Tree as model):
Show Spoiler


SDL:
Show Spoiler

Re: [Blender]SlidingDoor OpenClose&EnableDisable NodeTrees

PostPosted: Mon Sep 07, 2020 7:14 am
by Maroonroon
Now I have to understand how to set the Python file...

For only 1 door, the "OfficeDoor" with the "OfficeDoorClosed" variable, the Python file is like this:

Python File: Show Spoiler


But how to add in it the "OfficeDoorEnabled" variable?
And how to add another door, the "LivingRoomDoor" for example, with the "LivingRoomDoorClosed" variable and the "LivingRoomDoorEnabled" variable?

Re: [Blender]SlidingDoor OpenClose&EnableDisable NodeTrees

PostPosted: Tue Sep 08, 2020 8:51 am
by Tsar Hoikas
You don't need to add anything to your Age's python file for doors - the python files you specified in the node tree handle everything for you. The stuff you have in the age python file related to OfficeDoor and OfficeDoorClosed doesn't do anything of relevance.

Re: [Blender]SlidingDoor OpenClose&EnableDisable NodeTrees

PostPosted: Tue Sep 08, 2020 1:47 pm
by Maroonroon
Ah ok, thank you very much. :)

Python File: Show Spoiler