Can XNA Content Pipeline split one content file into several .xnb?
- by Zeta Two
Let's say I have an xml file which looks like this
<Weapons>
<Weapon>
<Name>Pistol</Name>
...
</Weapon>
<Weapon>
<Name>MachineGun</Name>
...
</Weapon>
</Weapons>
Would it be possible to use a custom importer/writer/reader to create two files, Pistol.xnb and MachineGun.xnb which I can load individually with Content.Load()?
While writing this I realized I could just import a Weapon[] list and split them up with a helper, but I'm still wondering if this is possible?