It's possible to add <attachment> type of slots to UMLprofile so that a remodel can place installed 3D attachments at more appropriate location.

======================
[How]
add <customizationSlots> to <hull> <turret> and/or <gun> section just like vanilla WarGaming item-defs xml script.
Inside this section only <slot> of <slotType> "attachment" is accepted. Other types of <slot>s are ignored, including emblem slots. 
     |----emblem slots are still stored under <emblemSlots> in UMLprofile, like how it was before WoT 1.0




======================
[Arrangement]
[*] in this section, 'dummy' means setting slot location to (0 0 0), and scale to (0.001 0.001 0.001) to make this slot effectively invisble.

The recommended arrangement of attachment slots for a classic turreted remodel is:
* 3 'universal' slot in hull
* 1 dummy 'turret' slot in hull
* 1 'turret' slot in turret
* 1 'gunMantlet' slot in turret

The recommended arrangement of attachment slots for a turretless (casemate tank destroyer) remodel is:
* 3 'universal' slot in hull
* 1 'turret' slot in hull
* 1 dummy 'turret' slot in turret
* 1 'gunMantlet' slot in turret


If you want to visually disable 3D attachments installed by player, place sufficient number of dummy slots of each type in each tank part.


======================
[Remark]
Each slot has <applyType> parameter indicating its type. Its value can be 'universal', 'turret', 'gunMantlet', 'gun', 'gunRight', 'gunLeft'.
Most if not all purchasable 3d attachments fall under 'universal', 'turret' or 'gunMantlet'. Other types are mostly used by 3D styles.
* [universal] typically represents large items attached to hull, like bundle of branches, boxes, tools.
* [turret] typically represents medium size items suitable for turret, like sensor suit, crew-served weapon emplacement. 
  - In case of casemate tankdestroyer, such slots can be found on hull instead, since casemate is modelled in hull.model
  - In case of oscillating turret, such slots can be found on gun, since it elevates with the gun and technically modelled in gun.model
* [gunMantlet] typically represents small items mounted on gun mantlet, but in most cases do not elevate with gun
  - In case of oscillating turret, such slots can be found on gun, since it elevates with the gun and technically modelled in gun.model

UML do not add,remove or relocate attachment slots, as it's tied to server side user status.
UML only change position, rotation and scale of attachment slots. That means the amount of attachment slots available on each tank part 
and the type of attachments allow for each slot are already determined by what tank you are playing. 

UML query each attachment slot on actual tank, note its location (hull/turret/gun) and type (universal/turret/gunMantlete), then look for the first 
match of suitable slots from remodel's UMLprofile matching location and type. Then the new [position, rotation, scale] is copied from this match.
Attachment slots defined in UMLprofile that's already been matched and used are exluded from future query.

In short, when mounting location and type is matched, each eligible slot found in remodel is applied to player's tank in sequence. 
If remodel provide less suitable slots then actual tank, receiver slot that failed to match remain unchanged. 
If remodel provide more suitable slots then actual tank, the topmost provider slots are used.

1. A classic turret tank has 3 or less [universal] slot in hull, then one [turret] and one [gunMantlet] slot in turret.
2. A casemate tank destroyer has 3 or less [universal] slots and one [turret] slot in hull, then one [gunMantlet] slot in turret.

So to reasonably cover both types, one needs 3 [universal] slots and one [turret] slot in hull, then one [turret] and one [gunMantlet] slot in turret.




======================
[Example]
xxx.wotmod\res\scripts\client\mods\UMLprofiles\N15_Abrams_M1.xml

<root>
  <models>
    <N15_Abrams_M1>
      ...
      <hull>
        ...
        <customizationSlots>
          <slot>
            <slotType>attachment</slotType>
            <slotId>	18000	</slotId>
            <position>0 0.795386 -3.499766</position>
            <rotation>0 -1.570796 0.698132</rotation>
            <scale>1 1 1</scale>
            <applyType>universal</applyType>
            <size>medium</size>
          </slot>
          <slot>
            <slotType>attachment</slotType>
            <slotId>	18001	</slotId>
            <position>1.818954 0.422455 -1.794617</position>
            <rotation>-0 3.141593 1.570796</rotation>
            <scale>1 1 1</scale>
            <applyType>universal</applyType>
            <size>medium</size>
          </slot>
          <slot>
          <slotType>attachment</slotType>
            <slotId>	18002	</slotId>
            <position>-1.818954 0.422455 -1.794617</position>
            <rotation>-0 0 1.570796</rotation>
            <scale>1 1 1</scale>
            <applyType>universal</applyType>
            <size>medium</size>
          </slot>
          <slot>
            <slotType>attachment</slotType>
            <slotId>	18003	</slotId>
            <position>0 0 0</position>
            <rotation>-0 0 0</rotation>
            <scale>0.01 0.01 0.01</scale>
            <applyType>turret</applyType>
            <size>medium</size>
          </slot>
        </customizationSlots>
        ...
      </hull>
      <turret>
        ...    
        <customizationSlots>
          <slot>
            <slotType>attachment</slotType>
            <slotId>	18003	</slotId>
            <position>1.015577 0.817175 -1.520758</position>
            <rotation>-0 0 0</rotation>
            <scale>1 1 1</scale>
            <applyType>turret</applyType>
            <size>medium</size>
          </slot>
          <slot>
            <slotType>attachment</slotType>
            <slotId>	38000	</slotId>
            <position>-0.93699 0.747605 0.486369</position>
            <rotation>-0 0 0</rotation>
            <scale>1 1 1</scale>
            <applyType>gunMantlet</applyType>
            <size>medium</size>
          </slot>
        </customizationSlots>
        ...
      </turret>
      ...
    </N15_Abrams_M1>
  </models>
</root>

