promotional bannermobile promotional banner
P1nero's Dialogue Lib logo

P1nero's Dialogue Lib

Simplifies custom GUI dialog implementation with consistent styling for mod developers
item image

64B2564E2A428983A4C83BB8A4CBFD15.png

item image

show1.png

item image

8BA757F74200141AC94649F90C88E2D2.png

Description

WARNING: This project will not be updated any more. We have a better choice: Arc Quest.

For player:

you can modify your preference in config file.

#剧情对话是否使用[打字机效果]
enable_typewriter_effect = true
#[打字机效果]打字速度
#Range: > 1
typewriter_effect_speed = 2
#[打字机效果]打字间隔
#Range: > 1
typewriter_effect_interval = 2
#是否开启[背景框]
enable_background = true
#[选项]是否居中
option_in_center = false
#是否绘制[回答]的背景
enable_ans_background = false
#是否绘制[选项]的背景
enable_opt_background = false
#使用[渐变背景框]或[边框背景框]
faded_background = true
#对话框宽度
#Range: > 100
dialog_width = 300

For developer:

wiki: https://github.com/P1neapplell0/DialogueLib/wiki

This mod provides a dialog support library that allows you to conveniently construct dialogues. Although it only features a few styles, it is fully functional.
You can:

  • Build dialogues like constructing a tree, supporting different branches for each option
  • Adjust dialog box height
  • Trigger custom events after button presses
  • Send specified request codes to the server

For custom entity usage examples, refer to:
TuDiGong Entity

For existing entity usage examples, refer to:

IEntityDialogueExtension

ReceptionistDialogExtension

You can also use datagen to generate dialog translation:

ExampleLangProvider

This mod extends the Valkyrie dialogue system from TheAether, adding:

  • Typewriter effect
  • Tree-like structure construction
  • Position adjustment capabilities
  • Image insertion functionality
  • Cool background
  • More api

Licensed under GNU Lesser General Public License v3.0.

The P1nero's Dialogue Lib Team

profile avatar
Owner
  • 507
    Followers
  • 43
    Projects
  • 57.9M
    Downloads