Map specific templates
|Reported by:||elexis||Owned by:|
|Priority:||Nice to Have||Milestone:|
|Component:||UI & Simulation||Keywords:|
Some maps might want to use templates that can only be used with that map feasibly, mostly inheriting public mod templates and changing just some properties in there.
- Polar Sea has a special snow wolf template that is most likely never going to be used anywhere else.
- Danubius could use some special templates too, walls that don't convert to the player.
- Scenario/Campaign maps would be able to create individuals with some traits that inherit from public mod templates. For example they can have a custom balancing or name. (Not a custom actor, because if we have that in the public mod, then we should also have a template in the public mod using the visual actor for map authors).
(Since maps should also be able to specifc gamesetup settings with actual JS code, we can often have more than 3 files (pmp, xml, triggers js, gamesetup js, templates xml), it might be an idea to put every map into a single directory. But the downside (a lot of directory traversal overhead when working with the files) seems to outweigh the benefit of doing so.