Displaying Actual Widgets on the Pages
Time to create the widgets to display the letters and the book contents. Let’s try to break down the contents we need to fit on these pages and papers.
The Envelope (will do later)
Seal - should be personal seal or the house of the sender or office held
Recipient - should be the same as the recipient in the letter
The Letter
Greeting - refers to the person, should be proper recipient, and proper greeting given the station of the sender and the recipient (maybe there could be secret connections that are not in the manual as well)
Contents - should generally make sense given who is writing who
Passphrase - Unique for each sender-recipient pair
Signature - Maybe graphics
The Manual
Instructions - these are basically the rules for the current level, it should list all the requirements to pass on or burn the letter
List of Houses - all the Royal houses, basic info on them, house symbol and motto (part of seal), members (beside houses there can also be other organizations and councils and the members of Houses could also be members of those)
List of Nobles - list of nobles (and other high ranking officials, members of organizations, councils, churches), basic info, memberships of houses and other organizations, personal seal, relationships with other individuals
Possibly some other stuff that I’ll work out later.
Widgets
So for the letter I could have two textboxes, one for the greeting and the message and an image for the signature. Maybe the signature could also just be text in the initial version.
Then we have the instructions which would have a title text and the text with the enumerated list of instructions. If the instructions cannot fit on a single page then there should also be a version without the title and the instructions continuing the enumeration from where we stopped at the first page.
The house pages should be formulaic, the name sitting like a title at the top, all known seals at the right side of the page, and the information on the left. It would always be the same categories.
The list of nobles pages should also be formulaic, the name sitting like a title at the top, all known seals at the right side of the page, and the information on the left. It would always be the same categories.
Maybe later I’ll create the building blocks and then create the pages programmatically by instantiating a generic user widget and adding it to a widget switcher or something, but for now I’ll make one of each widget type with some static dummy content just to see how they look on the page.
First I will use the test pages to determine the widget dimensions so they fit well. I’m noticing the contents of the paper are actually stretched out when on the paper. I need to figure out why that is.
=========================

I had to adjust the UVs on the paper in order for the material to not stretch or tile. I’m new to this, so it took a while to figure out but I did it. The contents I project on paper don't stretch nor repeat anymore.
I created the widget for the letter, just a simple paper shape, with an off-white paper colored background and wrapping text. I put it in an Actor Blueprint and made and captured it with a screen capture and then used the target of that capture as a texture to create a material. The material I then applied to the paper. I didn’t get to work on the book today, but I’m happy with the progress I made on the paper. Before starting on the book I should probably make sure I can interact with the widget using this approach. I think it’s not possible just like this, but I found some tutorials online that look promising.
Secret Wizard Service
A fantasy-themed, “Papers, Please” inspired UE5 game currently in early development.
| Status | Prototype |
| Author | pattern-blue |
| Genre | Interactive Fiction, Simulation |
| Tags | 3D, Fantasy, No AI, Singleplayer |
More posts
- Let There be Player Interaction12 hours ago
- Writing Letters and Printing Books3 days ago
- Getting Started5 days ago
Leave a comment
Log in with itch.io to leave a comment.