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

Scenario editor quality of life wishlist #20

Open
1 of 3 tasks
NQNStudios opened this issue Nov 27, 2024 · 1 comment
Open
1 of 3 tasks

Scenario editor quality of life wishlist #20

NQNStudios opened this issue Nov 27, 2024 · 1 comment

Comments

@NQNStudios
Copy link
Owner

NQNStudios commented Nov 27, 2024

@NQNStudios
Copy link
Owner Author

NQNStudios commented Nov 28, 2024

Game plan for the "launch" button in scenario editor:

  • add --scenario command-line argument to the game
    • process after the main argument, which is a party to load
    • resolve the absolute path of its argument and add the directory to all_scen_dirs() vector
    • If no party is provided at the command line, use force_party to load one
    • If the party is already in the scenario being edited, do nothing (keep SDF flags as they are saved)
    • If the party is not in the target scenario, put them in it
  • add --town command-line argument to the game
    • processes after --scenario
    • require that the loaded party is in a scenario with the given town number
    • put them in it
  • add --outdoors <x> <y> command-line argument to the game
    • processes after --scenario
    • require that the loaded party is in a scenario with the given outdoor section
    • put them in it
  • add --location command-line argument to the game
    • process after all of the above arguments
    • move the party to the given location in the current town or outdoor section
  • the scenario editor launch button will call a subprocess of the game with all the right arguments
  • the scenario editor will need an option to specify a party for debugging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant