Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tool Design] (fuse) #5

Open
29 of 35 tasks
snake-biscuits opened this issue Nov 12, 2022 · 1 comment
Open
29 of 35 tasks

[Tool Design] (fuse) #5

snake-biscuits opened this issue Nov 12, 2022 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@snake-biscuits
Copy link
Member

snake-biscuits commented Nov 12, 2022

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)
@snake-biscuits snake-biscuits self-assigned this Nov 12, 2022
@snake-biscuits snake-biscuits added the enhancement New feature or request label Nov 12, 2022
snake-biscuits added a commit that referenced this issue Nov 15, 2022
@snake-biscuits
Copy link
Member Author

override Notes (preserve "Introduced by Source / Titanfall" on first line)

Appending might be easier, since everything else is automatically generated
Either notes will be "New in Titanfall" or a copy of the Source Engine description + new vs. deprecated key-values

snake-biscuits added a commit that referenced this issue Mar 7, 2023
@snake-biscuits snake-biscuits added the documentation Improvements or additions to documentation label Aug 13, 2023
@snake-biscuits snake-biscuits changed the title Write the Code [Tool Design] (fuse) Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant