Mesh limit (units)

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
paladin MAIK
Posts: 339
Joined: Mon Aug 06, 2012 12:31 am
Location: (Russia)
Contact:

Mesh limit (units)

Post by paladin MAIK »

How ever can increase the number of soldiers on the map?
Image
User avatar
juliocpaes
Posts: 1263
Joined: Mon Feb 14, 2011 12:07 am
Location: Madrigal - Brazil
Contact:

Re: Mesh limit (units)

Post by juliocpaes »

paladin MAIK wrote:How ever can increase the number of soldiers on the map?
512 units is limit of meshs ... if you exceed this number probably will not run the map. :o
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: Mesh limit (units)

Post by Pyro »

There can only be about 400 units visible on the map. You can have a lot of invisible units, so after some enemies die, you can make more units visible as long as the total is still under 400.

To make units invisible you need to double click on them and check the box for invisible. You can use scripting to make them visible when you need them.

Make a Unit Control map action. Either add the units to the "Monsters" parameter or have a "Link" with the map action with the units as "subj". Then add a "Visible Flag" to the Unit Control and set it to "true". This will make all the monsters (which is another word they use to mean units) visible.

So you can have another action activate that one. For example, you can have a Geometry Filter check if any of the player units are near an area. If they are, then you activate the Unit Control to make more enemies visible.
User avatar
paladin MAIK
Posts: 339
Joined: Mon Aug 06, 2012 12:31 am
Location: (Russia)
Contact:

Re: Mesh limit (units)

Post by paladin MAIK »

Clear. It is a pity that the visible units can only be 400. Just for me, invisible units are inconvenient. :?
Image
Post Reply