Add Picture Strings

Users who are viewing this thread

Elwaen

Sergeant at Arms
Hi,
I would like to know if it was possible to add a code to load an image in the file strings.

I would like that when the player opens a book that the text that appears contains an image.
 
you can use a game_menu, with a background that looks like a book, where one page has the text + [button for next page], and the other a image

similar to what you see here (not a book, but a example of how to create one)
maxresdefault.jpg
 
Leonion said:
I thought about menus, but they're pretty limited functionality-wise...

a game_menu is a hardcoded presentation (which you could somewhat adapt by changing the game_variables.txt).

for a book presentation (read a few pages) + pictures it should be more than enough.

game_menu:
+ super easy to create (can learn in 10 minutes)
+ easy to have multiple "pages" for a book (next page button)
+ easy to test
+ low chance of bugs
- hardcoded positions (even if you can adjust them on game_variables.txt, but that would chance ALL menus in the game)

presentations:
+ freedom to design it (draw whatever you want in any position)
- hard to learn
- requires extra coding
- easier to create bugs if you are new modder

results are similar in the end. I vote for a game_menu simple because it is simple to create.

 
Back
Top Bottom