Domyślny HUD

Było ciemno, wysoki sądzie, twierdziła, że skończyła 18 lat. Naznaczony obudził się z krzykiem.
Regulamin forum
Przy zadawaniu pytania związanego z problemem dotyczącym modyfikacji, prosimy o podawanie treści całego loga błędu.
Lokalizacja logów:
Windows XP - C:\Documents and Settings\All Users\Moje dokumenty\STALKER-SHOC\logs
Windows Vista/7 - C:\Users\Public\Documents\STALKER-SHOC\logs
Steam - X:\Program Files (x86)\Steam\SteamApps\common\Stalker Shadow of Chernobyl\_appdata_\logs

Logi tagujemy w [ CODE ][/ CODE ].

Re: Domyślny HUD

Postprzez nelson82 w 20 Lut 2012, 20:55

Domyślam się, że masz - tak, jak ja - monitor panoramiczny. Na rozdzielczości 1024x768 obraz jest wyrażny, ale pojawia się problem "obciętych" boków :-/ . Idealnym rozwiązaniem byłoby poszukać (np. tu na forum) hud'a dla ekranów panoramicznych.
łatwiej już nie będzie
Awatar użytkownika
nelson82
Łowca

Posty: 505
Dołączenie: 16 Paź 2011, 00:09
Ostatnio był: 13 Paź 2019, 11:44
Ulubiona broń: --
Kozaki: 130

Reklamy Google

Re: Domyślny HUD

Postprzez Pertaseth w 20 Lut 2012, 21:38

A masz pewność że takie coś istnieje ? Bo ja szukałem i nie znalazłem..
Tak, mam monitor panoramiczny z natywną rozdzielczością 1680x1050..

Ale to dość dziwne bo grałem bez modów i tego problemu nie miałem.
A przecież HUD'a z moda wyrzuciłem więc używa standardowego i tam wszystko działało.
Awatar użytkownika
Pertaseth
Stalker

Posty: 73
Dołączenie: 15 Sty 2012, 00:52
Ostatnio był: 07 Wrz 2012, 19:58
Frakcja: Samotnicy
Ulubiona broń: GP 37
Kozaki: 4

Re: Domyślny HUD

Postprzez Werewolver w 20 Lut 2012, 22:10

Z HUDem jest tak jak z celownika, zrób to analogicznie kak tu http://forum.stalker.pl/viewtopic.php?f=68&p=185085#p184771
Image

Za ten post Werewolver otrzymał następujące punkty reputacji:
Positive nelson82.
Awatar użytkownika
Werewolver
Tropiciel

Posty: 216
Dołączenie: 06 Lut 2011, 13:53
Ostatnio był: 03 Kwi 2014, 20:53
Frakcja: Samotnicy
Ulubiona broń: Storming Obokan
Kozaki: 37

Re: Domyślny HUD

Postprzez Pertaseth w 20 Lut 2012, 23:40

Dobra, spróbujmy. Dam znać co wyszło, może komuś się przyda, jak mi się uda.

Dobra, fajnie ale tam są pliki scopes a do HUD'a na pewno nie będą scopes...nie wiem jak je nazwać..

Wybrałem sobie nazwę ui_hud...i gra się crashuje..zły wybór..

Może zanalizujecie.
ui_ingame - zdefiniowałem jedyny plik z teksturami.
Kod: Zaznacz wszystko
<file name="ui\ui_icon_equipment">
<texture id="ui_icon_equipment" x="0" y="0" width="2048" height="4096" />
</file>


ui_hud - czy nazwa właściwa to nie wiem. Całość skopiowana, podmienione nazwy tekstur. Usunięte pola na dwie dodatkowe tekstury we wzorze.
Kod: Zaznacz wszystko
<ui_icon_equipment x="0" y="0" width="1024" height="768">
     <auto_static x="0" y="0" width="1024" height="768" stretch="1">
       <texture>ui_icon_equipment</texture>
     </auto_static>
   </ui_icon_equipment>


ui_hud_16
Kod: Zaznacz wszystko
<ui_icon_equipment x="0" y="0" width="1024" height="768">
     <auto_static x="85" y="0" width="854" height="768" stretch="1">
       <texture>ui_icon_equipment</texture>
     </auto_static>
   </ui_icon_equipment>
Awatar użytkownika
Pertaseth
Stalker

Posty: 73
Dołączenie: 15 Sty 2012, 00:52
Ostatnio był: 07 Wrz 2012, 19:58
Frakcja: Samotnicy
Ulubiona broń: GP 37
Kozaki: 4

Re: Domyślny HUD

Postprzez nelson82 w 21 Lut 2012, 11:52

Znalazłem u siebie moda Shadow_Reloading_1.0, który był podzielony na foldery dla zwyklych ekranów i dla panoramicznych. Wyłuskałem z niego 10 plików z katalogu config/ui, ale ze względu na baaardzo wolne łącze (modem z wyczerpanym limitem - muszę poczekać do końca lutego, aż wszystko wróci do normy :| ) postanowiłem ich zawartość wrzucić tutaj. Hud z tymi plikami wygląda tak.

af_params_16.xml
:

<af_params x="0" y="0" width="194" height="1">
<static_health_restore_speed width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_health_restore_speed</texture>
<text font="letterica16" x="13" y="0"/>
</static_health_restore_speed>

<static_radiation_restore_speed width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_radiation_restore_speed</texture>
<text font="letterica16" x="13" y="0"/>
</static_radiation_restore_speed>

<static_satiety_restore_speed width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_satiety_restore_speed</texture>
<text font="letterica16" x="13" y="0"/>
</static_satiety_restore_speed>

<static_power_restore_speed width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_power_restore_speed</texture>
<text font="letterica16" x="13" y="0"/>
</static_power_restore_speed>

<static_bleeding_restore_speed width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_bleeding_restore_speed</texture>
<text font="letterica16" x="13" y="0"/>
</static_bleeding_restore_speed>

<static_burn_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_burn_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_burn_immunity>
<static_strike_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_shock_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_strike_immunity>
<static_shock_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_strike_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_shock_immunity>
<static_wound_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_wound_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_wound_immunity>
<static_radiation_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_radiation_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_radiation_immunity>
<static_telepatic_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_telepatic_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_telepatic_immunity>
<static_chemical_burn_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_chemical_burn_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_chemical_burn_immunity>
<static_explosion_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_explosion_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_explosion_immunity>
<static_fire_wound_immunity width="194" height="20" complex_mode="1">
<texture>ui_inv_icon_fire_wound_immunity</texture>
<text font="letterica16" x="13" y="0"/>
</static_fire_wound_immunity>
</af_params>

car_panel_16.xml
:

<?xml version='1.0' encoding="UTF-8"?>
<window x="0" y="0" w="640" h="480" r="227" g="121" b="222" texture="1">
<!-- CAR_HEALTH -->
<car_health_static x="5" y="66" width="155" height="34">
<texture>ui\ui_mn_health</texture>
<text x="85" y="5" font="small" r="239" g="154" b="29" a="230">Car</text>
<auto_static x="3" y="40" width="19" height="18">
<texture></texture>
</auto_static>
</car_health_static>

<!-- car health bar -->
<car_health_progress_bar x="22" y="26" width="110" height="19" horz="1" min="0" max="100" pos="0">
<progress>
<texture>ui_hud_shk_car</texture>
</progress>
</car_health_progress_bar>

<progress_bar_armor x="33" y="10" width="150" height="50" align="rb">
<text x="80" y="5" font="small" r="255" g="255" b="255" a="130">Speed</text>
<progress>
<texture>ui_hud_shk_car</texture>
</progress>
</progress_bar_armor>

<tachometer_progress_bar x="33" y="15" width="150" height="50" align="rb">
<text x="80" y="5" font="small" r="255" g="255" b="255" a="130">RPM</text>
<progress>
<texture>ui_hud_shk_car</texture>
</progress>
</tachometer_progress_bar>

</window>

carbody_item_16.xml
:

<?xml version='1.0' encoding="UTF-8"?>
<w>
<auto>
<auto_static x="145" y="120" width="100" height="20">
<text align="l" x="0" y="0" font="letterica16" r="240" g="217" b="182">st_weight</text>
</auto_static>

<auto_static x="145" y="140" width="100" height="20">
<text align="l" x="0" y="0" font="letterica16" r="240" g="217" b="182">st_base_cost</text>
</auto_static>

<auto_static x="145" y="160" width="100" height="20">
<text align="l" x="0" y="0" font="letterica16" r="240" g="217" b="182">st_condition</text>
</auto_static>
</auto>

<static_name x="15" y="-3" width="200" height="60">
<text x="0" y="0" font="graffiti22" r="238" g="155" b="23" complex_mode="0"/>
</static_name>

<static_weight x="170" y="120" width="90" height="18">
<text align="r" x="0" y="0" font="letterica16" r="240" g="217" b="182" complex_mode="0"/>
</static_weight>

<static_cost x="170" y="140" width="90" height="18">
<text align="r" x="0" y="0" font="letterica16" r="240" g="217" b="182" complex_mode="0"/>
</static_cost>

<static_condition x="170" y="160" width="90" height="18">
<text align="r" x="0" y="0" font="letterica16" r="240" g="217" b="182" complex_mode="0"/>
</static_condition>

<descr_list x="15" y="220" width="241" height="200" always_show_scroll="0" left_ident="16">
<font font="letterica16" r="240" g="217" b="182"/>
</descr_list>


<image_static x="110" y="95" width="180" height="190" alignment="c"/>

<condition_progress x="10" y="165" width="120" height="8" horz="1" min="0" max="100" pos="100">
<min_color r="255" g="0" b="0"/>
<max_color r="0" g="255" b="0"/>
<progress>
<texture>ui_mg_progress_efficiency_full</texture>
</progress>
<background>
<texture>ui_mg_progress_efficiency_empty</texture>
</background>
</condition_progress>

<wpn_params x="0" y="0" width="157" height="70">
<cap_accuracy x="0" y="8" width="121" height="8">
<text font="letterica16" r="124" g="119" b="115">ui_inv_accuracy</text>
</cap_accuracy>
<cap_handling x="118" y="8" width="121" height="8">
<text font="letterica16" r="124" g="119" b="115">ui_inv_handling</text>
</cap_handling>
<cap_damage x="0" y="39" width="121" height="8">
<text font="letterica16" r="124" g="119" b="115">ui_inv_damage</text>
</cap_damage>
<cap_rpm x="118" y="39" width="121" height="8">
<text font="letterica16" r="124" g="119" b="115">ui_inv_rate_of_fire</text>
</cap_rpm>

<progress_accuracy x="0" y="24" width="90" height="8" horz="1">
<progress>
<texture a="255" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</progress>
<background>
<texture a="100" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</background>
</progress_accuracy>
<progress_handling x="120" y="24" width="90" height="8" horz="1">
<progress>
<texture a="255" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</progress>
<background>
<texture a="100" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</background>
</progress_handling>
<progress_damage x="0" y="55" width="90" height="8" horz="1">
<progress>
<texture a="255" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</progress>
<background>
<texture a="100" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</background>
</progress_damage>
<progress_rpm x="120" y="55" width="90" height="8" horz="1">
<progress>
<texture a="255" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</progress>
<background>
<texture a="100" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</background>
</progress_rpm>

</wpn_params>

#include "ui\af_params_16.xml"

<static_condition x="210" y="170" width="200" height="20">
<text align="r" x="0" y="0" font="letterica18" r="240" g="217" b="182"/>
</static_condition>

</w>

carbody_new_16.xml
:

<?xml version='1.0' encoding="UTF-8"?>

<window>

<main x=0 y=0 width=1024 height=768/>

<static_icon x="20" y="22" width="150" height="220" stretch="1">
<texture_offset x="-11" y="0"/>
<texture>ui_charinfo_left</texture>
</static_icon>

<static_icon x="868" y="22" width="150" height="220" stretch="1">
<texture>ui_charinfo_right</texture>
</static_icon>

<our_bag_static x="30" y="270" width="333" height="455" stretch="1">
<texture width="305" height="455">ui\ui_dg_inventory_exchange_trade</texture>
<text x="30" y="8" font="graffiti22" r="238" g="153" b="26" complex_mode="1"/>
</our_bag_static>

<dragdrop_list_our x="29" y="35" width="295" height="410"
cell_width = "31" cell_height="41" rows_num="10" cols_num="9"
unlimited="1" group_similar="1"/>

<others_bag_static x="675" y="270" width="333" height="455" stretch="1">
<texture mirror="h" width="305" height="455">ui\ui_dg_inventory_exchange_trade</texture>
<text x="25" y="8" font="graffiti22" r="255" g="255" b="255" a="128">st_items</text>
</others_bag_static>

<dragdrop_list_other x="29" y="35" width="295" height="410"
cell_width="31" cell_height="41" rows_num="10" cols_num="9"
unlimited="1" group_similar="1"/>

<frame_window x="375" y="274" width="267" height="460">
<texture>ui_frame</texture>
<auto_static x="5" y="-10">
<texture>ui\ui_inv_info_over_lt</texture>
</auto_static>
</frame_window>

<descr_static x="5" y="184" width="260" height="270" stretch="1">
<texture width="258" height="271">ui\ui_inv_info_over_b</texture>
</descr_static>

<auto_static x="410" y="465" width="220" height="30">
<text font="graffiti22" r="255" g="255" b="255" a="128">ui_st_description</text>
</auto_static>

<top_background x=0 y=0 width=1024 height=128>
<texture>ui\ui_top_background</texture>
</top_background>

<bottom_background x=0 y=736 width=1024 height=32>
<texture>ui\ui_bottom_background</texture>
</bottom_background>

<take_all_btn x="830" y="725" width="157" height="48" hR="255" hB="83" hG="179" highlight_text="1">
<texture>ui_button_main01</texture>
<text align="c" font="graffiti22" r="238" g="153" b="26">ui_st_take_all</text>
</take_all_btn>

</window>

maingame_16.xml
:

<?xml version='1.0' encoding="UTF-8" ?>
<window x="000" y="000" w="640" h="480" r="227" g="121" b="222" texture="1">
<speech_menu x="260" y="550" width="300" height="265" always_show_scroll="0">
<text font="letterica16" r="238" g="224" b="198"/>
</speech_menu>

<static_health x="866" y="655" width="120" height="200" align="rb">
<text x="70" y="5" font="small" r="239" g="154" b="29" a="230">Conditions</text>
<texture>ui\ui_mn_health</texture>
</static_health>

<progress_bar_health x="21" y="23" width="110" height="9" horz="1" min="0" max="100" pos="0">
<progress>
<texture>ui_hud_shk_health</texture>
</progress>
</progress_bar_health>

<static_armor x="860" y="610" width="120" height="200" align="rb">
<text x="80" y="5" font="small" r="255" g="255" b="255" a="130"></text>
<texture></texture>
</static_armor>

<progress_bar_armor x="27" y="77" width="110" height="9" horz="1" min="0" max="100" pos="0">
<progress>
<texture>ui_hud_shk_armour</texture>
</progress>
</progress_bar_armor>

<static_weapon x="865" y="697" width="120" height="65">
<text x="68" y="3" font="small" r="255" g="255" b="255" a="130"></text>
<texture>ui\ui_mn_weapons</texture>
</static_weapon>


<static_ammo x="017" y="022" width="55" height="20">
<text align="c" complex_mode="0" font="graffiti32" r="238" g="155" b="23" a="255"></text>
</static_ammo>

<static_wpn_icon x="071" y="015" width="40" height="18">
<text font="graffiti19" r="239" g="154" b="29" a="230"/>
</static_wpn_icon>

<car_panel x="860" y="545" width="150" height="200" align="rb"/>

<static_pda_online x="1" y="187" width="200" height="32">
<texture>ui\ui_mg_back_pager</texture>
<text x="10" y="1" align="c" font="graffiti19" r="239" g="154" b="29" a="230"></text>
</static_pda_online>

<quick_info x="001" y="700" width="1022" height="50" complex_mode="1" light_anim="ui_btn_hint" la_cyclic="0" la_texture="0" la_text="1" la_alpha="1">
<text align="c" font="graffiti22" r="225" g="225" b="250" a="255" />
</quick_info>

<weapon_jammed_static x="0" y="0" width="54" height="64" stretch="1">
<texture>ui_hud_icon_weapon</texture>
</weapon_jammed_static>

<radiation_static x="0" y="0" width="54" height="64" stretch="1">
<texture>ui_hud_icon_radiation</texture>
</radiation_static>

<wound_static x="0" y="0" width="54" height="64" stretch="1">
<texture>ui_hud_icon_drop</texture>
</wound_static>

<starvation_static x="0" y="0" width="54" height="64" stretch="1">
<texture>ui_hud_icon_eat</texture>
</starvation_static>

<psy_health_static x="0" y="0" width="54" height="64" stretch="1">
<texture>ui_hud_icon_psycho</texture>
</psy_health_static>

<invincible_static x="0" y="0" width="54" height="64" stretch="1">
<texture>ui_hud_icon_goodmode</texture>
</invincible_static>

<can_sleep_static x="0" y="0" width="54" height="64" stretch="1">
<texture>ui_hud_icon_sleep</texture>
</can_sleep_static>

<artefact_static x="0" y="0" width="54" height="64" stretch="1">
<texture>ui_hud_icon_artefact</texture>
</artefact_static>


<flashing_icons>
<flashing_icon x="185" y="4" width="48" height="29" type="pda" light_anim="ui_slow_blinking_alpha">
<texture>ui_hud_icon_PDA</texture>
</flashing_icon>
</flashing_icons>

<pick_up_item x="437" y="400" width="0" height="0"/>

<artefact_panel x="8" y="205" width="730" height="48" cell_width="38" cell_height="50" scale="0"/>

<icons_scroll_view x="951" y="018" width="54" height="455" right_ident="2" always_show_scroll="0" vert_interval="18" inverse_dir="1" flip_vert="0"/>


<new_contact_snd>detectors\contact_1</new_contact_snd>

</window>

motion_icon_16.xml
:

<?xml version='1.0' encoding="UTF-8"?>
<window x="0" y="0" w="640" h="480" r="227" g="121" b="222" texture="1">

<background x="888" y="003" width="125" height="125">
<text x="66" y="170" font="small" r="239" g="154" b="29" a="230">Power</text>
<texture>ui\ui_mg_back_health</texture>
</background>

<state_normal x="42" y="22" width="60" height="85" stretch="1">
<texture>ui_hud_soldier_normal</texture>
</state_normal>

<state_crouch x="42" y="22" width="60" height="85" stretch="1">
<texture>ui_hud_soldier_crouch</texture>
</state_crouch>

<state_creep x="42" y="22" width="60" height="85" stretch="1">
<texture>ui_hud_soldier_creep</texture>
</state_creep>

<state_climb x="42" y="22" width="60" height="85" stretch="1">
<texture>ui_hud_soldier_climb</texture>
</state_climb>

<state_run x="42" y="22" width="60" height="85" stretch="1">
<texture>ui_hud_soldier_run</texture>
</state_run>

<state_sprint x="42" y="22" width="60" height="85" stretch="1">
<texture>ui_hud_soldier_sprint</texture>
</state_sprint>

<power_progress x="24" y="189" width="83" height="19" horz="1" min="0" max="100" pos="50">
<progress>
<texture>ui_mg_progress_efficiency_full</texture>
</progress>
</power_progress>

<luminosity_progress x="79" y="34" width="8" height="71" horz="0" min="0" max="100" pos="50">
<progress>
<texture></texture>
</progress>
</luminosity_progress>

<noise_progress x="8" y="34" width="8" height="71" horz="0" min="0" max="100" pos="50">
<progress>
<texture></texture>
</progress>
</noise_progress>
</window>

talk_16.xml
:

<?xml version='1.0' encoding="UTF-8"?>
<window>

<left_character_icon x="15" y="32" width="150" height="220" stretch="1">
<texture>ui_charinfo_left</texture>
<texture_offset x="-11" y="0"/>
</left_character_icon>

<right_character_icon x="850" y="32" width="150" height="220" stretch="1">
<texture>ui_charinfo_right</texture>
</right_character_icon>

<top_background x=0 y=0 width=1024 height=128>
<texture>ui\ui_top_background</texture>
</top_background>

<bottom_background x=0 y=736 width=1024 height=32>
<texture>ui\ui_bottom_background</texture>
</bottom_background>
<!-- BUTTONS -->
<button x="437" y="726" width="157" height="48" hR="255" hB="83" hG="179" highlight_text="1">
<texture>ui_button_main01</texture>
<text align="c" font="graffiti22" r="238" g="153" b="26">ui_st_trade</text>
</button>

<frame_line_window x="218" y="42" width="600" height="470" vertical="1">
<texture>ui_talk_dialogue</texture>
<title x="25" y="3" width="190" height="22">
<text font="graffiti22" r="238" g="153" b="26" complex_mode="0"/>
</title>
</frame_line_window>

<frame_line_window x="218" y="485" width="600" height="250" vertical="1">
<texture>ui_talk_dialogue2</texture>
<title x="25" y="60" width="190" height="22">
<text font="graffiti22" r="238" g="153" b="26" complex_mode="0"/>
</title>
</frame_line_window>

<questions_list x="20" y="100" width="557" height="125" right_ident="5" always_show_scroll="0"/>

<answers_list x="20" y="46" width="557" height="377" right_ident="0" always_show_scroll="0"/>


<question_item x="0" y="0" width="557" height="20" min_height="13">
<content_text x="0" y="0" width="550" height="20">
<text font="letterica18" r="255" g="232" b="208" align="l" complex_mode="1"/>
<text_color>
<t r="231" g="168" b="12"/> <e r="255" g="232" b="208"/> <h r="255" g="255" b="255"/>
</text_color>

</content_text>
</question_item>

<other_answer_item x="0" y="0" width="557" height="0" min_height="13" bottom_footer="5">
<name_caption x="0" y="0" width="550" height="10">
<text font="graffiti22" r="238" g="153" b="26" complex_mode="0"/>
</name_caption>

<content_text x="20" y="22" width="520" height="10" complex_mode="1">
<text font="letterica18" r="216" g="186" b="140"/>
</content_text>
</other_answer_item>

<actor_answer_item x="0" y="0" width="557" height="0" min_height="13" bottom_footer="10">
<name_caption x="0" y="0" width="550" height="10">
<text font="graffiti22" r="135" g="183" b="116" complex_mode="0"/>
</name_caption>

<content_text x="20" y="22" width="520" height="10" complex_mode="1">
<text font="letterica18" r="255" g="232" b="208"/>
</content_text>
</actor_answer_item>

<iconed_answer_item x="0" y="0" width="557" height="0" min_height="30" bottom_footer="5">
<name_caption x="0" y="0" width="0" height="0"/>

<content_text x="75" y="0" width="520" height="29" complex_mode="1">
<text font="letterica16" r="255" g="255" b="255"/>
</content_text>

<msg_icon x="20" y="3" width="49" height="29">
</msg_icon>
</iconed_answer_item>


<iconed_trade_info x="0" y="0" width="557" height="0" min_height="20" bottom_footer="5">
<name_caption x="0" y="0" width="0" height="0"/>

<content_text x="65" y="2" width="520" height="20" complex_mode="1">
<text font="letterica18" r="216" g="186" b="140"/>
</content_text>

<msg_icon x="20" y="0" width="34" height="20">
</msg_icon>
</iconed_trade_info>

<simple_answer_item x="0" y="0" width="557" height="0" min_height="20" bottom_footer="5">
<name_caption x="0" y="0" width="0" height="0"/>
<content_text x="20" y="0" width="520" height="20" complex_mode="1">
<text font="letterica18" r="216" g="186" b="140"/>
</content_text>
<msg_icon x="0" y="0" width="0" height="0">
</msg_icon>
</simple_answer_item>

</window>

trade_16.xml
:

<?xml version='1.0' encoding="UTF-8"?>
<window x="0" y="0" w="640" h="480" r="227" g="121" b="222" texture="1">

<static_icon x="27" y="22" width="150" height="220" stretch="1">
<texture>ui_charinfo_left</texture>
<texture_offset x="-11" y="0"/>
</static_icon>
<static_icon x="850" y="22" width="150" height="220" stretch="1">
<texture>ui_charinfo_right</texture>
</static_icon>

<main x=0 y=0 width=1024 height=768/>

<top_background x=0 y=0 width=1024 height=128>
<texture>ui\ui_top_background</texture>
</top_background>

<bottom_background x=0 y=736 width=1024 height=32>
<texture>ui\ui_bottom_background</texture>
</bottom_background>

<button x="360" y="705" width="157" height="48" hR="255" hB="83" hG="179" highlight_text="1">
<texture>ui_button_main01</texture>
<text font="graffiti22" r="238" g="153" b="26" align="c">ui_st_trade</text>
</button>
<button x="570" y="705" width="157" height="48" hR="255" hB="83" hG="179" highlight_text="1">
<texture>ui_button_main01</texture>
<text font="graffiti22" r="238" g="153" b="26" align="c">ui_st_leave</text>
</button>


<our_bag_static x="15" y="270" width="333" height="455" stretch="1">
<texture width="305" height="455">ui\ui_dg_inventory_exchange_trade</texture>
</our_bag_static>

<our_money_static x="0" y="-17" width="119" height="46">
<texture>ui_hud_frame_moneyNumber</texture>
<text align="c" y="10" font="graffiti22" r="238" g="155" b="23" complex_mode="0"/>
</our_money_static>

<dragdrop_list x="29" y="35" width="295" height="410"
cell_width = "31" cell_height="41" rows_num="10" cols_num="9"
group_similar="1" unlimited="1"/>


<others_bag_static x="680" y="270" width="333" height="455" stretch="1">
<texture mirror="h" width="305" height="455">ui\ui_dg_inventory_exchange_trade</texture>
</others_bag_static>

<other_money_static x="168" y="-17" width="119" height="46">
<texture>ui_hud_frame_moneyNumber</texture>
<text align="c" y="10" font="graffiti22" r="238" g="155" b="23" complex_mode="0"/>
</other_money_static>

<dragdrop_list x="29" y="35" width="296" height="410"
cell_width = "31" cell_height="41" rows_num="10" cols_num="9"
group_similar="1" unlimited="1"/>

<static x="350" y="260" width="333" height="212" stretch="1">
<texture width="350" height="210">ui\ui_trade_list_back</texture>
</static>

<dragdrop_list x="31" y="37" width="296" height="164"
cell_width = "31" cell_height="41"
rows_num="4" cols_num="9"
group_similar="1" unlimited="1"/>


<static x="350" y="480" width="333" height="212" stretch="1">
<texture width="350" height="210">ui\ui_trade_list_back</texture>
</static>

<dragdrop_list x="31" y="37" width="296" height="164"
cell_width = "31" cell_height="41"
rows_num="4" cols_num="9"
group_similar="1" unlimited="1"/>


<desc_frame_window x="350" y="22" width="320" height="230" stretch="1">
<texture>ui_frame_03</texture>
</desc_frame_window>

<desc_static x="258" y="22" width="507" height="232" stretch="1">
<texture>ui_hud_frame_buyM</texture>
</desc_static>

<price_mt_static x="35" y="10" width="347" height="40">
<phrase x="0" y="0" width="170" font="graffiti22" r="238" g="153" b="26">ui_st_your_items</phrase>
<phrase x="175" y="0" font="graffiti22" r="220" g="185" b="140">ui_st_price</phrase>
<phrase x="230" y="0" font="graffiti22" r="240" g="215" b="185"></phrase>
</price_mt_static>

</window>

trade_item_16.xml
:

<?xml version='1.0' encoding="UTF-8"?>
<w>
<auto>
<auto_static x="160" y="43" width="50" height="18">
<text align="r" x="0" y="0" font="letterica18" r="128" g="128" b="128">st_weight</text>
</auto_static>

<auto_static x="300" y="43" width="65" height="20">
<text align="l" x="0" y="0" font="letterica18" r="128" g="128" b="128">st_condition</text>
</auto_static>
</auto>

<static_name x="16" y="13" width="350" height="25">
<text align="l" x="0" y="0" font="graffiti22" r="238" g="155" b="23"complex_mode="0"/>
</static_name>

<static_weight x="215" y="43" width="80" height="18">
<text align="l" x="0" y="0" font="letterica18" r="240" g="217" b="182"/>
</static_weight>

<static_cost x="410" y="13" width="110" height="18">
<text align="l" x="0" y="0" font="graffiti22" r="240" g="215" b="185"/>
</static_cost>


<descr_list x="16" y="69" width="477" height="130" left_ident="16" always_show_scroll="0">
<font font="letterica16" r="240" g="217" b="182"/>
</descr_list>

<condition_progress x="400" y="50" width="95" height="8" horz="1" min="0" max="100" pos="100">
<min_color r="255" g="0" b="0"/>
<max_color r="0" g="255" b="0"/>
<progress>
<texture>ui_mg_progress_efficiency_full</texture>
</progress>
</condition_progress>
<wpn_params x="0" y="0" width="157" height="70">
<cap_accuracy x="0" y="8" width="121" height="8">
<text font="letterica16" r="124" g="119" b="115">ui_inv_accuracy</text>
</cap_accuracy>
<cap_handling x="142" y="8" width="121" height="8">
<text font="letterica16" r="124" g="119" b="115">ui_inv_handling</text>
</cap_handling>
<cap_damage x="0" y="39" width="121" height="8">
<text font="letterica16" r="124" g="119" b="115">ui_inv_damage</text>
</cap_damage>
<cap_rpm x="142" y="39" width="121" height="8">
<text font="letterica16" r="124" g="119" b="115">ui_inv_rate_of_fire</text>
</cap_rpm>

<progress_accuracy x="0" y="24" width="121" height="8" horz="1">
<progress>
<texture a="255" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</progress>
<background>
<texture a="100" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</background>
</progress_accuracy>
<progress_handling x="142" y="24" width="121" height="8" horz="1">
<progress>
<texture a="255" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</progress>
<background>
<texture a="100" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</background>
</progress_handling>
<progress_damage x="0" y="55" width="121" height="8" horz="1">
<progress>
<texture a="255" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</progress>
<background>
<texture a="100" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</background>
</progress_damage>
<progress_rpm x="142" y="55" width="121" height="8" horz="1">
<progress>
<texture a="255" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</progress>
<background>
<texture a="100" r="255" g="255" b="255">ui_buymenu_progBar</texture>
</background>
</progress_rpm>

</wpn_params>

#include "ui\af_params_16.xml"

</w>

zone_map_16.xml
:

<?xml version='1.0' encoding="UTF-8"?>
<window>
<minimap>
<level_frame x="012" y="014" width="163" height="161"/>

<background x="001" y="000" width="177" height="185">
<texture>ui_hud_map</texture>

<dist_text x="030" y="005" width="150" height="020">
<text align="l" font="small" color="ui_clr_1"/>
</dist_text>
</background>

<compass x="145" y="146" width="23" height="24" heading="1" stretch="1">
<texture>ui\ui_hud_map_arrow</texture>
</compass>

<center width="004" height="004" alignment="c" stretch="1">
<texture >ui_minimap_point</texture>
</center>

</minimap>
</window>

Przetestowane na ustawieniach ekranu 1280x720.
łatwiej już nie będzie
Awatar użytkownika
nelson82
Łowca

Posty: 505
Dołączenie: 16 Paź 2011, 00:09
Ostatnio był: 13 Paź 2019, 11:44
Ulubiona broń: --
Kozaki: 130

Re: Domyślny HUD

Postprzez Pertaseth w 21 Lut 2012, 13:56

Prawie domyślnie..ale dobrze by było wiedzieć które to pliki odpowiadają za właściwą rozdzielczość tak by dostosować domyślny HUD do panoramy..

Znalazłem program do tworzenia własnego HUD'a, odpaliłem i po prostu zapisałem domyślny. I mam plik domyślny maingame_16. Ale ammo nadal rozjechane..

:

Kod: Zaznacz wszystko
<?xml version='1.0' encoding="UTF-8" ?>
<w>
   <speech_menu x="260" y="550" width="300" height="265" always_show_scroll="0">
      <text font="letterica16" r="238" g="224" b="198"/>      
   </speech_menu>
   
   <static_health x="900" y="660" width="123" height="34" stretch="1">
      <texture>ui_hud_shkala_health</texture>
      <auto_static x="5" y="10" width="14" height="18" stretch="1">
         <texture>ui_hud_icon_health</texture>
      </auto_static>
   </static_health>

   <progress_bar_health x="024" y="005" width="84" height="10" horz="1" min="0" max="100" pos="0">
      <progress>
         <texture>ui_hud_shk_health</texture>
      </progress>
   </progress_bar_health>


   <static_armor x="900" y="622" width="123" height="34" stretch="1">
      <texture>ui_hud_shkala_armor</texture>      
      <auto_static x="5" y="6" width="14" height="18" stretch="1">
         <texture>ui_hud_icon_armour</texture>
      </auto_static>
   </static_armor>

   <progress_bar_armor x="024" y="021" width="84" height="10" horz="1" min="0" max="100" pos="0">
      <progress>
         <texture>ui_hud_shk_armour</texture>
      </progress>
   </progress_bar_armor>
   
   <static_weapon x="900" y="692" width="123" height="65" stretch="1">
      <text complex_mode="0" x="45" y="0" font="letterica16" r="255" g="255" b="255" a="130"/>
      <texture>ui_hud_frame_patron</texture>
   </static_weapon>
   
   <static_ammo x="065" y="022" width="53" height="30">
      <text align="c" complex_mode="0" font="graffiti22" r="238" g="155" b="23" a="255">Ammo</text>
   </static_ammo>
   
   <static_wpn_icon x="000" y="013" width="41" height="42"/>



   <car_panel x="900" y="584" width="123" height="200"/>
   
   <static_pda_online x="104" y="167" width="27" height="28" light_anim="ui_pda_contacts" la_cyclic="0" la_texture="0" la_text="1" la_alpha="1" stretch="1">
      <texture>ui_hud_map_counter</texture>
      <text y="4" align="c" font="graffiti19" r="238" g="155" b="23" a="255"/>
   </static_pda_online>
   
   
   <quick_info x="001" y="700" width="1022" height="50" complex_mode="1" light_anim="ui_btn_hint"  la_cyclic="0" la_texture="0" la_text="1" la_alpha="1">
      <text align="c" font="graffiti22" r="225" g="225" b="250" a="255" />
   </quick_info>


   <icons_scroll_view  x="955" y="100" width="48" height="455" right_ident="2" always_show_scroll="0" vert_interval="18" inverse_dir="1" flip_vert="1"/>

   <weapon_jammed_static x="000" y="000" width="48" height="64" stretch="1">
      <texture>ui_hud_icon_weapon</texture>
   </weapon_jammed_static>

   <radiation_static x="000" y="000" width="48" height="64" stretch="1">
      <texture>ui_hud_icon_radiation</texture>
   </radiation_static>

   <wound_static x="000" y="000" width="48" height="64" stretch="1">
      <texture>ui_hud_icon_drop</texture>
   </wound_static>

   <starvation_static x="000" y="000" width="48" height="64" stretch="1">
      <texture>ui_hud_icon_eat</texture>
   </starvation_static>

   <psy_health_static x="000" y="000" width="48" height="64" stretch="1">
      <texture>ui_hud_icon_psycho</texture>
   </psy_health_static>

   <invincible_static x="000" y="000" width="48" height="64" stretch="1">
      <texture>ui_hud_icon_goodmode</texture>
   </invincible_static>
   
   <can_sleep_static x="000" y="000" width="48" height="64" stretch="1">
      <texture>ui_hud_icon_sleep</texture>
   </can_sleep_static>

   <artefact_static x="000" y="000" width="48" height="64" stretch="1">
      <texture>ui_hud_icon_artefact</texture>
   </artefact_static>


   <flashing_icons>
      <flashing_icon x="013" y="210" width="48" height="29" type="pda" light_anim="ui_slow_blinking_alpha">
         <texture>ui_hud_icon_PDA</texture>
      </flashing_icon>
   </flashing_icons>

   <pick_up_item x="437" y="400" width="150" height="100"/>

   <artefact_panel x="130" y="710" width="730" height="50" cell_width="38" cell_height="50" scale="0.75"/>
   
   <new_contact_snd>detectors\contact_1</new_contact_snd>   
</w>


Dobra, dajmy sobie z tym spokój..
Awatar użytkownika
Pertaseth
Stalker

Posty: 73
Dołączenie: 15 Sty 2012, 00:52
Ostatnio był: 07 Wrz 2012, 19:58
Frakcja: Samotnicy
Ulubiona broń: GP 37
Kozaki: 4

Re: Domyślny HUD

Postprzez r_populik w 22 Lut 2012, 12:16

Przesuń delikatnie static ammo w maingame_16.xml w prawo, jak masz tak jak wkleiłeś:
Kod: Zaznacz wszystko
<static_ammo x="065" y="022" width="53" height="30">
      <text align="c" complex_mode="0" font="graffiti22" r="238" g="155" b="23" a="255">Ammo</text>
   </static_ammo>

to daj np. tak:
Kod: Zaznacz wszystko
<static_ammo x="070" y="022" width="53" height="30">
      <text align="c" complex_mode="0" font="graffiti22" r="238" g="155" b="23" a="255">Ammo</text>
   </static_ammo>

i sprawdź czy jest ok, w razie potrzeby zwiększ lub zmniejsz wartość x.
Awatar użytkownika
r_populik
Modder

Posty: 789
Dołączenie: 26 Mar 2010, 12:45
Ostatnio był: 29 Wrz 2022, 22:03
Miejscowość: okolice stolicy
Kozaki: 263

Poprzednia

Powróć do Pytania i odpowiedzi

Kto jest na forum

Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 28 gości