Jump to content

SlidingDoor.lua from Components Sample Tutorial not functioning. Custom Map not showing properties of sliding door.


Go to solution Solved by Josh,

Recommended Posts

Posted

One video shows starting a new project on beta build 2934, installing the Components Sample content from the downloads and opening the components map. Then running the map shows cannot open the sliding door using "e" key.  The other video shows the "flowgraph.map" map having the same problem, but also with the trigger brush.  When I have tried to add the sliding door script in my existing project, the sliding door component attached to the door in the flowgraph does not show the functions that are available in the Components Sample (see 3rd video). Thanks.

SlidingDoorComponentNotWorking.zip SlidingDoorComponentNotWorkingInCustomGame.zip

  • Thanks 1
Posted

I updated the file in the system with these changes:
Change sliding door pin to (192,0,0) and speed to 100.

You will probably need to delete the C:/ProgramData/Leadwerks/Community/Downloads folder to clear the cache, since it does not check file times or version numbers.

Changes to the script may still be necessary, I am investigating...

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted
On 8/7/2025 at 4:20 PM, CSandman said:

When I have tried to add the sliding door script in my existing project, the sliding door component attached to the door in the flowgraph does not show the functions that are available in the Components

Why did you need to add the sliding door script to your project? It is included in the default template.

Did you copy both the script and the accompanying JSON file that stores the definitions the editor loads?

My job is to make tools you love, with the features you want, and performance you can't live without.

  • Solution
Posted

I updated the two door scripts to support auto-generated definition files. I still need to do the same for the CPP versions, along with all other components, which were written before the auto-gen system was implemented, but I think the original bug report is resolved.

My job is to make tools you love, with the features you want, and performance you can't live without.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...