Поиск по STEAMB

Игры и программы по онлайну, скины по объёму продаж

Ничего не найдено

Попробуйте другое название или переключите категорию.

Меню

Моды

Text HUD API

Положительные голоса98%4 067 голосов игроков
Подписчики421 тыс.421 005 в Steam Workshop
Размер файла1,07 МБЗагрузка через Steam
Обновление автора23 февр. 2022 г.Дата обновления материала
Материал мастерской
Установить через Steam

О материале

«Text HUD API» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. На странице приведены данные Steam и описание автора. Для установки откройте оригинал в Steam Workshop и подпишитесь. Совместимость редакцией не проверена.

Описание автора

Allows modders to add text to the players screen. This mod must be loaded along side any other mod that uses it.

Graphics update note: Post-Processing causes all HUD API text to be dark and blurry unless it uses the PostPP blendtype.

Common Issue: If the mod is not working delete Steam\steamapps\workshop\content\244850\758597413 to force TextHUDAPI to redownload the latest version from steam.

Reference issue

'Reference issue detected (circular reference or wrong order)' in the log does not indicate a problem. All it means is that another mod already loaded this mod and it is skipping loading this mod a second (or third) time. Please look further in your log for a crash message that may indicate the real problem if your save is not loading.

Features: Add Text HUD elements Add Text to world Add Text attached to Entities. Add Billboards to HUD elements Adds an interactable mod menu. Fonts are fully modifable.

There is now a new API class that interfaces with this mod you can get it here:

[SteamLibrary folder]\steamapps\workshop\content\244850\758597413\Data\Scripts\HUDApi\HudAPIv2.cs

In a Session Component init the mod using the Init Method

TextAPI = new HudAPIv2(onRegisteredCallback);

Note: onRegisteredCallback method will be called when the API registers to this mod you can then declare all HUD/Menu elements in that method.

Note before using any class make sure Heartbeat is true. If you try to call a constructor while Heartbeat is false it will lead to a crash. Using the Callback method can help you avoid this issue.

Editing any class property will update it instantly, there is no longer any network messaging involved with the mod. This also means you have to now worry about thread safety.

Modders:

You can change the color of the text with the <color=colorname> tag. No closing tag is required. You can use multiple colors in the same message. <color=r,g,b> and <color=r,g,b,a> also supported. r = red [0-255] b = blue [0-255] g = green [0-255] a = alpha [0-255] tag for italic text. end the tag with ex. this is italic text will reset the formatting of the text back to the default. <color=red>abc

The Heartbeat property lets you know if the class has received a heartbeat, so you can be confident the player has the mod installed. If they do not then you can revert to any previous messaging scheme you had.

V3.1 Added custom font support. ( Example mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2163222751 )

V3.0 Added BoxUI Fixed menu display order. Added InitialColor property for HUDMessages.

V2.6 Removed support for version 1.

V2.53 MenuColorPicker added

V2.52 Draw() Method added Performance improvements

V2.51 Included some performance improvements. Modders now can manually flush the cache by calling the Flush() method.

V2.5 Texture files eliminated, mod now uses a UV map to generate the font. Monospace font added Mod menu added

Thanks to Digi for pointing me in the right direction to get it working properly with 3rd person.

Localization complete, now supports all characters - Thanks Midspace!

Mod List: Notes (v2) - https://steamcommunity.com/sharedfiles/filedetails/?id=758966734 Easy Inventory (v2) - https://steamcommunity.com/sharedfiles/filedetails/?id=646796262 Aerodynamic Physics (v2) - https://steamcommunity.com/sharedfiles/filedetails/?id=571920453 Build Vision - https://steamcommunity.com/sharedfiles/filedetails/?id=756792814 Text Projector (v2) - https://steamcommunity.com/sharedfiles/filedetails/?id=762397930 Build Hints - https://steamcommunity.com/sharedfiles/filedetails/?id=762950855 Dock Assist (v2) - https://steamcommunity.com/sharedfiles/filedetails/?id=764754640 Stargate mod - https://steamcommunity.com/sharedfiles/filedetails/?id=754173702 Wormhole portal - https://steamcommunity.com/sharedfiles/filedetails/?id=377773977 Score Screen (v2) - https://steamcommunity.com/sharedfiles/filedetails/?id=767740490 Automatic Ore Pickup - https://steamcommunity.com/sharedfiles/filedetails/?id=657749341 Hunger and Thirst - https://steamcommunity.com/sharedfiles/filedetails/?id=591816613 Build Information - https://steamcommunity.com/sharedfiles/filedetails/?id=514062285 HudLcd - https://steamcommunity.com/sharedfiles/filedetails/?id=911144486

Оригинал в Steam Workshop

Как установить и запустить

Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.

Настройки cookies

Вы можете изменить выбор в любой момент. Отказ от аналитики не ограничивает доступ к сайту.

Технологии, провайдеры и сроки хранения