Go Back Age of Conan Forums > General Forums > UI & Mod Customization
Reload this Page Removing Top Bars and stuff (guide)
Reply
Old May 31st, 2008, 04:34 PM     dfmynd is offline   #1
dfmynd
 


Cimmeria PvP-RP
Default GUI Mod Remove TopBar and Tabs (guide)

This is how to make your Ui look like this
http://img228.imageshack.us/my.php?image=gui2pf4.jpg
aside from MirageUI for hotbars, this will remove the Top Bar the tabs and social bar. A description of the workings with out these elements are covered here
http://forums-us.ageofconan.com/showthread.php?t=51497
as well as in this thread, somewhat

How to remove Top bar, Inventory, feats ect. buttons/tabs and Social Bar

First off, I know nothing about xml except what i learned doing this. It was hit and miss and alot of testing to get to where I am at. With that some of what i write about here my not be the "correct" way to edit the code, but hey,it works. Ok so now I'm going to tell you how to do it from scratch, meaning you don't have a Customized UI already. It will work just the same if you do, you just wont have to copy all the file/folders over. Before you start, backup the Customized folder if you already have an "after market UI"

1. Look in your Customized folder cd_image\Gui\Customized\ If there is a Views folder open it. Look and see if there are folders called HUD and MainGUI. If not, continue to step 2, if there is a HUD then skip to step 4. If both are present then skip to step 6.

2.Copy the folder HUD from cd_image\Gui\Default\Views to cd_image\Gui\Customized\Views
If you have a skin already i.e. Mirage or Werik you will not need to copy this folder and shouldn't because it will mess up your current UI.

3.In the copied folder HUD remove all files except HUDView.xml and HUDView.bxml

4.Copy the folder MainGUI from cd_image\Gui\Default\Views to cd_image\Gui\Customized\Views (do not copy if already present in cd_image\Gui\Customized\Views

5.In the copied folder MainGUI remove all the xml's except MainSplitView.xml and the MainSplitView.bxml.

6.Ok now to remove the top bar. Open the file HUDView.xml in cd_image\Gui\Customized\Views\HUD with wordpad or notepad.

7.Look for this line in the code( if not a custom UI should be the forth line)
Code:
<BitmapView bitmap_gfx="bottombars/top_bar.tga"
delete "bottombars/top_bar.tga" leaving BitmapView Should look like
Code:
<BitmapView
8. To remove the social bar from the top left, look for this line of code(should be just below where the code from step 7 is,6 or 7 line down)
Code:
<BitmapView view_layout="horizontal" bitmap_gfx="bottombars/social_bar.tga" >
delete bitmap_gfx="bottombars/social_bar.tga" Should look like
Code:
<BitmapView view_layout="horizontal" >
8b. Go down three lines till you see

Code:
gfxid_raised="PortraitGUI/team_button_icons/guild_icon.tga"                			  gfxid_pressed="PortraitGUI/team_button_icons/guild_icon.tga"
                			    gfxid_highlight="PortraitGUI/team_button_icons/round_icon_hover.tga"
Delete "PortraitGUI/team_button_icons/guild_icon.tga" "PortraitGUI/team_button_icons/guild_icon.tga"
"PortraitGUI/team_button_icons/round_icon_hover.tga" Should look like this
Code:
gfxid_raised=
 gfxid_pressed=
 gfxid_highlight=
8c. Now delete the lines (Right below the one you just deleted 2 or 3 lines down)

Code:
<Button name="HelpButton" layout_borders="Rect(-38,3,0,0)"
            			    gfxid_raised="tutorialgui/field_manual.tga"
            			    gfxid_pressed="tutorialgui/field_manual_click.tga"
            			    gfxid_highlight="tutorialgui/field_manual_hover.tga"
                    />
Now there is no more buttons at the top left.You will need scripts to open the Guild window and the Group making window. The code for the scripts are

/setoption guild_window true
/setoption group_matchmaking_window true

If you don't know how to make a script in Aoc read about it here
http://textwall.blogspot.com/2008/05...in-age-of.html
http://textwall.blogspot.com/2008/05...age-of_23.html

9. To remove the Buffs from the top of the screen, change the following lines of code in HUDView.xml
Code:
<View view_layout="vertical" v_alignment="TOP" layout_borders="Rect(0,40,10,0)">
        <BuffListView name="HudFriendlyBuffListView"
		      view_flags="WID_IGNORE_WHEN_HIDDEN"
		      hover_info_orientation="VERTICAL"
		      filter="friendly"
		      full_size_limit="10"
		      max_columns="20"
		      icon_size="Point(31,31)"
		      icon_spacing="Point(3,3)"
		      />
To
Code:
<View view_layout="vertical" v_alignment="TOP" layout_borders="Rect(0,40,10,0)">
        <BuffListView name="HudFriendlyBuffListView"
		      view_flags="WID_IGNORE_WHEN_HIDDEN"
		      hover_info_orientation="VERTICAL"
		      filter="friendly"
		      full_size_limit="10"
		      max_columns="20"
		      icon_size="Point(0,0)"
		      icon_spacing="Point(3,3)"
		      />
If you dont have any other Ui "mods" for buffs then you will probaly not want to change these lines of code. You wont have any buffs displayed if you do.

10. Now to remove the tabs from the center top of the screen.Open the file MainSplitView.xml in cd_image\Gui\Customized\Views\MainGUI with wordpad or notepad.

11. Go all the way to the bottom of the code till you see
<SidepanelTab name="SPTabInventoryView"
Remove all the lines with gfx in front of them so the code look like this
Code:
    <View view_layout="horizontal" tab_spacing="-17">
	<template:SidepanelTab inactive_interaction_borders="Rect(5,0,5,18)" active_interaction_borders="Rect(5,0,5,7)"/>
	<SidepanelTab name="SPTabInventoryView"
		      view_tooltip_text  = "&lt;localized token=TabInventoryTooltip&gt;"
		      hotkey      = "Toggle_InventoryView"
		      left_module = "SPWearView"
		      right_module = "SPInventoryView"
		      />
	<SidepanelTab name="SPTabCharacter"
		      layout_borders="Rect(-17,0,0,0)"
		      view_tooltip_text  = "&lt;localized token=TabCharacterTooltip&gt;"
		      hotkey      = "Toggle_SP_Character"
		      left_module = "SPCharAttribView"
		      right_module = "SPCharSkillsView"
		      />
	<SidepanelTab name="SPTabSpells"
		      view_flags="WID_IGNORE_WHEN_HIDDEN"
		      layout_borders="Rect(-17,0,0,0)"
		      view_tooltip_text  = "&lt;localized token=TabSpellsTooltip&gt;"
		      hotkey      = "Toggle_SP_Spells"
		      left_module = "SPSpellsLeft"
		      right_module = "SPSpellsRight"
		      />
	<SidepanelTab name="SPTabFeats" 
		      view_flags="WID_IGNORE_WHEN_HIDDEN"
		      layout_borders="Rect(-17,0,0,0)"
		      view_tooltip_text  = "&lt;localized token=TabFeatsTooltip&gt;"
		      hotkey      = "Toggle_SP_Feats"
		      left_module  = "SPFeatsLeft"
		      right_module = "SPFeatsRight"
		      view_show_expression="s:level>=10"
		      />
	<SidepanelTab name="SPTabJournal"
		      layout_borders="Rect(-17,0,0,0)"
		      view_tooltip_text  = "&lt;localized token=TabQuestJournalTooltip&gt;"
		      hotkey      = "Toggle_SP_Journal"
		      left_module  = "SPQuestJournal"
		      right_module = "SPQuestView"
		      />
    </View>
</View>


That should do it. No more clutter at the top of your screen, except the mini-map. I think I have covered everything. I will do my best to help with any problems that any one is having. Thanks for reading, sorry for any spelling errors or if it is incoherent.

Edit: Fixed Buffs so feat points will now correctly display.

Last edited by defectedmynd; June 2nd, 2008 at 06:48 AM..
Reply With Quote
Old May 31st, 2008, 04:34 PM     dfmynd is offline   #2
dfmynd
 


Cimmeria PvP-RP
Default

HUDView.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- $Change: 49054 $ (must be within the first 200 characters of the file) -->
<View name="HUDView" xmlns:template="template.dtd" view_layout="stacked" v_alignment="TOP">
    <BitmapView 
		max_size_extend="Point(COORD_MAX,-1)"
		view_flags="BMF_TILE_HORIZONTALLY"
		layout_borders="Rect(0,0,0,0)"/>
    <View view_layout="vertical" max_size_extend="Point(COORD_MAX,COORD_MAX)">
        <View view_layout="horizontal">
            <View view_layout="vertical" h_alignment="LEFT" layout_borders="Rect(0,0,0,0)">
                <View view_layout="horizontal" v_alignment="TOP">
                    <BitmapView view_layout="horizontal"  >
                        <View name="TeamButtonDock" view_layout="stacked" layout_borders="Rect(-2,-10,0,0)"/>
                        <View name="SocialIconDock" view_layout="stacked" layout_borders="Rect(-13,-10,0,0)"/>
                        <Button name="GuildManagementButton" layout_borders="Rect(-13,-10,0,0)"
                			    gfxid_raised=
                			    gfxid_pressed=
                			    gfxid_highlight=
                        />
                        <HLayoutSpacer/>
                    </BitmapView>
          
                </View>
                <View name="PetViewDock" view_layout="stacked" layout_borders="Rect(0,15,0,0)"/>
                <VLayoutSpacer/>
            </View>
            <HLayoutSpacer/>            
            <View view_layout="vertical" h_alignment="RIGHT">                
                <View view_layout="stacked" v_alignment="TOP" h_alignment="RIGHT">                    
                    <View view_layout="horizontal" v_alignment="TOP">                        
                        <View name="WorldClockDock" view_layout="stacked" layout_borders="Rect(0,10,-65,0)" />
                        <View name="RadarViewDock" view_layout="stacked" layout_borders="Rect(0,0,0,0)" min_size_extend="Point(-1,30)" view_flags="WID_IGNORE_WHEN_HIDDEN" />
                    </View>
                </View>
                <View name="PvPMiniScoreDock" view_layout="stacked" layout_borders="Rect(0,0,0,0)"/>
                <WindowDockView name="BugReportBtnDock" view_layout="stacked" layout_borders="Rect(0,0,0,0)"/>
            </View>
        </View>
        <VLayoutSpacer/>	
    </View>
    <View view_layout="vertical" v_alignment="TOP" layout_borders="Rect(0,40,10,0)">
        <BuffListView name="HudFriendlyBuffListView"
		      view_flags="WID_IGNORE_WHEN_HIDDEN"
		      hover_info_orientation="VERTICAL"
		      filter="friendly"
		      full_size_limit="10"
		      max_columns="20"
		      icon_size="Point(0,0)"
		      icon_spacing="Point(3,3)"
		      />
        <View name="StateWindow" view_layout="stacked" layout_weight="0"/>
        <View name="LevelTearView" view_layout="stacked"/>
        <View name="SpellWeavingView" view_layout="stacked"/>        
        <View name="SearchHintWindow" view_layout="stacked"/>
        <View name="FeatPointsViewDock" view_layout="stacked" layout_borders="Rect(0,30,0,0)">
        </View>
        <VLayoutSpacer/>
    </View>
    <View view_layout="vertical">
        <VLayoutSpacer/>
        <BottomBar layout_borders="Rect(0,0,0,-5)"/>
        <View name="XPBarViewDock"
    	      view_layout="stacked"
    	      view_flags="WID_IGNORE_WHEN_HIDDEN"
    	      layout_borders="Rect(0,-7,0,0)"
    	      min_size_extend="Point(COORD_MAX,-1)"/>
    </View>
    <View view_layout="vertical" max_size_extend="Point(COORD_MAX,COORD_MAX)" h_alignment="LEFT" v_alignment="BOTTOM">
        <VLayoutSpacer layout_weight="0"/>
        <WindowDockView global_dock_name="DefaultChatWindowDock" layout_borders="Rect(0,0,0,195)" min_size_limit="Point(50,50)"/>
    </View>
    <View view_layout="stacked" v_alignment="TOP" max_size_extend="Point(COORD_MAX,COORD_MAX)">
        <DrowningBar layout_borders="Rect(0,150,0,0)"/>    
    </View>
</View>

Last edited by defectedmynd; June 2nd, 2008 at 06:33 AM..
Reply With Quote
Old May 31st, 2008, 09:24 PM     Bgriffs is offline   #3
Bgriffs
Demonologist Stygian


Cimmeria PvP-RP
Default

You may as well copy and paste you XML into your reserved post to make it easier for those who aren't comfortable with trying to edit XML.
Reply With Quote
Old May 31st, 2008, 09:55 PM     Jharii is offline   #4
Jharii
Dark Templar Cimmerian

Shadows of the Forgotten

Cimmeria PvP-RP
Default

Quote:
Originally Posted by defectedmynd View Post
<View view_layout="vertical" v_alignment="TOP" layout_borders="Rect(0,40,10,0)">
<BuffListView name="HudFriendlyBuffListView"
view_flags="WID_IGNORE_WHEN_HIDDEN"
hover_info_orientation="VERTICAL"
filter="friendly"
full_size_limit="10"
max_columns="20"
icon_size="Point(31,31)"
icon_spacing="Point(3,3)"
/>
<View name="StateWindow" view_layout="stacked" layout_weight="0"/>
<View name="LevelTearView" view_layout="stacked"/>
<View name="SpellWeavingView" view_layout="stacked"/>
<View name="SearchHintWindow" view_layout="stacked"/>
<View name="FeatPointsViewDock" view_layout="stacked" layout_borders="Rect(0,30,0,0)"> </View>
<VLayoutSpacer/>
</View>

Now after removing these lines you will have to use key binds to open the menu that correspond to the tabs. Also, I no longer see how many feat points have I have avilible to spend. Still looking into it.
You deleted your feat points in step 9.
Reply With Quote
Old May 31st, 2008, 10:25 PM     TheCaseMan is offline   #5
TheCaseMan
Bear Shaman Cimmerian


Zug PvE
Default

Thanks for that, hey while your at it do you think you could find a way to remove these white icons?

http://img149.imageshack.us/img149/7...e011lw8.th.jpg
Reply With Quote
Old June 1st, 2008, 01:44 PM     Bgriffs is offline   #6
Bgriffs
Demonologist Stygian


Cimmeria PvP-RP
Default

Open file GUI/Default/Views/HUD/BottomBar.xml and remove lines

<ActionListView name="ActionListView"
layout_borders="Rect(0,0,0,-5)"
icon_spacing="-8"
default_action_bg="icons/actions/actionicon_selection.tga"
/>

that should do it for you.
Reply With Quote
Old June 1st, 2008, 01:47 PM     TheCaseMan is offline   #7
TheCaseMan
Bear Shaman Cimmerian


Zug PvE
Default

Awesome thanks for that!
Reply With Quote
Old June 1st, 2008, 07:40 PM     dfmynd is offline   #8
dfmynd
 


Cimmeria PvP-RP
Default

MainSplitView.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- $Change: 49054 $ (must be within the first 200 characters of the file) -->
<View xmlns:template="template.dtd"
      view_layout="stacked"
      v_alignment="TOP"
      panel_size_normal   = "Point(349,612)"
      panel_size_extended = "Point(539,612)"
      slide_sound          = "sfx/gui/gui_sidebar_sliding.wav"
      >
    <_BitmapView bitmap_gfx="bottombars/top_bar.tga"
		max_size_extend="Point(COORD_MAX,-1)"
		view_flags="BMF_TILE_HORIZONTALLY"
		layout_borders="Rect(0,0,0,0)"/>
    <View view_layout="horizontal" layout_inner_borders="Rect(0,0,0,0)" v_alignment="TOP">
	<View name="LeftPanelBorders"
	      view_flags="WID_HANDLE_MOUSE|WID_AUTO_HIGHLIGHT"
	      interaction_borders="Rect(0,0,20,30)"
	      view_layout="stacked"
	      h_alignment="RIGHT"
	      v_alignment="TOP"
	      >
	    <BorderView view_flags="BVF_TILE_LEFT|BVF_TILE_RIGHT|BVF_TILE_TOP|BVF_TILE_BOTTOM|BVF_TILE_BACKGROUND"
			view_layout="vertical"
			layout_borders="Rect(0,0,7,0)"
			bg_bitmap_borders    = "Rect(0,20,20,30)"
			_min_size_extend="Point(569,690)"
			_max_size_limit ="Point(569,690)"
			gfx_tl         = ""
			gfx_tr         = "sidebars/sidebar_left_topright.tga"
			gfx_bl         = ""
			gfx_br         = "sidebars/sidebar_left_bottomright.tga"
			gfx_left       = ""
			gfx_top        = "sidebars/sidebar_left_top.tga"
			gfx_right      = "sidebars/sidebar_left_right.tga"
			gfx_bottom     = "sidebars/sidebar_left_bottom.tga"
			gfx_background = "Misc/rock_tile.tga"
			>
		<View view_layout="stacked" h_alignment="LEFT" v_alignment="TOP" max_size_extend="Point(COORD_MAX,-1)" layout_borders="Rect(15,12,0,4)">
		    <TextView name="LeftPanelTitle" default_color="active" font="LARGE" feature_flags="TVF_RENDER_SHADOW|TVF_RENDER_HALO" />
		</View>
		<SideBarDock name="LeftPanelDock"
			     layout_borders = "Rect(0,0,28,43)"
			     dock_type_name="SideBarLeft"
			     view_layout="stacked"
			     min_size_extend="Point(541,612)"
			     max_size_limit ="Point(541,612)"
			     />
	    </BorderView>
	    <_View name="ExpandButtonGroupLeft" view_layout="stacked" h_alignment="RIGHT">
		<Button name="ExpandButtonLeft"
			layout_borders="Rect(0,80,0,0)"
			gfxid_raised    = "featgui/expand_sidebar.tga"
			gfxid_pressed   = "featgui/expand_sidebar_click.tga"
			gfxid_highlight = "featgui/expand_sidebar_hover.tga"/>
		<Button name="ContractButtonLeft"
			layout_borders="Rect(0,80,26,0)"
			gfxid_raised    = "featgui/contract_sidebar.tga"
			gfxid_pressed   = "featgui/contract_sidebar_click.tga"
			gfxid_highlight = "featgui/contract_sidebar_hover.tga"/>
	    </_View>
	</View>
	<_View _layout_borders="Rect(-14,0,-14,0)" max_size_extend="Point(-1,COORD_MAX)"/>
	<HLayoutSpacer/>
	
	<View name="RightPanelBorders"
	      view_flags="WID_HANDLE_MOUSE|WID_AUTO_HIGHLIGHT"
	      interaction_borders="Rect(20,0,0,30)"
	      view_layout="stacked"
	      h_alignment="LEFT"
	      v_alignment="TOP"
	      >
	    <BorderView view_flags="BVF_TILE_LEFT|BVF_TILE_RIGHT|BVF_TILE_TOP|BVF_TILE_BOTTOM|BVF_TILE_BACKGROUND"
			view_layout="vertical"
			layout_borders="Rect(7,0,0,0)"
			layout_inner_borders ="Rect(28,0,0,43)"
			bg_bitmap_borders    = "Rect(20,20,0,30)"
			gfx_tl         = "sidebars/sidebar_right_topleft.tga"
			gfx_tr         = ""
			gfx_bl         = "sidebars/sidebar_right_bottomleft.tga"
			gfx_br         = ""
			gfx_left       = "sidebars/sidebar_right_left.tga"
			gfx_top        = "sidebars/sidebar_right_top.tga"
			gfx_right      = ""
			gfx_bottom     = "sidebars/sidebar_right_bottom.tga"
			gfx_background = "Misc/rock_tile.tga"
			>
		<View view_layout="stacked" h_alignment="RIGHT" v_alignment="TOP" max_size_extend="Point(COORD_MAX,-1)" layout_borders="Rect(0,12,15,4)">
		    <TextView name="RightPanelTitle" default_color="active" font="LARGE" feature_flags="TVF_RENDER_SHADOW|TVF_RENDER_HALO"/>
		</View>
		<SideBarDock name="RightPanelDock"
			     dock_type_name="SideBarRight"
			     view_layout="stacked"
			     min_size_extend="Point(349,612)"
			     max_size_limit ="Point(349,612)"/>
	    </BorderView>
	    <_View name="ExpandButtonGroupRight" view_layout="stacked" h_alignment="LEFT">
		<Button name="ExpandButtonRight"
			layout_borders="Rect(0,80,0,0)"
			gfxid_raised    = "featgui/contract_sidebar.tga"
			gfxid_pressed   = "featgui/contract_sidebar_click.tga"
			gfxid_highlight = "featgui/contract_sidebar_hover.tga"/>
		<Button name="ContractButtonRight"
			layout_borders="Rect(26,80,0,0)"
			gfxid_raised    = "featgui/expand_sidebar.tga"
			gfxid_pressed   = "featgui/expand_sidebar_click.tga"
			gfxid_highlight = "featgui/expand_sidebar_hover.tga"/>
	    </_View>
	</View>
    </View>
    <View view_layout="horizontal" tab_spacing="-17">
	<template:SidepanelTab inactive_interaction_borders="Rect(5,0,5,18)" active_interaction_borders="Rect(5,0,5,7)"/>
	<SidepanelTab name="SPTabInventoryView"
		      view_tooltip_text  = "&lt;localized token=TabInventoryTooltip&gt;"
		      hotkey      = "Toggle_InventoryView"
		      left_module = "SPWearView"
		      right_module = "SPInventoryView"
		      />
	<SidepanelTab name="SPTabCharacter"
		      layout_borders="Rect(-17,0,0,0)"	
		      view_tooltip_text  = "&lt;localized token=TabCharacterTooltip&gt;"
		      hotkey      = "Toggle_SP_Character"
		      left_module = "SPCharAttribView"
		      right_module = "SPCharSkillsView"
		      />
	<SidepanelTab name="SPTabSpells"
		      view_flags="WID_IGNORE_WHEN_HIDDEN"
		      layout_borders="Rect(-17,0,0,0)"
		      view_tooltip_text  = "&lt;localized token=TabSpellsTooltip&gt;"
		      hotkey      = "Toggle_SP_Spells"
		      left_module = "SPSpellsLeft"
		      right_module = "SPSpellsRight"
		      />
	<SidepanelTab name="SPTabFeats" 
		      view_flags="WID_IGNORE_WHEN_HIDDEN"
		      layout_borders="Rect(-17,0,0,0)"
		      view_tooltip_text  = "&lt;localized token=TabFeatsTooltip&gt;"
		      hotkey      = "Toggle_SP_Feats"
		      left_module  = "SPFeatsLeft"
		      right_module = "SPFeatsRight"
		      view_show_expression="s:level>=10"
		      />
	<SidepanelTab name="SPTabJournal"
		      layout_borders="Rect(-17,0,0,0)"
		      view_tooltip_text  = "&lt;localized token=TabQuestJournalTooltip&gt;"
		      hotkey      = "Toggle_SP_Journal"
		      left_module  = "SPQuestJournal"
		      right_module = "SPQuestView"
		      />
    </View>
</View>
Reply With Quote
Old June 1st, 2008, 07:44 PM     dfmynd is offline   #9
dfmynd
 


Cimmeria PvP-RP
Default

Posted the xml's. Couldn't fit both into reserved so I posted one above this post. If any think I should just post in the OP, I'll do that, the guide does not seem to be that good anyways. Also the buff wil lbe displayed in these file, still figure out why the the icon with the number of feats points available is not being displayed. Tryed putting those lines of code back and it didn't seem to work.

Last edited by defectedmynd; June 1st, 2008 at 07:48 PM..
Reply With Quote
Old June 1st, 2008, 07:54 PM     Azarius1974 is offline   #10
Azarius1974
Assassin Aquilonian

PRX-CQ

Deathwhisper PvP
Default

Oooh, I likey.

I hate those tabs on the top.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


All times are GMT -5. The time now is 03:51 AM.

Top

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.