Перейти к содержанию
Enframed

UI Monolith для OGSR Engine

Рекомендуемые сообщения

 
 

Enframed классно будет увидеть реализацию.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
 

Enframed а из какого проекта лучше брать активатор работы экранов Велеса и Сварога?

Под 2.1.394 версию. Я отсюда брал наработки:

 

Но у меня работают лишь Отклик р Медведь. Лучше из Радиофобии 3 брать скрипты или из Ганса под ТЧ раннего?

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
 
В 11.04.2026 в 15:30, TheDarkestDoomslayer сказал:

активатор работы экранов Велеса и Сварога

Я брал из STCoP (анимации идентичны с ЗП и др оружейками). Также ранний Ганс не сильно отличается от Радиофобии. Лучше начать с ванильной ЗП, далее объединить с любой желаемой оружейкой, чем сначала подключать (возможно) не нужные скрипты и конфиги

 

В 11.04.2026 в 15:30, TheDarkestDoomslayer сказал:

Но у меня работают лишь Отклик р Медведь

В видео или в чате в тгк, когда-то обсуждали причину

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
 
1 час назад, Enframed сказал:

Я брал из STCoP (анимации идентичны с ЗП и др оружейками).

Всмысле? Там шейдер лишь надо для работы?

Или его и скрипты?

1 час назад, Enframed сказал:

В видео или в чате в тгк, когда-то обсуждали причину

Ну и какая на версии 2.1.394 она?

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
 
В 13.04.2026 в 22:38, TheDarkestDoomslayer сказал:

Там шейдер лишь надо для работы?

Шейдеры уже есть на борту ogsr, твоя версия должна заработать (там непосредственно нужны hud3d, hud_p3d и возможно еще что-то). Скрипты не нужны.
 

Спойлер

1. Модель, руки, анимации...
2. Конфиг, например:


[detector_veles]:detector_bear
$spawn                                = "devices\detector_veles"
class                                = DET_ELIT
visual                                = dynamics\devices\dev_detector_3\dev_detector_3.ogf

hud                                    = detector_veles_hud

inv_name                            = st_detector3
inv_name_short                        = st_detector3
description                            = st_detector3_descr

inv_grid_width                        = 1
inv_grid_height                        = 1
inv_grid_x                            = 16
inv_grid_y                            = 20
cost                                = 2000

; elite x="0.00096" y="0.0035"
ui_p                                = -0.02904,0.01,0.0364
ui_r                                = 0,90,0

af_radius                            = 30
af_vis_radius                        = 2

af_class_all                        = true
af_sound_all_                        = detectors\art_beep1
af_freq_all                            = 0.05, 2

af_class_25                            = af_eye
af_sound_25_                        = detectors\art_beep1
af_freq_25                            = 0.05, 2

af_class_26                            = af_fire
af_sound_26_                        = detectors\art_beep1
af_freq_26                            = 0.05, 2

af_class_27                            = af_gravi
af_sound_27_                        = detectors\art_beep1
af_freq_27                            = 0.05, 2

af_class_28                            = af_gold_fish
af_sound_28_                        = detectors\art_beep1
af_freq_28                            = 0.05, 2

af_class_29                            = af_baloon
af_sound_29_                        = detectors\art_beep1
af_freq_29                            = 0.05, 2

af_class_30                            = af_glass
af_sound_30_                        = detectors\art_beep1
af_freq_30                            = 0.05, 2

af_class_31                            = af_dummy_dummy
af_sound_31_                        = detectors\art_beep1
af_freq_31                            = 0.05, 2

af_class_32                            = af_ice
af_sound_32_                        = detectors\art_beep1
af_freq_32                            = 0.05, 2

af_class_33                            = af_ameba_mica
af_sound_33_                        = detectors\art_beep1
af_freq_33                            = 0.05, 2

af_class_34                            = af_rusty_sea
af_sound_34_                        = detectors\art_beep1
af_freq_34                            = 0.05, 2

[detector_veles_hud]:detector_base_hud
item_visual                            = dynamics\devices\dev_detector_3\dev_detector_3_hud
item_position                        = -0.071685,0.040188,-0.009934
item_orientation                    = 318.589233,-184.420761,-189.323669

anm_show                            = d3_draw, draw
anm_show_fast                        = d3_draw, draw
anm_hide                            = d3_holster, holster
anm_hide_fast                        = d3_holster, holster
anm_idle                            = d3_idle, idle
anm_idle_moving                        = d3_move, move
anm_idle_moving_crouch                = d3_crouch, move
anm_idle_sprint                        = d3_sprint, sprint

anm_show_16x9                        = d3_draw, draw
anm_show_fast_16x9                    = d3_draw, draw
anm_hide_16x9                        = d3_holster, holster
anm_hide_fast_16x9                    = d3_holster, holster
anm_idle_16x9                        = d3_idle, idle
anm_idle_moving_16x9                = d3_move, move
anm_idle_moving_crouch_16x9            = d3_crouch, move
anm_idle_sprint_16x9                = d3_sprint, sprint

3. gamedata\config\ui\ui_detector_artefact.xml (файл из ЗП, текстуры переименовал произвольно из MUI):


<w>
  <elite x="0" y="0" width="0.0576" height="0.029">
    <wrk_area width="0.0576" height="0.029">
      <auto_static width="0.0576" height="0.029" stretch="1">
        <!-- текстура полукруга -->
        <texture shader="hud\p3d"></texture>
      </auto_static>
    </wrk_area>

    <af_sign width="0.0045" height="0.005" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </af_sign>

    <palette id="af_sign" width="0.0045" height="0.005" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
  </elite>

  <scientific x="0" y="0" width="0.0576" height="0.029">
    <wrk_area width="0.0576" height="0.029">
      <auto_static width="0.0576" height="0.029" stretch="1">
        <texture shader="hud\p3d">ui_inv_icon_wound</texture>
      </auto_static>
    </wrk_area>

    <palette id="zone_mine_acidic_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
    <palette id="zone_mine_acidic_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
    <palette id="zone_mine_acidic_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>

    <palette id="zone_mine_chemical_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
    <palette id="zone_mine_chemical_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
    <palette id="zone_mine_chemical_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>

    <palette id="zone_buzz_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
    <palette id="zone_buzz_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
    <palette id="zone_buzz_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>

    <palette id="zone_mine_electric_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>
    <palette id="zone_mine_electric_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>
    <palette id="zone_mine_electric_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>

    <palette id="zone_mine_static_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>
    <palette id="zone_mine_static_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>
    <palette id="zone_mine_static_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>

    <palette id="zone_witches_galantine_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>
    <palette id="zone_witches_galantine_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>
    <palette id="zone_witches_galantine_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_electro_big</texture>
    </palette>

    <palette id="zone_mine_gravitational_strong" width="0.008" height="0.008" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_gravity_big</texture>
    </palette>
    <palette id="zone_mine_gravitational_average" width="0.008" height="0.008" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_gravity_big</texture>
    </palette>
    <palette id="zone_mine_gravitational_weak" width="0.006" height="0.006" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_gravity_big</texture>
    </palette>

    <palette id="zone_gravi_zone" width="0.008" height="0.008" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_gravity_big</texture>
    </palette>

    <palette id="zone_mine_thermal_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>
    <palette id="zone_mine_thermal_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>
    <palette id="zone_mine_thermal_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>

    <palette id="zone_zharka_static_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>
    <palette id="zone_zharka_static_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>
    <palette id="zone_zharka_static_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>

    <palette id="zone_mine_steam_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>
    <palette id="zone_mine_steam_average" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>
    <palette id="zone_mine_steam_weak" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_fire_big</texture>
    </palette>

    <palette id="af_blood" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_mincer_meat" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_soul" width="0.0015" height="0.0015" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_fuzz_kolobok" width="0.0015" height="0.0015" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_baloon" width="0.0022" height="0.0022" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_glass" width="0.0022" height="0.0022" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>

    <palette id="af_electra_sparkler" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_electra_flash" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_electra_moonlight" width="0.0015" height="0.0015" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_dummy_battery" width="0.0015" height="0.0015" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_dummy_dummy" width="0.0022" height="0.0022" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_ice" width="0.0022" height="0.0022" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>

    <palette id="af_medusa" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_cristall_flower" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_night_star" width="0.0015" height="0.0015" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_vyvert" width="0.0015" height="0.0015" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_gravi" width="0.0022" height="0.0022" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_gold_fish" width="0.0022" height="0.0022" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>

    <palette id="af_cristall" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_fireball" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_dummy_glassbeads" width="0.0015" height="0.0015" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_eye" width="0.0015" height="0.0015" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_fire" width="0.0022" height="0.0022" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>

    <palette id="af_oasis_heart" width="0.003" height="0.003" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="af_quest_b14_twisted" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>
    <palette id="jup_b1_half_artifact" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inGame2_Detector_icon_artefact</texture>
    </palette>

  </scientific>
</w>

и как бы работает:
ss_enframed_04-16-26_00-40-10_(l01_escape).thumb.png.cb6b3e7d73c98b21bb084d782b1a4f5f.png

 

  • Хабар 1

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
 

Enframed ясно. А ты на какой проверял хоть?

А Сварог пробовал?

Изменено пользователем TheDarkestDoomslayer

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
 
В 16.04.2026 в 15:24, TheDarkestDoomslayer сказал:

А ты на какой проверял хоть?

Модель Велеса, можно и Сварог - это одно и тоже

 

В 16.04.2026 в 15:24, TheDarkestDoomslayer сказал:

А Сварог пробовал?

Чтобы заработал Сварог, нужно:
1. Модель Велеса, Сварога
2. Создать секцию детектора с классом:

class = DET_SCIE
Спойлер

[detector_scientific]:detector_veles
$spawn                                = "devices\detector_scientific"
class                                = DET_SCIE
visual                                = dynamics\devices\dev_detector_4\dev_detector_4.ogf

hud                                    = detector_scientific_hud

inv_name                            = st_detector4
inv_name_short                        = st_detector4
description                            = st_detector4_descr

inv_grid_width                        = 1
inv_grid_height                        = 1
inv_grid_x                            = 16
inv_grid_y                            = 20
cost                                = 12500

; elite x="0.00096" y="0.0035"
ui_p                                = -0.02904,0.01,0.0364
ui_r                                = 0,90,0

af_radius                            = 30
af_vis_radius                        = 2

af_class_all                        = true
af_sound_all_                        = detectors\art_beep1
af_freq_all                            = 0.05, 2

af_class_35                            = af_oasis_heart
af_sound_35_                        = detectors\art_beep1
af_freq_35                            = 0.05, 2

af_class_36                            = af_dummy_pellicle
af_sound_36_                        = detectors\art_beep1
af_freq_36                            = 0.05, 2

zone_class_1                        = zone_mine_acidic_weak
zone_class_2                        = zone_mine_acidic_average
zone_class_3                        = zone_mine_acidic_strong

zone_class_4                        = zone_mine_electric_weak
zone_class_5                        = zone_mine_electric_average
zone_class_6                        = zone_mine_electric_strong

zone_class_7                        = zone_mine_gravitational_weak
zone_class_8                        = zone_mine_gravitational_average
zone_class_9                        = zone_mine_gravitational_strong

zone_class_10                        = zone_mine_thermal_weak
zone_class_11                        = zone_mine_thermal_average
zone_class_12                        = zone_mine_thermal_strong

zone_class_13                        = zone_mine_steam_weak
zone_class_14                        = zone_mine_steam_average
zone_class_15                        = zone_mine_steam_strong

zone_class_16                        = zone_mine_acidic_big

zone_class_17                        = zone_mine_chemical_weak
zone_class_18                        = zone_mine_chemical_average
zone_class_19                        = zone_mine_chemical_strong

zone_class_20                        = zone_buzz_weak
zone_class_21                        = zone_buzz_average
zone_class_22                        = zone_buzz_strong

zone_class_23                        = zone_mine_static_weak
zone_class_24                        = zone_mine_static_average
zone_class_25                        = zone_mine_static_strong

zone_class_26                        = zone_witches_galantine_weak
zone_class_27                        = zone_witches_galantine_average
zone_class_28                        = zone_witches_galantine_strong

zone_class_29                        = zone_mine_gravitational_big

zone_class_30                        = zone_gravi_zone

zone_class_31                        = zone_zharka_static_weak
zone_class_32                        = zone_zharka_static_average
zone_class_33                        = zone_zharka_static_strong

zone_class_34                        = zone_radioactive

zone_sound_1_                        = detectors\art_beep1
zone_sound_2_                        = detectors\art_beep1
zone_sound_3_                        = detectors\art_beep1
zone_sound_4_                        = detectors\art_beep1
zone_sound_5_                        = detectors\art_beep1
zone_sound_6_                        = detectors\art_beep1
zone_sound_7_                        = detectors\art_beep1
zone_sound_8_                        = detectors\art_beep1
zone_sound_9_                        = detectors\art_beep1
zone_sound_10_                        = detectors\art_beep1
zone_sound_11_                        = detectors\art_beep1
zone_sound_12_                        = detectors\art_beep1
zone_sound_13_                        = detectors\art_beep1
zone_sound_14_                        = detectors\art_beep1
zone_sound_15_                        = detectors\art_beep1
zone_sound_16_                        = detectors\art_beep1
zone_sound_17_                        = detectors\art_beep1
zone_sound_18_                        = detectors\art_beep1
zone_sound_19_                        = detectors\art_beep1
zone_sound_20_                        = detectors\art_beep1
zone_sound_21_                        = detectors\art_beep1
zone_sound_22_                        = detectors\art_beep1
zone_sound_23_                        = detectors\art_beep1
zone_sound_24_                        = detectors\art_beep1
zone_sound_25_                        = detectors\art_beep1
zone_sound_26_                        = detectors\art_beep1
zone_sound_27_                        = detectors\art_beep1
zone_sound_28_                        = detectors\art_beep1
zone_sound_29_                        = detectors\art_beep1
zone_sound_30_                        = detectors\art_beep1
zone_sound_31_                        = detectors\art_beep1
zone_sound_32_                        = detectors\art_beep1
zone_sound_33_                        = detectors\art_beep1
zone_sound_34_                        = detectors\DA-2_beep1

zone_freq_1                            = 0.05, 2
zone_freq_2                            = 0.05, 2
zone_freq_3                            = 0.05, 2
zone_freq_4                            = 0.05, 2
zone_freq_5                            = 0.05, 2
zone_freq_6                            = 0.05, 2
zone_freq_7                            = 0.05, 2
zone_freq_8                            = 0.05, 2
zone_freq_9                            = 0.05, 2
zone_freq_10                        = 0.05, 2
zone_freq_11                        = 0.05, 2
zone_freq_12                        = 0.05, 2
zone_freq_13                        = 0.05, 2
zone_freq_14                        = 0.05, 2
zone_freq_15                        = 0.05, 2
zone_freq_16                        = 0.05, 2
zone_freq_17                        = 0.05, 2
zone_freq_18                        = 0.05, 2
zone_freq_19                        = 0.05, 2
zone_freq_20                        = 0.05, 2
zone_freq_21                        = 0.05, 2
zone_freq_22                        = 0.05, 2
zone_freq_23                        = 0.05, 2
zone_freq_24                        = 0.05, 2
zone_freq_25                        = 0.05, 2
zone_freq_26                        = 0.05, 2
zone_freq_27                        = 0.05, 2
zone_freq_28                        = 0.05, 2
zone_freq_29                        = 0.05, 2
zone_freq_30                        = 0.05, 2
zone_freq_31                        = 0.05, 2
zone_freq_32                        = 0.05, 2
zone_freq_33                        = 0.05, 2
zone_freq_34                        = 0.05, 2

 

3. Настроить gamedata\config\ui\ui_detector_artefact.xml:

<scientific x="0" y="0" width="0.0576" height="0.029">
    <wrk_area width="0.0576" height="0.029">
      <auto_static width="0.0576" height="0.029" stretch="1">
        <texture shader="hud\p3d"></texture>
      </auto_static>
    </wrk_area>
       ...
	<! -- Пример на медузе -->
    <palette id="af_medusa" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
      ...
	<! -- Пример на аномалии "Электра" -->
    <palette id="zone_witches_galantine_strong" width="0.004" height="0.004" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>
      ...
	<! -- Пример на любом другом объекте -->
    <palette id="af_quest_b14_twisted" width="0.0011" height="0.0011" stretch="1" alignment="c">
      <texture shader="hud\p3d">ui_inv_icon_wound</texture>
    </palette>

4. Принцип id: детектор определяет только те объекты, которые прописаны в ui_detector_artefact.xml > в теге <scientific>...</scientific>, данный пример выше, говорит о том:
- id="af_medusa" - отображение будет работать, секция ТЧ/ЧН/ЗП;
- id="zone_mine_electric_strong" - отображение будет, хоть и ТЧ;
- id="af_quest_b14_twisted" - нет, это ЗП. Но с помощью этого id, можно отобразить любой объект на детекторе, например аптечку:

[af_quest_b14_twisted]:medkit, medkit_army, medkit_scientific

* Здесь, хочу сказать, что если у тебя прописан арт, аномалия, отличная от списка ui_detector_artefact.xml в  <scientific>...</scientific>, добавление строк, типа <palette id="мой_артефакт"...</palette>, не даст результат. Хочешь видеть новый объект, то наследуй в конфигах из существующего списка ui_detector_artefact.xml:

[мой_артефакт]: af_medusa
[моя_аномалия]: zone_gravi


 


Дополнено 6 минуты спустя

TheDarkestDoomslayer , но есть еще один баг: большое количество тэгов <palette> в ui_detector_artefact.xml уменьшает иконки объектов на детекторе в размерах, какое кол-во приемлимое не знаю, это надо проверять

  • Хабар 1

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

Важная информация

Мы разместили cookie-файлы на ваше устройство, чтобы помочь сделать этот сайт лучше. Вы можете изменить свои настройки cookie-файлов, или продолжить без изменения настроек. Оставаясь на сайте, вы подтверждаете свое согласие на их использование. Политика конфиденциальности | Условия использования