UnrealOni/Documentation: Difference between revisions

m
/cat
m (+ Editor spash screen at runtime)
m (/cat)
 
(5 intermediate revisions by 2 users not shown)
Line 74: Line 74:
:Movies Are Skippable [x]
:Movies Are Skippable [x]
:Add element to array, insert an MP4 video
:Add element to array, insert an MP4 video
:Some older engine versions require the MP4 to have 25 fps.
:Bug: On Windows the mouse cursor will be shown during video playback.
:Bug: On Windows the mouse cursor will be shown during video playback.
<!--:: demonstrated in [https://youtu.be/gwlAt-0rwnQ Oni 2 Tech Demo - Episode 1]-->


An animated intro would be nice but that's unfeasible for us. Instead ingame cutscenes could be used.
An animated intro would be nice but that's unfeasible for us. Instead ingame cutscenes could be used.
Line 269: Line 269:
Image:UnrealOni_console_func_ai2_chump_result.png|right|thumb|ai2_chump called from a custom dev console
Image:UnrealOni_console_func_ai2_chump_result.png|right|thumb|ai2_chump called from a custom dev console
</gallery>
</gallery>
==Ingame menus==
===Text pages===
'''Styles'''
Requirements for text pages with multiple styles:
* User widget (blueprint)
* Rich text block
* Data table (blueprint) with row structure "Rich Text Style Row"
* A new font file (if necessary)
Procedure:
* Add some default text to the rich text block
* Add a default row to the data table named "Default" and set the other defaults including the font
* Move and save rich text block in order to see changes
* Add more rows to the data table, those are the style
** Row name equals tag name which can be used in the rich text block
** Tags are to be used like HTML. <code>This is a text in default style and <nowiki><xeno30>this is a text in a style I named xeno30.</xeno30></nowiki></code>
[YT tutorial https://www.youtube.com/watch?v=msy7bRDpKF4]
<gallery>
Image:UnrealOni_rich_text_block_for_multiple_styles_user_widget.png|right|thumb|User widget with rich text block
Image:UnrealOni_rich_text_block_for_multiple_styles_data_table.png|right|thumb|Data table for rich text block styles
</gallery>
'''Images in rich text block'''
These images can serve as inline images, being only as big as the default text.
Requirements:
* RichTextBlockImageDecorator (blueprint)
* Data table (blueprint) with row structure "Rich Image Row"
Procedure:
* Add images to that new data table
* Use image tags in rich text block as following: <code><nowiki><img id="tagName"></></nowiki></code>
===Diary===
===Main menu===




Line 588: Line 631:




===Things that possibly need C++===
==Things that possibly need C++==
* Permutation of soundtrack parts
* Permutation of soundtrack parts
* Fine-tuned jetpack mechanics
[[Category:Fan-made games]]