codecat / godot-tbloader

TrenchBroom Loader for Godot 4. (Alternative to Qodot)
MIT License
232 stars 29 forks source link

Support instantiating a scene for the worldspawn entity #92

Open ashelleyPurdue opened 8 months ago

ashelleyPurdue commented 8 months ago

This PR allows the user to provide a scene named "worldspawn.tscn" that will be instantiated for the worldspawn entity, just like they would for a custom entity. This scene can even have a script attached to it, which can be used to access any custom properties added to worldspawn in your fgd file.