Unit Icon Displayed

Advanced Tactics is a versatile turn-based strategy system that gives gamers the chance to wage almost any battle in any time period. The initial release focuses on World War II and includes a number of historical scenarios as well as a full editor! This forum supports both the original Advanced Tactics and the new and improved Advanced Tactics: Gold Edition.

Moderator: Vic

Post Reply
User avatar
Barthheart
Posts: 3080
Joined: Tue Jul 20, 2004 3:16 pm
Location: Nepean, Ontario

Unit Icon Displayed

Post by Barthheart »

Vic,

What is the routine that determines which icon appears on a unit counter? It's not number of SFTypes as I've seen 1 TANK in a unit and many INF and you get a TANK sysmbol. It's not attack factors as I seen a truck sysmbol on a unit that has one truck and 5 INF.

Is it weight?

I was thinking it should be based on attack factors....
Life is not a journey to the grave with the intention of arriving safely in a pretty & well preserved body,
but rather to skid in broadside, totally worn out & proclaiming "WOW, what a ride!"
Banquet
Posts: 1190
Joined: Thu Aug 22, 2002 9:04 pm
Location: England

RE: Unit Icon Displayed

Post by Banquet »

Attack factor would be good. It's strange to see a unit with 1 tank and 60 infantry with an armoured symbol.
tweber
Posts: 1411
Joined: Wed Jun 27, 2007 1:32 pm

RE: Unit Icon Displayed

Post by tweber »

There is a field on the sftype called 'graphics weight'.  See step 6 in the 'making units from scratch' tutorial.  This number is usually set to be equal to the power point of the sftype (so light tanks have 20x the symbol weight of rifle).  Not sure what happens if it is a tie.
User avatar
Barthheart
Posts: 3080
Joined: Tue Jul 20, 2004 3:16 pm
Location: Nepean, Ontario

RE: Unit Icon Displayed

Post by Barthheart »

Cool, thanks.[8D]
Life is not a journey to the grave with the intention of arriving safely in a pretty & well preserved body,
but rather to skid in broadside, totally worn out & proclaiming "WOW, what a ride!"
PDiFolco
Posts: 1195
Joined: Mon Oct 11, 2004 8:14 am

RE: Unit Icon Displayed

Post by PDiFolco »

Yes I suppose the trucks/horse/cargoes/transporters should have "graphics weight" = 1 and not more than that.
PDF
User avatar
Captain Cruft
Posts: 3741
Joined: Wed Mar 17, 2004 12:49 pm
Location: England

RE: Unit Icon Displayed

Post by Captain Cruft »

I think the "slot ordering" might affect this too. From what I've seen ...

A definite answer would be good. It really affects the feel of the game if not the gameplay.
seille
Posts: 2048
Joined: Tue Jun 19, 2007 8:25 am
Location: Germany

RE: Unit Icon Displayed

Post by seille »

I would also like to be able to set my own icon here that overrules the automatic thing.
Maybe a thing for a future patch [:)]
PDiFolco
Posts: 1195
Joined: Mon Oct 11, 2004 8:14 am

RE: Unit Icon Displayed

Post by PDiFolco »

The rule is to display the symbol that has the most Icon weight * size for the stack.
I've tested it : basic Netherlands scenario, I give 20 trucks to an Inf unit,  they get a Truck symbol (1st screenshot). The I change the trucks's "graphics weight" from 10 to 1, and then the Inf symbol takes precedence (2nd shot).

Image


Image
 
PDF
seille
Posts: 2048
Joined: Tue Jun 19, 2007 8:25 am
Location: Germany

RE: Unit Icon Displayed

Post by seille »

Ok, then i vote for a reduced truck/horses graphics weight.
Ande
Posts: 197
Joined: Thu Jul 05, 2007 12:12 pm
Location: Göteborg/Sweden

RE: Unit Icon Displayed

Post by Ande »

I vote for a increased truck and halftrack graphic weight but mabe a change of icon so it sais motorized or mechanized infantry instead (artillery would still outweigh the trucks). It could be very irritating to search for my mobile infantry units or the units that need more trucks
User avatar
Herode_2
Posts: 188
Joined: Tue Oct 30, 2007 12:00 pm

RE: Unit Icon Displayed

Post by Herode_2 »

ORIGINAL: PDiFolco
The rule is to display the symbol that has the most Icon weight * size for the stack.
Other factors are to take into account. XPoints of the subformations also matter. In one of my game, I have several garrisons of 3 SMG + 9 MG. Some display the MG icon, other the SMG icon. The first one have exp(MG) > exp(SMG), the last ones have exp(MG) < exp(SMG).
User avatar
Vic
Posts: 9798
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Unit Icon Displayed

Post by Vic »

For determining counter graphic:
&nbsp;
1. First see which graphics group has the most graphic weight
&nbsp;
2. Then see which SFType within the highest ranking graphics group has the most graphic weight.
&nbsp;
kind reg,
vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Advanced Tactics Series”