M1cromanagement
Refugee
Hi guys I created a quest with a tons of items need to gathered and the HUD looks like this:
https://ibb.co/PWkJGrz
How i can do for example 5 pages, with 12 entrys ?
https://ibb.co/PWkJGrz
How i can do for example 5 pages, with 12 entrys ?
Code:
<quest_objective_entry>
<rect width="300" height="43" controller="QuestObjectiveEntry" complete_icon="ui_game_symbol_check" incomplete_icon="ui_game_symbol_x" notstarted_icon="ui_game_symbol_quest" complete_color="[green]" incomplete_color="[red]" notstarted_color="[white]" visible="{hasobjective}" >
<sprite depth="2" name="iconTrack" style="icon22px" pos="4,0" color="{objectivecompletecolor}" sprite="{objectivecompletesprite}" />
<!-- <sprite depth="0" name="Icon" sprite="ui_game_symbol_pen" style="icon32px" pos="8,-3" foregroundlayer="true" visible="false"/> -->
<label depth="4" name="Description" pos="30,2" width="250" height="28" text="{objectiveoptional}{objectivedescription} [DECEA3]{objectivestate}[-]" color="{objectivephasecolor}" font_size="26" />
</rect>
</quest_objective_entry>
Code:
<window name="windowQuestObjectives" width="653" height="240" panel="Center" controller="QuestObjectivesWindow" cursor_area="true" >
<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
<sprite depth="2" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_quest"/>
<label style="header.name" text="OBJECTIVES" text_key="xuiObjectives" />
<label depth="2" pos="545,-8" width="100" height="28" text="{questdifficulty}" color="[lightGrey]" justify="right" upper_case="true" />
</panel>
<rect name="content" pos="0,-46" height="194" depth="1">
<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
<sprite color="[darkGrey]" type="sliced" />
<rect visible="{showquest}">
<grid name="objectiveList" rows="5" cols="2" pos="12,-10" width="300" height="184" cell_width="300" cell_height="30" repeat_content="true" arrangement="horizontal" controller="QuestObjectiveList">
<quest_objective_entry name="0" />
</grid>
<label depth="3" pos="8, -165" text="{questrequirementstitle}: {questrequirements}" width="590" visible="{showrequirements}" height="30" />
</rect>
<rect visible="{showempty}">
<label pos="0,-70" depth="3" name="descriptionText" width="100%" height="65" text="OBJECTIVES NOT AVAILABLE AT THIS TIME." text_key="xuiObjectivesNotAvailable" justify="center" font_size="28" />
</rect>
</rect>
</window>
Last edited by a moderator: