XCOM 2
32 个评价
BBMarkup
   
奖励
收藏
已收藏
取消收藏
UI
标签: Utility, Resource, text
文件大小
发表于
更新日期
274.641 KB
9 月 16 日 上午 5:22
9 月 17 日 下午 6:47
3 项改动说明 ( 查看 )

订阅以下载
BBMarkup

描述
BBMarkup
Bring text to life.

Released as a utility of the popular Advent Angels - Steam Workshop mod, split for public use.



✦ Overview

BBMarkup adds support for BBCode-style text formatting inside XCOM 2’s UI.
Mod authors can now more easily style in-game text with expressive tags and make menus, guides, and messages easy to read — and eye-catching.



✦ Features
Important: In the section below, [] brackets are replaced with {} to prevent being rendered out.
  • Easy Localization → Store whole pages in localization files & parse with RenderLocalized.
  • Inline Documentation → Supported tags documented in readme file.
  • Bold & Underline → {b}text{/b}, {u}text{/u}
  • Colors → {color=orange}alert{/color}
  • Lists → {list} {*} First {*} Second {/list} (+charset support; ex: abc/ABC/123/iii)
  • Horizontal Rules → {hr;char=-;count=40}
  • Nesting support → {u}{color=red}Warning!{/color}{/u}
  • Ghost tags ignored safely (typos won’t crash anything)
  • Lightweight & universal → no core game assets overwritten
  • MCM ready → perfect for mod configuration menus and inline guides



✦ Example
Mission Status: [color=green]SUCCESS[/color] Loot Secured: 3x Elerium Cores

Renders as: (Steam does not support color any longer)
Mission Status: SUCCESS
Loot Secured: 3x Elerium Cores



✦ Intended Use
  • Mod Authors: Easily build stylish popups, MCM guides, and immersive UI.



✦ Compatibility
  • Works with vanilla and WOTC.
  • Safe to add or remove mid-campaign.
  • Should play nice with any mod that renders UI text normally.
热门讨论 查看全部(1)
3
9 月 16 日 下午 8:11
Developer Documentation
SurferJay
4 条留言
SurferJay  [作者] 9 月 27 日 下午 5:08 
2Scribble came for the markup and left with a new overwatch mod, lol. :)
2Scribble 9 月 19 日 下午 3:01 
Love the sound of your soldiers avoiding low-odd overwatch shots xD
gus 9 月 16 日 下午 5:10 
Let's go indeed
SurferJay  [作者] 9 月 16 日 上午 9:15 
Hello everyone! This is my BB-code parser that I made for Advent Angels - Steam Workshop . Check it out and feel free to use it in your mods if you have a use case for it in your UIs.