View Single Post
  #25  
Old April 11th, 2007, 04:38 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Upkeep for summoned units

You should have a page named ArmyList in the DB (last page, iirc), which lists pretender selection, recruitable unit selection and recruitable commander selection by unit number for each nation and that has mentions of capital only. The main display page does not, because it is intended only to list the units (all of them), not make any distinction between national recruitments. It would be further complicated by some units being available to more than one nation (e.g. all non-sacred EA Van infantry are both Vanheim and Helheim units).

It would be possible to make display pages for all the different nations (too much work, really) or for all the different eras and only include the unit numbers for units that are in. If something belongs to multiple nations, have it there several times. Then add a nation column and enter that data there by hardcoding. The downside would be another large number of data retrieval from arrays, which increases file size and number of calculations and slows things down even more. So I'd rather not do it. At least not the whole display. Maybe unit ID, name and nation + capital only status and do it per era, then sort by nation.

I was figuring on doing everything in OO for the next version and then doing an export to Excel when that was ready.
Reply With Quote