0 votes

I like editor's filesystem_dock and I want to create plugin that allow to change folder (not only view "res://" folder), unpack tar, zip, ?rar? and custom package and import game resources.

Is is possible to modify filesystem dock via API or I need to copy it from godot source (editor/filesystem_dock.cpp)?

asked Jan 16 in Engine by q4a (28 points)

I don't think it was ever intended to be used this way... I wonder if it's even exposed to the API. Usually plugin makers make their own UI from basic controls instead of using existing docks.

1 Answer

0 votes

You cannot edit the FileSystem dock via the scripting API. The latest stable (3.1.2) only has an EditorInterface.select_file() method. Afaict, that is the only method related to the dock at all.

If you want to use that node, then yes, you would need to recreate its features by translating the engine's C++ editor code into script code for some personal node of your own creation.

answered Jan 17 by Will Nations (173 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.