@arma473 said in Ship FAF with PD + walls template by default:
Is the game prefs shared with the steam installation?
Yes, but it should be pretty easy to just point to a different file if we don't want mess with people's steam installations.
If so, how easy is it to add in a template?
ez pz
@arma473 said in Ship FAF with PD + walls template by default:
We would have to write a parser that could open and interpret the game prefs file, find out if the template (or if an equivalent template is already there), and if it's not there, add it, but only do this the very first time someone loads FAF?
You're overthinking it.
If templatecount == 0:
add pd+wall template
Perhaps just make a tutorial video about how to make this PD template and encourage new players to watch the video, follow the process, learn to make their own templates, and then learn to start using this one. Giving people a template that they can easily make for themselves does nothing for people who already know how to make templates, and for people who don't know, it takes away an opportunity for them to learn.
New players already have dozens of tutorials to watch, watching one just for adding a template should be the least of their priorities.
Also, if you break one person's game prefs file, you will never hear the end of it.
![eddcc946-2008-4f53-b111-e0fb6dc19487-image.png](/assets/uploads/files/1613151473267-eddcc946-2008-4f53-b111-e0fb6dc19487-image.png)