Page 1 of 1
Unit Icon Displayed
Posted: Thu Nov 29, 2007 7:48 pm
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....
RE: Unit Icon Displayed
Posted: Thu Nov 29, 2007 7:58 pm
by Banquet
Attack factor would be good. It's strange to see a unit with 1 tank and 60 infantry with an armoured symbol.
RE: Unit Icon Displayed
Posted: Thu Nov 29, 2007 8:20 pm
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.
RE: Unit Icon Displayed
Posted: Thu Nov 29, 2007 8:30 pm
by Barthheart
Cool, thanks.[8D]
RE: Unit Icon Displayed
Posted: Thu Nov 29, 2007 9:36 pm
by PDiFolco
Yes I suppose the trucks/horse/cargoes/transporters should have "graphics weight" = 1 and not more than that.
RE: Unit Icon Displayed
Posted: Sat Dec 01, 2007 3:29 am
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.
RE: Unit Icon Displayed
Posted: Sat Dec 01, 2007 9:42 am
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 [:)]
RE: Unit Icon Displayed
Posted: Sat Dec 01, 2007 10:14 am
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).

RE: Unit Icon Displayed
Posted: Sat Dec 01, 2007 12:16 pm
by seille
Ok, then i vote for a reduced truck/horses graphics weight.
RE: Unit Icon Displayed
Posted: Sat Dec 01, 2007 3:01 pm
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
RE: Unit Icon Displayed
Posted: Sat Dec 01, 2007 3:24 pm
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).
RE: Unit Icon Displayed
Posted: Sat Dec 01, 2007 4:14 pm
by Vic
For determining counter graphic:
1. First see which graphics group has the most graphic weight
2. Then see which SFType within the highest ranking graphics group has the most graphic weight.
kind reg,
vic