Jump to content
Sign in to follow this  
davidoss

[SOLVED] Change the default arsenal action

Recommended Posts

Hi.

I am trying to change the default action added by BIS_fnc_arsenal.

Trying to change the text and maybe add some small icon.

Tried with mission stringTable, text is changed but without picture.

Most likely it can't work in that way using tables.

<Package name="arsenal">
    <Container name="action">
      <Key ID="STR_A3_Arsenal">
        <Original><t color='#ff9900'>Open Arsenal</t> <img size='2' image='\a3\ui_f\data\IGUI\Cfg\MPTable\infantry_ca'/></Original>
        <English><t color='#ff9900'>Open Arsenal</t> <img size='2' image='\a3\ui_f\data\IGUI\Cfg\MPTable\infantry_ca'/></English>
        <Czech>Otevřít Arsenal</Czech>
        <French>Ouvrir Arsenal</French>
        <Spanish>Abierto Arsenal</Spanish>
        <Italian>Aperti Arsenale</Italian>
        <Polish>Otwórz Arsenał</Polish>
        <Portuguese>Abrir Arsenal</Portuguese>
        <Russian>Открытый Арсенал</Russian>
        <German>Öffnen Arsenal</German>
      </Key>
    </Container>
  </Package>

Is there any other possibility to achieve this?

Share this post


Link to post
Share on other sites
Quote

however there is a way to trick it by substituting tags with HTML code instead:

Man how did you figure that? You are awesome

Share this post


Link to post
Share on other sites

For the record:

<Package name="arsenal">
    <Container name="action">
      <Key ID="STR_A3_Arsenal">
        <Original>&lt;t color='#ff9900'&gt;Open Arsenal &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</Original>
        <English>&lt;t color='#ff9900'&gt;Open Arsenal &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</English>
        <Czech>&lt;t color='#ff9900'&gt;Otevřít Arsenal &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</Czech>
        <French>&lt;t color='#ff9900'&gt;Ouvrir Arsenal &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</French>
        <Spanish>&lt;t color='#ff9900'&gt;Abierto Arsenal &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</Spanish>
        <Italian>&lt;t color='#ff9900'&gt;Aperti Arsenale &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</Italian>
        <Polish>&lt;t color='#ff9900'&gt;Otwórz Arsenał &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</Polish>
        <Portuguese>&lt;t color='#ff9900'&gt;Abrir Arsenal &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</Portuguese>
        <Russian>&lt;t color='#ff9900'&gt;Открытый Арсенал &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</Russian>
        <German>&lt;t color='#ff9900'&gt;Öffnen Arsenal &lt;/t&gt;&lt;img size='2' image='\a3\ui_f\data\IGUI\Cfg\Actions\gear_ca'/&gt;</German>
      </Key>
    </Container>
  </Package>

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×