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

Script templates #138

Open
pathartl opened this issue Oct 25, 2024 · 1 comment
Open

Script templates #138

pathartl opened this issue Oct 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@pathartl
Copy link
Collaborator

Basic script templates for script types could be defined in Settings. These could be accessible via the script editor. Multiple script templates per script type would be a required feature.

  • Each script type could have a default script template that would automatically be used when a new script is created
  • Documentation could be reduced by prepopulating installs with basic script types e.g. NameChange scripts could have $NewPlayerAlias and $OldPlayerAlias already defined
  • Script templates would let you define scripts that might be used across games/servers/redists. An example would be an install script template that sets the resolution in a GoldSrc game.
@pathartl pathartl added documentation Improvements or additions to documentation enhancement New feature or request and removed documentation Improvements or additions to documentation labels Oct 25, 2024
@pathartl
Copy link
Collaborator Author

Maybe not entirely useful? Would customizable script snippets work better?

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

No branches or pull requests

1 participant