KoffeinFlummi / AGM

Authentic Gameplay Modification for A3 | THIS PROJECT IS NO LONGER BEING WORKED ON. ALL ISSUES AND PULL REQUESTS WILL BE IGNORED.
Other
125 stars 84 forks source link

Expand BFT Icons #1595

Closed sagjangi closed 9 years ago

sagjangi commented 9 years ago

Is is possible to expand the BFT icon detection to include all the icons used by BI.

https://community.bistudio.com/wiki/File:APP-6.jpg

I love the fact that the icons are dynamic but what about the Maintenance, Supply, Medical, Mortar and Recon icons?

Currently if infantry gets in a repair or other support vehicle it changes to the icon to Motorized Infantry. Is it possible to make it change to the Supply (or Maintenance for the repair vehicle and Medical for the medical vehicle) icon? Maybe use the Recon icon for the Diver, Sniper and Recon class (same thing for the Mortar class and the Mortar icon).

KoffeinFlummi commented 9 years ago

Hmm. It should already show the medical icon if the vehicle the leader is in has the attendant value set to 1 (heals people) and it should show the maintenance icon for repair and refuel vehicles. It also should have the mortar icon for static mortars.

The recon icon is unused though.

Are you sure they're using the motorized icon when in a medical vehicle (they're quite similar)?

sagjangi commented 9 years ago

The Medical and Mortar icons work for the vehicle and when mounted in the mortar but I can't get the Maintenance icon to work for the repair/ammo/fuel truck, even with the repair specialist in the driver seat. It still shows the Motorized icon.

The medical, repair, eod, engineer and mortar troops show the Infantry icon even if they are the leader of their group.

The Recon icon for snipers, divers and recon elements would be great as well.

Love AGM. Keep up the great work.

KoffeinFlummi commented 9 years ago

Figured out the issue with the maintenance marker. It was, as always, commy's fault.

The medical, repair, eod, engineer and mortar troops show the Infantry icon even if they are the leader of their group.

I don't think I want to go this far with this; keep the specialized icons for vehicles.

Now for the recon icon...

KoffeinFlummi commented 9 years ago

That should sort it. It now uses the camouflage and detectSkill attributes of units. Not sure if divers have that.