godot-behavior-tree-plugin icon indicating copy to clipboard operation
godot-behavior-tree-plugin copied to clipboard

Plugin clutters "Create New Node" dialogue

Open menip opened this issue 6 years ago • 4 comments

Would be nice to have all extend something common, so that in "Create New Node" we don't get: image

menip avatar Jun 13 '19 20:06 menip

Seems would have to change all

add_custom_type(
    "Behavior*",
    "Node",
     preload(script),
    preload(png)
)

to a single

add_custom_type(
    "BehaviorTree",
    "Node",
     preload(script),
    preload(png)
)

and for all the rest

add_custom_type(
    "Behavior*",
    "BehaviorTree",
     preload(script),
    preload(png)
)

Not 100% as haven't used this part of engine yet.

menip avatar Jun 13 '19 20:06 menip

@menip I just tried what you suggested and it did not work. The other "BehaviorTree" types just never show up. Got any other ideas?

FeralBytes avatar Jun 16 '19 04:06 FeralBytes

I thought this was a limitation in godot for custom nodes (memory from 1+ year ago)

brandonlamb avatar May 14 '20 18:05 brandonlamb

Related: https://github.com/godotengine/godot/issues/29548

This will probably be fixed with the joining of class_name and add_custom_type()

farfalk avatar Jan 09 '21 16:01 farfalk