Skip to content

Document custom Qodot Nodes and custom Qodot Resources #4

@RisingThumb

Description

@RisingThumb

It may be worthwhile documenting the following for completeness(If only to point out for some that they are internal and not relevant to the majority of users). Documenting their fields, methods, signals and inheritance tree.

Resources

  • QodotFGDClass
  • QodotFGDBaseClass
  • QodotFGDPointClass
  • QodotFGDSolidClass
  • QodotFGDFile
  • QodotWorldspawnLayer
  • QuakeMapFile
  • QuakePaletteFile
  • QuakeWadFile

Nodes

  • QodotPlugin
  • QodotSpatial
  • QodotMap
  • QodotEntity
  • QodotLight
  • QodotRotateEntity

An example of this, is that for QodotMap, the signal outputs aren't documented(something I've used for knowing when to generate navmeshes at runtime after generating a map at runtime) and then using the verify_and_build() method available on QodotMap(should make more programmatic use of QodotMap easier to find out about).

As for the resources, the BaseClass, PointClass and SolidClass resources are already documented under the Entities section, but I don't know if we want exhaustive documentation on their fields there. It may be better to present the most useful fields there, and link to the complete reference for the resources.

In my head for this, I have in mind something akin to javadocs or the Godot Docs class Reference https://docs.godotengine.org/en/stable/classes/index.html

BaseClass, PointClass, SolidClass and QodotMap are the particular resources and nodes I imagine being something to prioritise with this ticket as these are the most frequently used in projects using Qodot. The others listed above, I'm aware they exist, but haven't used them or looked much into them(I expect they are mostly internally used).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions