Skip to content

[Tool Design] (fuse) #5

@snake-biscuits

Description

@snake-biscuits

fuse.py

  • parse .xml (mrvn/)
    • collect overrides from pilot/ (index by Block)
  • collect .json for current .xml
  • parse .json (pilot/)
  • insert new choiceTypes
  • apply json overrides
    • credit .json contributor(s) in a comment above definition
    • override Type (xml tag)
    • override header (index by Entity)
      • color
      • box
      • model
    • override Keys (index by keyname)
      • type
      • name
      • default
      • description
    • append additional Keys
    • override Spawnflags (index by bit)
      • name
      • default
      • description
    • append additional SpawnFlags
    • override Notes (preserve "Introduced by Source / Titanfall" on first line)
  • write to f"simulacrum/{game}/{ent_filename[xml_filename]}"

tests/

  • validate xml schema
    • write schema/entity_definitions.xsd
    • automate mrvn/ validation
    • automate simulacrum/ validation
  • .json schema
    • write schema/entity.json
    • write schema/choiceType.json
    • automate pilot/ validation
    • automate choiceType validation
    • dynamic type checking (get what the static schema misses)

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions