v1.119 ce qu'il faut modifier dans votre ui

Répondre
Partager Rechercher
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
    Code:
    			<Data>Agramon</Data>
    			<LabelWidth>56</LabelWidth>
    par
    Code:
    			<Data>Ellan Vannin</Data>
    			<LabelWidth>70</LabelWidth>

Modifications dans le fichier ui/custom/realmwar_agramon.xml :


  1. Remplacez
    Code:
       <Texture>
            <Name>warmap_agramon</Name>
            <File>NOM_DE_VOTRE_FICHIER</File>
        </Texture>
    par
    Code:
        <Texture>
            <Name>warmap_agramon</Name>
            <File>maps/z163.dds</File>
        </Texture>
  2. Remplacez
    Code:
    			<Data>Agramon</Data>
    			<LabelWidth>56</LabelWidth>
    par
    Code:
    			<Data>Ellan Vannin</Data>
    			<LabelWidth>70</LabelWidth>
  3. Recherchez <ControlId>1202</ControlId> puis juste apres le prochain </ImageAreaDef>, ajouter le texte suivant
    Code:
         	<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>
  4. A la fin du fichier juste avant
    Code:
    	</WindowTemplate>
    </Root_Element>
    Il faut ajouter le texte suivant
    Code:
    		<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>
Merci chirel ca a l'air de marcher, le fort sur agra n'est pas à nous mais déjà je peux le sélectionner contrairement à avant et à mon avis je dois pouvoir tp dessus maintenant
Répondre

Connectés sur ce fil

 
1 connecté (0 membre et 1 invité) Afficher la liste détaillée des connectés