What I did was make the old Hypaspist, which was really an Argyraspis ("Silver shield"), more mundane, giving it the Pezhetairoi textures and smaller shield, then made a new entity with the old Argyraspis actor. Then I made the Hypaspist have the ability to "level up" to Argyraspis after 500 XP (killing 1 unit is about 100XP).
This is the proper tags to make the Hypaspist (or any other unit for that matter) level up to a new entity:
Now this is the Argyraspis (Hypaspist Level 2) entity. Notice the inheritance tag at the top (highlighted):
You'll also note that no stats or other items that aren't changed from the parent (lower level) entity is needed to be displayed in the child (higher level) entity. For instance, since the Argyraspis is inheriting stats from the Hypaspist entity I don't need to put the History stuff in the Argyraspis entity, because that will be inherited. Only those things that are added or changed from the parent entity need to go into the child entity. Any stats or tags placed in the child entity will automatically override the stats from the parent. If you accidentally leave some stuff in the child that is exactly the same as the parent there is no worries.
If you update your 0 A.D. revision (for those who have downloaded the open-source/public release with SVN), then you can get the new Hypaspists.
So, POST HERE ANY MODS YOU HAVE MADE for the game or any QUESTIONS you may have! I will answer all relevant questions for you as long as they pertain to ENTITIES, ACTORS, TEXTURES, or things of that nature.
Edited by Mythos_Ruler, 13 March 2010 - 07:26 PM.
























