Making a script with the settings for installing?

You cannot use an answer file with Calamares.

For different purposes and intents I have written several scripts which - more or less - is defined by variables.

The latest is a script generating a fully encrypted setup