unity3d xml level parser
again for PILLAGE! catapult game. this package parses an xml file to create object on the screen relative to the “castleHolder” position. import the package. create a ground plane (a big one) at (0,0,0) and then drag the “castleHolder” prefab onto the world view. it’s y should 0 but X and Z can be changed.
Any models you want to instantiate are done at runtime by their name, which means they HAVE to be put in the Resources folder.
castleHolder has a pillage level parser script. simple and magical.
Beautiful!