Custom Gui

This article and other parts of wikiaoc.com provide a quick introduction to the topic. If you are looking for an in-depth guides from level 1 to 70, we can recommend Killer Guides' Age of Conan Guides. You can also take a look at our review of some of their aoc guides first.

From WikiAOC

Jump to: navigation, search

Contents

[edit] Creating Custom Gui

While AoC still lacks a full API, it is possible to edit the XML files to change the "skin" of the basic display.

[edit] Editing the Gui files

  • Go to your AoC Install Folder
  • Go to cd_image\Gui

There you will find 2 Folders.

  • Default

This is the Place for the default game XML Files. They will be overwritten each time you do an update of the Game Files.

  • Customized

Quote from the Readme.txt

This folder is for customized GUI XML files.

If you try to modify a file in the "cd_image/Gui/Default/" folder or one of it's childrens it will be automatically reverted by the patcher.

If you want to customize any of the GUI files you should first copy it to the "cd_image/Gui/Customized/" folder. If the file is located in a child folder of "cd_image/Gui/Default/" the same folder structure must be made in
"cd_image/Gui/Customized/".

The game will first check the "cd_image/Gui/Customized/" folder to see if the file is there. If it is and the revision number is the same as the version in "cd_image/Gui/Default/", the customized version will be used. Any time the official 
version is updated the revision number will be increased. If the customized version have a different revision number than the official file, a warning dialog will be displayed ingame and the official file will be used.

If this happen you need to at least update the revision number in the customized file. But it is recommended to copy over the entire official file, and reapply the customizations you had done. This is to prevent you from losing new 
functionality that might have been added to the file.

The revision number can also be used to temporarily prevent the game from loading a customized file. If it is set to '0' the official file will always be loaded and no warning dialog will pop up.


All GUI XML files start with a XML comment containing the revision number:

<!-- $Change: XXXXX $ (must be within the first 200 characters of the file) -->

Where XXXXX is the revision number.


As noted in the Readme, we have to do our changes here. The Game itself will look in this Directory first. If it finds files in here they will be used instead of the default ones.

So the main idea is to copy a file from Default to Customized Folder and Edit it.

[edit] Example XML File

[edit] TextColors.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- $Change: 49054 $ (must be within the first 200 characters of the file) -->
<Root>
    <HTMLColor name="html_link_color"  color="active" />

    <HTMLColor name="black"     color="0x000000" />
    <HTMLColor name="green"     color="0x008000" />
    <HTMLColor name="silver"    color="0xC0C0C0" />
    <HTMLColor name="lime"      color="0x00FF00" />
    <HTMLColor name="gray"      color="0x808080" />
    <HTMLColor name="olive"     color="0x808000" />
    <HTMLColor name="white"     color="0xFFFFFF" />
    <HTMLColor name="yellow"    color="0xFFFF00" />
    <HTMLColor name="maroon"    color="0x800000" />
    <HTMLColor name="navy"      color="0x000080" />
    <HTMLColor name="red"       color="0xff0000" />
    <HTMLColor name="blue"      color="0x0000FF" />
    <HTMLColor name="purple"    color="0x800080" />
    <HTMLColor name="teal"      color="0x008080" />
    <HTMLColor name="fuchsia"   color="0xFF00FF" />
    <HTMLColor name="aqua"      color="0x00FFFF" />
	

    <HTMLColor name="active"        color="0xFE5604" />
    <HTMLColor name="actv_disabled" color="0xA57B4A" />
    <HTMLColor name="standard"      color="0x8A8A89" />
    <HTMLColor name="std_disabled"  color="0x585858" />
    <HTMLColor name="negative"      color="0xB41D1D" />
    <HTMLColor name="positive"      color="0x5B933D" />
    <HTMLColor name="paperstd"      color="0x5E4326" />
    <HTMLColor name="standard_bright"    color="0xB7B7B7" />
    <HTMLColor name="tooltip_positive" color="0x7BE35D" />
    <HTMLColor name="tooltip_negative" color="0xFF3020" />


  <!-- "Magic" HTML colors used for the various chat groups -->

    <HTMLColor name="ct_error"         color="red" />
    <HTMLColor name="ct_system"        color="white" />
    <HTMLColor name="ct_cmd_feedback"  color="yellow" />

    <HTMLColor name="ctch_admin_name"       color="0xf35f00" />
    <HTMLColor name="ctch_admin_text"       color="0xf35f00" />
    
    <HTMLColor name="ctch_clan_name"        color="0xbf00bf" />
    <HTMLColor name="ctch_clan_text"        color="0xbf00bf" />
    
    <HTMLColor name="ctch_emote_name"       color="0xb7b7b7" />
    <HTMLColor name="ctch_emote_text"       color="0xb7b7b7" />
    
    <HTMLColor name="ctch_gm_name"          color="0xe38f35" />
    <HTMLColor name="ctch_gm_text"          color="0xe38f35" />
    
    <HTMLColor name="ctch_misc_name"        color="0xf35f00" />
    <HTMLColor name="ctch_misc_text"        color="0xf35f00" />
    
    <HTMLColor name="ctch_newbie_name"      color="standard" />
    <HTMLColor name="ctch_newbie_text"      color="standard" />
    
    <HTMLColor name="ctch_news_name"        color="standard" />
    <HTMLColor name="ctch_news_text"        color="standard" />
    
    <HTMLColor name="ctch_pgroup_name"      color="standard" />
    <HTMLColor name="ctch_pgroup_text"      color="standard" />
    
    <HTMLColor name="ctch_seekingteam_name" color="standard" />
    <HTMLColor name="ctch_seekingteam_text" color="standard" />
    
    <HTMLColor name="ctch_vicinity_name"    color="0xb7b7b7" />
    <HTMLColor name="ctch_vicinity_text"    color="0x8a8a8a" />
    
    <HTMLColor name="ctch_whisper_name"     color="0xe3b480" />
    <HTMLColor name="ctch_whisper_text"     color="0xc69b6e" />
    
    <HTMLColor name="ctch_shout_name"       color="0xff0000" />
    <HTMLColor name="ctch_shout_text"       color="0xff0000" />
    
    <HTMLColor name="ctch_team_name"        color="0x6ea0ff" />
    <HTMLColor name="ctch_team_text"        color="0x6ea0ff" />
    
    <HTMLColor name="ctch_raid_name"        color="ctch_team_name" />
    <HTMLColor name="ctch_raid_text"        color="ctch_team_text" />
    
    <HTMLColor name="ctch_tell_name"        color="0xe3b480" />
    <HTMLColor name="ctch_tell_text"        color="0xc69b6e" />

    <HTMLColor name="ctch_mehit_name"       color="0xbd4400" />
    <HTMLColor name="ctch_mehit_text"       color="0xbd4400" />

    <HTMLColor name="ctch_mehealed_name"    color="ctch_megotxp_name" />
    <HTMLColor name="ctch_mehealed_text"    color="ctch_megotxp_text" />

    <HTMLColor name="ctch_mypet"           color="standard" />
    <HTMLColor name="ctch_otherpet"        color="standard" />
    <HTMLColor name="ctch_megotxp_name"    color="0x9799fe" />
    <HTMLColor name="ctch_megotxp_text"    color="0x9799fe" />
</Root>

[edit] Editing the File

Grab your favourite editor and do some changes in the File. Save it and restart the Game. Now you should see your e.g. your chat messages in another color.

Personal tools
Level 1 to 70 Insider Guide:
mmobux
ads