@jip said in Developers Iteration IV of 2023:
Other note worthy changes
Context based templates
- #5543 Add the ability to use the context of the build preview
It is best shown visually. See the pull request for a video. With this feature you can create templates that use the build preview as its context. As an example;
- imagine you have a radar as a build preview. If you hit tab (the hotkey to trigger the context based templates) then it turns into a radar that capped with power generators
- imagine you have a tech 3 air factory as a build preview. If you hit tab then it turns into a chunk of air grid
Can someone please explain how I get this to work?
First off, I have "FAF Develop" selected as Game Type in the Create Game dialog.
Second, the feature as mentioned in "Developers Iteration III" does work - if I have, say, a radar already built or being built (not just queued) and I hover my mouse over it and press TAB (which is set to "Orders - Mouse Context > Cycle Templates"), a ring of 4 pgens will appear as a build preview.
I cannot however, get the behavior as described above. If I select an engineer, click on T1 Radar, and hit TAB, it only says "No templates available". At first I thought that I needed to create a template myself of the radar ringed by pgens, but even after creating that template, it still doesn't work.
Thanks in advance for any advice.