Bonjour,
Suite au remplacement d'Agramon par Ellan Vannin il faut mettre à jour votre ui pour prendre en compte tous les nouveaux objets présent sur cette nouvelle map (tour, forts, dock . . .). Sauf erreur voici ce qu'il faut faire dans votre répertoire de jeux.
Modifications dans les fichiers ui/custom/realmwar_mid.xml, realmwar_hib.xml, realmwar_alb.xml :
- Remplacez
<Data>Agramon</Data>
<LabelWidth>56</LabelWidth>
par
<Data>Ellan Vannin</Data>
<LabelWidth>70</LabelWidth>
Modifications dans le fichier ui/custom/realmwar_agramon.xml :
- Remplacez
<Texture>
<Name>warmap_agramon</Name>
<File>NOM_DE_VOTRE_FICHIER</File>
</Texture>
par
<Texture>
<Name>warmap_agramon</Name>
<File>maps/z163.dds</File>
</Texture>
- Remplacez
<Data>Agramon</Data>
<LabelWidth>56</LabelWidth>
par
<Data>Ellan Vannin</Data>
<LabelWidth>70</LabelWidth>
- Recherchez <ControlId>1202</ControlId> puis juste apres le prochain </ImageAreaDef>, ajouter le texte suivant
<ImageAreaDef>
<TemplateName>realmwar_siege</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1203</ControlId>
</ImageAreaDef>
<ImageAreaDef>
<TemplateName>realmwar_siege</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1204</ControlId>
</ImageAreaDef>
<ImageAreaDef>
<TemplateName>realmwar_siege</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1205</ControlId>
</ImageAreaDef>
<StatusIconDef>
<TemplateName>realmwar_tower</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1312</ControlId>
</StatusIconDef>
<StatusIconDef>
<TemplateName>realmwar_tower</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1313</ControlId>
</StatusIconDef>
<StatusIconDef>
<TemplateName>realmwar_tower</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1314</ControlId>
</StatusIconDef>
<ImageAreaDef>
<TemplateName>realmwar_siege</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1612</ControlId>
</ImageAreaDef>
<ImageAreaDef>
<TemplateName>realmwar_siege</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1613</ControlId>
</ImageAreaDef>
<ImageAreaDef>
<TemplateName>realmwar_siege</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1614</ControlId>
</ImageAreaDef>
- A la fin du fichier juste avant
</WindowTemplate>
</Root_Element>
Il faut ajouter le texte suivant
<StatusIconDef>
<TemplateName>realmwar_keep</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1403</ControlId>
</StatusIconDef>
<StatusIconDef>
<TemplateName>realmwar_keep</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1404</ControlId>
</StatusIconDef>
<StatusIconDef>
<TemplateName>realmwar_keep</TemplateName>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<ControlId>1405</ControlId>
</StatusIconDef>
<InvisibleButtonDef>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<width>16</width>
<height>16</height>
<OnClickEvent>WarmapKeepSelect3</OnClickEvent>
<ControlId>3403</ControlId>
</InvisibleButtonDef>
<InvisibleButtonDef>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<width>16</width>
<height>16</height>
<OnClickEvent>WarmapKeepSelect4</OnClickEvent>
<ControlId>3404</ControlId>
</InvisibleButtonDef>
<InvisibleButtonDef>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<width>16</width>
<height>16</height>
<OnClickEvent>WarmapKeepSelect5</OnClickEvent>
<ControlId>3405</ControlId>
</InvisibleButtonDef>
<InvisibleButtonDef>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<width>16</width>
<height>16</height>
<OnClickEvent>WarmapTowerSelect12</OnClickEvent>
<ControlId>3312</ControlId>
</InvisibleButtonDef>
<InvisibleButtonDef>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<width>16</width>
<height>16</height>
<OnClickEvent>WarmapTowerSelect13</OnClickEvent>
<ControlId>3313</ControlId>
</InvisibleButtonDef>
<InvisibleButtonDef>
<Position>
<X>0</X>
<Y>0</Y>
</Position>
<width>16</width>
<height>16</height>
<OnClickEvent>WarmapTowerSelect14</OnClickEvent>
<ControlId>3314</ControlId>
</InvisibleButtonDef>
|